Date: Mon, 17 Jul 1995 17:34:09 -0400 From: kagel AT quasar DOT bloomberg DOT com To: dr DOT brain AT iol DOT it Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: DJGPP's stdout file Reply-To: kagel AT ts1 DOT bloomberg DOT com From: dr DOT brain AT iol DOT it (Dr. Brain) Newsgroups: comp.os.msdos.djgpp Date: Sun, 16 Jul 1995 07:40:10 GMT I've got a problem porting BolrandC programs to DJGPP: if I don't specify setbuf(stdout, NULL) in DJGPP I have a buffered output, that can't be seen until the newline is printed... How can I do to avoid the setbuf line in every program? C ya Print to stderr rather than stdout (ie use fprintf( stderr, ....); instead of printf(...);) DJGPP is behaving correctly. -- Art S. Kagel, kagel AT ts1 DOT bloomberg DOT com Variety is the soul of pleasure. -- Aphra Behn