Another way to do it is fiddle with your overrides. Add this to your X resources:
XTerm*VT100.Translations: #override ~Shift ~Ctrl ~Meta <Key>Home:
string("\033OH")\n\
~Shift ~Ctrl ~Meta <Key>End:
string("\033OF")
If I remember correctly, didn't this used to be in xterm's app-defaults
file way back when? I know there was a big hoo-rah at one point about it
earlier this year.
On Mon, Dec 17, 2001 at 02:31:55AM +0000, Keith Willoughby wrote:
> Peter De Wachter <[EMAIL PROTECTED]> writes:
>
> > The Home and End don't work in a bash prompt in xterm. Curiously enough,
> > these keys do work in vim. I'm using Woody and XFree86 4.1.0 with a
> > Belgian keyboard layout. Does anybody know what could cause this, or how
> > to fix it?
>
> I have these magic incantations in .inputrc - I *think* they fix this
> problem, although it's been months since did it.
>
> "\e[7~": beginning-of-line
> "\e[8~": end-of-line
> "\e[H": beginning-of-line
> "\e[F": end-of-line
> "\e[1~": beginning-of-line
> "\e[4~": end-of-line
>
>
> --
> Keith Willoughby
> Sunsh ne ess rt
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
--
Marc Wilson
[EMAIL PROTECTED]
[EMAIL PROTECTED]
pgpK8VUR8dfEj.pgp
Description: PGP signature

