zsh-users
 help / color / mirror / code / Atom feed
* Control keys not working in xterm
@ 2000-06-07  8:58 Bjoern Lindstroem
  2000-06-07  9:53 ` Oliver Kiddle
  0 siblings, 1 reply; 2+ messages in thread
From: Bjoern Lindstroem @ 2000-06-07  8:58 UTC (permalink / raw)
  To: zsh-users

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?
-- 
| )  o o      |       |      o o       HAIL  bkhl@swipnet.se
|-. o _ ._._  | o._  _| __|_.__ ._ _   -><-  http://home.swipnet.se/bkhl
|__)|(_)| | | |_|| |(_|_> |_|(_)| | |  ERIS  PGP Public key on home page
   _|                                        and keyserver, ID 6F580C70


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

* Re: Control keys not working in xterm
  2000-06-07  8:58 Control keys not working in xterm Bjoern Lindstroem
@ 2000-06-07  9:53 ` Oliver Kiddle
  0 siblings, 0 replies; 2+ messages in thread
From: Oliver Kiddle @ 2000-06-07  9:53 UTC (permalink / raw)
  To: Bjoern Lindstroem; +Cc: zsh-users

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


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

end of thread, other threads:[~2000-06-07  9:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-07  8:58 Control keys not working in xterm Bjoern Lindstroem
2000-06-07  9:53 ` Oliver Kiddle

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