[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HOME and END keys insert ~
From: |
address@hidden |
Subject: |
Re: HOME and END keys insert ~ |
Date: |
Fri, 25 Apr 2008 07:13:22 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Apr 25, 1:02 am, Eli Zaretskii <e...@gnu.org> wrote:
> > From: "jhc0...@gmail.com" <jhc0...@gmail.com>
> > Date: Thu, 24 Apr 2008 21:24:08 -0700 (PDT)
>
> > BTW, I thought I'd debug the problem and did
>
> > M-x describe-key<return><home>
>
> > and Emacs just inserted "~" in the buffer that was open.
>
> Try "C-h l" (that's the letter ell, not the digit one), or "F1 l", and
> you will see what keystrokes Emacs received from the OS.
>
> Btw, is this in a windowed session or in a text terminal/xterm? If
> the latter, perhaps your termcap/terminfo and/or $TERM are not set up
> correctly: Emacs relies on them to interpret special keys like HOME
> and END.
Without doing anything myself, my TERM was set to xterm and COLORTERM
to rxvt-xpm
Exporting both variables as rxvt-cygwin-native cured many of my
problems with emacs, although I wonder if this belongs in .bashrc.