Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!vsi1!wyse!bob From: bob@wyse.wyse.com (Bob McGowen Wyse Technology Training) Newsgroups: comp.unix.questions Subject: Re: "111 fewer lines in file after visual" ???? Message-ID: <2334@wyse.wyse.com> Date: 1 Aug 89 16:15:44 GMT References: <1989Jul31.033232.23443@ntvax.uucp> Sender: news@wyse.wyse.com Reply-To: bob@wyse.UUCP (Bob McGowen Wyse Technology Training) Organization: Wyse Technology Lines: 31 In article <1989Jul31.033232.23443@ntvax.uucp> canoaf@ntvax.uucp (Augustine Cano) writes: >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? > >Thanks > >Augustine Cano canoaf@dept.csci.unt.edu vi allows you to change from visual to line mode and back. When you do this it reports on changes made in the mode you are leaving. You can determine if you are in line mode by type a return at the colon prompt. In line mode the next line and a new prompt is displayed, in visual the cursor just returns to the screen location. Entering line mode is done by typing a Q, return to visual by entering the word vi at the line mode colon prompt. Certain types of substitutions can only be done in line mode, specifically those with embedded newlines: s/pattern/new pattern\ more pattern\ and so on/ Cheers! Bob McGowan (standard disclaimer, these are my own ...) Customer Education, Wyse Technology, San Jose, CA ..!uunet!wyse!bob bob@wyse.com