[prev in list] [next in list] [prev in thread] [next in thread]
List: debian-user
Subject: Re: How to switch off line buffering in stdin?
From: egm2 () jps ! net
Date: 1999-07-22 2:11:50
[Download RAW message or body]
I am told ncurses is what you want to use for text screen programs.
On 21 Jul, Wojciech Zabolotny wrote:
| Hi All!
|
| I'm writing an application, which implements some terminal functionalities.
| I'd like to receive every keystroke, just after the key is pressed
| (like with vga_getkey(), but in text mode).
| The standard "fgetc(stdin)" receives the char only after the whole line is
| entered. The "setvbuf(stdin,NULL,_IONBF,0);" doesn't help at all.
| How to implement it? Probably I should use "ioctls" to change the console's
| behaviour. Where should I look for the information?
--
Eric G. Miller
Powered by the POTATO (http://www.debian.org)!
--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic