zsh-users
 help / color / mirror / code / Atom feed
From: "Brian P. Barnes" <bbarnes@austin.ibm.com>
To: zsh-users@math.gatech.edu
Subject: Key bindings in Zsh?
Date: Thu, 26 Aug 1999 09:30:03 -0500	[thread overview]
Message-ID: <37C54F6A.373C0A93@austin.ibm.com> (raw)

Hi,

My insert/delete/home/end/pgup/pgdn keys do not work in Zsh. They either
give me a squiggle ('~'), a beep or do the wrong thing:
    Insert, pgup, pgdn -> ~
    delete                        -> backspace
    home, end                 -> beep

The keys work in other tools I use including Vim and Netscape so I don't
think I want to alter my Xmodmap.

The Zsh manual makes a glancing reference to "use zle -N" in reference
to using user-defined widgets implemented as shell functions to execute
key mapping.  There appears to be no documentation for this function
either in the manual or the FAQ. Deja News reports one hit on "zle -N"
which is in reference to a Debian Linux bug and a www search gives only
pointers to the FAQ.

I tried adding the following to my .zshrc file: `zle -N END end-of-line`
which did nothing. Having just a beep to deal with, I didn't know which
key to map end-of-line to in an xterm. In an aixterm, instead of a beep,
I get a "46q" on my command line and I tried `zle -N 46q end-of-line`
which also did nothing.

Are there more examples of key mapping which I have missed?

I am on an IBM RS/6000 using AIX 4.3.2 and either an X11 xterm or an
aixterm. Would somebody using Zsh on AIX who has the use of these keys
please tell me how they accomplished it?

Thank you,

    Brian



             reply	other threads:[~1999-08-29 16:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-26 14:30 Brian P. Barnes [this message]
1999-08-30  2:29 ` Bart Schaefer
     [not found]   ` <37CD77EB.C23C2980@austin.ibm.com>
1999-09-01 21:20     ` Bart Schaefer

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=37C54F6A.373C0A93@austin.ibm.com \
    --to=bbarnes@austin.ibm.com \
    --cc=zsh-users@math.gatech.edu \
    /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).