🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98723

process-send-region problem, SunOS 4.1.1 ONLY

#98723
From: Martin Maechler
Date: Mon, 18 Mar 1991 23:06
54 lines
2585 bytes
Olin answered to my first posting:

   From: Olin Shivers <shivers@BRONTO.SOAR.CS.CMU.EDU>
   Date: Mon, 18 Mar 91 15:16:55 EST

   In version 2.01 of the package, there is a variaible, comint-input-chunk-size
   that determines how much text comint sends off to the subprocess at a
   time:

   (defun comint-send-string (proc str)
	....

   Lower the value of this variable, and you should win. If you don't
   have version 2.01, let me know, and I'll send it to you.
	   -Olin

----- Thank you, Olin, for porviding us with  comint & cmushell.
----- They really are of GREAT use !


But, your hint does not work, using comint 2.02 (ftp-ed a few days ago from
cmu!).  I went as low as 
	"comint-input-chunk-size's value is 32".

>->->>  Note that we traced down the problem to  (process-send-region ..)
>->->>  and (process-send-string ..)  which are well "below" comint.

Sending in chunks does not help:

(Following is the upper part of the *Backtrace* buffer after having
	(setq debug-on-error t)
and reproducing the error)

-----------
Signalling: (file-error "writing to process" "no more processes" #<process S>)
  process-send-string("S" "alker\", \n	   main = \"KL-distance")
  (let ...)
  (while ...)
  (let* ...)
  comint-send-string("S" "pl.KLmat <- function(KL.mat = KL.mat40,..............\
.....
.....
  legend = legend.lab, col=1, lty=1:20, cex=cex)\n}")
  comint-send-region("S" 3048 4261)
  S-eval-region(3048 4261)
.....
.....
-----------

Note again that the error occurs only running on SunOS 4.1.1.
The IDENTICAL binary, running on SunOS 4.0.3c does not have the problem.

Martin Maechler, Bellcore 2M-343, 445 South St., Morristown, NJ 07962-1910, USA
maechler@bellcore.com, Tel: (201) 829-4837(w)  933-0944(h), Fax (201) 538-9093.
Technical Details
Message-ID: <9103182306.AA19018@crypto.bellcore.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!decwrl!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
References: <9103182018.AA23195@flash.bellcore.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,1cc1c8762bd652ce
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-03-18 15:06:35 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!decwrl!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: maechler@CRYPTO.BELLCORE.COM (Martin Maechler)
Newsgroups: gnu.emacs.bug
Subject: process-send-region problem,  SunOS 4.1.1 ONLY
Message-ID: <9103182306.AA19018@crypto.bellcore.com>
Date: 18 Mar 91 23:06:35 GMT
References: <9103182018.AA23195@flash.bellcore.com>
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: maechler@bellcore.com (Martin Maechler)
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 54
Approved: bug-gnu-emacs@prep.ai.mit.edu