🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #676

Re: Problem with gs 1.2 using tcc 1.5

#676
From: Snoopy
Date: Thu, 08 Jun 1989 06:13
48 lines
2483 bytes
In article <8906061446.AA26554@scotty.dccs.upenn.edu> reilly@SCOTTY.DCCS.UPENN.EDU (G. Brendan Reilly) writes:
| This is the result of running gs.exe.  Should it be?
|
| Reading ghost.ps... 
| Interp returns -23

Whenever you get "Interp returns -<num>", grep for the number in
errors.h.  In this case:

	#define e_undefinedresult (-23)

The red book says this means that a numeric computation blew up.
(underflow, overflow, division by zero, etc)

Judging from your reference to "gs.exe", I'll assume you're using the
EGA driver on a MS-DOS machine.  Ghostscript is blowing up somewhere
in ghost.ps.  Look through the ghost.ps file and make sure that the setup
for EGA is turned on and X-windows is turned off.  If that's not it you
could insert lines like

	(Got here 1.0\n) print flush

at various places and find what statement is blowing up.

| Is there an effort to port this to printers underway?

Just today I got ghostscript to handle the output of psroff and print
correctly on the dot-matrix, using three fonts (regular, bold, and oblique)
and multiple pages.  Graphics stuff and non-roffed text has been working for
some time.  Everything isn't totally kosher yet, I'm faking save and restore
using gsave and grestore and depending on unix having lots of virtual memory.
I've improved the Hershey fonts somewhat, and I'm working on a symbol font,
but I haven't tried tbl/eqn yet.  Support for multiple devices and multiple
fonts is working.  I have it setup so that it knows how to load a font off
disk on demand rather than having to remember to hand-feed fonts to it.

Hopefully I can finish cleaning things up in the next few days and start
beta testing and ship a copy off to Peter in time that he can include it in
the 1.3 release.


    _____     						  .-----.
   /_____\    Snoopy					./  RIP	 \.
  /_______\   qiclab!sopwith!snoopy			|  	  |
    |___|     parsely!sopwith!snoopy			| tekecs  |
    |___|     sun!nosun!illian!sopwith!snoopy		|_________|

		"I *was* the next man!"  -Indy
Technical Details
Message-ID: <219@sopwith.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!zephyr!tektronix!psueea!parsely!sopwith!snoopy
References: <8906061446.AA26554@scotty.dccs.upenn.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!zephyr!tektronix!psueea!parsely!sopwith!snoopy
From: snoopy@sopwith.UUCP (Snoopy)
Newsgroups: gnu.ghostscript.bug
Subject: Re: Problem with gs 1.2 using tcc 1.5
Message-ID: <219@sopwith.UUCP>
Date: 8 Jun 89 06:13:47 GMT
References: <8906061446.AA26554@scotty.dccs.upenn.edu>
Reply-To: snoopy@sopwith.UUCP (Snoopy)
Distribution: gnu
Organization: The Daisy Hill Puppy Farm
Lines: 48