Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!uunet!mcvax!ukc!axion!skilbane From: skilbane@zaphod.axion.bt.co.uk (Steven Kilbane) Newsgroups: comp.unix.questions Subject: Re: "111 fewer lines in file after visual" ???? Message-ID: <2119@zaphod.axion.bt.co.uk> Date: 2 Aug 89 07:58:37 GMT References: <1989Jul31.033232.23443@ntvax.uucp> Sender: news@axion.bt.co.uk Reply-To: skilbane@zaphod.axion.bt.co.uk Lines: 32 From article <1989Jul31.033232.23443@ntvax.uucp>, by canoaf@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@uk.co.bt.axion British Telecom Research Laboratories|or smk-a@uk.ac.york.minster (or, if that Martlesham Heath |doesn't work, root@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]