termios.tcgetattr(fd) error: (22, 'Invalid argument')

Petr Jakes petr at tpc.cz
Sat Nov 19 09:58:57 CET 2005


On my box (Fedora Core4, Python 2.4.1) I am getting following error:
>>> import termios, sys
>>> fd = sys.stdin.fileno()
>>> oldSettings = termios.tcgetattr(fd)
Traceback (innermost last):
  File "<stdin>", line 1, in ?
error: (22, 'Invalid argument')

Thanks for your comments.
Petr Jakes




More information about the Python-list mailing list