+2007-11-05 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/tramp.el (tramp-wait-for-output): Ignore escape sequences in
+ the prompt.
+
2007-10-05 Chris Moore <christopher.ian.moore@gmail.com>
* wdired.el (wdired-use-dired-vertical-movement): Doc fix.
(let ((found
(tramp-wait-for-regexp
proc timeout
- (format "^%s\r?$" (regexp-quote tramp-end-of-output)))))
+ ;; Initially, `tramp-end-of-output' is "$ ". There might
+ ;; be leading escape sequences, which must be ignored.
+ (format "^[^$\n]*%s\r?$" (regexp-quote tramp-end-of-output)))))
(if found
(let (buffer-read-only)
(goto-char (point-max))