Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcsun!unido!mikros!mwtech!mecky!walter From: walter@mecky.UUCP (Walter Mecky) Newsgroups: comp.unix.questions Subject: CTRL-@ in insert mode hangs vi Keywords: vi CTRL-@ Message-ID: <681@mecky.UUCP> Date: 8 Jul 90 00:55:05 GMT Reply-To: walter@mecky.UUCP (Walter Mecky) Organization: MIKROS Systemware, Buettelborn/W-Germany Lines: 18 According to FM, you can you use CTRL-@ in insert mode very well: Ctrl-@ If entered as the first character of an insertion, it is replaced with the last text inserted, and the insertion terminates. Only 128 characters are saved from the last insertion. If more than 128 characters were inserted, then this command inserts no characters. A Ctrl-@ cannot be part of a file, even if quoted. If I do this, vi hangs and nothing awakens him, including interrupt and quit key. Worse is, that I cannot kill vi from another terminal execpt with signal as 9 ==> vi can't write to the recovery file and the editing work is gone :-( My system is SCO UNIX 3.2.0. Anybody's vi has this bug too ? -- Walter Mecky [ walter@mecky or ...uunet!unido!mecky!walter ]