From: hlu@poly2.eecs.wsu.edu (H.J. Lu) Subject: Re: stderr buffering Date: 7 Sep 1992 20:35:38 GMT
In article <Bu2sr4.Brv@acsu.buffalo.edu>, beers@acsu.buffalo.edu (Andrew Beers) writes:
|>
|> I just got the sc package from tsx-11. I press '?' for help, and the help
|> screen does not appear. After a few more keypresses, the help screen appears
|> and then quickly disappears.
|>
|> I have also noticed that when I press <ESC> to exit edit mode in vi, it can
|> take several seconds before the cursor will move back one space.
|>
|> I compiled the unit conversion program units, and noted that fprintf's not
|> ending with a carriage return were not immediately sent to the screen. All of
|> the fprintf's printed to stderr.
|>
|> It is my understanding that stderr should not be buffered at all. These three
|> cases lead me to believe that it is being buffered under Linux.
|>
|> System: 386sx/25, 4Meg, 0.96pl2 (have noticed it with earlier kernels, also).
|>
|> Any ideas on this problem?
|>
|> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|> Andrew C. Beers, N2LUH beers@cs.buffalo.edu
|> SUNY Buffalo, Computer Science {rutgers,uunet}!cs.buffalo.edu!beers
That is a bug. I hope it will be fixed soon.
H.J.