From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Feature freeze and Tramp? Date: Sun, 16 May 2004 19:50:57 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200405170050.i4H0ovd04006@raven.dms.auburn.edu> References: <87zn8qlleb.fsf@emptyhost.emptydomain.de> <87d65gj5j2.fsf@emptyhost.emptydomain.de> <200405080234.i482YKE24109@raven.dms.auburn.edu> <87wu3n4380.fsf@emptyhost.emptydomain.de> <200405090140.i491eTW28920@raven.dms.auburn.edu> <87n04gzb7h.fsf@emptyhost.emptydomain.de> <200405110249.i4B2nND22278@raven.dms.auburn.edu> <87sme7o2zu.fsf@emptyhost.emptydomain.de> <200405120102.i4C127e12749@raven.dms.auburn.edu> <8765b2ksm7.fsf@emptyhost.emptydomain.de> <200405121457.i4CEv8D15723@raven.dms.auburn.edu> <87n04cvmtx.fsf@emptyhost.emptydomain.de> <200405131402.i4DE2PF00789@raven.dms.auburn.edu> <86k6zd7ild.fsf@slowfox.dyndns.org> <200405151828.i4FIS1Y27500@raven.dms.auburn.edu> <86fza0lozm.fsf@slowfox.dyndns.org> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084755233 26275 80.91.224.253 (17 May 2004 00:53:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 May 2004 00:53:53 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 17 02:53:45 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPWO0-00048p-00 for ; Mon, 17 May 2004 02:53:44 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPWO0-0002X6-00 for ; Mon, 17 May 2004 02:53:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPWNe-0002eT-Og for emacs-devel@quimby.gnus.org; Sun, 16 May 2004 20:53:22 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BPWNM-0002TR-Hv for emacs-devel@gnu.org; Sun, 16 May 2004 20:53:04 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BPWLv-0001yA-HF for emacs-devel@gnu.org; Sun, 16 May 2004 20:52:07 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPWLg-0001TV-2c for emacs-devel@gnu.org; Sun, 16 May 2004 20:51:20 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i4H0pCTS011148; Sun, 16 May 2004 19:51:12 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i4H0ovd04006; Sun, 16 May 2004 19:50:57 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: kai.grossjohann@gmx.net In-reply-to: <86fza0lozm.fsf@slowfox.dyndns.org> (message from Kai Grossjohann on Sun, 16 May 2004 11:07:09 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23559 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23559 Kai Grossjohann wrote: Please submit a Tramp bug report, including the *debug tramp/foo* buffer as described in the instructions you get after M-x tramp-bug RET. Maybe that enables me to see what is going on. I could submit a bug report if really necessary. However, I now looked somewhat closer at the Tramp code and now the reason why you need to export on Solaris and not on GNU/Linux seems obvious. Solaris' sh can not handle ~, sh on GNU/Linux, that is, bash run as sh, can handle ~. Tramp still runs tramp-post-connection _after_ running tramp-open-connection-setup-interactive-shell. The result of all of this is that on Solaris you get (excerpts of the Tramp debug buffer with my own comments): ... teirllm@raven$ $ exec env 'ENV=' 'PS1=$ ' /bin/sh # Waiting 30s for remote `/bin/sh' to come up... ... $ # Waiting 30s for `HISTFILE= ; export HISTFILE' $ HISTFILE= ; export HISTFILE (But the `export' is just something I put in my private Tramp. The above works on Solaris and on GNU/Linux. I can not check on other operating systems.) ... tramp_executable /bin/bash # Starting remote shell `/bin/bash -norc -noprofile' for tilde expansion... (This is why you _need_ the `export'. Otherwise this shell writes to .bashhistory. Hundreds of lines.) On the other hand, on GNU/Linux we get instead: # Remote `/bin/sh' groks tilde expansion, good Hence, no `export' needed on GNU/Linux. Sincerely, Luc.