tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Detecting keypress on console



Hello

I would like to execute a scipt when a function key is pressed on the
console. Is there a mechanism to detect keypresses on wscons?  If I 
make a daemon that opens /dev/console it will steal the input from
getty/login/sh, which is not what I intend.

Any idea?

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index