delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/02/04/09:57:17

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:date:message-id:from:to:subject:references
:in-reply-to:content-type; q=dns; s=default; b=u5E27Y3WeGLsfddIx
6ONRL9Gso4TNYPaVjocMTfOqjYA9m/6PUjDgO53fn1XcThqC2AQACeJpf93v6/RZ
sNNU9Eeb1Tr7iGKamkTp6LWFqWxrHMNSUQRPVX/NSNkJQVCsIEfn/kIosRu+CUyO
dLA82dkIhBS6T+Ay04ctNTIrVY=
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:date:message-id:from:to:subject:references
:in-reply-to:content-type; s=default; bh=Sk6+FAdnpMhlLhhdMXPPZea
kkBs=; b=oXur91Us9JLW7D7Gz3AwZ32Gz84xfYif42EjS/t+MBWL8qCz8n1rbUs
FUBlfN6vN50G33fpPa3Q7eCJMjVlVjM1PFjnGRAP0R77H1+YRinGDllswiyEE/am
PNwuaucNB7mcC2z92cI7EQ0+unPo+n+TxqSioQM/iSAQ60iT4o/g=
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=-2.4 required=5.0 tests=AWL,BAYES_00,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=knock, Henri, H*F:D*nl
X-HELO: lb3-smtp-cloud6.xs4all.net
Date: Sat, 04 Feb 2017 15:56:52 +0100
Message-ID: <9c3c4a5420073990b4172637884debfd@smtp-cloud6.xs4all.net>
From: Houder <houder AT xs4all DOT nl>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.7.0-0.2
References: <announce DOT 20170204130015 DOT GA31434 AT calimero DOT vinschen DOT de>
In-Reply-to: <announce.20170204130015.GA31434@calimero.vinschen.de>
User-Agent: mua.awk 0.99

On Sat, 4 Feb 2017 14:00:15, Corinna Vinschen wrote:
[snip]

> Bug Fixes
> ---------
> - Fix handling of Alt-Numpad sequences in console handler.
>   Addresses: https://cygwin.com/ml/cygwin/2017-01/msg00135.html
> 
> - Fix erasing UTF-8 multibyte characters in cooked mode.
>   Addresses: https://cygwin.com/ml/cygwin/2017-01/msg00299.html

To be "comsumed" on Monday ...

Hi Corinna,

This time I decided to test with alt-1 and alt-254 as input ... Output is not
as expected, I would say ...

R. Henri

=====
Using the Windows Console (cp437):

64 LANG = en_US.UTF-8, LC_ALL =
=> LANG = en_US.UTF-8
/home/corinna/src/cygwin/cygwin-2.7.0/cygwin-2.7.0-0.2.x86_64/src/newlib-cygwin/winsup/cygwin/cygheap.cc
64-@@ cygcheck -sv | awk '$1 ~ /^(bash|libreadline.|cygwin|"cygwin1.dll")$/'
                  "cygwin1.dll" v0.0 ts=2017-02-03 21:17
bash                                    4.4.12-3                     OK
cygwin                                  2.7.0-0.2                    OK
libreadline7                            7.0.1-1                      OK

# enter alt-1, followed by lf
64-@@ ☺
bash: ☺: command not found
# enter alt-254, followed by lf
64-@@ [Gâ–  <==== expected one character ...
bash: [Gâ– : command not found
# enter alt-254, followed by 3 bs, followed by lf
64-@@ <==== no problem

64-@@ bash --noediting # disable readline
=> LANG = en_US.UTF-8

# enter alt-254, followed by 3 bs, followed by lf
64-@@
bash: $'\E\E': command not found <==== knock, knock, who is this?

# enter alt-254, followed by 3 bs, followd by '| od', followed by lf
64-@@ echo | od -tx1z
0000000 1b 1b 0a                                         >...<
0000003
64-@@ exit
exit

64-@@ dash
# enter alt-1 followed by lf
$ ☺
dash: 1: ☺: not found

# enter alt-1, followed by bs, followed by lf
$ <==== no problem

# enter alt-254, followed by lf
$ [Gâ– 
dash: 3: [Gâ– : not found

# enter alt-254, followed by 3 bs, followd by '| od', followed by lf
$
dash: 4: : not found <==== euh, what?

# enter alt-254, followed by 3 bs, followd by '| od', followed by lf
$ echo | od -tx1z
0000000 1b 1b 0a                                         >...<
0000003

# enter alt-254, followed by '| od', followed by lf
$ echo [Gâ–  | od -tx1z
0000000 1b 1b 5b 47 e2 96 a0 0a                          >..[G....<
0000010
# euh ... e2 96 a0 is utf-8 for u25a0, but I cannot explain 1b 1b
# at the front (and 5b 47, i.e. { G)

# enter alt-148, followed by lf
$ ö
dash: 7: ö: not found

# enter alt-148, followed by bs, followd by lf
$
$ <==== no problem

=====


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