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

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

bug#23914: 24.5; tramp-get-remote-path fails with some shells if tramp-o


From: Andreas Schwab
Subject: bug#23914: 24.5; tramp-get-remote-path fails with some shells if tramp-own-remote-path is used
Date: Sat, 09 Jul 2016 14:23:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux)

Michael Albinus <michael.albinus@gmx.de> writes:

> Unfortunately, Posix does not specify how to force a login shell,

That's outside the scope of POSIX.

> evaluating its ~/.profile and friends. If somebody knows a portable way,
> how one could determine the $PATH settings of a login shell, I'll add it
> to Tramp happily.

Traditionally, the bourne shell acts as a login shell if argv[0] starts
with '-', and that's how login(1) does it.  Unfortunately, Emacs does
not provide a way to alter the value of argv[0] passed to the inferior.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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