zsh-users
 help / color / mirror / code / Atom feed
* Key bindings in Zsh?
@ 1999-08-26 14:30 Brian P. Barnes
  1999-08-30  2:29 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Brian P. Barnes @ 1999-08-26 14:30 UTC (permalink / raw)
  To: zsh-users

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-09-01 22:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-26 14:30 Key bindings in Zsh? Brian P. Barnes
1999-08-30  2:29 ` Bart Schaefer
     [not found]   ` <37CD77EB.C23C2980@austin.ibm.com>
1999-09-01 21:20     ` Bart Schaefer

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).