[wellylug] Take a hint
Grant McLean
grant at mclean.net.nz
Wed Sep 8 09:42:03 NZST 2004
On Wed, 2004-09-08 at 09:28, David Antliff wrote:
> On Wed, 8 Sep 2004, Grant McLean wrote:
> > You may also want to add these two lines as well:
> >
> > "\e[5D": backward-word
> > "\e[5C": forward-word
> >
> > These allow the use of the Ctrl-Left-Arrow and Ctrl-Right-Arrow to
> > move left and right a word at a time.
> Unfortunately these didn't work for me - does nothing in an aterm, moves
> one character in a linux console and prints ';5D;5D;5C;5C...' in an xterm.
> Pity, because that would be really useful.
On my system, I found aterm sent different sequences to gnome-terminal.
These settings work for me:
"\eOc": forward-word
"\eOd": backward-word
If that doesn't work for you, just type Ctrl-V Ctrl-Arrow at a
command prompt. Bash will echo what it received using ^[ to indicate
an escape ('\e' in .inputrc).
Grant
More information about the wellylug
mailing list