Mail Archives: djgpp/1997/02/17/13:22:53
| From: | Stephen Lyda <steve AT xactinc DOT com>
|
| Newsgroups: | comp.os.msdos.djgpp
|
| Subject: | IO Buffering
|
| Date: | Mon, 17 Feb 1997 08:26:43 -0600
|
| Organization: | Xact, Inc.
|
| Lines: | 16
|
| Message-ID: | <33086AA3.51E6@xactinc.com>
|
| Reply-To: | steve AT xactinc DOT com
|
| NNTP-Posting-Host: | xact170.xactinc.com
|
| Mime-Version: | 1.0
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hello,
I am using the latest version of DJGPP on Windows NT 4.0 and am having
trouble getting the input stream to become unbuffered.
I have tried using setvbuf, and even used tcgetattr and tcsetattr to
mess around with the termios parameters (which worked in UNIX/Solaris
2.5.1).
Basically, I am trying to cause getchar() to work correctly, returning
after a single key is pressed, and not waiting until the buffer is
full or a CR is encountered.
Thanks in advance to anyone who can help.
-Steve
- Raw text -