Adrian Aichner <[EMAIL PROTECTED]> writes:

> >>>>> "Kai" == Kai Gro�johann <[EMAIL PROTECTED]> writes:
> 
>     Kai> Adrian Aichner <[EMAIL PROTECTED]> writes:
>     >> On
>     >> v runs the command bookmark-bmenu-select
>     >> for
>     >> /[[EMAIL PROTECTED]]/home/adrian\
>     >> 
>     >> I get this:
>     >> 
>     >> exec env 'PS1=$ ' /bin/sh
>     >> 
>     >> $ $ 
> 
>     Kai> This looks rather strange.  Hm.
> 
>     Kai> What's the *debug tramp/foo* buffer at this point?  (Do (setq
>     Kai> tramp-debug-buffer t) if you don't have this buffer.)
> 
> Here you go:
> 
> # Opening connection for [EMAIL PROTECTED] using scpx...
> # Waiting for prompts from remote shell
> # Waiting 60s for prompt from remote shell
> # Found remote shell prompt.
> # Initializing remote shell
> $ exec env PS1='$ ' /bin/sh
> # Waiting 30s for remote `/bin/sh' to come up...
> exec env 'PS1=$ ' /bin/sh
> 
> $ $ [[Regexp `\(^[^#$%>
> ]*[#$%>] *\|^[^#$%>
> ]*[#$%>] *\)\'' not found in 30 secs]]
> 

What's your login shell on the remote machine? I ran into the same
trouble when I tried to login to a machine where I have to have zsh as
login shell. It has no PS1 env variable, the prompt there is
named PROMPT1. As a kludge I changed
tramp-shell-prompt-pattern. Maybe one could set more variables in
the exec statement ..

Martin


_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to