Issue1088077
Created on 2004-12-19 21:24 by mwm, last changed 2008-02-23 21:42 by facundobatista.
|
msg23778 - (view) |
Author: Mike Meyer (mwm) |
Date: 2004-12-19 21:24 |
|
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.
|
|
msg23779 - (view) |
Author: Mike Meyer (mwm) |
Date: 2004-12-19 21:28 |
|
Logged In: YES
user_id=93910
The patch to add the setsane method is in patch #1088078.
|
|
msg23780 - (view) |
Author: Martin v. Löwis (loewis) |
Date: 2005-03-04 00:02 |
|
Logged In: YES
user_id=21627
As the proposed patch shows, the requested feature is
already there: the application merely needs to invoke the
tcgetattr function at the beginning, and tcsetattr at the end.
|
|
msg62813 - (view) |
Author: Facundo Batista (facundobatista) |
Date: 2008-02-23 21:42 |
|
As Martin says, the functionality is present. If still you think we have
a new method here, please raise a discussion in python-dev regarding this.
Thank you!
|
|
| Date |
User |
Action |
Args |
| 2008-02-23 21:42:27 | facundobatista | set | status: open -> closed nosy:
+ facundobatista resolution: out of date messages:
+ msg62813 |
| 2004-12-19 21:24:27 | mwm | create | |
|