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

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

Re: remote tramp hangs


From: Raphaël Berbain
Subject: Re: remote tramp hangs
Date: Thu, 03 Dec 2009 23:50:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

* Michael Albinus:

> Thanks for the analysis! I'll fix it next week in Tramp (just leaving
> for some days).

It seems to me I should be the one thanking you for your help & your
work.  In case it helps, here's the (minimal, I made no effort to do it
the right way) diff I use right now:

--- tramp.el.orig   2009-12-03 23:39:12.630193000 +0100
+++ tramp.el    2009-12-03 12:10:02.970187559 +0100
@@ -1521,7 +1521,7 @@
 
 (defvar tramp-end-of-output
   (format
-   "%s///%s%s"
+   "#%s///%s%s"
    tramp-rsh-end-of-line
    (md5 (concat (prin1-to-string process-environment)
   (current-time-string)))                                            
    tramp-rsh-end-of-line)
@@ -5992,7 +5992,7 @@
     (tramp-send-command
      vec
      (format
-      "exec env ENV='' PROMPT_COMMAND='' PS1='$ ' PS2='' PS3='' %s"
+      "exec env ENV='' PROMPT_COMMAND='' PS1='#$ ' PS2='' PS3='' %s"
       (tramp-get-method-parameter
        (tramp-file-name-method vec) 'tramp-remote-sh))
      t)

tramp.el.orig comes from ubuntu's emacs23-el package (versionned
23.1+1-4ubuntu3.1) -- tramp-version says 2.1.15.


reply via email to

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