grandi@noao.edu (Steve Grandi) (07/21/89)
Has anyone ported the AT&T Typesetter-independent Troff package (also known as Device Independent Troff or DWB) to a Sun-4? I have both DWB-1 and DWB-2 (properly licensed!) but compiling them on the Sun-4 results in an immediate segmentation violation. When Kernighan rewrote Troff into Typesetter-independent Troff, he utilized a pair of routines fdprintf and sprintf as scaled down versions of the library routines. Unfortunately, these two use variable numbers of arguments accessed through a stack pointer which is a no-no on the SPARC. So, before I go in with my machete and hack and slash this stuff into shape with varargs(3) (or switch back to the library routines), has someone already done the work? I haven't even got to any possible alignment problems yet! -- Steve Grandi, National Optical Astronomy Observatories, Tucson AZ, 602-325-9228 UUCP: {arizona,decvax,ncar}!noao!grandi or uunet!noao.edu!grandi Internet: grandi@noao.edu SPAN/HEPNET: NOAO::GRANDI (NOAO=5355)