Article View: gnu.emacs.bug
Article #87478process-send-string -- long strings
From: goldman
Date: Fri, 16 Sep 1994 19:34
Date: Fri, 16 Sep 1994 19:34
28 lines
2009 bytes
2009 bytes
In GNU Emacs 19.22.9 of Tue Jun 21 1994 on rodan.isi.edu (hpux) When I try to send a very long string to a process created with OPEN-NETWORK-STREAM, the recipient is seeing duplication of certain characters. In particular, I am receiving characters 0 through 8180 of the string, followed by characters 7991 through the end of the string -- i.e., the characters between 7991 and 8180 appear to be received twice. (The string happens to be about 14800 characters long). The documentation discusses a limitation of some OSs for "buffered input in a PTY", and talks about sending an input LINE that is too long. I don't know if the term LINE here refers to the STRING argument of process-send-string, or if it really refers to the subsegments of the input separated by newlines. (The long string I am sending is made up of many relatively short lines -- I'm sure no INDIVIDUAL line would exceed the OS buffering limit.) Or maybe (I hope) the PTY limit is not an issue for processes created with open-network-stream. At any rate, I have been using the same design with EPOCH on the same OS (HPUX) for years without encountering this problem, so I suspect this is not the problem and that something else is the source. I'm hoping you've had other reports of problems with process-send-string in Emacs-19 and may already know what's going on. neil
Technical Details
Message-ID:
<9409161929.AA28484@hpai12.isi.edu>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!isi.edu!goldmanShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,bdba410661c52252,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-09-17 23:40:52 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!isi.edu!goldman From: goldman@isi.edu Newsgroups: gnu.emacs.bug Subject: process-send-string -- long strings Date: 16 Sep 1994 15:34:24 -0400 Organization: GNUs Not Usenet Lines: 29 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <9409161929.AA28484@hpai12.isi.edu>