From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15892 invoked from network); 21 Apr 1998 12:02:55 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 21 Apr 1998 12:02:55 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id HAA03274; Tue, 21 Apr 1998 07:59:18 -0400 (EDT) Resent-Date: Tue, 21 Apr 1998 07:59:18 -0400 (EDT) Message-Id: <199804211159.NAA01701@hydra.ifh.de> To: zsh-workers@math.gatech.edu Cc: Tal Ovadia Subject: Re: Problems with zsh & HP10.20 In-reply-to: "Tal Ovadia"'s message of "Tue, 21 Apr 1998 12:46:49 MST." <9804210946.AA03852@ius085.iil.intel.com> Date: Tue, 21 Apr 1998 13:59:17 +0200 From: Peter Stephenson Resent-Message-ID: <"2pr22.0.2p.Me8Fr"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3852 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Tal Ovadia wrote: > I have compiled zsh3.0.5 on HPUX 10.20 with no problems, how ever the arrow k > eys do not work and I could not find the reason why (same thing with zsh 3.0. > 2) > any ideas ? It's time I put something in the FAQ: does anyone have any information to add to/subtract from/modify in the following? (This is the YODL source.) sect(Why do the cursor (arrow) keys not work?) The cursor keys send different codes depending on the terminal; zsh only binds the most well known versions. If you see these problems, try putting the following in your tt(.zshrc): verb( bindkey "$(echotc kl)" backward-char bindkey "$(echotc kr)" forward-char bindkey "$(echotc ku)" up-line-or-history bindkey "$(echotc kd)" down-line-or-history ) If you use vi mode, use mytt(vi-backward-char) and mytt(vi-forward-char) where appropriate. -- Peter Stephenson Tel: +39 50 844536 WWW: http://www.ifh.de/~pws/ Gruppo Teorico, Dipartimento di Fisica Piazza Torricelli 2, 56100 Pisa, Italy