Re: How to get keyboard event in Linux console?

2006-10-03 Thread Sybren Stuvel
Jia,Lu enlightened us with: > I want to deal keyboard event in Linux console. > Example: I Create a deamon at background and when I press F1 key > then print Hello at Console. Type "who" and see which PTY you're connected to: sybren pts/02006-10-04 07:55 (klappie.stuvel.eu) So I'm conn

How to get keyboard event in Linux console?

2006-10-03 Thread Jia,Lu
Hi all, I want to deal keyboard event in Linux console. Example: I Create a deamon at background and when I press F1 key then print Hello at Console. Can python do it? with which module? Thanks. -- http://mail.python.org/mailman/listinfo/python-list