Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site elsie.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!zehntel!hplabs!hao!seismo!umcp-cs!cvl!elsie!ado From: ado@elsie.UUCP (Arthur David Olson) Newsgroups: net.bugs.2bsd,net.bugs.4bsd Subject: Wild vi diagnostic after "stty susp ^@" under 4.[12] (with fix)-REPOST Message-ID: <1211@elsie.UUCP> Date: Fri, 14-Sep-84 18:59:47 EDT Article-I.D.: elsie.1211 Posted: Fri Sep 14 18:59:47 1984 Date-Received: Tue, 25-Sep-84 02:30:19 EDT Organization: NIH-LEC, Bethesda, MD Lines: 40 Bugee-- /usr/src/cmd/ex/ex_tty.c on 4.1bsd /usr/src/ucb/ex/ex_tty.c on 4.2bsd /and/may/be/a/bug on 2.?bsd Bug-- The programs "vi" and "ex" produce a spurious "Missing lhs" diagnostic if run after you have issued a stty susp ^@ command. Repeat by-- stty susp ^@ ex Partial cure-- This "cure" gets rid of the spurious diagnostic. Alas, when the user tries to suspend their job by typing ^@, "vi" and "ex" will proceed to beep at them. Any ideas? ed /usr/src/cmd/ex/ex_tty.c /ldisc == NTTYDISC/i #ifdef OLDVERSION . /ldisc == NTTYDISC/a #else if (ldisc == NTTYDISC && olttyc.t_suspc != '\0') { #endif . w q Bugout-- I encountered this bug on a Masscomp system, where ASCII NUL is returned in ioctl structures to indicate that there's no character you can type to cause the control function associated with the structure element. I KNOW it's a pretty outre bug to be reporting. -- ...decvax!seismo!umcp-cs!elsie!ado (301) 496-5688 (DEC, VAX and Elsie are Digital Equipment Corp. and Borden's trademarks)