tech-userlevel archive

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

Re: Detecting keypress on console



On Sat, Mar 23, 2019 at 08:28:38AM +0100, Emmanuel Dreyfus wrote:
> Thor Lancelot Simon <tls%panix.com@localhost> wrote:
> 
> > Hold your nose and TIOCSTI.
> 
> That let's me inject data as if it was typed on the terminal right? You
> suggest I steal input from console and reinject it using TIOCSTI
> afterwards?

It's horrible, but, it should work.

This describes every use of TIOCSTI ever.



Home | Main Index | Thread Index | Old Index