paddyg wrote:1. run on console before startx - works fine and responds to key but the screen is then unusable in so far as characters appear on screen but that's all. Have to power off and on.
Some of the demos appear to hang during cleanup for me too. They do not respond to Ctrl+C (interrupt) but they do exit on Ctrl+\ (quit signal). (Also you can switch consoles with Ctrl+Alt+F2 and log in again to identify and kill stuck processes. And Ctrl+Alt+Del on console will reboot, so it should never be necessary to power off.)
In X it is best to kill the process (with Ctrl+\ if necessary) before closing the terminal window. Closing the window will send a hangup signal, but it is possible for this to be ignored leaving the process still taking up memory.
4. run from IDLE I get an error about the mismatched tabs and spaces. This is a real bother to tidy up in Tim's code but ought really to be done, geany copes ok. When fixed IDLE still complains about the cbreak() so Ken is probably right but still worth getting to bottom of.
The error message actually tells you how to automatically untabify the source.
cbreak() attempts to configure the terminal attached to standard input to read individual characters instead of waiting for a complete line. This does not work in IDLE because standard input is not attached to a terminal. (Unless you start idle from a command line, in which case the input terminal is the window you started it from, not the window it appears to be running in!)