help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp and BusyBox problem?


From: Mats Löfdahl
Subject: Re: Tramp and BusyBox problem?
Date: Sun, 15 Mar 2009 19:01:39 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Michael Albinus wrote:
Mats Löfdahl <mats_lofdahl@yahoo.se> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]