zsh-users
 help / color / mirror / code / Atom feed
From: mason@primenet.com.au (Geoff Wing)
To: zsh-users@math.gatech.edu
Subject: Re: backward-word with hpterm??
Date: 9 Jul 1997 10:49:47 GMT	[thread overview]
Message-ID: <slrn5s6r6a.glh.mason@ns1.primenet.com.au> (raw)
In-Reply-To: <9707091014.AA37624@tchibm3.chemie.uni-karlsruhe.de>

Marco Kattannek <marcok@tchibm3.chemie.uni-karlsruhe.de> typed:
:if my cuestion is a FAQ, I apologize.
:I can not use the curser-keys for zsh-line-editing in a hpterm. ^B and
:^F do work, but the curser-keys confuse everything. Is this a limitation
:( feature ? ) of the hpterm. Can I change the zsh-behaviour? 
:Or do I have to change the stty's?
:I suppose that I can do nothing about it, except not using hpterms.
:Therefor I stoped searching for a solution, and ask this cuestion in this
:list.

What happens when you press the cursor keys?

This might help:
on the zsh command line, for each arrow key, press CTRL-V then the arrow key
Then edit your .zshrc or /etc/zshrc and add

bindkey -e
bindkey " " up-line-or-history		# up-arrow
bindkey " " down-line-or-history	# down-arrow
bindkey " " forward-char		# right-arrow
bindkey " " backward-char		# left-arrow
         ^ instead of space, put whatever you noted on the command line for
	   each arrow.

The above is for emacs bindings.
If you want vi bindings, change "bindkey -e" to "bindkey -v", and the names are
up-history , down-history , vi-forward-char , vi-backward-char

In a bindkey command, escapes which look like "^[" on the command line can
be either a literal escape or the two characters ^ and [ 
-- 
Geoff Wing [mason@primenet.com.au]   Technical Manager
  Phone    : +61-3-9818 2977         PrimeNet - Internet Consultancy
  Facsimile: +61-3-9819 3788         Web : <URL:http://www.primenet.com.au/>
  Mobile   : 0412 162 441


  reply	other threads:[~1997-07-09 10:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-09 10:15 Marco Kattannek
1997-07-09 10:49 ` Geoff Wing [this message]
1997-07-09 11:44 backward-word with hpterm? Marco Kattannek
1997-07-09 16:35 ` Bart Schaefer

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=slrn5s6r6a.glh.mason@ns1.primenet.com.au \
    --to=mason@primenet.com.au \
    --cc=zsh-users@math.gatech.edu \
    /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).