This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]