Re: command line editing

Fons Rademakers ((no email))
Mon, 22 Dec 1997 12:14:34 +0100 (MET)


Hi Frank,

for this to work your terminal has to send the sequence
<ESC>[A, ..., <ESC>[D for the 4 cursor (arrow) keys (ANSI codes). Check
your xterm setup to see how to enable this. The <TAB> completion
has not yet been implemented.

>
> Hi
>
> I have probles with the command line editing in root
> ( v1.03/08 on Digital Unix 3.2) :
>
> In an xterm window the arrow keys do not correspond
> to ^p ^n ^b and ^f and the tab key does not
> give command line completion.
>
> The manual says that on DOS and ANSI terminals the arrow keys
> should act as the corresponding emacs key bindings. ( page 23 of
> ROOT overview ) What needs to be set that this features are
> activated in an xterm window ?
>
> The information given on the tab key function
> on the same page is not very helpful either :
>
> " can be rebound by the programmer as described below ... ".
>
> It is not clear to me where this 'below' refers to !?
>
>
> Thanks for your advice !
>
> --
> Frank Dropmann
>
> Max-Planck-Institut fuer Kernphysik
> Postfach 103980
> 69029 Heidelberg
> Germany
>
> F.Dropmann@mpi-hd.mpg.de Phone +49-6221-516-237, FAX +49-6221-516-540
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910