From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Connection drops data if it sent too quickly Date: 05 Feb 2003 16:24:00 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <84lm0x85j6.fsf@lucy.is.informatik.uni-duisburg.de> Reply-To: Michael Albinus NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044459726 22559 80.91.224.249 (5 Feb 2003 15:42:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2003 15:42:06 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18gRfC-0005kZ-00 for ; Wed, 05 Feb 2003 16:40:38 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18gRno-0002wk-00 for ; Wed, 05 Feb 2003 16:49:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18gRgt-0001DE-04 for emacs-devel@quimby.gnus.org; Wed, 05 Feb 2003 10:42:23 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18gRcK-0008Kp-00 for emacs-devel@gnu.org; Wed, 05 Feb 2003 10:37:40 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18gRZG-0007SQ-00 for emacs-devel@gnu.org; Wed, 05 Feb 2003 10:34:32 -0500 Original-Received: from mailrelay3.alcatel.de ([194.113.59.71] helo=mailrelay1.alcatel.de) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18gRPA-0004hu-00; Wed, 05 Feb 2003 10:24:04 -0500 Original-Received: from slbh00.bln.sel.alcatel.de (mailhost.bln.sel.alcatel.de [149.204.49.8]) by mailrelay1.alcatel.de (8.9.3/8.9.3) with ESMTP id QAA24783; Wed, 5 Feb 2003 16:23:43 +0100 (MET) Original-Received: from slbwba.bln.sel.alcatel.de (albinus@slbwba [149.204.93.83]) by slbh00.bln.sel.alcatel.de (8.9.3/8.9.3) with ESMTP id QAA26008; Wed, 5 Feb 2003 16:24:00 +0100 (MET) Original-To: Richard Stallman In-Reply-To: Original-Lines: 26 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 X-Alcanet-MTA-scanned-and-authorized: yes X-Alcanet-MTA-scanned-and-authorized: yes X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11387 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11387 Richard Stallman writes: > Perhaps we should put that into process-send-string so that Lisp code > won't need to concern itself with this issue. But I wonder > whether the bug is in ssh. If so, that's the place to fix it. > > If Emacs is talking to some other program instead, does the same > bug happen? I've written some few lines which reproduce the problem under HP-UX with all Emacsen available for me (20.7, 21.2, 21.2.93): (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)))) No problem under other Unices, like Solaris. Best regards, Michael.