From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125039 invoked by alias); 15 May 2017 20:00:41 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 124869 invoked by uid 89); 15 May 2017 20:00:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=craft, announcement X-HELO: mpv3-2015.case.edu Received: from mpv3-2015.CWRU.Edu (HELO mpv3-2015.case.edu) (129.22.103.194) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 15 May 2017 20:00:22 +0000 Received: from mpv6-2015.CWRU.Edu (EHLO mpv6-2015.case.edu) ([129.22.103.202]) by mpv3-2015.case.edu (MOS 4.4.7-GA FastPath queued) with ESMTP id ALX86962; Mon, 15 May 2017 15:59:57 -0400 (EDT) Received: from casewireless03.CWRU.Edu (EHLO jenna.local) ([129.22.1.19]) by mpv6-2015.case.edu (MOS 4.4.7-GA FastPath queued) with ESMTP id BEI04991 (AUTH cpr); Mon, 15 May 2017 15:59:57 -0400 (EDT) Reply-To: chet.ramey@case.edu Cc: chet.ramey@case.edu Subject: Re: [ANNOUNCEMENT] Updated: libreadline7-7.0.3-3 To: Eric Blake , cygwin@cygwin.com, bug-bash , Steven Penny References: <58f1a28e.0a2c9d0a.f2ec.8160@mx.google.com> From: Chet Ramey Message-ID: Date: Mon, 15 May 2017 20:46:00 -0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0XPiKGaxQPSOpxo7NaQAJ2xrIe2T0EQdA" X-Junkmail-PrAS-Raw: score=7/60, refid=2.7.2:2017.5.15.184216:17:7.944, ip=, rules=__HAS_REPLYTO, __HAS_CC_HDR, __PHISH_SPEAR_SUBJECT_CAPS, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __TO_MALFORMED_2, __TO_NAME, __TO_NAME_DIFF_FROM_ACC, __REFERENCES, __HAS_FROM, FROM_EDU_TLD, __HAS_MSGID, __SANE_MSGID, DATE_TZ_NA, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __IN_REP_TO, __CT, __CTYPE_HAS_BOUNDARY, __CTYPE_MULTIPART, __REPLYTO_SAMEAS_FROM_ADDY, __REPLYTO_SAMEAS_FROM_ACC, __FROM_DOMAIN_IN_ANY_CC1, __FROM_DOMAIN_IN_ANY_CC2, __REPLYTO_SAMEAS_FROM_DOMAIN, __MIME_TEXT_P2, __HAS_ATTACHMENT1, __ANY_URI, __URI_WITH_PATH, URI_ENDS_IN_HTML, __URI_NO_WWW, __CP_URI_IN_BODY, __SUBJ_ALPHA_NEGATE, __MULTIPLE_URI_TEXT, __URI_IN_BODY, __URI_NOT_IMG, __FORWARDED_MSG, __NO_HTML_TAG_RAW, __ATTACHMENT_SIZE_0_10K, __HAS_ATTACHMENT2, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_P1, __URI_NS, HTML_00_01, HTML_00_10, [TRUNCATED], so=2010-03-03 19:42:08, dmn=2016-08-03-0138 X-SW-Source: 2017-05/txt/msg00239.txt.bz2 --0XPiKGaxQPSOpxo7NaQAJ2xrIe2T0EQdA Content-Type: multipart/mixed; boundary="VMaldO2QKtRjf2CMEqtoFJk4g25UpPE46"; protected-headers="v1" From: Chet Ramey Reply-To: chet.ramey@case.edu To: Eric Blake , cygwin@cygwin.com, bug-bash , Steven Penny Cc: chet.ramey@case.edu Message-ID: Subject: Re: [ANNOUNCEMENT] Updated: libreadline7-7.0.3-3 References: <58f1a28e.0a2c9d0a.f2ec.8160@mx.google.com> In-Reply-To: --VMaldO2QKtRjf2CMEqtoFJk4g25UpPE46 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Content-length: 1318 On 5/15/17 2:19 PM, Eric Blake wrote: >> git checkout readline-7.0-alpha >> >> for the first bad commit, I found that the change to the "rl_insert" >> function in >> "text.c" breaks pasting and Alt codes with "chcp.com 65001". Can you >> work with >> this? >> >> http://git.savannah.gnu.org/cgit/readline.git/tree/text.c?h=3Dreadline-7= .0-alpha#n891 >=20 > It's code I'm not familiar with, so I'm adding upstream bug-bash in the > hopes that Chet might have an answer to why this code was changed, and > if he is aware that the change may have broken things on Cygwin. It was inspired by the discussion starting with http://lists.gnu.org/archive/html/bug-readline/2015-05/msg00007.html The idea is to optimize pasted input using the assumption that it will be mostly composed of characters that map to self-insert, and you can batch read those characters and perform one display update. The way to test whether or not a character will be inserted into the editing buffer is to see whether or not it maps directly to self-insert. If that's the problem, there will have to be a cygwin-specific fix; it works elsewhere. --=20 ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~che= t/ --VMaldO2QKtRjf2CMEqtoFJk4g25UpPE46-- --0XPiKGaxQPSOpxo7NaQAJ2xrIe2T0EQdA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 264 -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iHIEARECADIWIQR8ATX7CIqvbGbGULm7WGnwZOp0qwUCWRoIvRQcY2hldC5yYW1l eUBjYXNlLmVkdQAKCRC7WGnwZOp0q+vNAJ91RA1lXA7/agjUF3ciPI7p4RcKcQCg jp/ZdeUGCoeBrNZSMDGP63BQtCc= =r1ZL -----END PGP SIGNATURE----- --0XPiKGaxQPSOpxo7NaQAJ2xrIe2T0EQdA--