console enhancements: mouse events etc
Tue Mar 30 15:46:00 GMT 2010
Corinna Vinschen wrote:
>>> Since you were looking into the Cygwin console code lately, maybe you
>>> could find out why `stty sane' doesn't reset the character set?
>> The tool to use would be 'reset'. So I'll try to find out why
>> 'reset' doesn't reset the character set :-\ .
>> There are two methods to switch to the alternate character set. One
>> is by just sending a Control-N. Most terminals "guard" this method
>> by requiring an enable sequence before this works. I guess this
>> would considerably reduce the risk that this happens, that's
>> probably why they do it.
>> I didn't implement the guarding mechanism in fhandler_console
>> (although I prepared it somewhat) so I think I should fully
>> implement that.
The attached patch should make 'reset' work, and it should make the
'VT100 graphics garbage effect' less likely. Miraculously, even 'pstree
-G' works now...
2010-03-30 Thomas Wolff <firstname.lastname@example.org>
* fhandler.h, fhandler_console.cc: Tune VT100 graphics mode
switching to follow ISO 2022 strictly.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Cygwin-patches