A script that sends USR1 on any keystroke

I had all sorts of trouble with IO.select and getting a pipe to work as well
as stdin.  Then, I realized a simple script that sends USR1 gets the interface
we want, although inelegant.