On Wed, Jun 04, 2003 at 09:13:38AM +0100, Mark Fisher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wednesday 04 Jun 2003 12:54 am, Andy Smith wrote:
> 
> > Just installed gentoo over the weekend and now I notice that my Home
> > and End keys seem to produce different escape sequences when in X
> > compared to from the console.
> 
> I found I had a simpilar thing and posted a fix on the gentoo forums:
> 
> http://forums.gentoo.org/viewtopic.php?t=53721

I finally worked out how to change it:

[EMAIL PROTECTED] tmp]$ cat ~/.Xdefaults
rxvt*keysym.0xFF50:     \e[1~
rxvt*keysym.0xFF57:     \e[4~

and then making sure that the same escape codes are set in
/etc/inputrc for xterm (because rxvt sets your TERM to xterm).  Now
my machine produces the same escape codes for Home and End whether I
am in X or at console, and things like mutt are happy.

--
[EMAIL PROTECTED] mailing list

Reply via email to