On Mon, Nov 7, 2011 at 3:17 PM, Michael Albinus
<address@hidden> wrote:
Terrence Brannon <address@hidden> writes:
Hi,
Hi
> It seems that TRAMP cannot find ls --dired on my debian/testing
> machine (the machine I am connecting to) ... however it certainly is
> there:
>
> address@hidden:~$ ls --dired
> %backup%~ admin downloads-deluge install prg wares
> Mail bin emacs java-home set-java-home
> wp-themes
> RMAIL daemons emacs-contrib keep tmp wtf
> RMAIL~ domains init.d pranayama trunk.zip
> address@hidden:~$
Could you, please, check which ls is used on the remote host (in a shell
started by /bin/sh)?
# which ls
Furthermore, it might be interesting to know what happens if you apply
the following statements on your remote host in that shell:
# while read d; do if test -x $d/ls -a -f $d/ls; then echo tramp_executable $d/ls; break; fi; done <<'EOF'
/bin
/usr/bin
/usr/sbin
/usr/local/bin
EOF
address@hidden:~$
address@hidden:~$ /bin/sh
address@hidden:\w$ which ls
/bin/ls
address@hidden:\w$ while read d; do if test -x $d/ls -a -f $d/ls; then echo tramp_executable $d/ls; break; fi; done <<'EOF'
> /bin
> /usr/bin
> /usr/sbin
> /usr/local/bin
> EOF
tramp_executable /bin/ls
address@hidden:\w$
Best regards, Michael.