Re: UTF-8 in Cygwin console on 1.7

2009-12-09 Thread Corinna Vinschen
On Dec 9 11:48, Andy Koppe wrote: > 2009/12/9 Thomas Wolff: > > So the #define IGN should go as well... > > Yep. > > > 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 characte

Re: UTF-8 in Cygwin console on 1.7

2009-12-09 Thread Andy Koppe
2009/12/9 Thomas Wolff: > So the #define IGN should go as well... Yep. > 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? Good question. > * What is the idea of (rando

Re: UTF-8 in Cygwin console on 1.7

2009-12-09 Thread Thomas Wolff
[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 altogeth

Re: UTF-8 in Cygwin console on 1.7

2009-12-09 Thread Corinna Vinschen
On Dec 9 05:36, Andy Koppe wrote: > 2009/12/9 Cliff Hones > > I think you missed attaching your fix - or else it has got lost. > > Oops. Here's another attempt. > > > I would guess the change is to file cygwin/fhandler_console.cc, and > > is simply to remove line 1616 [ cursor_rel (1, 0); ] (aft

Re: UTF-8 in Cygwin console on 1.7

2009-12-08 Thread Andy Koppe
2009/12/9 Cliff Hones > I think you missed attaching your fix - or else it has got lost. Oops. Here's another attempt. > 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 remove

Re: UTF-8 in Cygwin console on 1.7

2009-12-08 Thread Cliff Hones
Andy Koppe wrote: > > 2009/12/8 Cliff Hones: >> >> .. >> >> I have just checked Cygwin 1.5 and this aslo mishandles NUL, so I guess >> >> it is a long-standing problem (or Microsoft oddity, or workaround for >> >> something else...). > > > > I don't know what the story behind that is, but a (trivia

Re: UTF-8 in Cygwin console on 1.7

2009-12-08 Thread Thomas Wolff
Andy Koppe schrieb: 2009/12/8 Cliff Hones: Perhaps setup.exe should offer to generate a shortcut (as well as .bat and .ico) with, say, the Lucida font selected? Or just do so without asking? ... Yes it should. As I understood, however, this is not immediately easy because the format th

Re: UTF-8 in Cygwin console on 1.7

2009-12-08 Thread Andy Koppe
2009/12/8 Cliff Hones: > Perhaps setup.exe should offer to generate a shortcut (as well as .bat > and .ico) with, say, the Lucida font selected? Or just do so without asking? We've had a number of questions on this already, and there are likely to be many more. People can always choose the raster

Re: UTF-8 in Cygwin console on 1.7

2009-12-08 Thread Cliff Hones
Andy Koppe wrote: > 2009/12/8 Cliff Hones: >> Is UTF-8 character output fully supported in the standard Cygwin >> console ($TERM=cygwin) under Cygwin 1.7? > > Yes (except it's limited to the Basic Multilingual Plane). You need to > select a Unicode-capable font in the console properties though. >

Re: UTF-8 in Cygwin console on 1.7

2009-12-08 Thread Andy Koppe
2009/12/8 Cliff Hones: > Is UTF-8 character output fully supported in the standard Cygwin > console ($TERM=cygwin) under Cygwin 1.7? Yes (except it's limited to the Basic Multilingual Plane). You need to select a Unicode-capable font in the console properties though. Basically, anything but the de

Re: UTF-8 in Cygwin console on 1.7

2009-12-08 Thread Charles Wilson
Cliff Hones wrote: > [I was rather surprised to discover that non-X rxvt does not handle > UTF-8 output at all, not that this causes me any great concern.] rxvt is dead, upstream, and will never support anything but narrow characters. I'm seriously considering marking it _obsolete sometime after