zsh-workers
 help / color / mirror / code / Atom feed
From: Phil Pennock <zsh-workers+phil.pennock@spodhuis.org>
To: zsh-workers@zsh.org
Subject: zle and unicode (run-help triggered issue)
Date: Wed, 7 Aug 2013 15:35:55 -0400	[thread overview]
Message-ID: <20130807193555.GA2731@redoubt.spodhuis.org> (raw)

Being occasionally frivolous, a while ago I set up ☛ (BLACK RIGHT
POINTING INDEX) as an alias for a command I use fairly often.  Heck,
even with digraphs, it works out to be one fewer keystrokes.

Invoking the widget which calls run-help ends up corrupting the unicode
somewhat; I'm wondering if some unmetafy is missing somewhere?  This,
being ZLE, is way outside the areas of zsh I know much about.

zsh 5.0.2, "ilmenite" is a MacOS laptop, "redoubt" is ssh'd into a BSD
machine (from ilmenite) with locale set up correctly for UTF-8 to "just
work".  I'm pasting ☛ into the "zsh -f" to avoid setting up digraphs in
-f, I'm using bindkey to get the run-help onto Esc-H, and am entering ☛,
a space, and then Esc-H.

ilmenite% bindkey -e
ilmenite% run-help ☛
翐<4b82a689>翐
No manual entry for ☛
ilmenite% 

redoubt% bindkey -e
redoubt% run-help ☛^@^@<005abb18>^@
No manual entry for ☛
redoubt%

The exact text shown changes between shell invocations and sometimes if
I run a different command, but tends to latch onto one sequence, perhaps
showing inverse ^@ (NUL) four times afterwards; the off-by-four is what
leads me to suspect unmetafy issues.

Any ideas?
-Phil


             reply	other threads:[~2013-08-07 19:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-07 19:35 Phil Pennock [this message]
2013-08-08 19:05 ` Peter Stephenson
2013-08-08 21:54   ` Phil Pennock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130807193555.GA2731@redoubt.spodhuis.org \
    --to=zsh-workers+phil.pennock@spodhuis.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).