help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: remote tramp hangs


From: Michael Albinus
Subject: Re: remote tramp hangs
Date: Thu, 03 Dec 2009 21:58:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

raphael.berbain@gmail.com (Raphaël Berbain) writes:

> More on that:  Host is openbsd 4.5, where sh actually is ksh.
> http://www.openbsd.org/cgi-bin/man.cgi?query=ksh&apropos=0&sektion=0&manpath=OpenBSD+4.5&arch=i386&format=html
>  says:
>
> """The default prompt is `$ ' for non-root users, `# ' for root.  If ksh
> is invoked by root and PS1 does not contain a `#' character, the default
> value will be used even if PS1 already exists in the environment."""
>
> Curiously, "sh" man page doesn't say that... but sh still does it.
>
> Changing the PS1 sent by tramp to include '#' (i.e. "#$ ") works around
> that shell behaviour.

Thanks for the analysis! I'll fix it next week in Tramp (just leaving
for some days).

Best regards, Michael.




reply via email to

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