[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
Re: tramp (2.1.14); TRAMP hangs with sudo and su method after querying my password
Thu, 21 Aug 2008 18:01:10 +0200
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 "22.214.171.124,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 "126.96.36.199,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.
Best regards, Michael.