tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.1.14); TRAMP hangs with sudo and su method after querying m


From: Michael Albinus
Subject: Re: tramp (2.1.14); TRAMP hangs with sudo and su method after querying my password
Date: Thu, 21 Aug 2008 18:01:10 +0200
User-agent: Gnus/5.101 (Gnus v5.10.10) Emacs/21.3 (hpux)

Tassilo Horn <address@hidden> writes:

> So it would be good, if TRAMP would set this INSIDE_EMACS variable, too,
> in analogy with M-x shell.
>
> ,----[ (info "(emacs)Interactive Shell") ]
> |    Emacs sets the environment variable `INSIDE_EMACS' in the subshell
> | to a comma-separated list including the Emacs version.  Programs can
> | check this variable to determine whether they are running inside an
> | Emacs subshell.
> `----
>
> In M-x shell, its value is "23.0.60.1,comint" here.  It would be nice if
> TRAMP would set it to something like "<emacs-version>,comint,tramp", so
> that users have a mode finegrained control of what's invoking the shell.

I'll do so, thanks for the pointer. It will look like "23.0.60.1,tramp:2.1.14".
comint is not involved, so I let it out.

However, it wouldn't help in the given case, because Tramp failed
already recognizing the prompt after applying the "sudo"
command. Setting $INSIDE_EMACS will happen later.

> Bye,
> Tassilo

Best regards, Michael.





reply via email to

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