From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: lawrence mitchell Newsgroups: gmane.emacs.help Subject: Re: backspace/del/C-h confusion between emacs -nw & emacs X11 Date: Tue, 20 May 2003 02:46:59 +0100 Organization: funfunfun Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: 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 1053395432 4283 80.91.224.249 (20 May 2003 01:50:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 20 May 2003 01:50:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue May 20 03:50:27 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 19HwGp-00016t-00 for ; Tue, 20 May 2003 03:50:27 +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 19HwGr-0002oj-M6 for gnu-help-gnu-emacs@m.gmane.org; Mon, 19 May 2003 21:50:29 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-lond.gip.net!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!vegetable.demon.co.UK!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: vegetable.demon.co.uk (80.177.16.3) Original-X-Trace: fu-berlin.de 1053395220 29127183 80.177.16.3 (16 [97657]) X-No-Yes: No Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 Cancel-Lock: sha1:cAvIHt9Qjb7T2ACcE4L78fvbikU= Original-Xref: shelby.stanford.edu gnu.emacs.help:113412 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:9906 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9906 Balaji Venkataraman wrote: > I'm sure this is an oft repeated question, but I still haven't found a fool > proof solution yet. I'm not a novice user, so I'd appreciate it if you read > the whole mail, before replying. > This is with Emacs (21.1.2) on Solaris. > 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. Does adding (normal-erase-is-backspace-mode 1) to your ~/.emacs (or doing M-x normal-erase-is-backspace-mode RET) help at all? Also, what does stty -a tell you about the value of "erase", for me, backspace generates ^? in an xterm. -- lawrence mitchell