[Novalug] vi help, please

Peter Larsen plarsen at famlarsen.homelinux.com
Thu Dec 24 20:58:32 EST 2009


On Thu, 2009-12-24 at 20:36 -0500, Charles M Howe wrote:

> Lost,
> 
> Dunno how I got there, but: I am in insert mode. Then I want to write,
> but I can't do so. Here's the sequence: What I do, what appears on the
> screen:
> 
> I am in the insert mode -- INSERT appears at the bottom of the screen. I
> press escape and INSERT goes away. I press :w then enter and at the
> bottom of the screen the folllwing appears:
> "file"



It needs a file-name. You most likely didn't open vi with a file-name,
in which case you have to tell w which file to write to first.


> and in a sort of reverse background I see
> 
> "file" E212: Press Enter or type command to continue



A quick google on E212 shows:
http://ubuntuforums.org/showthread.php?t=687707

Can't write - so without a filename it's a bit lost. 


> then, appearing in a different color (sort of lime green):
> 
> Press enter or type command to continue



Press enter :) Or give it a filename. If you give a blank command on
the : you simply go back to the the gui.

-- 

Best Regards
  Peter Larsen

Wise words of the day:
/*
 * Buddy system. Hairy. You really aren't expected to understand this
 *
 */
	-- From /usr/src/linux/mm/page_alloc.cA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://calypso.tux.org/pipermail/novalug/attachments/20091224/d3b2c29e/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
Url : http://calypso.tux.org/pipermail/novalug/attachments/20091224/d3b2c29e/attachment.bin 


More information about the Novalug mailing list