"111 fewer lines in file after visual" ????

Steven Kilbane skilbane at zaphod.axion.bt.co.uk
Wed Aug 2 17:58:37 AEST 1989


>From article <1989Jul31.033232.23443 at ntvax.uucp>, by canoaf at ntvax.uucp (Augustine Cano):
> What did I do?  What does "111 lines in file after visual" mean?
> 
> While in vi, I hit some key sequence that generated the above message.
> Can anybody explain what it means and how to replicate it?

I _think_ I know what happened, so I thought I'd put my head on the block for
all the vi gurus out there....

Basically, vi is part of a family of editors, and they don't all operate in
full-screen "visual" mode. Vi does by default, and the -v option on the others
persuades them to.

^$ (on my terminal - may differ on others) will put you back into line-editing
mode, and if you've deleted 111 lines from the file since you entered
full-screen mode when you ^$, you get the message you received.

You can, I assume, get back into full-screen mode. I haven't guessed how, and
I'm fair to lazy to read the manual. Me? I save the file and re-vi it.....

Uh-oh - I can hear the flame-throwers igniting....

-oOo-oOo-oOo-oOo-oOo-oOo-oOo-oOo-oOo-oOo-oOo-oOo-oOo-oOo-oOo-oOo-oOo-oOo-oOo-oOo
Stephen Kilbane                      |Email: skilbane at uk.co.bt.axion
British Telecom Research Laboratories|or smk-a at uk.ac.york.minster (or, if that
Martlesham Heath                     |doesn't work, root at uk.ac.york.softeng - 
Ipswich IP5 7RE (0473 646638)        |not me, but it may be passed on....
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Disclaimer: Who? Me? Nah - must have been someone else when my back was turned!
Quotes: "If silence is golden, music is platinum"
        "'You haven't lived till you've died in MUD' - I live a lot!"
        "(If platinum is to gold, what is to golden?)"[This space to rent]



More information about the Comp.unix.questions mailing list