<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Mar 20, 2016 at 7:29 PM, Jason Swails <span dir="ltr">&lt;<a href="mailto:jason.swails@gmail.com" target="_blank">jason.swails@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Type &quot;reset&quot;. I think that&#39;s the answer you&#39;re looking for here based on my understanding of the question. </blockquote></div><br>&quot;reset&quot; does a bit more, like losing scrollback. &quot;stty sane&quot; is sufficient and doesn&#39;t make the terminal emulator itself reset, just the stty settings that python3 is messing up.<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>