Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site hocda.UUCP Path: utzoo!watmath!clyde!floyd!harpo!ulysses!mhuxl!houxm!hocda!grt From: grt@hocda.UUCP (G.TOMASEVICH) Newsgroups: net.unix Subject: Re: vi '_' command Message-ID: <388@hocda.UUCP> Date: Thu, 22-Mar-84 13:54:17 EST Article-I.D.: hocda.388 Posted: Thu Mar 22 13:54:17 1984 Date-Received: Fri, 23-Mar-84 21:03:05 EST Organization: Bell Labs, Holmdel Lines: 20 Subject: Re: vi '_' command This is to Ed Laws; my mail attempt failed again, as usual. Those are interesting comments. I have somewhat different opinions on some of them: 1. ^X is the ASCII cancel code, and I use is as my kill-line character. I do not want to see it used for anything else. 2. !wq does not let me quit if there are any more files. I dunno about yours. 3. The arrow keys on HP terminals do things to 'vi' that I have not seen documented. On the HP 2647A, they send escape sequences. On that terminal, 'vi' sends "\033&s1A" to allow it to read those keys. It then synthesizes a move command; try turning on display functions if your terminal has it. ESC must have a timeout so 'vi' can tell whether you typed ESC or one of those arrow keys. 4. On some terminals, ^\ is the UNIX quit signal, which causes a core dump if not caught. 5. Your suggestion on wrapscan telling one it wrapped around is a good idea. I never use wrapscan, because I hate having an unannounced wraparound. George Tomasevich, AT&T Bell Laboratories