Here's a crazy solution to the issue where the string "/////" cannot
appear in the output of a remote command:
(require 'time-stamp)
(defvar tramp-end-of-output
;; Hash up some unpredictable data...
(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.")
Now, every Emacs session gets a cryptographically secure random value
for tramp-end-of-output. The liklihood of it appearing in the output of
a remote command is very small.
I've tested it, and it works. I'm not submitting a patch, because it's
kinda crazy. Comments?
--
Francis Litterio
[EMAIL PROTECTED]
http://world.std.com/~franl/
GPG and PGP public keys available on keyservers.
_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.freesoftware.fsf.org/mailman/listinfo/tramp-devel