From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: [help] emacs on gnome-terminal
Date: Mon, 23 Jul 2007 23:48:23 -0400 [thread overview]
Message-ID: <jwvd4yipipd.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: b4msl7er582.fsf@jpl.org
>> emacs still gives me pesky ;5D;5C;5D;5C;5D;5C;5D;5C;5D;5C.
>> [I tried xterm-extras without my .emacs]
> Try the following in your ~/.emacs file:
> (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)])
Actually such key-mapping should not be done in global-map, but in
function-key-map:
(define-key function-key-map "\eO1;5A" [C-up])
(define-key function-key-map "\eO1;5B" [C-down])
(define-key function-key-map "\eO1;5C" [C-right])
(define-key function-key-map "\eO1;5D" [C-left])
-- Stefan
next prev parent reply other threads:[~2007-07-24 3:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-23 13:06 [help] emacs on gnome-terminal Takehiko Abe
2007-07-23 13:50 ` poppyer
2007-07-23 14:33 ` Takehiko Abe
2007-07-23 14:48 ` poppyer
2007-07-23 15:05 ` Takehiko Abe
2007-07-24 0:54 ` Katsumi Yamaoka
2007-07-24 3:48 ` Stefan Monnier [this message]
2007-07-24 4:05 ` Takehiko Abe
2007-07-24 5:04 ` Katsumi Yamaoka
2007-07-24 6:58 ` Takehiko Abe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvd4yipipd.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).