Re: [OFFTOPIC]: key available ?

Ragnar Hojland Espinosa (root@lightside.ddns.org)
Mon, 20 Apr 1998 01:59:01 +0200 (MET DST)


> I need to know how to check if a key is available from the actual tty
> under gnu c. Anyone having a suggestion how to do this ?

Have a look at termios(3), concretely tcgetattr, tcsetattr and ICANON.
Or, if want to make your life easier, use ncurses.

____/| Ragnar Hojland (ragnar@lightside.ddns.org) Fingerprint 94C4B
\ o.O| 2F0D27DE025BE2302C
=(_)= "Thou shalt not follow the NULL pointer for 104B78C56 B72F0822
U chaos and madness await thee at its end." hkp://keys.pgp.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu