[luau] control arrows in bash
Steve Anderson
emac at hawaii.rr.com
Sun Sep 21 10:00:01 PDT 2003
I think that this is an issue with the terminal program that you are using.
The control arrow "jump" works within a gnome-terminal in "stock" redhat 9,
but it does not work in a xterm or Konsole in a standard redhat 9 install.
Actually, the bash tips web page addresses that the control arrow jump may not
work under X with a xterm.
Try gnome-terminal on Debian and see if the control arrow jump works.
Steve
On Wednesday 17 September 2003 09:05, Kevin English wrote:
> ok this may be a silly question but remember: there are no stupid
> questions, just stupid people.
> In redhat when i my command line (bash), i can use the control arrow
> keys to jump from word to word when i do my command line editing. like
> if i have a command like './do.sh arg1 arg2 arg3 arg4 arg5 arg6 arg7
> arg8 arg9', i can use control left arrow to move the cursor back one arg
> and control right arrow to go forward one arg. kind of like typing 'w'
> or 'b' in vi. Now i'm working on a debian system and this does not seem
> to be enabled. I have to do the emacs style 'esc-f'/'esc-b' but with the
> 'esc-f' you can't hold down the 'esc' key and just keep hitting 'f', you
> have to release it everytime which gets annoying.
> if anyone knows how to enable the control arrow thingie in the shell i'd
> be forever in your debt. i'm sure it's just some silly one line thing i
> can pop in my .bashrc....
>
> kevin
More information about the LUAU
mailing list