Mail Archives: djgpp/1997/10/08/07:31:26
On 8 Oct 1997, Newbie wrote:
> Is this a know bug with djgpp?
Known: yes. Bug: NO. stdout is line-buffered, so incomplete lines don't
get printed. The reason is performance: writing to the screen requires a
switch from protected mode to real mode and back, which would
tremendously slow down the output if you do that for each character.
> Is there any way to work around this?
Please read section 9.4 of the DJGPP FAQ. It describes several ways to
make that code do what you'd expect. The FAQ is available as
v2/faq210b.zip from the same place you get DJGPP.
- Raw text -