aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2007-11-05 20:52:29 +0000
committerMichael Albinus2007-11-05 20:52:29 +0000
commitbdbeca7b20c91dfdee9d9a4faa0ebd5c2ff21397 (patch)
tree405a11acd5126a6194abc13845c80b0be0cbccd9
parentdbcd6179d3f77e5e510fcdce7917ab556399cf0c (diff)
downloademacs-bdbeca7b20c91dfdee9d9a4faa0ebd5c2ff21397.tar.gz
emacs-bdbeca7b20c91dfdee9d9a4faa0ebd5c2ff21397.zip
* tramp.el (tramp-wait-for-output): Ignore escape sequences in the
prompt.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/tramp.el4
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 382355a05bb..653c8ab7a1e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-11-05 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp.el (tramp-wait-for-output): Ignore escape sequences in
4 the prompt.
5
12007-10-05 Chris Moore <christopher.ian.moore@gmail.com> 62007-10-05 Chris Moore <christopher.ian.moore@gmail.com>
2 7
3 * wdired.el (wdired-use-dired-vertical-movement): Doc fix. 8 * wdired.el (wdired-use-dired-vertical-movement): Doc fix.
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index f28d8b7aec7..8b50e034b47 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -6197,7 +6197,9 @@ function waits for output unless NOOUTPUT is set."
6197 (let ((found 6197 (let ((found
6198 (tramp-wait-for-regexp 6198 (tramp-wait-for-regexp
6199 proc timeout 6199 proc timeout
6200 (format "^%s\r?$" (regexp-quote tramp-end-of-output))))) 6200 ;; Initially, `tramp-end-of-output' is "$ ". There might
6201 ;; be leading escape sequences, which must be ignored.
6202 (format "^[^$\n]*%s\r?$" (regexp-quote tramp-end-of-output)))))
6201 (if found 6203 (if found
6202 (let (buffer-read-only) 6204 (let (buffer-read-only)
6203 (goto-char (point-max)) 6205 (goto-char (point-max))