help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: [help] emacs on gnome-terminal


From: Katsumi Yamaoka
Subject: Re: [help] emacs on gnome-terminal
Date: Tue, 24 Jul 2007 14:04:47 +0900
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

>>>>> Takehiko Abe wrote:

>> (define-key global-map "\eO1;5A" [(control up)])
>> (define-key global-map "\eO1;5B" [(control down)])
>> (define-key global-map "\eO1;5C" [(control right)])
>> (define-key global-map "\eO1;5D" [(control left)])

> That does it. Beautiful. Thanks a lot.

Please use `function-key-map' rather than `global-map' as Stefan
Monnier wrote: http://article.gmane.org/gmane.emacs.help/45908

> I found a bug report filed against debian libvte9 [#421734].
> which concerns a similar problem -- shift-arrow producing
> 1;2c, etc in vi. And I was about to try other terminal
> emulator. I guess I don't have to.

I wish there were a table of the codes for all the keys that the
gnome-terminal produces.


reply via email to

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