Newbie: Why Does This Work This Way...Global Variables And The Signal Module....
Alex Martelli
aleax at aleax.it
Fri Sep 14 05:43:31 EDT 2001
"Ignacio Vazquez-Abrams" <ignacio at openservices.net> wrote in message
news:mailman.1000434075.23039.python-list at python.org...
...
> e=select.select([sys.stdin], [], [], 0)
...
> There's no reason why it couldn't catch another character if the select()
> function returns on any keypress, which it doesn't seem to on Linux :/
That strictly depends (assuming sys.stdin isatty) whether the
tty is in raw or cooked mode (and details of said mode).
Alex
More information about the Python-list
mailing list