[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.0.39); FreeBSD5.2.1 needs tramp-chunksize
From: |
Michael Albinus |
Subject: |
Re: tramp (2.0.39); FreeBSD5.2.1 needs tramp-chunksize |
Date: |
Sat, 10 Apr 2004 21:51:51 +0200 |
User-agent: |
Gnus/5.09002 (Oort Gnus v0.20) Emacs/21.3.50 (gnu/linux) |
"It's me FKtPp ;)" <address@hidden> writes:
> Tramp works before I upgraded some libs. But it needs the
Did you update libs of FreeBSD (which one), or did you update Tramp?
> tramp-chunksize after that, even the
>
> (with-temp-buffer
> (let ((bytes 1000)
> (proc (start-process (buffer-name) (current-buffer) "wc" "-c")))
> (process-send-string proc (make-string bytes ?x))
> (process-send-eof proc)
> (process-send-eof proc)
> (accept-process-output proc 1)
> (goto-char (point-min))
> (re-search-forward "\\w+")
> (message "Bytes sent: %s\tBytes received: %s" bytes (match-string 0))))
>
> function returns 1000, 1000.
???
That's the expected behaviour; it means that 1000 bytes have passed
`process-send-string'.
Do you mean, that you still need setting `tramp-chunksize', despite of
the successfull test above?
Best regards, Michael.