ioctl's that flush typeahead on SunOS 4.0.3

Keith Gabryelski ag at cbmvax.commodore.com
Sat Oct 27 05:16:09 AEST 1990


In article <43727 at andante.att.com> mp at allegra.att.com (Mark Plotnick) writes:
>One person here who wants absolute stability in his computing
>environment reluctantly had his 4MB Sun-3/75 upgraded from SunOS 3.2 to
>SunOS 4.0.3 (another manager wanted to retire the OS 3.2 fileserver).  He
>is now pissed off because his typeahead is being flushed when the
>'stty', 'more', and 'vi' commands are run (his objection to vi is that
>typein after ZZ is flushed).  He said this never happened
>before, and accuses Sun of changing the UNIX interface he's used for 15
>years, and he wants us to fix this.
>Maybe the problem is caused by ioctls that have changed.  Maybe the
>increased slowness of OS 4.0 on memory-poor systems causes more of
>a delay in process creation and exit, and this just exacerbates the race
>condition that he's been toying with all these years.

He is complaining about the twiddle ICANON flushing problem that was
added to ldterm.

There was a patch from me sent to comp.unix.internals a couple or
three weeks ago to remove this feature, although some (a well
respected net.type) feels the flushing is the correct behavior.

I will send you the patch if you like.

Pax, Keith



More information about the Comp.unix.internals mailing list