delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/11/12:54:23

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:references:to:from:reply-to:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=O8mrKJDLvF/Dm0Nm
yK7tnXBNgtyOVlR8Ui2Hi3rSp0691EblsVfVctG0/TE4/Ey3tmLx+lg9KRfCgPPO
BLzds0BHIYvH766H6vhdaF8cLDXh9gPB4u9VRnnHxpAiJlJ593EjyFpYmjn6/L9N
ywDhRTTxeqqN1q9+yWso05NV4XQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:references:to:from:reply-to:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=12kCsjFSDUR6HcyIjIdAzO
eqrNE=; b=idNqjJ9HivwXFf37KTJaWJlHKwHkAiS1aR/YAYTCTVWc+kPDgBebuD
Kyd6rguwBdnU/Oxw1ryw41W1xA+gJpn+Roe3uPXkIhtOPcASYaSVNOFkT75xGzLQ
WRad4KeUDM7HX98FxvBFCfrmqANALU56HLT2fkV6a2vPykAEDxGIU=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:shaw.ca, H*r:shaw.ca, H*RU:shaw.ca, H*r:ip*192.168.1.100
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=XP9AcUpE c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=8pif782wAAAA:8 a=w_pzkKWiAAAA:8 a=tFxQGAEAViD3gJ-5a4kA:9 a=BdQvGutt8yBqLw2_:21 a=hyE9yTr5-QrkQC8-:21 a=QEXdDO2ut3YA:10 a=bSC-MnHvYjsA:10 a=0rJpSBR2IEkCROgwrX0h:22 a=sRI3_1zDfAgwuvI8zelB:22
Subject: Re: [ANNOUNCEMENT] Updated: Cygwin 2.6.1-1
References: <58762a6f DOT 8440ca0a DOT 2df89 DOT dc44 AT mx DOT google DOT com>
To: cygwin AT cygwin DOT com
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Message-ID: <41c50c42-8c15-2820-068e-28eb94d30c69@SystematicSw.ab.ca>
Date: Wed, 11 Jan 2017 10:53:55 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
In-Reply-To: <58762a6f.8440ca0a.2df89.dc44@mx.google.com>
X-CMAE-Envelope: MS4wfPhNtJPwQwJFBOW/bC55jFJF1GhEsKILsTat2Lj5ZXlMYtzoUboFv8YRUNfacGdfBWfy3/jxSu4WRUVOWFxEhAGwRPDiMi0NdycyUqbc62xeZfDJPI60 6r2ALXRdUcV/MAu4/M6czM51lHg/1BkWbbURHOUPTU62Ra+ohxtaPhz/zkI9//UgKCLopUrbuORQ3Q==
X-IsSubscribed: yes

On 2017-01-11 05:51, Steven Penny wrote:
> On Tue, 10 Jan 2017 23:49:16, Brian Inglis wrote:
>> Both of which run under the cmd console
> 
> No, they dont. They both run under the Console Window Host.
> 
>> You can look up which characters are displayed using Alt-numpad-digits 
>> at https://en.wikipedia.org/wiki/Code_page_437 or in the selected code 
>> page using Alt-numpad-0-digits at Code_page_nnn or Windows_nnnn.
> 
> Why do I need to do this? I already know that it is capital omega.
> 
>> On top of that is added the Windows locale mapping to Cygwin locale
>> and character set, plus readline settings used by bash in
>> ~/.inputrc, which may change input interpretation.
> 
> Again, did you try this or are you just guessing? If so what inputrc 
> value needs to be set?
> 
>> Type locale to see what locale Cygwin thinks you are running.
>> Documentation available is at: 
>> 	https://cygwin.com/cygwin-ug-net/setup-locale.html
>> which documents the default as C.UTF-8 (ASCII) unless LC_ALL, LC_CTYPE, 
>> or LANG env vars are set to change the locale and/or char set.
> 
> Again, did you try this or are you just guessing? If so what value
> needs to be set?
> 
>> You may have to chcp n in Cygwin.bat to get correct character output, 
>> either 437 for US, 850 for English, 65001 for UTF-8, others from 
>> above reference for other locales and char sets.
> 
> Again, no because cmd.exe works fine even with 437.
> 
>> It is an alternative input method for Unicode characters which does 
>> not seem to be supported with bash under cmd configured with default 
>> code pages, but is in mintty and elsewhere in Windows, which avoids 
>> having to pop up CharMap and search when you know the Unicode code 
>> point wanted.
> 
> Again, hex input is not needed, cmd.exe handles Alt-decimal just fine.
> 
>> Most Windows monospace fonts do not support most new Unicode characters, 
>> but fallback fonts can be configured in the registry to provide missing 
>> glyphs, given available fonts which support the glyphs, and code page 
>> 65001/char set UTF-8 which supports the Unicode character set.
> 
> Again, no font is needed as this character is already supported
> though existing fonts.
> 
>> Mea culpa, having configured everything I can in Windows, Cygwin, and 
>> apps to support Unicode/UTF-8 character sets, with appropriate fonts 
>> and fallbacks, I forget the limitations and problems with OEM code 
>> pages which caused me to make that effort, indeed that people, apps, 
>> or systems still use those code pages implicitly.
> 
> Somehow you managed to make a nearly 400 word reply without adding
> anything to your previous post. I am actually impressed. Please going
> forward post suggestions that you have actually tried and fix the
> problem at hand, thank you.

Launch Character Map app, find Omega, Select, and Copy, and you should 
be able to paste it into any window. 
Post your cmd console code page and locale settings as described and 
maybe someone can help you. 
Or maybe you could check the cmd settings and console docs yourself 
and figure out your own problem. 
Generate cygcheck -svr output and attach to your post as described 
in the problems link below, and one of the project *volunteers* may 
get some time to look at it and be able to help.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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