🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #240

(none)

#240
From: Gregory H. Miller
Date: Wed, 06 Sep 1989 22:39
43 lines
1830 bytes
I'm excited about this program!  good work!  There are, however, a
few improvements I'd like to suggest.

First:  It would be nice if you didn't have to have ghost.ps, gdevs.ps,
and uglyfont.ps in your current directory.  To overcome this:

	1)	rename
		ghost.ps to ghost_dist.ps
		gfonts.ps to gfonts_dist.ps
		gs.c to gs_dist.ps

	2)	edit
		in ghost_dist.ps, change explicit reference to files by
		prepending GHOSTHOME/, e.g., "(gdevs.ps) run" becomes
		"(GHOSTHOME/gdevs.ps) run".  Same for (gfonts.ps) run.

		in gfonts_dist.ps prepend GHOSTHOME/ to the file
		name uglyfont.ps

		in gs_dist.c prepend GHOSTHOME/ to the open
		statement for ghost.ps


		in makefile, include a declaration like

		GHOSTHOME = /usr/local/ghostscript

		and include a make/depend like

		gs.c:	gs_dist.c
			sed -e s,GHOSTHOME,$GHOSTHOME,g <gs_dist.c >gs.c
			sed -e s,GHOSTHOME,$GHOSTHOME,g <ghost_dist.ps >ghost.ps
			sed -e s,GHOSTHOME,$GHOSTHOME,g <gdevs_dist.ps >gdevs.ps

	this allows for keeping the setup files in a single standard place.

Second:  It would be nice if the graphics primitives were a little more
primitive.  I tried to write a driver for a tektronics terminal emulator.
I ran into the problem that I couldn't write in black (erase) mode.
I ended up buffering an image of the whole page in memory, then dumping
the whole mess when the sync command was sent.

Keep up the good work!
Technical Details
Message-ID: <8909062239.AA12553@expet.gps.caltech.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!EXPET.GPS.CALTECH.EDU!greg

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!EXPET.GPS.CALTECH.EDU!greg
From: greg@EXPET.GPS.CALTECH.EDU (Gregory H. Miller)
Newsgroups: gnu.ghostscript.bug
Subject: (none)
Message-ID: <8909062239.AA12553@expet.gps.caltech.edu>
Date: 6 Sep 89 22:39:23 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 43