UTF-8 in Cygwin console on 1.7
Thomas Wolff
towo@towo.net
Wed Dec 9 11:36:00 GMT 2009
[maybe continue on cygwin-developers?]
Andy Koppe wrote:
> 2009/12/9 Cliff Hones
>
>> I would guess the change is to file cygwin/fhandler_console.cc, and
>> is simply to remove line 1616 [ cursor_rel (1, 0); ] (after case NULL:)
>>
> Yep, except that the patch removes the (misnamed) IGN case altogether.
>
So the #define IGN should go as well...
Actually, I don't really understand this code part:
* What is the purpose of the lookup table for the switch rather than
just switching on a few special control characters?
* What is the idea of (randomly?) assigning ERR to some control
characters and NOR to others?
* How does the case NOR *work* actually? The characters *do* print out
although according to the code only a replacement char U+2592 is
written. Am I half-awake?
Maybe after clarifying this, the whole snipplet should be cleaned up a
little bit.
Thomas
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list