🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98721

process-send-region problem, SunOS 4.1.1 ONLY

#98721
From: Martin Maechler
Date: Mon, 18 Mar 1991 20:00
36 lines
2005 bytes
Maybe, this is even a SunOS bug ...

emacs 18.57, 
	compiled on a Sparc 1, running SunOS 4.1.1., using
	CFLAGS= C_OPTIMIZE_SWITCH .....

The problem happens only when running SunOS 4.1.1 (both, Sparc 1 and Sparc 2),
not when runnning SunOS 4.0.3c.

The ominous error message in the message (mini) buffer:

	writing to process: no more processes, <process-name>

The error should be easily reproducible by executing the following
(in *scratch* buffer).
We use an example process "CAT" on an example region
that everyone should have available):

;;- do these once:
(start-process "CAT" "*cat*" "cat")
(save-excursion
  (find-file "/etc/termcap")
  (setq buf (get-file-buffer "/etc/termcap")))

;;--- try to execute this; it will break some times (actually, mostly):
(progn
  (set-buffer (buffer-name buf))
  (process-send-region "CAT" 1 898)) ;problem does not occur for <= 897 char.s!


The error is not just a rare thing that never happens, but it is really
disturbing my work, using 'comint' and an inferior-process that I want to
send code to from a "source buffer".

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: <9103182000.AA18261@crypto.bellcore.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,1cc1c8762bd652ce,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-03-18 12:00:19 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!magnus.acs.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: <9103182000.AA18261@crypto.bellcore.com>
Date: 18 Mar 91 20:00:19 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: maechler@bellcore.com (Martin Maechler)
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 36
Approved: bug-gnu-emacs@prep.ai.mit.edu