From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Katsumi Yamaoka <yamaoka@jpl.org>
Newsgroups: gmane.emacs.help
Subject: Re: [help] emacs on gnome-terminal
Date: Tue, 24 Jul 2007 14:04:47 +0900
Organization: Emacsen advocacy group
Message-ID: <b4mabtmqtn4.fsf@jpl.org>
References: <87sl7f8e1q.fsf@solcore.sol.net> <hw1wezfcv2.fsf@clpc78.comlab>
	<87lkd78a1f.fsf@solcore.sol.net> <g7r6mzdvlf.fsf@clpc78.comlab>
	<878x97rwil.fsf@solcore.sol.net> <b4msl7er582.fsf@jpl.org>
	<87hcnucupf.fsf@solcore.sol.net>
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: sea.gmane.org 1185255658 30375 80.91.229.12 (24 Jul 2007 05:40:58 GMT)
X-Complaints-To: usenet@sea.gmane.org
NNTP-Posting-Date: Tue, 24 Jul 2007 05:40:58 +0000 (UTC)
To: help-gnu-emacs@gnu.org
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 24 07:40:57 2007
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geh-help-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([199.232.76.165])
	by lo.gmane.org with esmtp (Exim 4.50)
	id 1IDD8a-0002m3-3i
	for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jul 2007 07:40:48 +0200
Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1IDD8Z-00086s-KL
	for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jul 2007 01:40:47 -0400
Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail
Original-Newsgroups: gnu.emacs.help
Original-Lines: 19
Original-NNTP-Posting-Host: orlando.hostforweb.net
Original-X-Trace: quimby.gnus.org 1185253495 13671 216.246.45.90 (24 Jul 2007 05:04:55
	GMT)
Original-X-Complaints-To: usenet@quimby.gnus.org
Original-NNTP-Posting-Date: Tue, 24 Jul 2007 05:04:55 +0000 (UTC)
X-Face: #kKnN,xUnmKia.'[pp`;
	Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk
	B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;
	B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&(
User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)
Cancel-Lock: sha1:uqNv9Vi1gnekLEDRKAFy3kCBffE=
Original-Xref: shelby.stanford.edu gnu.emacs.help:150332
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.help:45910
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/45910>

>>>>> 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.