delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/08/17:58:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SARE_SUB_ENC_UTF8,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B1ED9FE.2050607@towo.net>
Date: Tue, 08 Dec 2009 23:58:06 +0100
From: Thomas Wolff <towo AT towo DOT net>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: UTF-8 in Cygwin console on 1.7
References: <4B1E4D22 DOT 9020406 AT hones DOT org DOT uk> <416096c60912080520l49cbf64bwa4a2c4510b13a9f0 AT mail DOT gmail DOT com> <4B1E56D1 DOT 2090501 AT hones DOT org DOT uk> <416096c60912081305k3d386207q5d6fb6cdc77c47a AT mail DOT gmail DOT com>
In-Reply-To: <416096c60912081305k3d386207q5d6fb6cdc77c47a@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 this information is stored by Windows shortcuts is 
not completely reverse-engineered.

> We've had a number of questions on this
> already, and there are likely to be many more. People can always
> choose the raster font in the properties if they prefer that.
>   


>> 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 would not say it's mishandled. Different terminals handle NUL 
differently, and you can also see differences in other control 
characters. E.g. some are displayed as their VGA symbols by cygwin console.
Since control characters are not considered printable and most special 
functions they originally had are obsolete nowadays, I would mostly 
consider their display undefined.

> I don't know what the story behind that is, but a (trivial) fix is
> attached. It also changes the handling of SI (0xF) in the same way.
>   
SO and SI are also changed by my console enhancements patch (posted 
these days to cygwin-patches) to switch VT100 graphics mode.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019