home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / unix / volume26 / psroff30 / patch13 < prev    next >
Encoding:
Text File  |  1993-05-01  |  15.5 KB  |  696 lines

  1. Newsgroups: comp.sources.unix
  2. From: clewis@ferret.ocunix.on.ca (Chris Lewis)
  3. Subject: v26i204: psroff 3.0, Patch13
  4. Sender: unix-sources-moderator@efficacy.home.vix.com
  5. Approved: WhoAmI@efficacy.home.vix.com
  6.  
  7. Submitted-By: clewis@ferret.ocunix.on.ca (Chris Lewis)
  8. Posting-Number: Volume 26, Issue 204
  9. Archive-Name: psroff3.0/patch13
  10.  
  11. Return-Path: @mail.uunet.ca:clewis@ecicrl
  12. Received: by cognition.pa.dec.com; id AA23474; Tue, 11 Aug 92 03:44:57 -0700
  13. Received: by inet-gw-2.pa.dec.com; id AA24015; Tue, 11 Aug 92 01:07:15 -0700
  14. Received: from relay1.UU.NET by rodan.UU.NET with SMTP (5.61/UUNET-mail-drop) id AA06526; Tue, 11 Aug 92 04:04:29 -0400
  15. Received: from mail.uunet.ca (via uunet.ca) by relay1.UU.NET with SMTP (5.61/UUNET-internet-primary) id AA12717; Tue, 11 Aug 92 04:04:21 -0400
  16. Received: from ecicrl by mail.uunet.ca with UUCP id <10461>; Tue, 11 Aug 1992 04:04:10 -0400
  17. Received: by ferret.ocunix.on.ca (smail2.5)id AA06339; 11 Aug 92 04:05:32 EDT (Tue)
  18. Message-Id: <9208110405.AA06339@ferret.ocunix.on.ca>
  19. Date: Tue, 11 Aug 1992 04:05:32 -0400
  20. From: clewis@ferret.ocunix.on.ca (Chris Lewis)
  21. To: comp-sources-unix@uunet.UU.NET, archivist@cs.toronto.edu
  22.  
  23. Archive-name: psroff3.0/Patch.13
  24. Submitted-by: clewis@ferret.ocunix.on.ca (Chris Lewis)
  25.  
  26.     This is official patch 13 for Psroff 3.0.
  27.     Please apply it by:
  28.     cd <psroff source directory>
  29.     patch -N -p < <this file>
  30.     
  31.     The base release of psroff3.0 and first four patches were in
  32.     comp.sources.unix volume 24.
  33.  
  34. Minor fixes this time.  Next time should have HP PCL4 graphics.
  35.  
  36. ./lib/ps.lib        Transcript PB/PE emulation (PS inclusion)
  37. ./widths/widthps/AB    (\- fell out in PL12.  Ooops)
  38. ./widths/widthps/AI
  39. ./widths/widthps/AR
  40. ./widths/widthps/AX
  41. ./widths/widthps/B
  42. ./widths/widthps/BB
  43. ./widths/widthps/BI
  44. ./widths/widthps/BO
  45. ./widths/widthps/BR
  46. ./widths/widthps/BX
  47. ./widths/widthps/C
  48. ./widths/widthps/CB
  49. ./widths/widthps/CO
  50. ./widths/widthps/CX
  51. ./widths/widthps/H
  52. ./widths/widthps/HB
  53. ./widths/widthps/HO
  54. ./widths/widthps/HX
  55. ./widths/widthps/Hb
  56. ./widths/widthps/Hi
  57. ./widths/widthps/Hr
  58. ./widths/widthps/Hx
  59. ./widths/widthps/I
  60. ./widths/widthps/NB
  61. ./widths/widthps/NI
  62. ./widths/widthps/NR
  63. ./widths/widthps/NX
  64. ./widths/widthps/PB
  65. ./widths/widthps/PI
  66. ./widths/widthps/PR
  67. ./widths/widthps/PX
  68. ./widths/widthps/R
  69. ./widths/widthps/ZC
  70. ./utils/asc2ps.c    Some rather silly bugs.
  71. ./adapters/Makefile    install versus umask
  72. ./utils.c        Goofed up error print
  73. ./dit.c            debugging ifdef
  74. ./troff2.c        Some better reporting of troff errors
  75. ./defs.h        PL13
  76. ./Makefile        For RTMACDIR different from T2DIR
  77. ./psroff.S        syntax error (oops!)
  78.  
  79. Patchwrapped: 920810000922
  80.  
  81. Index: ./lib/ps.lib
  82. *** /tmp/PATCHold/./lib/ps.lib    Mon Aug 10 00:01:18 1992
  83. --- ./lib/ps.lib    Mon Aug 10 00:01:20 1992
  84. ***************
  85. *** 9,15 ****
  86.   %    Module:        ps.lib
  87.   %    Author:     Chris Lewis
  88.   %    Specs:        Predefinitions for PostScript
  89. ! %ident  @(#)ps.lib: 92/05/21 Copyright 92/05/21 01:56:54 Chris Lewis"
  90.   
  91.   /Y { 3 1 roll dup /CurY exch def moveto show } bind def
  92.   /X { exch CurY moveto show } bind def
  93. --- 9,15 ----
  94.   %    Module:        ps.lib
  95.   %    Author:     Chris Lewis
  96.   %    Specs:        Predefinitions for PostScript
  97. ! %ident  @(#)ps.lib: 92/08/09 Copyright 92/08/09 23:48:32 Chris Lewis"
  98.   
  99.   /Y { 3 1 roll dup /CurY exch def moveto show } bind def
  100.   /X { exch CurY moveto show } bind def
  101. ***************
  102. *** 555,557 ****
  103. --- 555,563 ----
  104.   %   This loads the confidential form.
  105.   %%%include confid
  106.   %%%include lethead
  107. + %
  108. + %    Dumb PB/PE emulator for Transcript include conventions.
  109. + /PB { /SAVE save def
  110. +     currentpoint 18 sub exch pop 8.5 72 mul 2 idiv exch translate
  111. + } def
  112. + /PE { SAVE restore } def
  113. Index: ./widths/widthps/AB
  114. 2c2
  115. < #2.3 92/06/05
  116. ---
  117. > #2.4 92/08/09
  118. 182a183
  119. > \-    50    0    0261    endash
  120. Index: ./widths/widthps/AI
  121. 2c2
  122. < #2.3 92/06/05
  123. ---
  124. > #2.4 92/08/09
  125. 182a183
  126. > \-    50    0    0261    endash
  127. Index: ./widths/widthps/AR
  128. 2c2
  129. < #2.3 92/06/05
  130. ---
  131. > #2.4 92/08/09
  132. 182a183
  133. > \-    50    0    0261    endash
  134. Index: ./widths/widthps/AX
  135. 2c2
  136. < #2.3 92/06/05
  137. ---
  138. > #2.4 92/08/09
  139. 182a183
  140. > \-    50    0    0261    endash
  141. Index: ./widths/widthps/B
  142. 2c2
  143. < #2.2 92/06/05
  144. ---
  145. > #2.3 92/08/09
  146. 184a185
  147. > \-    50    0    0261    endash
  148. Index: ./widths/widthps/BB
  149. 2c2
  150. < #2.3 92/06/05
  151. ---
  152. > #2.4 92/08/09
  153. 183a184
  154. > \-    50    0    0261    endash
  155. Index: ./widths/widthps/BI
  156. 2c2
  157. < #2.2 92/06/05
  158. ---
  159. > #2.3 92/08/09
  160. 184a185
  161. > \-    50    0    0261    endash
  162. Index: ./widths/widthps/BO
  163. 2c2
  164. < #2.3 92/06/05
  165. ---
  166. > #2.4 92/08/09
  167. 183a184
  168. > \-    50    0    0261    endash
  169. Index: ./widths/widthps/BR
  170. 2c2
  171. < #2.3 92/06/05
  172. ---
  173. > #2.4 92/08/09
  174. 183a184
  175. > \-    50    0    0261    endash
  176. Index: ./widths/widthps/BX
  177. 2c2
  178. < #2.3 92/06/05
  179. ---
  180. > #2.4 92/08/09
  181. 183a184
  182. > \-    50    0    0261    endash
  183. Index: ./widths/widthps/C
  184. 2c2
  185. < #2.2 92/06/05
  186. ---
  187. > #2.3 92/08/09
  188. 179a180
  189. > \-    60    0    0261    endash
  190. Index: ./widths/widthps/CB
  191. 2c2
  192. < #2.2 92/06/05
  193. ---
  194. > #2.3 92/08/09
  195. 179a180
  196. > \-    60    0    0261    endash
  197. Index: ./widths/widthps/CO
  198. 2c2
  199. < #2.2 92/06/05
  200. ---
  201. > #2.3 92/08/09
  202. 179a180
  203. > \-    60    0    0261    endash
  204. Index: ./widths/widthps/CX
  205. 2c2
  206. < #2.2 92/06/05
  207. ---
  208. > #2.3 92/08/09
  209. 179a180
  210. > \-    60    0    0261    endash
  211. Index: ./widths/widthps/H
  212. 2c2
  213. < #2.2 92/06/05
  214. ---
  215. > #2.3 92/08/09
  216. 184a185
  217. > \-    56    0    0261    endash
  218. Index: ./widths/widthps/HB
  219. 2c2
  220. < #2.3 92/06/05
  221. ---
  222. > #2.4 92/08/09
  223. 184a185
  224. > \-    56    0    0261    endash
  225. Index: ./widths/widthps/HO
  226. 2c2
  227. < #2.3 92/06/05
  228. ---
  229. > #2.4 92/08/09
  230. 184a185
  231. > \-    56    0    0261    endash
  232. Index: ./widths/widthps/HX
  233. 2c2
  234. < #2.3 92/06/05
  235. ---
  236. > #2.4 92/08/09
  237. 184a185
  238. > \-    56    0    0261    endash
  239. Index: ./widths/widthps/Hb
  240. 2c2
  241. < #2.3 92/06/05
  242. ---
  243. > #2.4 92/08/09
  244. 182a183
  245. > \-    46    0    0261    endash
  246. Index: ./widths/widthps/Hi
  247. 2c2
  248. < #2.3 92/06/05
  249. ---
  250. > #2.4 92/08/09
  251. 182a183
  252. > \-    46    0    0261    endash
  253. Index: ./widths/widthps/Hr
  254. 2c2
  255. < #2.3 92/06/05
  256. ---
  257. > #2.4 92/08/09
  258. 182a183
  259. > \-    46    0    0261    endash
  260. Index: ./widths/widthps/Hx
  261. 2c2
  262. < #2.3 92/06/05
  263. ---
  264. > #2.4 92/08/09
  265. 182a183
  266. > \-    46    0    0261    endash
  267. Index: ./widths/widthps/I
  268. 2c2
  269. < #2.2 92/06/05
  270. ---
  271. > #2.3 92/08/09
  272. 184a185
  273. > \-    50    0    0261    endash
  274. Index: ./widths/widthps/NB
  275. 2c2
  276. < #2.3 92/06/05
  277. ---
  278. > #2.4 92/08/09
  279. 182a183
  280. > \-    50    0    0261    endash
  281. Index: ./widths/widthps/NI
  282. 2c2
  283. < #2.3 92/06/05
  284. ---
  285. > #2.4 92/08/09
  286. 182a183
  287. > \-    50    0    0261    endash
  288. Index: ./widths/widthps/NR
  289. 2c2
  290. < #2.3 92/06/05
  291. ---
  292. > #2.4 92/08/09
  293. 182a183
  294. > \-    56    0    0261    endash
  295. Index: ./widths/widthps/NX
  296. 2c2
  297. < #2.3 92/06/05
  298. ---
  299. > #2.4 92/08/09
  300. 182a183
  301. > \-    50    0    0261    endash
  302. Index: ./widths/widthps/PB
  303. 2c2
  304. < #2.3 92/06/05
  305. ---
  306. > #2.4 92/08/09
  307. 182a183
  308. > \-    50    0    0261    endash
  309. Index: ./widths/widthps/PI
  310. 2c2
  311. < #2.3 92/06/05
  312. ---
  313. > #2.4 92/08/09
  314. 182a183
  315. > \-    50    0    0261    endash
  316. Index: ./widths/widthps/PR
  317. 2c2
  318. < #2.3 92/06/05
  319. ---
  320. > #2.4 92/08/09
  321. 182a183
  322. > \-    50    0    0261    endash
  323. Index: ./widths/widthps/PX
  324. 2c2
  325. < #2.3 92/06/05
  326. ---
  327. > #2.4 92/08/09
  328. 182a183
  329. > \-    50    0    0261    endash
  330. Index: ./widths/widthps/R
  331. 2c2
  332. < #2.2 92/06/05
  333. ---
  334. > #2.3 92/08/09
  335. 184a185
  336. > \-    50    0    0261    endash
  337. Index: ./widths/widthps/ZC
  338. 2c2
  339. < #2.3 92/06/05
  340. ---
  341. > #2.4 92/08/09
  342. 182a183
  343. > \-    50    0    0261    endash
  344. Index: ./utils/asc2ps.c
  345. *** /tmp/PATCHold/./utils/asc2ps.c    Mon Aug 10 00:07:29 1992
  346. --- ./utils/asc2ps.c    Mon Aug 10 00:07:30 1992
  347. ***************
  348. *** 14,20 ****
  349.   
  350.   #ifndef    lint
  351.   static char SCCSid[] =
  352. !     "@(#)asc2ps.c: 2.7 Copyright 92/02/07 01:44:28 Chris Lewis";
  353.   #endif
  354.   
  355.   #ifndef    STANDALONE
  356. --- 14,20 ----
  357.   
  358.   #ifndef    lint
  359.   static char SCCSid[] =
  360. !     "@(#)asc2ps.c: 2.8 Copyright 92/07/09 23:37:21 Chris Lewis";
  361.   #endif
  362.   
  363.   #ifndef    STANDALONE
  364. ***************
  365. *** 368,375 ****
  366.   #define    BOLD    1
  367.   #define    UNDERLINE    2
  368.   
  369. ! process(buffer, bufs)
  370. ! char *buffer, *bufs[3]; {
  371.       int maxpos[3];
  372.   
  373.       register int linepos = 0;
  374. --- 368,375 ----
  375.   #define    BOLD    1
  376.   #define    UNDERLINE    2
  377.   
  378. ! process(buffer)
  379. ! char *buffer; {
  380.       int maxpos[3];
  381.   
  382.       register int linepos = 0;
  383. ***************
  384. *** 435,441 ****
  385.       for (i = 0; outbufs[UNDERLINE][i]; i++)
  386.           if (outbufs[UNDERLINE][i] != ' ') {
  387.           outbufs[UNDERLINE][i] = outbufs[NORMAL][i];
  388. !         outbufs[NORMAL][i] == ' ';
  389.           }
  390.   
  391.       len = strlen(outbufs[NORMAL]);
  392. --- 435,441 ----
  393.       for (i = 0; outbufs[UNDERLINE][i]; i++)
  394.           if (outbufs[UNDERLINE][i] != ' ') {
  395.           outbufs[UNDERLINE][i] = outbufs[NORMAL][i];
  396. !         outbufs[NORMAL][i] = ' ';
  397.           }
  398.   
  399.       len = strlen(outbufs[NORMAL]);
  400. Index: ./adapters/Makefile
  401. *** /tmp/PATCHold/./adapters/Makefile    Mon Aug 10 00:07:41 1992
  402. --- ./adapters/Makefile    Mon Aug 10 00:07:42 1992
  403. ***************
  404. *** 1,4 ****
  405. ! # 2.7 92/04/26
  406.   ADAPTERS    = cmn.post cmn.pre tmac.an tmac.m tmac.s tmac.e cmn.dit
  407.   MACROS        = tmac.t2
  408.   
  409. --- 1,4 ----
  410. ! # 2.8 92/07/09
  411.   ADAPTERS    = cmn.post cmn.pre tmac.an tmac.m tmac.s tmac.e cmn.dit
  412.   MACROS        = tmac.t2
  413.   
  414. ***************
  415. *** 17,22 ****
  416.       cd $(LIBDIR)/adapters ; rm -f $(ADAPTERS)
  417.       cp $(ADAPTERS) $(LIBDIR)/adapters
  418.       cd $(LIBDIR)/adapters ; chmod 444 $(ADAPTERS)
  419. !     cd $(RTMACDIR) ; rm -f $(MACROS)
  420.       cp $(MACROS) $(T2DIR)
  421.       cd $(T2DIR) ; chmod 444 $(MACROS)
  422. --- 17,22 ----
  423.       cd $(LIBDIR)/adapters ; rm -f $(ADAPTERS)
  424.       cp $(ADAPTERS) $(LIBDIR)/adapters
  425.       cd $(LIBDIR)/adapters ; chmod 444 $(ADAPTERS)
  426. !     cd $(T2DIR) ; rm -f $(MACROS)
  427.       cp $(MACROS) $(T2DIR)
  428.       cd $(T2DIR) ; chmod 444 $(MACROS)
  429. Index: ./utils.c
  430. *** /tmp/PATCHold/./utils.c    Mon Aug 10 00:07:51 1992
  431. --- ./utils.c    Mon Aug 10 00:07:53 1992
  432. ***************
  433. *** 12,18 ****
  434.   
  435.   #ifndef    lint
  436.   static char SCCSid[] =
  437. !     "@(#)utils.c: 2.25 Copyright 92/06/01 21:19:25 Chris Lewis";
  438.   #endif
  439.   
  440.   #ifndef    HEADERSIZE
  441. --- 12,18 ----
  442.   
  443.   #ifndef    lint
  444.   static char SCCSid[] =
  445. !     "@(#)utils.c: 2.26 Copyright 92/07/09 23:34:53 Chris Lewis";
  446.   #endif
  447.   
  448.   #ifndef    HEADERSIZE
  449. ***************
  450. *** 434,441 ****
  451.   
  452.       intfont = atoi(from);
  453.   
  454.       if (intfont < (ditroff? 0 : 1) || intfont >= INTFONTS) {
  455. !     fprintf(stderr, "Bad arguments to FontSel: %s %s\n", intfont, to);
  456.       return;
  457.       }
  458.   
  459. --- 434,445 ----
  460.   
  461.       intfont = atoi(from);
  462.   
  463. + #ifdef DIT
  464.       if (intfont < (ditroff? 0 : 1) || intfont >= INTFONTS) {
  465. ! #else
  466. !     if (intfont < 1 || intfont >= INTFONTS) {
  467. ! #endif
  468. !     fprintf(stderr, "Bad arguments to FontSel: %s %s\n", from, to);
  469.       return;
  470.       }
  471.   
  472. Index: ./dit.c
  473. *** /tmp/PATCHold/./dit.c    Mon Aug 10 00:08:06 1992
  474. --- ./dit.c    Mon Aug 10 00:08:07 1992
  475. ***************
  476. *** 12,18 ****
  477.   
  478.   #ifndef    lint
  479.   static char SCCSid[] =
  480. !     "@(#)dit.c: 1.19 Copyright 92/06/01 21:13:49 Chris Lewis";
  481.   #endif
  482.   
  483.   extern struct cattab tabN[], tabS[], *extidx;
  484. --- 12,18 ----
  485.   
  486.   #ifndef    lint
  487.   static char SCCSid[] =
  488. !     "@(#)dit.c: 1.20 Copyright 92/07/09 23:35:14 Chris Lewis";
  489.   #endif
  490.   
  491.   extern struct cattab tabN[], tabS[], *extidx;
  492. ***************
  493. *** 106,111 ****
  494. --- 106,112 ----
  495.   
  496.       DBP((D_CAT, "After NULL\n"));
  497.   
  498. + #ifdef DEBUG
  499.       if (debug&D_CAT) {
  500.   
  501.       for (ts = spctab; *ts; ts++)
  502. ***************
  503. *** 113,118 ****
  504. --- 114,120 ----
  505.           (*ts)->ch_catidx));
  506.   
  507.       }
  508. + #endif
  509.   
  510.       qsort(spctab, extcount, sizeof (struct cattab *), catcmp);
  511.   
  512. Index: ./troff2.c
  513. *** /tmp/PATCHold/./troff2.c    Mon Aug 10 00:08:19 1992
  514. --- ./troff2.c    Mon Aug 10 00:08:21 1992
  515. ***************
  516. *** 12,18 ****
  517.   
  518.   #ifndef    lint
  519.   static char SCCSid[] =
  520. !     "@(#)troff2.c: 2.26 Copyright 92/06/01 21:17:26 Chris Lewis";
  521.   #endif
  522.   
  523.   #define    ESC    0x80
  524. --- 12,18 ----
  525.   
  526.   #ifndef    lint
  527.   static char SCCSid[] =
  528. !     "@(#)troff2.c: 2.27 Copyright 92/08/09 23:41:28 Chris Lewis";
  529.   #endif
  530.   
  531.   #define    ESC    0x80
  532. ***************
  533. *** 340,349 ****
  534.   
  535.       c = getc(stdin);
  536.       if (c != 0x40) {
  537. -         fprintf(stderr, "%s: first character 0x%02x - not CAT troff output.\n",
  538. -         progname, c);
  539.           fprintf(stderr,
  540. !         "Probably ditroff.  Did you forget -N in command line or psrofflib?\n");
  541.           exit(1);
  542.       }
  543.   
  544. --- 340,365 ----
  545.   
  546.       c = getc(stdin);
  547.       if (c != 0x40) {
  548.           fprintf(stderr,
  549. !         "%s: First character out of troff (0x%02x) isn't a C/A/T INIT opcode\n",
  550. !             progname, c);
  551. !         fprintf(stderr,
  552. !         "Either your troff is really ditroff (which needs a -N in psrofflib),\n");
  553. !         fprintf(stderr,
  554. !         "or there was an early error in CAT troff.  Eg: command line error.\n");
  555. ! #ifdef DUMB
  556. !         if (isprint(c)) {
  557. !         fprintf(stderr, "Possibly CAT error \"%c", c);
  558. ! #else
  559. !         /* strings /bin/troff on SunOS show that all CAT errors start
  560. !            with a capital letter, f, c or i. */
  561. !         if (isascii(c) && (isupper(c) || strchr("fci", c))) {
  562. !         fprintf(stderr, "Very likely CAT error: \"%c", c);
  563. ! #endif
  564. !         while((c = getc(stdin)) != EOF && isprint(c))
  565. !             putc(c, stderr);
  566. !         fprintf(stderr, "\"\n");
  567. !         }
  568.           exit(1);
  569.       }
  570.   
  571. Index: ./defs.h
  572. *** /tmp/PATCHold/./defs.h    Mon Aug 10 00:08:34 1992
  573. --- ./defs.h    Mon Aug 10 00:08:36 1992
  574. ***************
  575. *** 9,15 ****
  576.    */
  577.   
  578.   /*    Official Release and Patch level:    */
  579. ! #define    T2VERSION    "@(#)PSROFF Copyright 92/06/01 Chris Lewis - R3 PL12"
  580.   
  581.   /*    Configuration parameters:
  582.    */
  583. --- 9,15 ----
  584.    */
  585.   
  586.   /*    Official Release and Patch level:    */
  587. ! #define    T2VERSION    "@(#)PSROFF Copyright 92/07/09 Chris Lewis - R3 PL13"
  588.   
  589.   /*    Configuration parameters:
  590.    */
  591. ***************
  592. *** 118,123 ****
  593. --- 118,127 ----
  594.   
  595.   /*    The only advantage to commenting-out one of these is to make the
  596.       binary executable of troff2?? smaller.
  597. +     Do NOT, repeat, do NOT define PSONLY.  This is for a special
  598. +     stripped-down release of psroff.  If you define it with the
  599. +     normal psroff release, the builds will fail miserably.
  600.    */
  601.   
  602.   /*    Basic drivers: */
  603. ***************
  604. *** 138,144 ****
  605.   #define    PARTIAL    /* partial (not incremental) font downloading */
  606.   
  607.   #define    INCR    /* enable incremental font downloading (needs PARTIAL) */
  608. ! #endif
  609.   
  610.   #define    MDLF    16    /* Max # downloaded fonts permitted by your laserjet
  611.                  per *page*.  16 is correct for HPLJ+ and most II's.
  612. --- 142,148 ----
  613.   #define    PARTIAL    /* partial (not incremental) font downloading */
  614.   
  615.   #define    INCR    /* enable incremental font downloading (needs PARTIAL) */
  616. ! #endif    /* PSONLY */
  617.   
  618.   #define    MDLF    16    /* Max # downloaded fonts permitted by your laserjet
  619.                  per *page*.  16 is correct for HPLJ+ and most II's.
  620. Index: ./Makefile
  621. *** /tmp/PATCHold/./Makefile    Mon Aug 10 00:08:48 1992
  622. --- ./Makefile    Mon Aug 10 00:08:50 1992
  623. ***************
  624. *** 7,13 ****
  625.   #    Function: Upper level makefile; configuration options.
  626.   #
  627.   #
  628. ! #ident  "@(#)Makefile: 2.33 Copyright 92/05/21 02:21:05 Chris Lewis"
  629.   
  630.   #    If you're not sure whether you have a System V make, leave
  631.   #    this alone, and run the make anyways.  If it dies horribly
  632. --- 7,13 ----
  633.   #    Function: Upper level makefile; configuration options.
  634.   #
  635.   #
  636. ! #ident  "@(#)Makefile: 2.34 Copyright 92/07/09 23:36:01 Chris Lewis"
  637.   
  638.   #    If you're not sure whether you have a System V make, leave
  639.   #    this alone, and run the make anyways.  If it dies horribly
  640. ***************
  641. *** 320,325 ****
  642. --- 320,326 ----
  643.       test -d $(LIBDIR)/adapters || mkdir $(LIBDIR)/adapters
  644.       test -d $(LIBDIR)/lib || mkdir $(LIBDIR)/lib
  645.       test -d $(RTMACDIR) || (mkdir $(RTMACDIR) ; chmod 755 $(RTMACDIR) )
  646. +     test -d $(T2DIR) || (mkdir $(T2DIR) ; chmod 755 $(T2DIR) )
  647.       test -d $(FONTDIR) || (mkdir $(FONTDIR) ; chmod 755 $(FONTDIR) )
  648.       chmod 755 $(LIBDIR) $(LIBDIR)/adapters $(LIBDIR)/lib
  649.       rm -f $(BINDIR)/psroff.old
  650. Index: ./psroff.S
  651. *** /tmp/PATCHold/./psroff.S    Mon Aug 10 00:09:01 1992
  652. --- ./psroff.S    Mon Aug 10 00:09:04 1992
  653. ***************
  654. *** 7,13 ****
  655.   #
  656.   #    Specs:        troff2ps driver
  657.   #
  658. ! #ident  "@(#)psroff.sh: 2.21 Copyright 92/06/01 21:21:20 Chris Lewis"
  659.   
  660.   LIBDIR="%%LIBDIR%%"
  661.   FONTDIR="%%FONTDIR%%"
  662. --- 7,13 ----
  663.   #
  664.   #    Specs:        troff2ps driver
  665.   #
  666. ! #ident  "@(#)psroff.sh: 2.23 Copyright 92/08/09 23:44:43 Chris Lewis"
  667.   
  668.   LIBDIR="%%LIBDIR%%"
  669.   FONTDIR="%%FONTDIR%%"
  670. ***************
  671. *** 77,82 ****
  672. --- 77,83 ----
  673.           ;;
  674.       -g*)
  675.           garg=$i
  676. +         ;;
  677.       -*)
  678.           args="$args $i"
  679.           ;;
  680. ***************
  681. *** 228,233 ****
  682. --- 229,240 ----
  683.   fi
  684.   
  685.   t2arg="$t2arg $extraargs $garg"
  686. + #    Environment variable LPDEST overrides ptr in psrofflib
  687. + if [ -n "$LPDEST" ]
  688. + then
  689. +     ptr=$LPDEST
  690. + fi
  691.   
  692.   #    command line -d option overrides ptr in psrofflib.
  693.   if [ -n "$sptr" ]
  694.