News for hackers. Stuff that matters.
Re:Why Is It So Hard to Detect Keyup Events on Linux? by cryptonector on Sunday January 27, 2019 @12:57PM (#19012819)
Mainly because there exists no protocol by which the terminal (really, terminal emulator) can indicate these events, and the tty/pty drivers don't know how to decode that non-existent protocol to spare existing apps having to be modified to understand it.

This all goes back to the 70s, when people first hooked up typewriters to computers as terminals: everything was far too simple to make it possible to add such a protocol, and nobody cared about key up events, and they weren't going to care for a long time because the hardware and software all had to be rather simple (exceedingly so by our standards today).

Re:Why Is It So Hard to Detect Keyup Events on Linux? by Dylan16807 on Sunday January 27, 2019 @01:35PM (#19013030)
You made a nice post but that's not the question being asked. The historical record is different from the question of whether a terminal needs/deserves it this decade. ("need" obviously being non-literal)
Re:Why Is It So Hard to Detect Keyup Events on Linux? by cryptonector on Sunday January 27, 2019 @01:45PM (#19013080)
The submission's title is "Why Is It So Hard to Detect Keyup Event on Linux?". I knew the answer to that very specific question, so I offered it :)

As to whether we need to evolve this functionality today, I would hazard that the answer is "no". I did sketch out how it would be done, if we really need it and people want to implement it. But my guess is that there are too few people with the desire and funding to work on this problem. Reading TFA today is the first time I've ever heard of anyone wanting key up events in the tty -a tty that has some 45+ years of history- so I'm a bit skeptical that this will somehow become such a blindingly obviously highly desirable feature _now_ that it might get done.

Re:Why Is It So Hard to Detect Keyup Events on Linux? by Dylan16807 on Sunday January 27, 2019 @01:59PM (#19013154)
> The submission's title is "Why Is It So Hard to Detect Keyup Event on Linux?". I knew the answer to that very specific question, so I offered it :)

You didn't reply to the top level article, you replied to a specific comment, which was asking a different question.

And "not enough desire to make the change now that we're so entrenched" is still different from "does it deserve to know, if we were doing it right". And I would say the latter is true. (Still ignoring "need" because "need" is really vague.)

Re:Why Is It So Hard to Detect Keyup Events on Linux? by cryptonector on Sunday January 27, 2019 @02:00PM (#19013164)
Fair enough. That post said:

> Why? What if I'm playing a game on that TTY?

So my answer was still on point.

Re:Why Is It So Hard to Detect Keyup Events on Linux? by Dylan16807 on Sunday January 27, 2019 @02:03PM (#19013179)
The predicate to that specific "Why" was "doesn't need or deserve to know", not "is so hard to detect on linux".