🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.groff.bug
Article #57

groff 1.06

#57
From: Marty Leisner 311/? x?
Date: Fri, 11 Sep 1992 15:05
282 lines
6531 bytes
I installed groff 1.06 and have had nothing but problems.

I erased my groff 1.05 distribution (which installed pretty painlessly),
and a copy isn't on prep (teach me to erase stuff before I get the new 
software reliable.)

I'm running on a Sparcstation 2 running SunOS 4.1.2, using gcc 2.2.2.

When I run gxditview, I get:
leisner@annapurna$ groff -TX75 -mgs
groff:fatal error: no `postpro' command in DESC file for device `X75'

When I run groff generating postscript in ghostscript, I get:
Initializing... While reading gs_statd.ps:
Error: /invalidaccess in --putdeviceprops--
Operand stack:
    0  612  792  -marktype-  /HWSize  [612 792]  -devicetype-
Execution stack:
    %interp_exit  --nostringval--  --nostringval--  --nostringval--  false  --nostringval--  --nostringval--  --nostringval--  --nostringval--  --nostringval--  --nostringval--
Dictionary stack:
    409/479  3/200  409/479  70/80  70/80  70/80

Unexpected interpreter error -100!
Error object: (640)op(0x43:.quit)0xe4f8
Operand stack at 0x5bd68:
..bd68: 0x07 int  ---------- 0x0391 0x00000000 = 0
..bd70: 0x07 int  ---------- 0x0318 0x00000264 = 612
..bd78: 0x07 int  ---------- 0x0318 0x00000318 = 792
..bd80: 0x09 mark ---------- 0x010f 0x000f37e0
..bd88: 0x0a name ---------- 0x036f 0x000f274c = HWSize
..bd90: 0x00 arry ---wrx---- 0x0002 0x000f4798
..bd98: 0x13 devc ---------- 0x0003 0x00057744
..bda0: 0x07 int  ---------- 0x010f 0x00000001 = 1
Execution stack at 0x5d6b8:
..d6b8: 0x0c oper ------e--- 0x002b 0x00006fe8 = %interp_exit
..d6c0: 0x04 file ----rxe--- 0x0001 0x000ec400


Where can I get a copy of groff-1.05?
Running groff -mgs test.ms where test.ms is empty I get:

%!PS-Adobe-3.0
%%Creator: groff version 1.06
%%DocumentSuppliedResources: procset grops 1.06 0
%%Pages: 1
%%PageOrder: Ascend
%%Orientation: Portrait
%%EndComments
%%BeginProlog
%%BeginResource: procset grops 1.06 0

/setpacking where {
	pop
	currentpacking
	true setpacking
} if

/grops 120 dict dup begin 

% The ASCII code of the space character.
/SC 32 def

/A /show load def
/B { 0 SC 3 -1 roll widthshow } bind def
/C { 0 exch ashow } bind def
/D { 0 exch 0 SC 5 2 roll awidthshow } bind def
/E { 0 rmoveto show } bind def
/F { 0 rmoveto 0 SC 3 -1 roll widthshow } bind def
/G { 0 rmoveto 0 exch ashow } bind def
/H { 0 rmoveto 0 exch 0 SC 5 2 roll awidthshow } bind def
/I { 0 exch rmoveto show } bind def
/J { 0 exch rmoveto 0 SC 3 -1 roll widthshow } bind def
/K { 0 exch rmoveto 0 exch ashow } bind def
/L { 0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow } bind def
/M { rmoveto show } bind def
/N { rmoveto 0 SC 3 -1 roll widthshow } bind def
/O { rmoveto 0 exch ashow } bind def
/P { rmoveto 0 exch 0 SC 5 2 roll awidthshow } bind def
/Q { moveto show } bind def 
/R { moveto 0 SC 3 -1 roll widthshow } bind def
/S { moveto 0 exch ashow } bind def
/T { moveto 0 exch 0 SC 5 2 roll awidthshow } bind def

% name size font SF -

/SF {
	findfont exch
	[ exch dup 0 exch 0 exch neg 0 0 ] makefont
	dup setfont
	[ exch /setfont cvx ] cvx bind def
} bind def

% name a c d font MF -

/MF {
	findfont
	[ 5 2 roll
	0 3 1 roll % b
	neg 0 0 ] makefont
	dup setfont
	[ exch /setfont cvx ] cvx bind def
} bind def

/level0 0 def
/RES 0 def
/PL 0 def
/LS 0 def

% Guess the page length.
% This assumes that the imageable area is vertically centered on the page.
% PLG - length

/PLG {
	gsave newpath clippath pathbbox grestore
	exch pop add exch pop
} bind def

% BP -

/BP {
	/level0 save def
	1 setlinecap
	1 setlinejoin
	72 RES div dup scale
	LS {
		90 rotate
	} {
		0 PL translate
	} ifelse
	1 -1 scale
} bind def

/EP {
	level0 restore
	showpage
} bind def


% centerx centery radius startangle endangle DA -

/DA {
	newpath arcn stroke
} bind def

% x y SN - x' y'
% round a position to nearest (pixel + (.25,.25))

/SN {
	transform 
	.25 sub exch .25 sub exch
	round .25 add exch round .25 add exch
	itransform
} bind def
	
% endx endy startx starty DL -
% we round the endpoints of the line, so that parallel horizontal
% and vertical lines will appear even

/DL {
	SN
	moveto
	SN
	lineto stroke
} bind def

% centerx centery radius DC -

/DC {
	newpath 0 360 arc closepath
} bind def


/TM matrix def

%  width height centerx centery DE -

/DE {
	TM currentmatrix pop
	translate scale newpath 0 0 .5 0 360 arc closepath
	TM setmatrix
} bind def

% these are for splines

/RC /rcurveto load def
/RL /rlineto load def
/ST /stroke load def
/MT /moveto load def
/CL /closepath load def

% fill the last path

% amount FL -

/FL {
	currentgray exch setgray fill setgray
} bind def

% fill with the ``current color''

/BL /fill load def

/LW /setlinewidth load def
% new_font_name encoding_vector old_font_name RE -

/RE {
	findfont
	dup maxlength dict begin
	{
		1 index /FID ne { def } { pop pop } ifelse
	} forall
	/Encoding exch def
	dup /FontName exch def
	currentdict end definefont pop
} bind def

/DEFS 0 def

% hpos vpos EBEGIN -

/EBEGIN {
	moveto
	DEFS begin
} bind def

/EEND /end load def

/CNT 0 def
/level1 0 def

% llx lly newwid wid newht ht newllx newlly PBEGIN -

/PBEGIN {
	/level1 save def
	translate
	div 3 1 roll div exch scale
	neg exch neg exch translate
	% set the graphics state to default values
	0 setgray
	0 setlinecap
	1 setlinewidth
	0 setlinejoin
	10 setmiterlimit
	[] 0 setdash
	/setstrokeadjust where {
		pop
		false setstrokeadjust
	} if
	/setoverprint where {
		pop
		false setoverprint
	} if
	newpath
	/CNT countdictstack def
	userdict begin
	/showpage {} def
} bind def

/PEND {
	clear
	countdictstack CNT sub { end } repeat
	level1 restore
} bind def

end def

/setpacking where {
	pop
	setpacking
} if
%%EndResource
grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72 def/PL
792 def/LS false def
%%EndProlog
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
EP
%%Trailer
end
%%EOF
Technical Details
Message-ID: <9209111505.AA02901@louvre.wbst147.xerox.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!eso.mc.xerox.COM!leisner

Show Full Headers
Complete Article Headers
Newsgroups: gnu.groff.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!eso.mc.xerox.COM!leisner
From: leisner@eso.mc.xerox.COM (Marty Leisner 311/? x?)
Subject: groff 1.06
Message-ID: <9209111505.AA02901@louvre.wbst147.xerox.com>
Sender: gnulists@ai.mit.edu
Reply-To: leisner.henr801c@xerox.com
Organization: Xerox
Distribution: gnu
Date: Fri, 11 Sep 1992 15:05:31 GMT
Approved: bug-groff@prep.ai.mit.edu
Lines: 283