Daniel Pittman writes:

> On Thu, 10 Oct 2002, Francis Litterio wrote:
>> Here's a crazy solution to the issue where the string "/////" cannot
>> appear in the output of a remote command:

> It's not crazy; it's something that I did myself when I was last working
> on TRAMP. The changes never got submitted, though. I think that this is
> a good change.

In that case, here's a diff against tramp.el r2.241:

diff -u -r2.241 tramp.el
--- tramp.el    11 Oct 2002 07:57:48 -0000      2.241
+++ tramp.el    11 Oct 2002 11:40:23 -0000
@@ -1254,7 +1254,12 @@
 the visited file modtime.")
 (make-variable-buffer-local 'tramp-buffer-file-attributes)
 
-(defvar tramp-end-of-output "/////"
+(require 'time-stamp)
+(defvar tramp-end-of-output
+  (md5 (concat (prin1-to-string process-environment)
+              (time-stamp-yyyy-mm-dd)
+              (time-stamp-hh:mm:ss)
+              (prin1-to-string (directory-files-and-attributes (getenv "HOME")))))
   "String used to recognize end of output.")
 
 (defvar tramp-connection-function nil



_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.freesoftware.fsf.org/mailman/listinfo/tramp-devel

Reply via email to