delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/07/31/05:49:14

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=LRNpBZPm0o7reUWBm/+ixoHwdWwcgXnoy9Ye/ZSRsCuOKkSaX5s8e
/AcbeuAzJwr0G4EUxE4sQ1JYS+D6ajxycQUZYUYEZrysJqz+G7pbOhwLbYxI5oUQ
lns4iqm6hCzC1P+MdFaXBgS38eDTADAJ/B2716JX5SL2xr+2cOB90o=
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=SkyIEY24WuNBf8qHUaUShuGgFzo=; b=s75rdzzxvvanFX/AvuoBiOqjiuoP
+ym2kY/R6AMql5cmOvI9NDETgxyzxbxWar6ZxeByAWs12CHV/X4J1L7LDjHifuel
6FTdY34wOTlcnbVq6cUqNya+t95tk52TcSuzyMvw8jg54nhd0t6ui5+k6pvUVbLA
c+nOAwwuxqxBf8E=
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.9 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*c:application
X-HELO: drew.franken.de
Date: Mon, 31 Jul 2017 11:48:12 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: libreadline7-7.0.3-3
Message-ID: <20170731094812.GJ24013@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <60db3460-a1c1-7cc2-0369-a7109d782ea0 AT redhat DOT com> <597b2988 DOT 4338ca0a DOT 87fc4 DOT 4954 AT mx DOT google DOT com>
MIME-Version: 1.0
In-Reply-To: <597b2988.4338ca0a.87fc4.4954@mx.google.com>
User-Agent: Mutt/1.8.3 (2017-05-23)

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

On Jul 28 05:09, Steven Penny wrote:
>    $ chcp.com 65001
>    Active code page: 65001
>=20
> - Alt 148 outputs nothing
> - Alt 0246 outputs nothing
> - Pasting this character does not work

Well, it works for me.  I tested this in tcsh, bash and od on
Windows 10.

While at it I found a bug in Windows.  Try this:

  chcp 65001
  Alt 0246 inserts =C3=B6
  press backspace
  See a line of sqare blocks or whatever replacement char the font uses.

What tcsh does in this case is, it sends a sequence "\b\033[K" to the
terminal which means, backspace, then clear up to the end of line.

Cleaning the line is done by running the function
FillConsoleOutputCharacterA with an ASCII space as fill character.

And this works fine... unless the console is switched to CP 65001.  In
this case you *have* to use FillConsoleOutputCharacterW with a wide
characeter space instead.

I fixed that in Cygwin.

But, anyway, I don't know where the difference is between your and my
setup, but as I said, it does not depend on the codepage if the
Alt+Numpad stuff works for me.


Corinna

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

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

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

iQIcBAEBCAAGBQJZfvzcAAoJEPU2Bp2uRE+g4bUP/3XhPmZsM/WgkMo2s19HRZdL
n9Cw8ohY8B/wJ3Sa2fT1uXg4qNdvIm90EGm8AeZswi+ycI3dahF8lSFh/GMZ/RYt
iYTjrDP3IEwdlRzRW4e4nHyzswBsKEb23xTYq+jDmM7UYo7fKV3s32fr3Lx2tjM5
b4zEny+SBduwrcDSPkKgc3BEHCpvKaa+C6JPKnnzf5bmC4vH6wzBwG5SatSqumIj
vJoOCAS2LzfihIbMxfR91HfJ7ulW7b1O9/uL82ugJz7bIcl3bAosVIClqkwPp1vS
BggjzxkGj/GjlgXrI8V1F13H3wSsaZDA1iiIsRIeq8UFZ8YQyAV5juxaMUYh/hHe
4F9zcgyrQaLGjZszlua5d6ydy2MTsHIOvpAeboV5Cmo2ThU4cu2ROU2HfzyZeoga
n3M5DM3rsLCPjrved2EQDv29ZOIy8nAH2+QR1+iz3bZOo94YHBEiut2t5D+bgSzO
K6bWBF4PUBQVV9lL5rUYm6GuQZlm0eNljf1UELJOxLcp6lZp/H5BlGvrqdm+P8n4
ZtrWIsVgXCS9h35xBjlgicRPillhVAD/HdKUjEn+kX20jn6X8FjV5yKlmeD9YNg+
n269VQvaG+Dspr0sju63xtaHjuJ0rEeSXXHPgMHZbNW8In3+lrlkK7BCS2FpV6F9
oOx2eKOjFvciHMZTO59X
=EB8p
-----END PGP SIGNATURE-----

--ZY5CS28jBCfb727c--

- Raw text -


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