Bob Devries <bdevries at gil.com.au> wrote: > stdout->_flag |= _UNBUF; > stdin->_flag |= _UNBUF; To set the mode for an I/O stream to be unbuffered, I suggest issuing these commands before any I/O is attempted: setbuf( stdout, 0 ); setbuf( stdin, 0 ); -- tim lindner tlindner at ix.netcom.com Bright