"Robert J. Collins" <rcollins@...> writes:
> I'm having a problem with tramp on one of my FreeBSD-Stable machines here
> are the messages i'm getting, anyone have any ideas?
> Finding command to check if file exists
> Couldn't find command to check if file exists.
Wow. This is really unusual. I thought it was possible on FreeBSD.
Can you try things manually? See the function
tramp-find-file-exists-command. It tries a couple of commands on `/'
(which we assume always exists) and on `/ this file does not exist '
(which we assume does not exist).
For the command frumple, do "frumple /; echo $?" to see what
happens. Zero means yes, anything else means no. And it's clear
that the command that works needs to print yes for `/' and no for the
other file. (`ls -d' on NetBSD 1.4 always prints yes, that's why I'm
Also note that you have to do "exec /bin/sh" first.
Does Tramp run ksh in your case?
You can also see what's going on by (setq tramp-debug-buffer t), then
start Emacs and do your thing. Then you should have a *debug
tramp/foo* buffer which contains a trail of things, and a *tramp/foo*
buffer which contains the last output.
Simplification good! Oversimplification bad! (Larry Wall)