From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Emacs tramp troubles with old Sun Date: Thu, 08 Nov 2007 07:26:45 +0100 Message-ID: <87wsstb6ca.fsf@gmx.de> References: <87bqa5ye3a.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194503177 12684 80.91.229.12 (8 Nov 2007 06:26:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2007 06:26:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: bob@rattlesnake.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 08 07:26:20 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iq0qJ-0002R1-P8 for ged-emacs-devel@m.gmane.org; Thu, 08 Nov 2007 07:26:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iq0q8-0005fn-Jl for ged-emacs-devel@m.gmane.org; Thu, 08 Nov 2007 01:26:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iq0q5-0005fV-DC for emacs-devel@gnu.org; Thu, 08 Nov 2007 01:26:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iq0q3-0005fE-TG for emacs-devel@gnu.org; Thu, 08 Nov 2007 01:26:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iq0q3-0005f9-O1 for emacs-devel@gnu.org; Thu, 08 Nov 2007 01:26:03 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Iq0q3-0007B0-Dh for emacs-devel@gnu.org; Thu, 08 Nov 2007 01:26:03 -0500 Original-Received: (qmail invoked by alias); 08 Nov 2007 06:26:01 -0000 Original-Received: from p57A2064E.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.6.78] by mail.gmx.net (mp052) with SMTP; 08 Nov 2007 07:26:01 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+3qPJI7Jq3rEAc4BpeFuzt7+GGHB54MIeeyBTqXP tC5X0ITpM+Fc63 In-Reply-To: (Robert J. Chassell's message of "Wed, 7 Nov 2007 21:27:49 +0000 (UTC)") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82792 Archived-At: "Robert J. Chassell" writes: > but the old Sun still fails with > > Couldn't find exit status of `test -e /tmp' > > > I can reach it with ssh -l bob shell.berkshire.net > > Last login: Wed Nov 7 16:07:08 2007 from cpe-69-204-164- > Sun Microsystems Inc. SunOS 5.9 Generic May 2002 > tcsh: using dumb terminal settings. > > > bob@robin ~ $ test -e /tmp > test: argument expected > > bob@robin ~ $ which test > /usr/ucb/test > bob@robin ~ $ echo $PATH > .:/bin:/usr/games:/usr/etc:/usr/ucb:/usr/local/bin:/usr/bin:/usr/X11/bin The patch seems to be OK wrt your echoing shell. However, Tramp still tries to apply "test -e", although it's not applicable. This is likely because of cached connection properties (see "~/.emacs.d/tramp"). Could you, please, remove this file before you start Emacs? Or, alternatively, before you're going remote, clear the cache by calling "M-x tramp-cleanup-connection RET /ssh:bob@shell.berkshire.net: RET"? Btw, next time you send a debug buffer _please_ append it to your message as attachment with proper encoding. It contains non ASCII characters, and email is not 8bit clean by design. I can read your message via the emacs-devel archive, but there is a delay until a message is offered there, and (because in HTML format) it doesn't keep line formatting, which makes reading the debug messages hard. Thanks, and best regards, Michael.