News for hackers. Stuff that matters.
Re:Why Is It So Hard to Detect Keyup Events on Linux? by egwynn on Sunday January 27, 2019 @12:31PM (#19012690)
The terminal is the wrong tool for this job. I believe the author realizes this in their exploration of the topic, but I think it still bears saying explicitly. This task is difficult not because of some big design mess-up, but because this use-case is well outside the design constraints of the technology he turned to first.

EDIT: I’d also like to mention that “Linux” has nothing to do with this. One would face the same issues using a Windows SSH client connecting to a Solaris SSH server.

Re:Why Is It So Hard to Detect Keyup Events on Linux? by empath75 on Sunday January 27, 2019 @12:53PM (#19012802)
Right. If you want to control something in real time, use a real time protocol.
Re:Why Is It So Hard to Detect Keyup Events on Linux? by egwynn on Sunday January 27, 2019 @02:56PM (#19013464)
Honestly I probably shouldn’t have mentioned SSH, because it also doesn’t really deserve any blame here. People can / do tunnel real-time traffic through SSH without any problem. The real root problem is wanting to get so much detailed information from a tty-like interface. In this case it just happens to be via SSH. The author would have the same issue with telnet, rsh, etc.
Re:Why Is It So Hard to Detect Keyup Events on Linux? by zaphar on Sunday January 27, 2019 @04:44PM (#19013967)
He could also totally still use SSH for this. He just has to tunnel something else over it instead of using a TTY. SSH itself is somewhat agnostic to whether you use a TTY or not.
Re:Why Is It So Hard to Detect Keyup Events on Linux? by IshKebab on Sunday January 27, 2019 @04:49PM (#19013991)
What like SSH?
Re:Why Is It So Hard to Detect Keyup Events on Linux? by IshKebab on Sunday January 27, 2019 @04:48PM (#19013983)
Sure but it's outside of the design constraints because whenever anyone tries to improve on VT100 crustaceans come out of the woodwork saying "nooo.... that's not proper Unix!"
Re:Why Is It So Hard to Detect Keyup Events on Linux? by darkpuma on Sunday January 27, 2019 @05:41PM (#19014207)
Every freshman CS student should be given a copy of the Unix-Hater's Handbook on their first day.