From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: Re: inconsistent bindings of backspace and delete between X and xterm Date: Sat, 07 Feb 2004 19:45:49 +0100 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1076179621 29071 80.91.224.253 (7 Feb 2004 18:47:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Feb 2004 18:47:01 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 07 19:46:55 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ApXTi-0003Sh-00 for ; Sat, 07 Feb 2004 19:46:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ApXTL-00037F-84 for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Feb 2004 13:46:31 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ApXTI-00035t-Ma for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2004 13:46:28 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ApXSl-0002rU-H7 for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2004 13:46:26 -0500 Original-Received: from [195.135.220.2] (helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ApXSi-0002oy-5V for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2004 13:45:52 -0500 Original-Received: from hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 6D57116B7F6; Sat, 7 Feb 2004 19:45:50 +0100 (CET) Original-Received: by sykes.suse.de (Postfix, from userid 597) id 233BD14C9F45B; Sat, 7 Feb 2004 19:45:50 +0100 (CET) Original-To: Dale Hagglund X-Yow: .. Should I get locked in the PRINCIPAL'S OFFICE today -- or have a VASECTOMY?? In-Reply-To: (Dale Hagglund's message of "Sat, 07 Feb 2004 10:35:09 -0700") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6906 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6906 Dale Hagglund writes: > I poked around a bit in term/*.el but I didn't see where the termcap > interpretation is happening. See src/term.c:term_get_fkeys_1. > That aside, wouldn't it still be better to use the generate the same > function key for for the same physical key both under X and > xterm (or a real vt220, for that matter)? Emacs has to depend on the terminal information database. There is no way to find out the physical location of a key in termcap/terminfo. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."