Xref: utzoo alt.sys.sun:1932 comp.unix.internals:956 Path: utzoo!attcan!uunet!fernwood!apple!agate!ucbvax!bloom-beacon!eru!hagbard!sunic!ericom!eua.ericsson.se!erix.ericsson.se!per From: per@erix.ericsson.se (Per Hedeland) Newsgroups: alt.sys.sun,comp.unix.internals Subject: Re: ioctl's that flush typeahead on SunOS 4.0.3 Message-ID: <1990Nov6.111044.16048@eua.ericsson.se> Date: 6 Nov 90 11:10:44 GMT References: <43727@andante.att.com> <1990Oct31.212012.13776@usasoc.soc.mil> Sender: news@eua.ericsson.se Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden Lines: 18 In article <1990Oct31.212012.13776@usasoc.soc.mil> ted@arsocomvax.socom.mil (Ted Nolan) writes: |>worked fine under SunOS 2.X and 3.X, but in 4.0.3 the ioctl (TIOCSETN |>(bsd) == TCSETS (sysV)) that is documented NOT to flush the input |>actually does flush it, and our application doesn't work. |>Am I to gather this is still not fixed in 4.1? As far as I can determine, the flushing of input that, contrary to documentation, happened when TIOCSETN changed to/from CBREAK mode in 4.0.3, is indeed fixed in 4.1, i.e. input does *not* get flushed. I have not tested what happens when using the termio interface, though. --Per Hedeland per@erix.ericsson.se or per%erix.ericsson.se@uunet.uu.net or ...uunet!erix.ericsson.se!per