Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site bu-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!bu-cs!root From: root@bu-cs.UUCP (Barry Shein) Newsgroups: net.unix Subject: Re: Control-Z hanging vi - Why Message-ID: <662@bu-cs.UUCP> Date: Sat, 21-Sep-85 19:57:38 EDT Article-I.D.: bu-cs.662 Posted: Sat Sep 21 19:57:38 1985 Date-Received: Mon, 23-Sep-85 02:52:42 EDT References: <480@ittvax.ATC.ITT.UUCP> Organization: Boston Univ Comp. Sci. Lines: 14 >From: goldman@ittvax.ATC.ITT.UUCP (Ken Goldman) >Due to a keyboard which reverses the CTRL and SHIFT keys, users (including >myself) occasionally type ^Z^Z instead of ZZ to write and exit from vi. >This hangs the terminal - all characters are echoed but none have any >effect, not even ESC or ^C or ^D. The only solution is to kill the >process from another terminal, losing the editing session. > >Anyone have a better way out? Yes, send a HANGUP (kill -1 pid) to the top level shell on the terminal and you'll probably be able to log back in and recover with a 'vi -r'. (I know, you wanted a fix to VI, sorry, but this should help till it comes.) -Barry Shein, Boston University Brought to you by Super Global Mega Corp .com