[Python-Dev] Ready for Python 2.1 ?

Thomas Wouters thomas@xs4all.net
Wed, 18 Oct 2000 20:43:19 +0200

On Wed, Oct 18, 2000 at 12:19:25PM -0500, Skip Montanaro wrote:

>     Tim> my-wrists-are-killing-me-ly y'rs  - tim

> You need my typing watcher:

Given his remark about suicide attempts, I'm not sure if Tim really meant
'RSI' when he wrote that :-)

>     http://www.musi-cal.com/~skip/python/watch.py

> Only problem is I never figured out how to make it watch keystrokes
> directly.  It detects mouse movement.  Since I do most of my typing in
> Emacs, I fudged the keystroke thing by having the auto-save hook jiggle the
> mouse a little...

Funny, a colleague of mine has a similar tool. Also written in Python, I
think, though it may have been created in his Perl Period. On a linux box,
you can determine keystrokes by using /proc/interrupts. At least, if your
keyboard has an interrupt all for itself. (Pretty likely, really :)

Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!