delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/02/04/12:16:41

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:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=DX6cAFwDl9XxNlq3315rB6MYjz+YGlb+smyI9HH+EbuWWhNXk6If1
PDhWr3pGdgWMWiJpZlbRamegGV447P2JnmCEirSFAH1mY84GJkLZmxpB3aP40LAj
mtIwWVyDJ8Y1/8nPj1NhpIHNvonoaKMt2T8BqPHxfYAbt1WFEvHG5I=
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:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=Ur51ev1wnOjOq+R/78xgJHB7YTA=; b=DOGO7NN6blmdJqBOYcS248WpWDk9
FAB+0JxPpZLzhUelUjBYrqWbWN3oQCBPXsgOxLGmBiizWCCtqb7Xqsj/9ArsU5ZB
NwimziIk6zKNzy33KjlEuJQKlklRVEBaAcH6QBfhuYxmcMn+zH7z0SwP5K9Wye0X
ROHYQzKYp2M3C+Q=
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=-101.6 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:2264, tx1, H*i:sk:9c3c4a5, H*MI:sk:9c3c4a5
X-HELO: drew.franken.de
Date: Sat, 4 Feb 2017 18:16:10 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.7.0-0.2
Message-ID: <20170204171610.GZ8905@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20170204130015 DOT GA31434 AT calimero DOT vinschen DOT de> <9c3c4a5420073990b4172637884debfd AT smtp-cloud6 DOT xs4all DOT net>
MIME-Version: 1.0
In-Reply-To: <9c3c4a5420073990b4172637884debfd@smtp-cloud6.xs4all.net>
User-Agent: Mutt/1.7.1 (2016-10-04)

--ZARJHfwaSJQLOEUz
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb  4 15:56, Houder wrote:
> On Sat, 4 Feb 2017 14:00:15, Corinna Vinschen wrote:
> [snip]
>=20
> > Bug Fixes
> > ---------
> > - Fix handling of Alt-Numpad sequences in console handler.
> >   Addresses: https://cygwin.com/ml/cygwin/2017-01/msg00135.html
> >=20
> > - Fix erasing UTF-8 multibyte characters in cooked mode.
> >   Addresses: https://cygwin.com/ml/cygwin/2017-01/msg00299.html
>=20
> To be "comsumed" on Monday ...
>=20
> Hi Corinna,
>=20
> This time I decided to test with alt-1 and alt-254 as input ... Output is=
 not
> as expected, I would say ...
>=20
> R. Henri
>=20
> =3D=3D=3D=3D=3D
> Using the Windows Console (cp437):
>=20
> 64 LANG =3D en_US.UTF-8, LC_ALL =3D
> =3D> LANG =3D 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=3D2017-02-03 21:17
> bash                                    4.4.12-3                     OK
> cygwin                                  2.7.0-0.2                    OK
> libreadline7                            7.0.1-1                      OK
>=20
> # enter alt-1, followed by lf
> 64-@@ =E2=98=BA
> bash: =E2=98=BA: command not found
> # enter alt-254, followed by lf
> 64-@@ [G=E2=96=A0 <=3D=3D=3D=3D expected one character ...
> bash: [G=E2=96=A0: command not found
> # enter alt-254, followed by 3 bs, followed by lf
> 64-@@ <=3D=3D=3D=3D no problem
>=20
> 64-@@ bash --noediting # disable readline
> =3D> LANG =3D en_US.UTF-8
>=20
> # enter alt-254, followed by 3 bs, followed by lf
> 64-@@
> bash: $'\E\E': command not found <=3D=3D=3D=3D knock, knock, who is this?
>=20
> # 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
>=20
> 64-@@ dash
> # enter alt-1 followed by lf
> $ =E2=98=BA
> dash: 1: =E2=98=BA: not found
>=20
> # enter alt-1, followed by bs, followed by lf
> $ <=3D=3D=3D=3D no problem
>=20
> # enter alt-254, followed by lf
> $ [G=E2=96=A0
> dash: 3: [G=E2=96=A0: not found

Works fine for me in dash as well as in od in a console with cp437:

  $ od -tx1
  <alt-1><^J><^D>
  =E2=98=BA
  0000000 e2 98 ba 0a
  0000004
  $ od -tx1
  <alt-1><bs><^J><^D>
  0000000 0a
  0000001
  $ od -tx1
  <alt-254><^J><^D>
  =E2=96=A0
  0000000 e2 96 a0 0a
  0000004
  $ od -tx1
  <alt-254><bs><^J><^D>
  0000000 0a
  0000001


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--ZARJHfwaSJQLOEUz
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJYlgxaAAoJEPU2Bp2uRE+gQPEQAIwmYns4/linr2/WlH2vQNgH
tGUA61hmxt9sTLTN5LL5t+B1/UMzAZzgnhUXI+ScFnG8gHMJNXEhqaJcx5RXLd2p
DahUKrpuPad0JSGftE9mUQSoaBJG1JaTR74jURLWi/VUKQhqbEn7ck1EhIKoJVrG
FQy/49jwuJEG+yOPulw32EEPDqYy0VAc6Ml1NEJ+Osr06xAtZidCAIquTsYKR93R
a9jAcKBe/EKy5zGB2fcJCuqjVCdxzNqEKtGowHcm6Ub5HiEs89sMY6VNrV6KeXM5
SsYyLrplmESeLzpAEY7TRUjbvV0mN1I6s/MohArfBXz2XWCTLNyLStejNhQHvEas
ywhtGlrHcTRLA1SJdmH2GLGZ0mdS1HGdouatM+4IbWznhcWM4WHMCdKLZMoEPiGE
wpt7j00jT/5QdkvtMHMVFQ5paPuw08Qn089miB9gnHrFVs+BcvBcBfzMeOuwbOEp
mxph+u+pE7yhbQukmev+4uGuHUwl1pccD1cBDUIujF/EuLIyzN7lIzaVMkRhRujW
Xu70gC5/lY1444398ZEJHlnyxUBm0CS/jDRlYKsY4TXvpPDfj39OqRlfUDQHL8Co
w/lvMYV2eKItJxqOMJK4DyrQ6KAhYf9ZfXjy8pJR8g5Qz/sb0lfDQY/bEZovkJzS
DkxcKaL2Asr/NUj1nLpf
=Y5J1
-----END PGP SIGNATURE-----

--ZARJHfwaSJQLOEUz--

- Raw text -


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