From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: (getenv "TERM") always returns "dumb" Date: 03 Sep 2004 14:16:56 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <86656xox9d.fsf@ketchup.de.uu.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1094235466 21108 80.91.224.253 (3 Sep 2004 18:17:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Sep 2004 18:17:46 +0000 (UTC) Cc: Kai Grossjohann , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 03 20:17:36 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 1C3Icx-0005fN-00 for ; Fri, 03 Sep 2004 20:17:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C3Ihz-0005CA-Qp for ged-emacs-devel@m.gmane.org; Fri, 03 Sep 2004 14:22:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C3Ihs-0005Br-Ix for emacs-devel@gnu.org; Fri, 03 Sep 2004 14:22:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C3Ihq-0005BT-S4 for emacs-devel@gnu.org; Fri, 03 Sep 2004 14:22:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C3Ihq-0005BJ-Ns for emacs-devel@gnu.org; Fri, 03 Sep 2004 14:22:38 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C3Ice-0001Co-CE; Fri, 03 Sep 2004 14:17:16 -0400 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id BE71AB30281; Fri, 3 Sep 2004 14:16:56 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 846AA8CA23; Fri, 3 Sep 2004 14:16:56 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0, requis 5) X-MailScanner-From: monnier@iro.umontreal.ca 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:26753 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26753 > Most processes started from within Emacs do not talk to a smart > terminal, but they believe they do. > Why do they believe they do? Is it because the Lisp code that starts > them does not specify "dumb" as the terminal type? > If so, the straightforward solution is to change the Lisp code > that invokes them. Right, but *none* of the subprocesses can talk directly to the terminal on which Emacs was started, so every single piece of elisp that starts a process should change the TERM variable. It seems preferable to change it once and forall, doesn't it? Stefan