Martin Apel <[email protected]> writes:
> Hi Michael,
Hi Martin,
> that's great. At least this shows, that it has nothing to do with my
> environment.
Yep.
The following patch is the best I could get so far. Please set also
`tramp-verbose' to its default value 3, when you count elapsed
time. Writing Tramp traces decreases the performance.
Could you, please, check how it works for you?
--8<---------------cut here---------------start------------->8---
*** ~/tramp/lisp/tramp-smb.el.~2.160~ 2012-10-22 15:41:05.109437286 +0200
--- ~/tramp/lisp/tramp-smb.el 2012-10-22 14:07:47.416726439 +0200
***************
*** 1717,1723 ****
(while (and (not found) (not err) (memq (process-status p) '(run open)))
;; Accept pending output.
! (tramp-accept-process-output p)
;; Search for prompt.
(goto-char (point-min))
--- 1717,1723 ----
(while (and (not found) (not err) (memq (process-status p) '(run open)))
;; Accept pending output.
! (tramp-accept-process-output p 0.1)
;; Search for prompt.
(goto-char (point-min))
***************
*** 1731,1737 ****
(while (and (not found) (memq (process-status p) '(run open)))
;; Accept pending output.
! (tramp-accept-process-output p)
;; Search for prompt.
(goto-char (point-min))
--- 1731,1737 ----
(while (and (not found) (memq (process-status p) '(run open)))
;; Accept pending output.
! (tramp-accept-process-output p 0.1)
;; Search for prompt.
(goto-char (point-min))
--8<---------------cut here---------------end--------------->8---
> Best Regards,
>
> Martin
Best regards, Michael.
_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel