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

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

bug#29149: Tramp shell uses local shell setting in windows


From: Shuguang Sun
Subject: bug#29149: Tramp shell uses local shell setting in windows
Date: Sat, 6 Jan 2018 23:18:11 +0800

Dear all,

I have a patch to shell.el and dired-aux.el which
1. to use the tramp-remote-shell and tramp-remote-shell-args (in shell.el)
2. remove the "start /b" in dired-do-shell-command (in dired-aux.el)

https://github.com/ShuguangSun/emacsimprovement/tree/master/bug%2329149



On Sun, Nov 26, 2017 at 2:09 AM, Shuguang Sun <shuguang@gmail.com> wrote:
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@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.


Attachment: dired-aux.el.diff
Description: Text document

Attachment: shell.el.diff
Description: Text document


reply via email to

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