Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!ucbvax!MASIG1.OCEAN.FSU.EDU!mccalpin From: mccalpin@MASIG1.OCEAN.FSU.EDU ("John D. McCalpin") Newsgroups: comp.sys.sgi Subject: stdout buffering trouble Message-ID: <8812072036.AA01600@masig1.ocean.fsu.edu> Date: 7 Dec 88 20:36:32 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 23 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@masig1.ocean.fsu.edu (requires nameserver to access) mccalpin@nu.cs.fsu.edu (in DOD host tables) mccalpin@fsu (BITNET or MFENET) SCRI::MCCALPIN (SPAN) ----------------------------------------------------------------