This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
getch() in linux
- From: "Anant Aneja" <anantaneja at rediffmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: 8 Mar 2003 13:18:12 -0000
- Subject: getch() in linux
- Reply-to: "Anant Aneja" <anantaneja at rediffmail dot com>
i want to use the getch() function in linux.
i dont want to use ncurses lib.(cos it treats everthing as a
window and clears the screen everytime i start using it).
getch() did the following.
1.waited for a character (key) to be pressed
2. whan poressed it did not echo the key
i've implemented the clear screen procedure using escape codes for
vt100 terminals but couldnt find one for getch()
bascially i want a substitute which does not treat the screen as a
window but as an endless buffer. ncurses DOES NOT do so.
please help
ANANt