From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?IlBldGVyIFZhbGRlbWFyIE3DuHJjaCAoTGlzdHMpIg==?= <4ux6as402@sneakemail.com> Newsgroups: gmane.emacs.help Subject: Re: C-Home, C-End doesn't work in gnome-terminal - any idea why? Date: Sat, 24 Oct 2009 12:33:19 +0200 Message-ID: <4AE2D7EF.3030003@sneakemail.com> References: <4AE15BE0.5000604@morch.com> <20091024060033.GA1534@tomas> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1256538530 23977 80.91.229.12 (26 Oct 2009 06:28:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Oct 2009 06:28:50 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: tomas@tuxteam.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 26 07:28:43 2009 Return-path: 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 1N2J4N-0006XM-0k for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Oct 2009 07:28:43 +0100 Original-Received: from localhost ([127.0.0.1]:49467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2J4M-0001uj-Cg for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Oct 2009 02:28:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N2J3U-0001qS-Dq for help-gnu-emacs@gnu.org; Mon, 26 Oct 2009 02:27:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N2J3P-0001nw-2k for help-gnu-emacs@gnu.org; Mon, 26 Oct 2009 02:27:47 -0400 Original-Received: from [199.232.76.173] (port=33930 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2J3O-0001ne-Q1 for help-gnu-emacs@gnu.org; Mon, 26 Oct 2009 02:27:42 -0400 Original-Received: from fep53.mail.dk ([80.160.77.118]:62456) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <4ux6as402@sneakemail.com>) id 1N2J3O-0005iv-8O for help-gnu-emacs@gnu.org; Mon, 26 Oct 2009 02:27:42 -0400 Original-Received: from fep42.mail.dk ([195.41.46.225]) by fep53.mail.dk (InterMail vM.7.09.02.02 201-2219-117-103-20090326) with ESMTP id <20091026062740.KHVO24588.fep53.mail.dk@fep42.mail.dk>; Mon, 26 Oct 2009 07:27:40 +0100 Original-Received: from base.morch.com ([83.92.68.90]) by fep42.mail.dk (InterMail vG.3.00.04.00 201-2196-133-20080908) with ESMTP id <20091026062740.SLUI1065.fep42.mail.dk@base.morch.com>; Mon, 26 Oct 2009 07:27:40 +0100 Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by base.morch.com (Postfix) with ESMTP id 44A75E8EB9; Sat, 24 Oct 2009 12:33:20 +0200 (CEST) User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: <20091024060033.GA1534@tomas> X-Authentication-Info: Submitted using SMTP AUTH at fep42.mail.dk from [83.92.68.90] at Mon, 26 Oct 2009 07:27:40 +0100 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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:69232 Archived-At: tomas-at-tuxteam.de |Lists| wrote: > I'd guess it's gnome-terminal eating the keystrokes. Try the following > experiment (on a shell on a Gnome terminal, that is :) > > hexdump -C > > Then type away at it. You should see a hexdump of your input. Then type > CTRL-Home. Does hexdump "see" it? hexdump -C produces output showing the same hex values that my perl snippet did in the OP: gnome-terminal: ^[OH00000000 1b 4f 48 |.OH| 00000003 xterm: ^[[1;5H00000000 1b 5b 31 3b 35 48 |.[1;5H| 00000006 It doesn't seem that gnome-terminal "eats" the keystrokes, it just produces other keystrokes than xterm does. > Now go to the terminal's menu "Edit->Keyboard Shortcuts". On mine theere > is a "Disable all menu access keys". This one fixed it for me. On mine (current ubuntu jaunty - gnome-terminal v. 2.26.0) there are two settings under Edit / Keyboard Shortcuts: "Enable menu access keys" and "Enable the menu shortcut key". Whether or not they are enabled makes no difference. Thanks for taking the time to post, Thomas. Peter -- Peter Valdemar Mørch http://www.morch.com