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:reply-to:cc:subject:to:references:from :message-id:date:mime-version:in-reply-to:content-type; q=dns; s=default; b=xcU5a5tQ70ilwzLBuT2KAfopwO64zPmvuq0kkTtaZoXpVDKrIa vIPauLH/l/9G0fepCwiHKbV7yxi4DrrxNnWypqLgEApfIJI54vOHSXTTVH8i9uqH Z6SuiPfyYb6s4qxafOmomtxN2dg1AcnYE4VpepvUx8B2o6HCIhdmd8Bn8= 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:reply-to:cc:subject:to:references:from :message-id:date:mime-version:in-reply-to:content-type; s= default; bh=afnDStzNq3DqVKX+AVJS66Vfm7s=; b=tiiN66Vr1sEPH84y19Nk ceW1oXzqkWxuRa32rjDyZdS3TbRzpD6p/XpV35AFNQlDo5+oEbZlIlbshOKU75Tm 15PFCE4xovFMdi/6UyHPaKFpVv6vzC5M6iqI0tmhgfgosUku1lBIL/Ercj347Z3m e8xQG4tSPpQqD0BYwT/lNNY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 Reply-To: chet DOT ramey AT case DOT edu Cc: chet DOT ramey AT case DOT edu Subject: Re: [ANNOUNCEMENT] Updated: libreadline7-7.0.3-3 To: Eric Blake , cygwin AT cygwin DOT com, bug-bash , Steven Penny References: <58f1a28e DOT 0a2c9d0a DOT f2ec DOT 8160 AT mx DOT google DOT com> From: Chet Ramey Message-ID: Date: Mon, 15 May 2017 15:59:48 -0400 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 --0XPiKGaxQPSOpxo7NaQAJ2xrIe2T0EQdA Content-Type: multipart/mixed; boundary="VMaldO2QKtRjf2CMEqtoFJk4g25UpPE46"; protected-headers="v1" From: Chet Ramey Reply-To: chet DOT ramey AT case DOT edu To: Eric Blake , cygwin AT cygwin DOT com, bug-bash , Steven Penny Cc: chet DOT ramey AT case DOT edu Message-ID: Subject: Re: [ANNOUNCEMENT] Updated: libreadline7-7.0.3-3 References: <58f1a28e DOT 0a2c9d0a DOT f2ec DOT 8160 AT mx DOT google DOT com> In-Reply-To: --VMaldO2QKtRjf2CMEqtoFJk4g25UpPE46 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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 AT case DOT 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" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iHIEARECADIWIQR8ATX7CIqvbGbGULm7WGnwZOp0qwUCWRoIvRQcY2hldC5yYW1l eUBjYXNlLmVkdQAKCRC7WGnwZOp0q+vNAJ91RA1lXA7/agjUF3ciPI7p4RcKcQCg jp/ZdeUGCoeBrNZSMDGP63BQtCc= =r1ZL -----END PGP SIGNATURE----- --0XPiKGaxQPSOpxo7NaQAJ2xrIe2T0EQdA--