X-Recipient: archive-cygwin@delorie.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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; q=dns; s=default; b=bu
	I78QcYzW5NThRgqPErhqBj08y0UKIitgvguTwR+PrMgLSb+0nkOA0fyh8ooNAjOV
	kY6eWKkuKaWlbgzUGFMfsUcWq9i1kUt+EW8NusgQUhODfJDWMYM6Y+Q9F31quzpK
	da+gh3QasoWAg7Ekr8zxkX1HCj+UNc2TS+kteYaps=
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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; s=default; bh=gcHs8w0B
	zOGs7MW1DJqPkaKLILQ=; b=pjKmgZlsWfskHCL8Z4+EcfX/MFDAi1at4Cp3jClb
	+/jDxDF9l/hPAZECQnSCCLjI3pfisH7Pa3Hb15bp/Bi1JQRtDmZUo+6+a7dNn0Br
	sr0WeOO7JTw0C9pJFAnw9JVWSDDBKf8XH2u4d8jMK8vF9KDLI++150TrUs5mXsER
	lEI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_YG autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.194.119.202 with SMTP id kw10mr63362915wjb.26.1366746724085; Tue, 23 Apr 2013 12:52:04 -0700 (PDT)
In-Reply-To: <CAKp+3hph5ED7r0_grQe_epR8gKL_knZXmMd42-_yR92NzjDQpw@mail.gmail.com>
References: <CAKp+3hph5ED7r0_grQe_epR8gKL_knZXmMd42-_yR92NzjDQpw@mail.gmail.com>
Date: Tue, 23 Apr 2013 20:52:03 +0100
Message-ID: <CAHWeT-benx1To=X+_Yn5sd_j7rA6MkA5fT4YGWsg5JBu_x+3mQ@mail.gmail.com>
Subject: Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8

On 23 April 2013 17:58, Jeff Crowell wrote:
> Bug report below.  Let me know if you need anything else
>
>
> Product:
> zsh/MinTTY
>
> Version:
> zsh 5.0.2 (i686-pc-cygwin)
>
>
> Component: In which component does the bug exist?
>
>
> Platform:
> i686-pc-cygwin
>
> OS:
> Windows 8, probably all versions of windows
>
>
> Summary:
> Pasting certain characters into MinTTY running zsh locks up MinTTY
> requiring a force close
>
> Steps to Reproduce:
>
> 1) Copy http://www.fileformat.info/info/unicode/char/1f63b/index.htm
> 2) paste into ZSH
> 3) press enter
>
> Actual Results: MinTTY hangs and does not respond

Works fine for me, except that apparently zsh doesn't support UTF-16
surrogate pairs, so they're shown as separate codepoints:
"<d83d><de3b>". Line editing works fine though.

Result:
zsh: command not found: \ud83d\ude3b

So, more info needed: please see http://cygwin.com/problems.html, in
particular: "Run cygcheck -s -v -r > cygcheck.out and include that
file as an attachment in your report."

Also, does the CPU usage shoot up? And what's the output of 'ps' (in a
separate window, obviously)?

(Note besides: bash actually displays the cat character, but treats it
as if it was two characters, so line editing goes wrong with the
cursor wandering off the line and that sort of thing. Surrogate pairs
do work properly in vim, emacs and mined.)

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

