Hi, thanks to your reply I found out that you can set (for xterm) the following resources in ~/.Xresources : xterm*VT100.Translations: #override \ Ctrl<Key>Left: string(0xe2) \n\ Ctrl<Key>Right: string(0xe6) and then Ctrl-Left will go one word backward and Ctrl-Right " " " " forward Maybe rxvt and gnome-term also have to be modified like xterm above. Since I don't have them, I can't check. So this was not a ROOT related problem. Sorry for mixing this mailing list up. Martin On 28 Jul 2000, Jiri Masik wrote: > 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