Character echo at read time

Doug Gwyn gwyn at smoke.ARPA
Thu Sep 8 15:58:21 AEST 1988


In article <1059 at nmtsun.nmt.edu> warner at hydrovax.nmt.edu (M. Warner Losh) writes:
>With VMS you can do a ^X anytime the terminal is
>not in "raw" mode and clear the current type ahead buffer.  How does one
>do this under unix?

I don't know of any UNIX implementation that provides such a feature,
although it is doable and I've often wished I had it (its utility is
not limited to deferred-echo terminal handlers).

The nearest equivalent on UNIX is to type the interrupt key, which
in many cases will flush type-ahead.  Unfortunately it also sends
a signal to the process group!



More information about the Comp.unix.wizards mailing list