From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12690 invoked from network); 7 Jun 2000 09:55:58 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Jun 2000 09:55:58 -0000 Received: (qmail 14151 invoked by alias); 7 Jun 2000 09:54:04 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3122 Received: (qmail 14120 invoked from network); 7 Jun 2000 09:53:51 -0000 Message-ID: <393E1B96.64EF9B62@u.genie.co.uk> Date: Wed, 07 Jun 2000 10:53:26 +0100 From: Oliver Kiddle X-Mailer: Mozilla 4.73 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Bjoern Lindstroem CC: zsh-users Subject: Re: Control keys not working in xterm References: <20000607105839.A29756@swipnet.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Bjoern Lindstroem wrote: > > When I run zsh in an xterm pressing ^P, ^N, ^F, ^B, ^A etc. inputs '^P' > etc. instead of the commands normally associated with them. Does anyone > have a clue on what to do about this? You're probably in vi mode so you'll have the vi-like key bindings. You can switch to the emacs key bindings by typing: bindkey -e ^P etc should then work. I would guess that the cause of this is something to do with the $EDITOR variable set to vi. Most shells use vi key bindings in this case but it is a feature which I find can be annoying. You mention this key problem as being the case when you run zsh in an xterm. They significant difference in this case is often that shells running in an xterm are not login shells so you might find that something in .zlogin or .zprofile which you're expecting to be run is not. Oliver Kiddle