emacs-devel
[Top][All Lists]
Advanced

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

Re: Tramp Mode not working connecting to OpenSolaris


From: Michael Albinus
Subject: Re: Tramp Mode not working connecting to OpenSolaris
Date: Wed, 10 Mar 2010 18:04:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

address@hidden (Randal L. Schwartz) writes:

>>>>>> "Michael" == Michael Albinus <address@hidden> writes:

> Michael> Did you apply the patch I've sent yesterday?
>
> By the way, the "exec" in that line is unaffected by your patch,
> which takes out the "exec" between PS3='' and /bin/sh (which you'll
> notice is gone).

You're right, it was the wrong place. Sorry.

The following patch shall remove the right "exec":

--8<---------------cut here---------------start------------->8---
*** /tmp/ediff6873HcD   2010-03-10 17:55:23.000000000 +0100
--- /home/albinus/src/emacs/lisp/net/tramp.el   2010-03-10 17:55:07.000000000 
+0100
***************
*** 6719,6725 ****
      (tramp-send-command
       vec
       (format
!       "exec env ENV='' PROMPT_COMMAND='' PS1=%s PS2='' PS3='' %s"
        (shell-quote-argument tramp-end-of-output)
        (tramp-get-method-parameter
         (tramp-file-name-method vec) 'tramp-remote-sh))
--- 6719,6725 ----
      (tramp-send-command
       vec
       (format
!       "env ENV='' PROMPT_COMMAND='' PS1=%s PS2='' PS3='' %s"
        (shell-quote-argument tramp-end-of-output)
        (tramp-get-method-parameter
         (tramp-file-name-method vec) 'tramp-remote-sh))
--8<---------------cut here---------------end--------------->8---

Please test it, again. If Tramp goes into an infinite loop, kill it by
C-g. There is also another buffer *tramp/scp address@hidden, which shall
show us the last message of the remote shell.

The suspicion of Andreas sounds promising; but before changing the code
I would like to see that problem.

Best regards, Michael.




reply via email to

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