[BRLTTY] Proof of concept code: Filter keyboard keypresses on Linux

Dave Mielke dave at mielke.cc
Sat Dec 15 11:50:37 EST 2007

[quoted lines by Samuel Thibault on 2007/12/15 at 16:27 +0000]

>Your code seems ok. For better integration into the core, it should
>probably be split into an initialization function, and a read function
>that the core will call when select() says the file descriptor has some

Yes, that's close. The read function should use the async mechanism so that 
input will be automatically taken care of. I'll have a look at doing the 

Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: dave at mielke.cc | Canada  K2A 1H7   | if you're concerned about Hell.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/

More information about the BRLTTY mailing list