On 30 April 2012 14:27, Andre Majorel <aym-m...@teaser.fr> wrote: > There is a race somewhere : without the delays, the FakeKeypress > in pause_pass triggers pause_numlk_{on|off}. But the main > problem is that Xterms don't see the KeyPress event.
[.....] Like so many programs, synthetic key events generally aren't accepted by programs due to the inherent security implications. XTerm can be told to accept them (allowSendEvents). Don't rely on this. -- Thomas Adam