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