Path: utzoo!attcan!uunet!husc6!bloom-beacon!gatech!uflorida!umd5!cvl!elsie!ado From: ado@elsie.UUCP (Arthur David Olson) Newsgroups: comp.unix.questions Subject: Is typeahead loss a generic ksh problem? Message-ID: <8062@elsie.UUCP> Date: 16 May 88 18:16:20 GMT Organization: NIH-LEC, Bethesda, MD Lines: 25 We're using the 02/21/85b version of ksh on a VAX 11/750 running MORE/bsd 4.3. At times ksh will flush typeahead, as shown by the transcript below: Script started on Mon May 16 14:11:13 1988 $ function q { > (echo alpha; sleep 5; echo omega) | awk '{print ; exit}' > } $ q ; echo hello, world alpha hello, world $ q alpha >>>> echo hello, world $ $ exit script done on Mon May 16 14:12:29 1988 I (quickly) typed in the ">>>>"d line above before receiving the ksh "$" prompt; the input was discarded. Is this a problem with other versions of ksh? Is there a known fix? -- Canada is to spaceflight as the U.S.S.R. is to baseball. ado@ncifcrf.gov ADO is a trademark of Ampex.