From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#5331: Term mode doesn't set tty erase Date: Fri, 8 Jan 2010 11:09:14 -0800 (PST) Message-ID: <201001081909.o08J9EC3017862@godzilla.ics.uci.edu> References: <2E5E576A-1165-4754-9C47-0CFDAAED4977@me.com> <201001070827.o078RbDP002615@godzilla.ics.uci.edu> <460078AB-C49F-4C5C-96FE-7724132F4739@me.com> <201001072135.o07LZKBJ001202@godzilla.ics.uci.edu> <6CE7E79E-7064-4D14-8946-44B568EC8C16@me.com> Reply-To: Dan Nicolaescu , 5331@debbugs.gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262978377 16653 80.91.229.12 (8 Jan 2010 19:19:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jan 2010 19:19:37 +0000 (UTC) Cc: 5331@debbugs.gnu.org To: Scott Bell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 08 20:19:30 2010 Return-path: Envelope-to: geb-bug-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 1NTKMp-00053s-QS for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jan 2010 20:19:29 +0100 Original-Received: from localhost ([127.0.0.1]:40921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTKMp-0003kH-Pa for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jan 2010 14:19:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NTKMV-0003Q1-7U for bug-gnu-emacs@gnu.org; Fri, 08 Jan 2010 14:19:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NTKMP-0003Ja-5c for bug-gnu-emacs@gnu.org; Fri, 08 Jan 2010 14:19:05 -0500 Original-Received: from [199.232.76.173] (port=58360 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTKMO-0003JC-UV for bug-gnu-emacs@gnu.org; Fri, 08 Jan 2010 14:19:00 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40779) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NTKMO-00061L-MT for bug-gnu-emacs@gnu.org; Fri, 08 Jan 2010 14:19:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NTKDj-0005dg-GL; Fri, 08 Jan 2010 14:10:03 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Dan Nicolaescu , 5331@debbugs.gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Jan 2010 19:10:03 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5331 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Original-Received: via spool by 5331-submit@debbugs.gnu.org id=B5331.126297776721661 (code B ref 5331); Fri, 08 Jan 2010 19:10:03 +0000 Original-Received: (at 5331) by debbugs.gnu.org; 8 Jan 2010 19:09:27 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NTKD8-0005dK-TO for submit@debbugs.gnu.org; Fri, 08 Jan 2010 14:09:27 -0500 Original-Received: from colin-baker-v0.ics.uci.edu ([128.195.1.153]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NTKD6-0005dF-N3 for 5331@debbugs.gnu.org; Fri, 08 Jan 2010 14:09:25 -0500 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id o08J9EdB000672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Jan 2010 11:09:14 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id o08J9EC3017862; Fri, 8 Jan 2010 11:09:14 -0800 (PST) In-Reply-To: <6CE7E79E-7064-4D14-8946-44B568EC8C16@me.com> (Scott Bell's message of "Fri, 08 Jan 2010 10:06:54 -0700") Original-Lines: 45 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: o08J9EdB000672 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-Spam-Score: -2.5 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -2.5 (--) Resent-Date: Fri, 08 Jan 2010 14:10:03 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34086 Archived-At: Scott Bell writes: > On 2010-01-07, at 2:35 PM, Dan Nicolaescu wrote: > > > Scott Bell writes: > > > >> On 2010-01-07, at 1:27 AM, Dan Nicolaescu wrote: > >> > >>> Scott Bell writes: > >>> > >>>> ... > >>>> > >>>> It seems like the least surprising thing would be to define > >>>> erase to ^? so that most programs will behave as expected > >>>> when the DEL key is typed. > >>> > >>> I can't reproduce this on GNU/Linux and Solaris. > >>> This is probably a Mac OS X problem which not too many people here have > >>> access to... > >>> Do you get the same results with /bin/tcsh? > >> > >> It looks like tcsh is the only one where erase > >> is defined: > >> > >> bash: > >> zsh: > >> tcsh: ^? > >> ksh: > >> > >> When these shells are launched using Terminal.app > >> (the terminal emulator that ships with Mac OS), erase > >> is always bound to ^?. > > > > term.el does not do anything special for tcsh, so because it works > > there, it's probably a problem in the initialization of the other > > shells, not in term.el. > > I agree. It seems like a shame that Mac OS relies on > the default emulator (Terminal.app) to perform this > initialization. Not sure what you mean... It's probably due to buggy initialization for those shells, or because they get confused about TERM value used by term.el: eterm-color.