in reply to Re: Simple Q: Make it prompt for a variable
in thread Simple Q: Make it prompt for a variable

What is the purpose of the unbuffering there?

  • Comment on Re^2: Simple Q: Make it prompt for a variable

Replies are listed 'Best First'.
Re^3: Simple Q: Make it prompt for a variable
by BUU (Prior) on Jul 12, 2004 at 00:11 UTC
    Actually ya know what, I'm not sure it has a point. I was just thinking about cases dealing with trying to read and print to stdout/in and some times having problems with the "prompt" not being printed until you read from stdin.

      It just seemed like an odd thing to add. I'm not sure if there's any sensible OS that buffers STDOUT by default if you print a newline to it.