From: Andreas Schwab <schwab@linux-m68k.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Joel Ray Holveck <joelh@piquan.org>, 23914@debbugs.gnu.org
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 [thread overview]
Message-ID: <87poqngfvd.fsf@linux-m68k.org> (raw)
In-Reply-To: <8737njt51n.fsf@gmx.de> (Michael Albinus's message of "Sat, 09 Jul 2016 13:38:28 +0200")
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."
next prev parent reply other threads:[~2016-07-09 12:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-08 8:57 bug#23914: 24.5; tramp-get-remote-path fails with some shells if tramp-own-remote-path is used Joel Ray Holveck
2016-07-09 11:38 ` Michael Albinus
2016-07-09 12:23 ` Andreas Schwab [this message]
2016-07-10 15:07 ` Michael Albinus
2016-08-20 10:05 ` Michael Albinus
2016-08-28 8:20 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87poqngfvd.fsf@linux-m68k.org \
--to=schwab@linux-m68k.org \
--cc=23914@debbugs.gnu.org \
--cc=joelh@piquan.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).