[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xterm and command line word movement: CTRL+RightArrow, CTRL+LeftArrow



Am Freitag, 6. Dezember 2013, 10:51:30 schrieb Zenaan Harkness:
> SOLVED (gmail breaks threads sorry - I'll upgrade to mutt again next year).
> 
> On Thu, 05 Dec 2013 15:29 +0100, Volker Wysk <pf3@volker-wysk.de> wrote:
> > Am Donnerstag, 5. Dezember 2013, 23:50:04 schrieb Zenaan Harkness:
> ..
> 
> >> And running bind ~/.inputrc, CTRL+LeftArrow and
> >> CTRL+RightArrow display the usual problematic ";5D"
> >> and ";5C" character sequences.
> > 
> > I'm not sure what you have done, from your description. But I've done it
> > the
> > following way (a long time ago):
> Thank you.
> 
> I got your X-fu and my X-fu working (trying one, then the other) so
> both ways work, doing the following:
> 
> Update the Xresources and inputrc files as appropriate.
> Start a new xterm.
> 
> This xterm won't work - even running the following command is not
> enough to make this new xterm work:
> xrdb -load ~/.Xresources; bind ~/.inputrc

I don't know, what bind does. It has no manpage. But, probably, /etc/inputrc 
should be uses instead of ~/.inputrc. Then i'ts loaded when you log out and 
log in again.

> However, even with NOT running the above command, open a new xterm
> from that xterm, then the new xterm (the third, as I was editing the
> files in the first), DOES work (for C-Left and C-Right).
> 
> I am not yet able to test logging out and logging back in or reboot -
> I'm guessing that will also do the trick, however for the time being,
> I usually work in a screen session, and that is now working
> regardless.

Logging out and back in is probably what needs to be done. ~/.Xresources and 
/etc/inputrc should then be reloaded automatically.

> It seems xrdb -load and bind are not working as advertised in their
> respective manuals.


Bye,
Volker


Reply to: