ricko@SDCC3.ACC.UCSD.EDU.UUCP (05/28/86)
We have been having problems with our arpanet hub, so I hope this gets to you. From MAILER-DAEMON@sdcsvax Tue May 27 16:29:37 1986 Received: by sdcc3.ARPA (5.51/4.41) id AA23089; Tue, 27 May 86 16:29:32 PDT Received: from sdcsvax.ucsd.edu (sdcsvax.ARPA) by sdcc13.ARPA (5.5/4.41) id AA11719; Tue, 27 May 86 16:28:49 PDT Received: by sdcsvax.ucsd.edu (5.31/4.41) id AA25192; Tue, 27 May 86 16:28:32 PDT hops=0 Date: Tue, 27 May 86 16:28:32 PDT From: MAILER-DAEMON@sdcsvax (Mail Delivery Subsystem) Subject: Returned mail: Cannot send message for 3 days Message-Id: <8605272328.AA25192@sdcsvax.ucsd.edu> To: <ricko@sdcc13> Status: R ----- Transcript of session follows ----- 421 mimsy.umd.edu.tcp... Deferred: Connection timed out during user open with mimsy.umd.edu ----- Unsent message follows ----- Received: by sdcsvax.ucsd.edu (5.31/4.41) id AA14260; Sat, 24 May 86 16:13:09 PDT hops=0 Received: by sdcc13.ARPA (5.5/4.41) id AA01059; Sat, 24 May 86 16:02:54 PDT Date: Sat, 24 May 86 16:02:54 PDT From: ricko@sdcc13 (Rick Ord) Message-Id: <8605242302.AA01059@sdcc13.ARPA> To: sdcsvax!ucbvax!LLL-TIS-B.ARPA!mcb@sdcc6.ACC Subject: Re: Help with Ditroff and Pyramid Newsgroups: mod.computers.pyramid In-Reply-To: <8605240555.AA04000@lll-tis-b.ARPA> Organization: U.C. San Diego, Academic Computer Center Cc: info-pyramid@mimsy.umd.edu This got rejected by inews so I'll send it to you and hopefully the right moderator. Newsgroups: mod.computers.pyramid Subject: Re: Help with Ditroff and Pyramid Summary: Expires: References: <8605240555.AA04000@lll-tis-b.ARPA> Sender: Reply-To: ricko@sdcc13.UUCP (Rick Ord) Followup-To: Distribution: Organization: U.C. San Diego, Academic Computer Center Keywords: In article <8605240555.AA04000@lll-tis-b.ARPA> styx!mcb@lll-tis-b.ARPA (Michael C. Berch) writes: >We are trying to bring up ditroff on a Pyramid 98xe to work with the >Adobe TranScript (PostScript support) package and some Apple >LaserWriters. > >We have a DWB license, but instead of using the System V DWB >distribution we are trying to use the ditroff sources from Berkeley >that have been ported to 4.2BSD; we want to be able to run the 4.2 >lpr(1) spooler with network services. > >Unfortunately, these sources produce a ditroff that is dead on >arrival, and refuses to mount the correct fonts. (We know the fonts >are there since the rest of the TranScript package prints, as does old >troff). We have also heard that various other people have failed to >get ditroff running on 90x and 98xe's. > >Has anybody successfully brought up ditroff on a Pyramid? We'd be >grateful for your advice, hints, code diffs, or (especially) a ported >version of the source (upon verification of our license, of course). > >Thanks in advance, > >Michael C. Berch >Control Data Corp. / Lawrence Livermore Natl. Laboratory >ARPA: mcb@lll-tis-b.ARPA >UUCP: {ihnp4,dual,sun}!lll-lcc!styx!mcb Yes, we have ditroff running on 2 of our Pyramids and it works great. The only big change you need to do is in troff/n1.c - there are two routine there that use variable length arguments but do not use the varargs macros. The routines are fprintf and sprintf (from original ATT code - scaled down library routines of the same name). The old C compiler (pre-CLE) will probably compile this code so it will work but the new CLE C compiler will not. It compiles without a warning but produces erroneous output. If anyone wants my diffs, I could post them. Otherwise, it is an easy exercise to implement the routines using varargs. See the manual page on varargs and look at varargs.h Good luck. -- Rick Ord UCSD Academic Computing Center C-101 Rm. 1101-2A La Jolla, Ca. 92093 (619) 452-4067 ...sdcsvax!ricko ricko@sdcsvax.ucsd.edu