Markus Stenberg <[EMAIL PROTECTED]> writes:

> For some reason, using moderately recent XEmacs and SSH2 (in case it
> matters), I get 'couldn't get exit status' errors to some hosts
> consistently. 

Kai, the tramp author, has given the following fix in the past week
for a bug which sounds much like you are describing:

> I think I know where that comes from.  Don't have time to really fix
> this, though.  I think you want to look at this code, it's in
> tramp.el, in the function tramp-send-command-and-check.
>
>   (tramp-send-command multi-method method user host
>                       (concat (if subshell "( " "")
>                               command
>                               (if command tramp-rsh-end-of-line "")
>                               "echo tramp_exit_status $?"
>                               (if subshell " )" "")))
>
> In the `if' line in the middle, replace tramp-rsh-end-of-line with ";"
> (including the quotes).  Does that help?


I hope it works for you.

Reply via email to