Path: utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mailrus!ames!haven!ncifcrf!nlm-mcs!adm!smoke!gwyn From: gwyn@smoke.ARPA (Doug Gwyn ) Newsgroups: comp.unix.wizards Subject: Re: Character echo at read time Message-ID: <8458@smoke.ARPA> Date: 8 Sep 88 05:58:21 GMT References: <1059@nmtsun.nmt.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 12 In article <1059@nmtsun.nmt.edu> warner@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!