kris wrote: > Having said that, I'm very glad you ran this since it shows how much > overhead there is in a flush operation (on *nix) that's very useful to know The flush on newline should only be done if isatty() returns !=0.