tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.0.52); Tramp stalls when parsing prompt with Escape sequenc


From: Michael Albinus
Subject: Re: tramp (2.0.52); Tramp stalls when parsing prompt with Escape sequences
Date: Thu, 09 Feb 2006 18:22:34 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (hpux)

David Reitter <address@hidden> writes:

> Tramp hangs (and eventually times out) when connecting to one of our
> machines. It looks like it cannot parse the shell prompt. My settings
> seem reasonable - I'm not sure if PS1 should be set to something else
> depending on the terminal used to log in.
>
>
> # set prompt: address@hidden:/directory $ ''
> export PS1="address@hidden:\W] "
> case `id -u` in
>        0) export PS1="${PS1}#";;
>        *) export PS1="${PS1}";;
> esac
>
> export PS1="\e[30;47m ${PS1}\e[0m "
>
>
> Users can set their prompts to whatever they wish. So is its form
> documented so that tools like Tramp can safely rely on it?

See the Tramp manual, section "Remote shell setup". There the variable
`tramp-shell-prompt-patternĀ“ is discussed, which must be customised to
your prompt.

It is always a good idea to avoid escape sequences in the prompt.

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]