LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


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

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


hi,
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?
thanks.
 
Old 10-27-2004, 10:50 PM   #2
gbonvehi
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-27-2004, 11:26 PM   #3
rgiggs
Member
 
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, 11:00 AM   #4
Geist3
Member
 
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 11:01 AM.
 
  


Reply


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 04:40 AM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-06-2005 11:44 PM
Various Problems After Kernel Recompile - Keyboard Screwed, "Illegal Instructions"... johnleemk Linux - General 0 02-04-2004 11:33 PM
cd record append="hdd=ide-scsi" ? shanenin Linux - Software 3 11-24-2003 12:45 PM
Must I "append" the LILO to make the eth1 card work? piratebiter Linux - Networking 5 08-31-2003 10:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:46 PM.

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