From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?Q?Arturo_Garc=EDa_Ares?= Newsgroups: gmane.emacs.bugs Subject: ange-ftp sets TERM=dumb in both its subprocess and emacs' main process Date: Tue, 23 Dec 2003 23:28:04 +0100 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20031223222804.GB19059@pikatoste.homeip.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1072218685 31814 80.91.224.253 (23 Dec 2003 22:31:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Dec 2003 22:31:25 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 23 23:31:22 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AYv3h-0000Fu-01 for ; Tue, 23 Dec 2003 23:31:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AYw0J-0003Ki-4p for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Dec 2003 18:31:55 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AYvzB-0002tF-Fn for bug-gnu-emacs@gnu.org; Tue, 23 Dec 2003 18:30:45 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AYvyb-0002Rl-Fp for bug-gnu-emacs@gnu.org; Tue, 23 Dec 2003 18:30:40 -0500 Original-Received: from [81.39.137.103] (helo=cuervo.local) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AYvya-0002QS-2j for bug-gnu-emacs@gnu.org; Tue, 23 Dec 2003 18:30:08 -0500 Original-Received: from arturo by cuervo.local with local (Exim 3.35 #1 (Debian)) id 1AYv0W-00053o-00 for ; Tue, 23 Dec 2003 23:28:04 +0100 Original-To: bug-gnu-emacs@gnu.org Content-Disposition: inline User-Agent: Mutt/1.3.28i X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6368 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6368 Hello, I'm having the following problem: if I start emacs with the command line: $ emacs -l /ftp@host:.emacs (that's the method I use to run emacs with my own config from a 'foreign' environment, substituting host for the real name) then the TERM environment variable that the ftp-loaded .emacs sees is "dumb" instead of the original setting, and that screws my config. I understand that ange-ftp has to set TERM=dumb in it's own process to keep the ftp client from cluttering the output with escape sequences, but I see that it's also setting TERM=dumb in the main emacs process (well, the truth is that only process-environment is changed, *not* the real process environment). Don't really know if this is a feature or a bug; in case it's a well-known feature, I apology for wasting your time, but then I would like to know how to reach the original TERM setting from within my .emacs loaded via ange-ftp. The emacs version I'm using is "GNU Emacs 21.3.1", as reported by 'emacs -version'. Arturo