Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!bloom-beacon!oberon!sm.unisys.com!ism780c!mikep From: mikep@ism780c.isc.com (Michael A. Petonic) Newsgroups: comp.unix.wizards Subject: Re: Character echo at read time Message-ID: <15489@ism780c.isc.com> Date: 10 Sep 88 02:49:08 GMT References: <1059@nmtsun.nmt.edu> <15410@ism780c.isc.com> <2816@jpl-devvax.JPL.NASA.GOV> Reply-To: mikep@ism780c.UUCP (Michael A. Petonic) Organization: Interactive Systems Corp., Santa Monica CA Lines: 22 In article <2816@jpl-devvax.JPL.NASA.GOV> lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) writes: >In article <15410@ism780c.isc.com> mikep@ism780c.UUCP (Michael A. Petonic) writes: >: On BSD systems, there is a key (default ^O) that flushes the input >: queue. It is specified by: ``stty flush ''. Yes, it works if >: you have typed several lines ahead. > >That's odd, ^O certainly doesn't have that effect on my BSD system. It flushes >output, not input. Is your kernel hacked maybe? > >When I want flush all my input, I just do a ^Z and then "fg" or "bg". Quite correct. I'm sorry, grave mistake here.... Of course, it SHOULD flush input. Presumably, if you're going to discard output, there would be few cases if you had input queued up and fewer cases where you'd want that queued input read. -MikeP -- Michael A. Petonic mikep@ism780c.isc.com ``Have a heart... But don't take mine.''