From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: backspace/del/C-h confusion between emacs -nw & emacs X11 Date: Tue, 20 May 2003 14:25:09 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84fzn9zty2.fsf@lucy.is.informatik.uni-duisburg.de> References: <8a65o676e5.fsf@sm.intel.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053433912 25778 80.91.224.249 (20 May 2003 12:31:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 20 May 2003 12:31:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue May 20 14:31:49 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19I6FZ-0006Yx-00 for ; Tue, 20 May 2003 14:29:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19I6GA-0000xh-MW for gnu-help-gnu-emacs@m.gmane.org; Tue, 20 May 2003 08:30:26 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!pd951f30b.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: pd951f30b.dip.t-dialin.net (217.81.243.11) Original-X-Trace: fu-berlin.de 1053433527 28447759 217.81.243.11 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:rLzyKj3GNuWJu/CuiX9Z2ltJVqQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:113424 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9919 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9919 Balaji Venkataraman writes: > In short I want the and "C-h" to behave similarly whether I run > "emacs -q" or "emacs -nw -q". I want the key to delete the > previous char and "C-h" to give me the help menu - this is what happens when > you run "emacs -q". But with "-nw", both those keys seem to be tied to the > same thing. Changing one (with keyboard translate) changes the other. >>From a shell, invoke cat. Then hit C-v and then hit C-v C-h. I'm guessing that you will see that both print ^H on the screen. If this is indeed the case, then there is nothing Emacs can do: when you hit or when you hit C-h, the terminal sends the same bytes to Emacs, so there is no way for Emacs to tell the difference. If the two print different things, please show us what they print. If the two print the same thing, then you need to reprogram your terminal to produce different things. I suggest that you make produce ^? (that's ascii 127, also known as DEL). -- This line is not blank.