This is the mail archive of the cygwin-patches mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The attached patch should make 'reset' work, and it should make the 'VT100 graphics garbage effect' less likely. Miraculously, even 'pstree -G' works now...The tool to use would be 'reset'. So I'll try to find out whySince you were looking into the Cygwin console code lately, maybe you could find out why `stty sane' doesn't reset the character set?
'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.
* fhandler.h, fhandler_console.cc: Tune VT100 graphics mode switching to follow ISO 2022 strictly.
Attachment:
cygwin-1.7.2-iso-2022.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |