[ python-Bugs-1088077 ] [PATCH] tty needs a way to restore the terminal mode.

SourceForge.net noreply at sourceforge.net
Sun Dec 19 22:24:27 CET 2004


Bugs item #1088077, was opened at 2004-12-19 15:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1088077&group_id=5470

Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike Meyer (mwm)
Assigned to: Nobody/Anonymous (nobody)
Summary: [PATCH] tty needs a way to restore the terminal mode.

Initial Comment:
tty provides a nice, simple interface for setting the terminal to raw
or cbreak modes. However, it doesn't provide a way to put the terminal
back in the mode it was in before that change. Every responsible
application should leave the terminal in the mode it found it in -
unless the application is called sttty, of course. tty needs a
"setsane" function.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1088077&group_id=5470


More information about the Python-bugs-list mailing list