From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: (getenv "TERM) always returns "dumb" Date: 31 Aug 2004 09:35:41 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1093959409 14713 80.91.224.253 (31 Aug 2004 13:36:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Aug 2004 13:36:49 +0000 (UTC) Cc: Peter Heslin , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 31 15:36:21 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C28o9-0006RM-00 for ; Tue, 31 Aug 2004 15:36:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C28t1-0006Fy-JP for ged-emacs-devel@m.gmane.org; Tue, 31 Aug 2004 09:41:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C28sr-0006Fk-08 for emacs-devel@gnu.org; Tue, 31 Aug 2004 09:41:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C28sq-0006FR-3V for emacs-devel@gnu.org; Tue, 31 Aug 2004 09:41:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C28sp-0006FO-W4 for emacs-devel@gnu.org; Tue, 31 Aug 2004 09:41:12 -0400 Original-Received: from [206.47.199.165] (helo=simmts7-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C28nY-00043C-Sb for emacs-devel@gnu.org; Tue, 31 Aug 2004 09:35:47 -0400 Original-Received: from empanada-wifi.home ([67.68.217.250]) by simmts7-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20040831133349.JWMZ1960.simmts7-srv.bellnexxia.net@empanada-wifi.home>; Tue, 31 Aug 2004 09:33:49 -0400 Original-Received: by empanada-wifi.home (Postfix, from userid 502) id C098D2CD504; Tue, 31 Aug 2004 09:35:41 -0400 (EDT) Original-To: Andreas Schwab In-Reply-To: Original-Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26644 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26644 >> Due to a recent change in startup.el, (getenv "TERM") now always >> returns "dumb": >> >> ;; Subprocesses of Emacs do not have direct access to the terminal, >> ;; so unless told otherwise they should only assume a dumb terminal. >> (setenv "TERM" "dumb") > I think we should revert that change unless Stefan comes up with a better > idea. I still think the change is basically right, but I agree that we should probably revert it since noone seems to have the time or inclination to do the additional necessary changes (i.e. keep TERM set until after running the terminal-specific config file and stash the original TERM value somewhere so that a new `terminal-type' function can return it to code that needs it). Stefan