On Mon, Nov 7, 2011 at 3:17 PM, Michael Albinus <[email protected]>wrote:

> Terrence Brannon <[email protected]> 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:
> >
> > schemelab@li2-168:~$ 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
> > schemelab@li2-168:~$
>
> 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
>
>
Last login: Wed Nov  9 02:02:15 2011 from adsl-98-77-141-2.mia.bellsouth.net
schemelab@li2-168:~$
schemelab@li2-168:~$ /bin/sh
\u@\h:\w$ which ls
/bin/ls
\u@\h:\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
\u@\h:\w$



> Best regards, Michael.
>
_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to