[Top][All Lists]

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

Re: Bug#118914: emacs21: Home and End key do not work as before.

From: Eli Zaretskii
Subject: Re: Bug#118914: emacs21: Home and End key do not work as before.
Date: Wed, 5 Dec 2001 09:51:54 +0200 (IST)

On Tue, 4 Dec 2001, Richard Stallman wrote:

>     On those terminals where different sequences are produced, one way I
>     see to solve this is to put the sequence for C-<home> into an
>     appropriate file in lisp/term, so that Emacs will load it at startup.
>     That's assuming that the above sequences are not something that is
>     determined by some Debian-specific keyboard setup.
> I believe Emacs normally gets these sequences from termcap or
> terminfo.

Emacs does that for <home>, but not for C-<home>.  I believe that's
because there's no termcap/terminfo capability for the C-<home> key
(it's not a key, but a combination of keys).

> gnome-terminal, xterm and the linux (kernel) console are important
> kinds of terminals, so it is worth installing Lisp files to support
> them better, if that's what's needed.

I agree.  So if anyone can post a full list of escape sequences
emitted by these terminals and terminal emulators, we can add those to

> TERM in the gnome-terminal is xterm, so Emacs can't distinguish
> gnome-terminal from xterm.  However, the correct support for xterm
> will also handle gnome-terminal as well as can be done.

As Stefan suggested, we could support them even if they are a bit
different, provided that there are no conflicts.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]