This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

getch() in linux


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]