[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian for infants.


On Fri, 6 Apr 2001, Kieren Diment wrote:

> I would like to write a little program or two for the entertainment of my 18
> month old daughter as she really likes banging around on the keyboard (or
> sometimes playing with the trackball mouse.
> Can anybody tell me how to get keyboard input onto the root window to be
> re-directed into the stdin for a shell script, as I want to start up by
> making the screen change colours depending on what key she presses.
Is it not easy to write a simple C program? stdin and stdout are the main
parts. Just wait for a keypress, then with a case statement you can fill
the screen with blank (coloured) characters?

Maybe not the trivial way, though.


> Thanks in anticipation
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: