From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24430 invoked by alias); 13 May 2015 16:29:04 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20205 Received: (qmail 27073 invoked from network); 13 May 2015 16:29:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 Date: Wed, 13 May 2015 09:14:11 -0700 From: Danek Duvall To: zsh-users@zsh.org Subject: zsh doesn't understand some multibyte characters Message-ID: <20150513161411.GA4834@lorien.comfychair.org> Mail-Followup-To: Danek Duvall , zsh-users@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.20 (2010-04-22) Perhaps this is just on Solaris, I dunno. But for some multibyte characters ("…", for instance), if I type them on the commandline -- either using the Compose key on my keyboard, or via insert-unicode-character or insert-composed-character -- then if I move the cursor back over them or delete back over them, zsh gets confused and moves two positions instead of one: $ PS1='$ ' $ …_ (cursor at _; now hit backspace once) $_ I do have access to a Linux box running 4.3.17, and it doesn't seem to be a problem there, but I don't know whether that's because of a different version or a different OS. I'll note that the same thing happens with all the other shells on Solaris, so I'm guessing it's not directly a problem with zsh. FWIW, bash (and libreadline) is compiled with Solaris curses, while zsh is compiled with ncurses, so I'm guessing it's not that. But vim has no problems whatsoever (old Solaris vi does). Where else should I be looking for the problem? Thanks, Danek