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 09:54:37 +0900
Organization: Emacsen advocacy group
Message-ID: <b4msl7er582.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>
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: sea.gmane.org 1185241233 443 80.91.229.12 (24 Jul 2007 01:40:33 GMT)
X-Complaints-To: usenet@sea.gmane.org
NNTP-Posting-Date: Tue, 24 Jul 2007 01:40:33 +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 03:40:32 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 1ID9O2-0003bg-Tx
	for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jul 2007 03:40:31 +0200
Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1ID9O2-0006r3-BU
	for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Jul 2007 21:40:30 -0400
Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news.tele.dk!feed118.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: 11
Original-NNTP-Posting-Host: orlando.hostforweb.net
Original-X-Trace: quimby.gnus.org 1185238483 30312 216.246.45.90 (24 Jul 2007 00:54:43
	GMT)
Original-X-Complaints-To: usenet@quimby.gnus.org
Original-NNTP-Posting-Date: Tue, 24 Jul 2007 00:54:43 +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:oVk3E93qdiVkvMJxzm0igv9kzAQ=
Original-Xref: shelby.stanford.edu gnu.emacs.help:150325
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:45906
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/45906>

>>>>> Takehiko Abe wrote:

> 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)])