tech-userlevel archive

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

Re: Detecting keypress on console



On Sun, Mar 24, 2019 at 12:41:34AM -0400, Thor Lancelot Simon wrote:
> > 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.

If I understand correctly, I read the character I reinjected: when 
I press a key, I get tons of repetitions. How can I work that around?

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index