zsh-users
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@u.genie.co.uk>
To: Bjoern Lindstroem <bkhl@swipnet.se>
Cc: zsh-users <zsh-users@sunsite.auc.dk>
Subject: Re: Control keys not working in xterm
Date: Wed, 07 Jun 2000 10:53:26 +0100	[thread overview]
Message-ID: <393E1B96.64EF9B62@u.genie.co.uk> (raw)
In-Reply-To: <20000607105839.A29756@swipnet.se>

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


      reply	other threads:[~2000-06-07  9:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-07  8:58 Bjoern Lindstroem
2000-06-07  9:53 ` Oliver Kiddle [this message]

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=393E1B96.64EF9B62@u.genie.co.uk \
    --to=opk@u.genie.co.uk \
    --cc=bkhl@swipnet.se \
    --cc=zsh-users@sunsite.auc.dk \
    /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).