From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Takehiko Abe <keke@gol.com>
Newsgroups: gmane.emacs.help
Subject: Re: [help] emacs on gnome-terminal
Date: Tue, 24 Jul 2007 13:05:32 +0900
Organization: FusionGOL - Global Online Japan
Message-ID: <87hcnucupf.fsf@solcore.sol.net>
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>
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: sea.gmane.org 1185252097 22960 80.91.229.12 (24 Jul 2007 04:41:37 GMT)
X-Complaints-To: usenet@sea.gmane.org
NNTP-Posting-Date: Tue, 24 Jul 2007 04:41:37 +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 06:41:36 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 1IDCDI-0000Rm-03
	for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jul 2007 06:41:36 +0200
Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1IDCDH-00069g-JU
	for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jul 2007 00:41:35 -0400
Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!news.glorb.com!newsfeed2.kddnet.ad.jp!newsfeed2.kddnet.ad.jp!news0.dion.ne.jp!jpix!nntp.gol.com!203.216.70.8.MISMATCH!not-for-mail
Original-Newsgroups: gnu.emacs.help
Original-Lines: 20
Original-NNTP-Posting-Host: d238.gosakafl38.vectant.ne.jp
Original-X-Trace: nnrp.gol.com 1185249937 10665 163.139.102.238 (24 Jul 2007 04:05:37
	GMT)
Original-X-Complaints-To: abuse@gol.com
Original-NNTP-Posting-Date: Tue, 24 Jul 2007 04:05:37 +0000 (UTC)
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)
Cancel-Lock: sha1:0BZisk3+HPql67lpDJIK5eK/s2Y=
Original-Xref: shelby.stanford.edu gnu.emacs.help:150330
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:45909
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/45909>

Katsumi Yamaoka <yamaoka@jpl.org> writes:

>> emacs still gives me pesky ;5D;5C;5D;5C;5D;5C;5D;5C;5D;5C.
>
> 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)])

That does it. Beautiful. Thanks a lot.

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.

regards,
T.