stdout buffering trouble
John D. McCalpin
mccalpin at MASIG1.OCEAN.FSU.EDU
Thu Dec 8 06:36:32 AEST 1988
I could not ever completely isolate the problem with buffering of
stdout in gnu emacs, but I have found a workaround.
In file sysdep.c, routine reset_sys_modes(), the following statements
appear
reset_terminal_modes();
fflush(stdout);
/* followed by some ioctl-looking stuff */
I simply put a
sleep(2);
after the fflush(stdout), and now no characters are lost.
----------------------------------------------------------------
John D. McCalpin
Mesoscale Air-Sea Interaction Group &
Department of Oceanography &
Supercomputer Computations Research Institute
The Florida State University
mccalpin at masig1.ocean.fsu.edu (requires nameserver to access)
mccalpin at nu.cs.fsu.edu (in DOD host tables)
mccalpin at fsu (BITNET or MFENET)
SCRI::MCCALPIN (SPAN)
----------------------------------------------------------------
More information about the Comp.sys.sgi
mailing list