On Thu, 14 Apr 2016 05:53 pm, Ben Finney wrote:
> Okay, ‘termios.tcgetattr’ will let me preserve the attributes, and with > Dan Sommers's suggestion of which attribute to use, I may have a shot at > setting the terminal attributes. > > Then with a top-level exception handler I can clean up by restoring the > saved attributes with ‘termios.tcsetattr’. > > I will investigate along those lines. If you get this working, please post your solution here, and consider publishing it on ActiveState: http://code.activestate.com/recipes/ Thanks, -- Steven -- https://mail.python.org/mailman/listinfo/python-list