From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: HP-UX : problems with multiple calls to process-send-region Date: Fri, 14 Feb 2003 21:31:56 +0100 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84adgy7geb.fsf@lucy.is.informatik.uni-duisburg.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045254938 31791 80.91.224.249 (14 Feb 2003 20:35:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 14 Feb 2003 20:35:38 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18jmYb-0008Gb-00 for ; Fri, 14 Feb 2003 21:35:37 +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 18jmYp-0004aU-0B for gnu-help-gnu-emacs@m.gmane.org; Fri, 14 Feb 2003 15:35:51 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!fu-berlin.de!uni-berlin.de!pd951faea.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: pd951faea.dip.t-dialin.net (217.81.250.234) Original-X-Trace: fu-berlin.de 1045254759 47460405 217.81.250.234 (16 [73968]) User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 Cancel-Lock: sha1:1VdDITkuYfQemAC1SeG5Z0pxZgQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:110217 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6719 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6719 andrew.maguire@ps.ge.com writes: > I have a subprocess to which I am sending data using process-send-region. > I have found that with HP-UX 11 the subprocess is apparently not receiving > (a middle) part of the data. > As an experiment, I advised process-send-region to call sit-for with a small > amount of time before each call. If the time is set to > 0.01 seconds > all the data is successfully passed. With delays < 0.01 an increasing amount > of data > is being lost. > > I am using Emacs 21.2 but I have checked that the problem existed in a > patched > version of 20.3 too also. > > Any suggestions/solutions? Interesting. A Tramp co-developer (producing more code than me) also found this problem recently. It exists in the CVS version of Emacs, too. It's not clear to me what can be done about it. Tramp includes a workaround (involving sleep-for I think), but of course it would be better to fix the C code. Do you know something about HP-UX development and could you have a look at the Emacs code to see what's wrong? I know little C and less HP-UX, so it's difficult for me... -- A turnip curses Elvis