Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-27-2004, 11:00 PM   #1
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
"append is illegal in vi mode"

i have slackware 10. i open a new file in vi and want to append to it. but after i do ":a" or ":.a" it says "append is illegal in vi mode."
what's going on?
Old 10-27-2004, 11:50 PM   #2
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
My best suggestion to get better support in vi, well not vi, because i recommend you to use vim. Before using it copy /usr/share/vim/vim63/vimrc_example.vim to ~/.vimrc
Old 10-28-2004, 12:26 AM   #3
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Original Poster
Rep: Reputation: 30
i haven't copied the vimrc_example to .vimrc, but a quick try with vim allows me to append. thanks.
Old 10-28-2004, 12:00 PM   #4
Registered: Oct 2003
Location: Richmond, Virginia USA
Distribution: Slackware 12.2
Posts: 59

Rep: Reputation: 15
If you simply want to append text after that point in the file, the command is "a", not ":a"

If you want to append an existing other file called filename after that point, the command is ":read filename" or simply ":r filename"

Last edited by Geist3; 10-28-2004 at 12:01 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 05:40 AM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-07-2005 12:44 AM
Various Problems After Kernel Recompile - Keyboard Screwed, "Illegal Instructions"... johnleemk Linux - General 0 02-05-2004 12:33 AM
cd record append="hdd=ide-scsi" ? shanenin Linux - Software 3 11-24-2003 01:45 PM
Must I "append" the LILO to make the eth1 card work? piratebiter Linux - Networking 5 08-31-2003 11:56 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration