"Hossein Movahhedian" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> "ky = chr(msvcrt.getch())". The other problem is that when
> the program is finished the previous terminal state is not
> restored (I am using xterm on Linux).

OK, experimenting with the Linux stty command shows that

$ stty echo -nl

will restore the terminal to the proper settings.
I still haven't figured out how to do it from inside
python/curses - that's my next step!

Alan G. 



_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to