From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?TWF0cyBMw7ZmZGFobA==?= Newsgroups: gmane.emacs.help Subject: Re: Tramp and BusyBox problem? Date: Sun, 15 Mar 2009 19:01:39 +0100 Organization: albasani.net Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1237142499 19974 80.91.229.12 (15 Mar 2009 18:41:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Mar 2009 18:41:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 15 19:42:56 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LivIV-0004BJ-NZ for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Mar 2009 19:42:55 +0100 Original-Received: from localhost ([127.0.0.1]:53803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LivH9-0006ye-HL for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Mar 2009 14:41:31 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!news2.arglkargh.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 61 Original-X-Trace: news.albasani.net sSIu50GYfODHOA/iiwnkAdhwfSYzZ3HA0qdrxbT9Fq21tp8Y+kwJF5yhEzfM8bP4+GVIFnAMYK7dHl2Y6BU0cs06C3ycdJ0C0hMc9YdFKpfL7PH5+N+o2+5xB6p4h0Db Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Sun, 15 Mar 2009 18:01:44 +0000 (UTC) X-User-ID: dLrD8OQ8sd1R1WePoy6x57HIqw3g6s66GPDU04405Mr+mrZrNWQQ0eh2i61KMMBdDW3TuTAlsf1uvBzO6omi1g== In-Reply-To: Cancel-Lock: sha1:EMvJYZ+kX/NmSni24e3N56jcov4= User-Agent: Thunderbird 2.0.0.19 (X11/20090105) X-NNTP-Posting-Host: ZhzD5Z43s6T15IP6IZbZD7eKdjilbbmOGyqT5oUh2Ck= Original-Xref: news.stanford.edu gnu.emacs.help:167646 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62943 Archived-At: Michael Albinus wrote: > Mats Löfdahl writes: > >>>>>>> tramp: Testing remote command `/bin/ls' for -n...okay >>>>>>> tramp: Using remote command `/bin/ls' for getting directory listings >>>>>>> tramp: Sending the Perl script `tramp_file_attributes'...done. >>>>>>> tramp-handle-file-attributes: Wrong type argument: listp, if > >> Tramp: Sending password >> Tramp: Found remote shell prompt on `10.0.0.3' >> File error: Couldn't find exit status of `echo \"`uname -sr`\"' > > That's another problem. I would need Tramp traces now. Please apply > > (set tramp-verbose 6) > > and rerun your test. Afterwards, send the *debug tramp/scp root@10.0.0.3* > buffer. The buffer is called *tramp/scp root@10.0.0.3*, without the "debug" part, at least I guess this is what you need: ----begin---- set +o vi +o emacs /bin/sh: set: Illegal option -o emacs echo \"`uname -sr`\" 2>/dev/null; echo tram p_exit_status $? "Linux 2.6.15" tramp_exit_status 0 ///690e72efcac87c597846ebc18c28f2ce ----end---- Another weird thing: The above is from connecting to root@ the NAS. I've now installed bash on it and use that as my shell when I log in as an ordinary user. This works but the dired buffer looks weird, there are some codes surrounding the file names that I guess should have been stripped at some point. Here's an extract: ----begin---- /scp:mats@10.0.0.3:/: drwxr-xr-x 21 root root 4096 Mar 9 00:41 . drwxr-xr-x 21 root root 4096 Mar 9 00:41 .. -rw-r--r-- 1 root root 3 Aug 18 2004 .mkcert.serial -rw-r--r-- 1 root root 0 Feb 23 21:55 .needquotacheck -rw------- 1 root root 1024 Aug 18 2004 .rnd -rw-r--r-- 1 root root 2 Mar 9 23:16 .upgrade_vol drwxr-xr-x 2 root root 4096 Feb 23 21:54 bin drwxr-xr-x 3 root root 12288 Feb 23 21:55 dev drwxr-xr-x 10 root root 4096 Mar 13 23:51 etc ----end---- The non-ascii characters are represented as "^[" in the dired buffer but may not have survived the mouse copy to thunderbird. /Mats