is there a (simple) possibility to read keyboard events in linux ? - without using X or Ncurses ?
i only want to know if there is a key pressed and a character return for simulating events in testing a simple protocol/socket implementation. it should work like :
do if (keypressed()) { ch = ... printf("%c",ch); } while (ch != 'q');
maybe someone can help me
thanx
_________________________________________________________________
Spielen Sie online mit ihren Freunden! Der MSN Messenger 6. 1 macht's möglich! http://messenger.msn.at/