delorie.com/archives/browse.cgi | search |
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=eKC5/aY+aZ3z9NVruKlX15sP+MzVUMghdnbjSaiZiwNsjxDH6Yfm4 | |
IjHOFw73GUBcaRlaAiD+hJASjoNOXg2rkZsn+xNGO5DREIVHZP1TqezBmOwe8sd6 | |
9La2dFWNIiZvnZdkNCbS9FfVJ9/lUpsBB5HC97mQy5dIEXSrz1vBBs= | |
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=fyC3JBSuy1XqSLElSpRkzf93kMs=; b=lszeVfZAB00QU++Cu7/VU31i1cqy | |
jqpoizewEo3nlbbNty6c3dCPT0sJXOTekl9aLeuAxo+oc/GeKfqXUilTecae5cM7 | |
F5R2idWJ9hB5HRW9uONnRZ157V8VRm3uRc+wI+uNVL5LNdoFjUvIMEcULP5o+oFd | |
BGJV3GSBN17n928= | |
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=feeds, disciplines, alike, H*f:sk:6488d88 |
X-HELO: | drew.franken.de |
Date: | Thu, 16 Feb 2017 13:49:49 +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: | <20170216124949.GF3889@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20170131131616 DOT GC29504 AT calimero DOT vinschen DOT de> <40c92f1e987a9162742766816abb4a03 AT smtp-cloud2 DOT xs4all DOT net> <20170131153245 DOT GA8905 AT calimero DOT vinschen DOT de> <09c7b42a-7b8d-52b7-ce18-4e681eb51f05 AT towo DOT net> <20170214084537 DOT GD25846 AT calimero DOT vinschen DOT de> <09253e2d-af27-ddca-2b49-b65460440f69 AT towo DOT net> <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> |
MIME-Version: | 1.0 |
In-Reply-To: | <59ecea04-2e3c-41af-9f4a-93a9b772a9e4@towo.net> |
User-Agent: | Mutt/1.7.1 (2016-10-04) |
--ep0oHQY+/Gbo/zt0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 15 23:19, Thomas Wolff wrote: > Am 14.02.2017 um 21:35 schrieb Thomas Wolff: > > Am 14.02.2017 um 21:29 schrieb Thomas Wolff: > > > Am 14.02.2017 um 20:56 schrieb Eric Blake: > > > > On 02/14/2017 01:40 PM, Thomas Wolff wrote: > > > > > > No. We're talking about a function in the master side > > > > > > of the tty, while > > > > > > the applications started in the terminal are on the slave side. > > > > > I am not familiar with the concept of setting termios properties = on > > > > > either the master or slave side of a pty. I've only ever set > > > > > them in the > > > > > client application, including my tests about IUTF8 which worked. = Would > > > > > setting on the master side imply it's set for the clients implici= tly, > > > > > and can it be changed later, e.g. when mintty character encoding = is > > > > > being changed from the Options dialog? > > > > > And you say the function of erasing characters on BS is in the ma= ster > > > > > side? To be honest, this confuses me. I thought it's a > > > > > client function, > > > > > like readline() would perform if used (apparently not by > > > > > dash), which is > > > > > kind of an enhanced version of the tty cooked mode and used > > > > > to work even > > > > > without the new flag, right? > > > > The readline source code does not mention IUTF8; and neither bash n= or > > > > dash need to reference it, because if the tty handling code sets it > > > > correctly for what the terminal is going to display, then the clien= ts > > > > that are read()ing from the tty never even see BS in cooked mode (t= he > > > > master side of the terminal handles BS before the read() completes = in > > > > the slave, if I'm understanding it correctly). > > > This does not comply with my (limited) understanding of pty stuff. > > > In mintty, forkpty will create a master/slave pty; mintty feeds it > > > on the master side, while the client program (usually a shell) reads > > > from the slave side. Mintty never handles BS for input, it simply > > > feeds it into the pty. "Line disciplines" like cooked mode must be > > > handled on the slave side. > > Also, I've tried both options in mintty. Setting the flag on the master > > side has weird effects, initially blocking the terminal process. > > Setting it on the slave side works fine. > That was a mistake (got something wrong when testing). It works from eith= er > side alike. > I've now patched mintty to keep the flag in sync with the character > encoding, including on later changes (from Options menu or by escape > sequence). There's an ESC sequence to change the codeset? Do you mean the alternate codeset sequence \e[10m / \e[11m or is there something more sophisticated? Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --ep0oHQY+/Gbo/zt0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYpZ/tAAoJEPU2Bp2uRE+g25UP/1X6HhdQqJRDOYBJCiKgz8fR nPixY+0Dg+W5v0UA22OypGyjeSMODbVwk0EFOQeFQr0tqwFbwWZT8t+Gskt/+IRd QOtR8D2PJ8KjXZwerc7om+Hkufp0YTVVz5lnWmDGegD0+yAYKvkdcz+Chln5kR5b qXt9+1/7w4tj75tWEg+KNC/DviLoIRRaFCSvsrZUe3IV7+SlZDrqWU0N03wYq9jb KxHIZTeCrTaX6+riqpAhqC7hzqgTastuqtzFThX9ePDvIXuTl3waH0FbDyj2Obqq AXZv1kxRfkV8yxwyQDuKxpWRExhAzILZx5feZFlFOD0kL47WbrS/wZKDip76j13b AGwPEvVvwtwUcLZC64ahHoqJD4Zvfvo//pBHpzOF872m8BywBmR+lMTRGGXuVsNE odONA7P/uZoNnv8HlnZb3EwY36AuXu1NFwOsShAsheXACmbM6dGe3S3U0aWzlJUZ Au204Z1eELol6NRDFiC805q9Xlbo70RglHBr9D3fBau5JpzFnaoYLej2aG9HqzUW APRG41JWrmOqRQC34Q29JE85qTkP32UkZhyAC3fK/3xCLajnybxNTMbJN4wS8YsU OT355E0e/ahHer8DckvPliESYgYHHURBA29ALVk9Q+iUsu52sk2IxojJOsSlOTFs bbsA/RPkdJK9uw50Kb5t =MBVs -----END PGP SIGNATURE----- --ep0oHQY+/Gbo/zt0--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |