* csh editing command line
@ 1996-09-10 8:54 Lucio Chiappetti
0 siblings, 0 replies; only message in thread
From: Lucio Chiappetti @ 1996-09-10 8:54 UTC (permalink / raw)
To: tru64-unix-managers
I *desperately* want to reinstate in Digital Unix csh the command line
editing mode I had in Ultrix csh. In particular I want to be able to use
the arrow keys to move to the previous and next command, and also to the
previous and next character on the line. For the rest I'd use the vi
editing commands.
I've read the man pages of csh and cmdedit, and tried the following
set editmode=vi
created a .bindings file with the following content, which should
remap the arrow keys. I've tried also putting \^[ instead of \e
for "escape"
bind-to-key PreviousHistEntry "\e[A"
bind-to-key NextHistEntry "\e[B"
bind-to-key ForwardChar "\e[C"
bind-to-key BackSpace "\e[D"
The set editmode command works, and I've tried also some other
bind-to-key (apparently I can remap to any control sequence but not to
the arrow keys). I get a funny behaviour, that is even if I want to use
the painful vi cursor-movement (hjkl) I have to "unset edithist" and
press escape once I recalled a command.
Any enlightment or pointer to FAQ appreciated.
----------------------------------------------------------------------------
A member of G.ASS : Group for Astronomical Software Support
----------------------------------------------------------------------------
Lucio Chiappetti - IFCTR/CNR | Ma te' vugl' da' quost avis a ti' Orsign
via Bassini 15 - I-20133 Milano | Buttet rabios intant te se' pisnign
Internet: LUCIO@IFCTR.MI.CNR.IT | (Rabisch, II 46, 119-120)
----------------------------------------------------------------------------
For more info : http://www.ifctr.mi.cnr.it/~lucio/personal.html
----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-09-10 8:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-10 8:54 csh editing command line Lucio Chiappetti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox