Character echo at read time

Michael A. Petonic mikep at ism780c.isc.com
Sat Sep 10 12:49:08 AEST 1988


In article <2816 at jpl-devvax.JPL.NASA.GOV> lwall at jpl-devvax.JPL.NASA.GOV (Larry Wall) writes:
 >In article <15410 at ism780c.isc.com> mikep at 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 <char>''.  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 at ism780c.isc.com

	       ``Have a heart... But don't take mine.''



More information about the Comp.unix.wizards mailing list