From: Kai.Grossjohann@CS.Uni-Dortmund.DE (K. ) - 2001-11-27 09:20:07
|
"Robert J. Collins" <rco...@hw...> 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. Hm. 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 checking both.) 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. kai -- Simplification good! Oversimplification bad! (Larry Wall) |