From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17615 invoked from network); 29 Aug 1999 16:10:54 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Aug 1999 16:10:54 -0000 Received: (qmail 25999 invoked by alias); 29 Aug 1999 16:10:32 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2532 Received: (qmail 25992 invoked from network); 29 Aug 1999 16:10:31 -0000 Sender: bbarnes@austin.ibm.com Message-ID: <37C54F6A.373C0A93@austin.ibm.com> Date: Thu, 26 Aug 1999 09:30:03 -0500 From: "Brian P. Barnes" Reply-To: bbarnes@austin.ibm.com Organization: IBM X-Mailer: Mozilla 4.61 [en] (X11; I; AIX 4.3) X-Accept-Language: en MIME-Version: 1.0 To: zsh-users@math.gatech.edu Subject: Key bindings in Zsh? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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