GNU bug report logs - #29149
Tramp shell uses local shell setting in windows

Previous Next

Package: emacs;

Reported by: Shuguang Sun <shuguang <at> gmail.com>

Date: Sun, 5 Nov 2017 04:11:01 UTC

Severity: normal

Merged with 29442

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 29149 <at> debbugs.gnu.org (full text, mbox):

From: Shuguang Sun <shuguang <at> gmail.com>
To: "michael.albinus" <michael.albinus <at> gmx.de>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 29149 <at> debbugs.gnu.org
Subject: Re: bug#29149: Tramp shell uses local shell setting in windows
Date: Sun, 26 Nov 2017 02:09:00 +0800
[Message part 1 (text/plain, inline)]
Hi,

I put some trace log for problem2:For problem 2: I don't know why it
doesn't take tramp-remote-shell as the shell, but to ask user to input the
shell path in the server side.

When I input /bin/sh, the same as the tramp-remote-shell, it raise the
error "

- "env: c:/bin/sh: No such file or directory" in shell buffer
-  "Process shell exited abnormally with code 127" in tramp_shell2.txt (the
trace buffer)
-  in tramp_shell_debug2.txt, (the tramp debug buffer)
00:34:02.040229 tramp-send-command (6) # cd /opt/bee/home/username/test/
&&  exec  env PS1\=/plink\:username\@host\:/opt/bee/home/username/test/\
\#\$\  TERM\=emacs TERMCAP\=emacs\:co\#135\:tc\=unknown\:
INSIDE_EMACS\=27.0.50\,comint c\:/bin/sh -i

The file is too large, therefore, I put them in github:
https://github.com/ShuguangSun/Emacs-bug-29149

Hope it works.








On Sat, Nov 11, 2017 at 5:10 PM, michael.albinus <michael.albinus <at> gmx.de>
wrote:

> Hi Eli,
>
> My laptop crashed last night. If I cannot recover over the weekend, it
> might take some days before I could react. Sorry.
>
> Best regards, Michael.
>
>
>
> Von meinem Samsung Galaxy Smartphone gesendet.
>
[Message part 2 (text/html, inline)]

This bug report was last modified 7 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.