delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/02/20/13:17:46

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=JdA/FwCRwh1uy3dJPTOSWDHQowosQkUFD5hssZBZNZQ7/K6v+TALg
IqIMjyrsY01iasRZyJpCYesr4t6lSZ3F3Qf1T8jFFR5q4Hd+FC4fe/ZS59fjnyTI
qF1gZL9BbA4OfOLAbTEonwshtEPn2JkHGTC4Hg3jCJkrVUxtcPRFRM=
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=CnzGl2dY3CUSBfihR1pWxgkpu4w=; b=e/qjf+cHoEAPSjRes9XfyNzhXRkC
nAu+JnVY/SXoMCpjM7huLhW4QraZv5yGXYzVgAzz+Ox6Tm+Md/CTgcRyWHi/IfrV
w7TRcEHeR8dY5Oym9oMhPBJUx+3+fZUvToExNIicj6WW1q3Vw3DrHuFBzrOu00Tf
Ry8MulfpUj4Ki/k=
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=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*f:sk:eae638e, H*MI:sk:eae638e, doe, chooses
X-HELO: drew.franken.de
Date: Mon, 20 Feb 2017 10:11:34 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: dash-0.5.8-3
Message-ID: <20170220091134.GB7831@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <6488d88d-f6b8-674d-692c-8372977a4707 AT redhat DOT com> <0da58793-0b76-1f13-aca3-06ed6aa83dc3 AT towo DOT net> <4bc220da-11d0-fd39-4691-27c6ec9cbbb8 AT towo DOT net> <59ecea04-2e3c-41af-9f4a-93a9b772a9e4 AT towo DOT net> <20170216124949 DOT GF3889 AT calimero DOT vinschen DOT de> <bb2239bd-8cc3-2992-1554-18a04736ace7 AT towo DOT net> <58A6A7E0 DOT 8070500 AT towo DOT net> <20170217094302 DOT GI3889 AT calimero DOT vinschen DOT de> <6bac1397-8542-8283-5146-4dffcce7c905 AT towo DOT net> <eae638e5-efec-fdd8-c690-dc16f777f409 AT towo DOT net>
MIME-Version: 1.0
In-Reply-To: <eae638e5-efec-fdd8-c690-dc16f777f409@towo.net>
User-Agent: Mutt/1.7.1 (2016-10-04)

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

On Feb 18 23:45, Thomas Wolff wrote:
> Am 17.02.2017 um 23:29 schrieb Thomas Wolff:
> > Am 17.02.2017 um 10:43 schrieb Corinna Vinschen:
> > > On Feb 17 08:36, Thomas Wolff wrote:
> > > > Am 16.02.2017 um 21:32 schrieb Thomas Wolff:
> > > > > Am 16.02.2017 um 13:49 schrieb Corinna Vinschen:
> > > > > > There's an ESC sequence to change the codeset?  Do you mean the
> > > > > > alternate codeset sequence \e[10m / \e[11m
> > > > > Oh, that one! Thanks for mentioning, I had overlooked it and fixed
> > > > > mintty now to consider it.
> > > > > > or is there something more sophisticated?
> > > > > I actually meant to adress
> > > > > https://github.com/mintty/mintty/wiki/CtrlSeqs#locale and there is
> > > > > also \e%G and \e%@.
> > > > >=20
> > > > > I just notice that later changing of the IUTF8 flag from the mast=
er
> > > > > side does not seem to work on a Window 10 system (although it wor=
ks
> > > > > initially) while it does work on a Windows 7 system. Weird.
> > > > Now tested on 2 Windows 7 systems and 2 Windows 10 systems. Does not
> > > > work on Windows 10.
> > > > Any idea?
> Actually, I'm not sure but I think this problem only occurs if mintty is
> started in a non-UTF-8 locale.
> If it's started in UTF-8, later switching seems to work.
> The strace shows that errno is set to 88 ENOSYS at some place (but I don't
> know where).

I wonder.  Can't you just start mintty under GDB and debug what happens
in the places it calls tcgetattr/tcsetattr?  You can also see what
tcsetattr actually doe, which is, almost nothing.  At the core it
chooses the tty and just overwrites the termios structure of the tty.
That's all.  You can also see what function call returns ENOSYS then.


Corinna

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

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

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

iQIcBAEBCAAGBQJYqrLGAAoJEPU2Bp2uRE+gasAQAIvB8lygDac3Hv1DGM913zY1
HNXcl6f+/TqwQGXQLaRw2mLWpursJ/C1+lp9ublfbXAE5miogrmBEx4iya5l2UYC
/ZLdXZKu1/PpIJMEH7iuPynjf9FuQ930NH3RQYxsU0Os9diWs2uIpmbZC4ArkmYz
DpZHxYQLywd2Ea8PzYmj5WQuNV7TkK2CqXGjILvw8cor8BzM599MdoiGOWNgon02
cm0pJiJs4nQumR3lLC9OuWxpMz/1cxlmyOoo1Ze3HBCrlfFsgd7JHpZVp31yiEsQ
Ed7xixG7UqXtiWzn4Nwiy2hvQod8LYnKsYIxO9h175vc9M5wa2dk3jEIdVFVg48L
1UayBJBkM474PHxLWregUa7t6TW083axEZHjOmM+jPWNpNJrQC7uXixtazpjNL1a
SsxpEmHzz+aJdJSyeV42nW4K87GviNC24v0KuH9wkF++B34vQLi84FIJjloFjMBo
BiVWTgjL0jFSU2UD0bqVib3tW+HD62iZWKeuwXoUh3+Y6sRAv4HamvpG/WGnomuf
6szSmwaJum2dXMnJkWxEQeS0irSpMyBYVPWXVMSJVVPfxuiUomQ45Apbk+DRvwRD
EWR+uyEA8l4CX4q1uxjiscKrO7jYi7D0SMRcG5713oqfDg1aYLN8de2gFYERdvNL
LhOHtEFyvjPYpvoPSrf7
=ms9r
-----END PGP SIGNATURE-----

--wzJLGUyc3ArbnUjN--

- Raw text -


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