From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.bugs Subject: bug#3345: eshell environment does not override TERM Date: Thu, 21 May 2009 15:16:50 -0600 Message-ID: <67027362-ABF9-484A-A220-CA71B603964A@newartisans.com> References: <200905212202.44024.bruno@clisp.org> Reply-To: John Wiegley , 3345@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242941706 7462 80.91.229.12 (21 May 2009 21:35:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2009 21:35:06 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Bruno Haible Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 21 23:34:59 2009 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 1M7Fs3-0004hW-6F for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 May 2009 23:32:11 +0200 Original-Received: from localhost ([127.0.0.1]:47670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7Fs2-00057a-IY for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 May 2009 17:32:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M7Fry-00057I-FM for bug-gnu-emacs@gnu.org; Thu, 21 May 2009 17:32:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M7Frt-00056i-UB for bug-gnu-emacs@gnu.org; Thu, 21 May 2009 17:32:06 -0400 Original-Received: from [199.232.76.173] (port=35983 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7Frt-00056Q-Ii for bug-gnu-emacs@gnu.org; Thu, 21 May 2009 17:32:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53496) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M7Frs-0007QX-Ui for bug-gnu-emacs@gnu.org; Thu, 21 May 2009 17:32:01 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4LLVv5A008854; Thu, 21 May 2009 14:31:58 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n4LLP4Uj006102; Thu, 21 May 2009 14:25:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: John Wiegley Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 21 May 2009 21:25:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3345 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12429406354299 (code B ref -1); Thu, 21 May 2009 21:25:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 21 May 2009 21:17:15 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4LLHAna004284 for ; Thu, 21 May 2009 14:17:11 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M7FdV-0000Bh-PD for bug-gnu-emacs@gnu.org; Thu, 21 May 2009 17:17:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M7FdQ-0000BU-5R for bug-gnu-emacs@gnu.org; Thu, 21 May 2009 17:17:08 -0400 Original-Received: from [199.232.76.173] (port=53042 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7FdQ-0000BR-0V for bug-gnu-emacs@gnu.org; Thu, 21 May 2009 17:17:04 -0400 Original-Received: from johnwiegley.com ([208.70.150.153]:45021 helo=mail.johnwiegley.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M7FdP-0005hL-Oc for bug-gnu-emacs@gnu.org; Thu, 21 May 2009 17:17:03 -0400 Original-Received: from [192.168.0.4] (71-211-40-79.clsp.qwest.net [71.211.40.79]) by mail.johnwiegley.com (Postfix) with ESMTP id 4A26D55954B; Thu, 21 May 2009 16:16:59 -0500 (CDT) In-Reply-To: <200905212202.44024.bruno@clisp.org> X-Mailer: Apple Mail (2.935.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 21 May 2009 17:32:06 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 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: , 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:28072 Archived-At: On May 21, 2009, at 2:02 PM, Bruno Haible wrote: > When I invoke M-x eshell, subprocesses see the same TERM > environment variable as the one from which emacs was launched. > For example, when I launch emacs from an xterm, which has > TERM=xterm set, then processes run from within eshell will > see TERM=xterm as well and emit ANSI control codes for bold > or colored output. But eshell does not interpret these control > codes, and shows weird-looking ASCII characters instead. This has been fixed in Emacs CVS. Eshell now interprets many ANSI control codes by default. John