Re: [ROOT] TRint command line editing

From: Jiri Masik (masik@pc203b.fzu.cz)
Date: Fri Jul 28 2000 - 15:19:02 MEST


Martin Weber <Martin.Weber@cern.ch> writes:

> Dear ROOT developers,
> 
> since I don't have that fancy "Meta" key on my keyboard, I cannot
> use the 
> 
> M-F/M-B : Move cursor forward/backward one word.
> M-D     : Delete the word under the cursor.
> 
> as it is described in C_Getline.c
> 
> I'd really like to use this facility, so could you add support for going
> forward/backward one word without the "Meta" key? I know that e.g. tcsh
> does it by
> 
>             EMACS Multi-character and 8 bit bindings
>             "^[F"  or "M-F"          ->  forward-word
>             "^[B"  or "M-B"          ->  backward-word
> 
> This means that pressing "ESC" before F imitates the "Meta" key. Could
> this be a possibility?
> 

Hi Martin,

I assume you are working in X windows system. Maybe you don't need a
real Meta key on the keyboard, have you tried Alt or another
modifiers? That's what works for me, the key which xev reports as
Alt_L has the above mentioned functionality.

Also be careful which terminal emulator you use. Not all fit the
assumption taken in C_Getline.c. xterm works fine, rxvt and
gnome-terminal don't.

        Jiri



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET