[alt.sources] Psroff 2.0, Patch 5

clewis@ecicrl.UUCP (Chris Lewis) (11/20/90)

Archive-name: psroff2.0/patch.05
Submitted-by: clewis@ecicrl.uucp (Chris Lewis)

I got so much demand for it, I thought I'd better post this.
Sorry for the assortment of newsgroups, but several people don't receive
some of the relevant newsgroups (in fact, *I* don't get comp.sources.*
or alt.* either because of pocket constraints), so if you want to followup,
followup to comp.text...)

This is Patch 5 for psroff.  DO NOT apply this to the sources just
posted in alt.sources, for those sources have ALREADY had this patch
applied.

This is for those people who've picked up psroff 2.0 via anon ftp and
have been following patches 1 thru 4 in comp.sources.bugs and alt.sources.

    This is official patch 05 for Psroff 2.0.
    Do NOT apply this to sources retrieved from alt.sources (which
    is ALREADY at PL5)
    Please apply it by:
	cd <psroff source directory>
	patch -N -p < <this file>

./TROUBLE			remark about tmac.e
./README			alt.source info
./defs.h			PL5
./adapters/Makefile		Update for tmac.e
./adapters/tmac.e.S		New file
*** /tmp/PATCHold/./TROUBLE	Sun Nov 18 12:54:36 1990
--- ./TROUBLE	Sun Nov 18 12:54:38 1990
***************
*** 1,4 ****
! 		Psroff 2.0 Trouble Shooting.... 2.1 90/07/18
  
  		(psroff 1.0 users can use this to a certain extent)
  
--- 1,4 ----
! 		Psroff 2.0 Trouble Shooting.... 2.2 90/10/30
  
  		(psroff 1.0 users can use this to a certain extent)
  
***************
*** 248,253 ****
--- 248,275 ----
      remove dependence on \g.  (which is supposed to return a code
      denoting the output format of a number register, and is usually
      used to determine whether a number register has ever been set)
+ 
+ ME macros don't seem to work:
+ 
+     A friend noted:
+ 
+     In order to make them useable, I had to modify them somewhat.  The
+     problem was with the following syntax:
+ 
+ 	.if t \
+ 	\{
+ 	.	zz
+ 	.\}
+ 
+     Our (Xenix) troff required the following instead:
+ 
+ 	.if t \{\
+ 	.	zz
+ 	.\}
+ 
+     This was required for all occurances of "\{".  It seems "\{" MUST
+     terminate a line, and MUST be followed by a "\<NEWLINE>".  Even a ".\{"
+     didn't help any.
  
  Everything okay, but some characters missing (or wrong) on output:
  (ditroff drivers may complain about characters not found)
*** /tmp/PATCHold/./README	Sun Nov 18 12:54:51 1990
--- ./README	Sun Nov 18 12:54:54 1990
***************
*** 1,10 ****
! 		PSROFF RELEASE 2.0 README 2.2 90/08/30
  
  			May 14, 1990
  			Chris Lewis
  
! 	See defs.h for the official Psroff release and patch level.
  
  	Please see the end of this file for my contact information
  	and for enrollment in the psroff mailing list.
  
--- 1,16 ----
! 		PSROFF RELEASE 2.0 PL5 README 2.3 90/11/16
  
  			May 14, 1990
  			Chris Lewis
  
! 	This alt.sources release is based at patch level 5 of psroff 2.0.
  
+ 	defs.h contains the level at which the sources have been patched.
+ 	Previously, psroff 2.0 was only available via ftp.  If you had the
+ 	ftp version, I suggest you completely replace it with this one,
+ 	or, you can simply patch yours to this level - contact me for
+ 	patch 5.
+ 
  	Please see the end of this file for my contact information
  	and for enrollment in the psroff mailing list.
  
***************
*** 46,52 ****
  
  This is a formal release.  There are probably rough edges however,
  particularly with fine-tuning width tables for specific printers and
! some of the more esoteric ditroff configurations.
  
  I encourage people to experiment with psroff (particularly the configuration
  files) and PLEASE PLEASE PLEASE send me your changes so that I can
--- 52,60 ----
  
  This is a formal release.  There are probably rough edges however,
  particularly with fine-tuning width tables for specific printers and
! some of the more esoteric ditroff configurations.  Further, there
! is some testing code for emulating ditroff drawing commands (see
! catconv).
  
  I encourage people to experiment with psroff (particularly the configuration
  files) and PLEASE PLEASE PLEASE send me your changes so that I can
***************
*** 105,111 ****
  	- Each S.*.pk file was created by converting them to SFP's,
  	  merging them into another SFP (using Ronald Florence's makeS
  	  program), and converting them back to PK's using Rick
! 	  Richardson's sfp2pk program (included in jetroff).
  
  	  Sorry, I cannot distribute either program, but pk2sfp can
  	  be used to merge font files more generally than makeS.
--- 113,120 ----
  	- Each S.*.pk file was created by converting them to SFP's,
  	  merging them into another SFP (using Ronald Florence's makeS
  	  program), and converting them back to PK's using Rick
! 	  Richardson's sfp2pk program (included in jetroff), and
! 	  also available from the mims-iris font archives at waterloo.
  
  	  Sorry, I cannot distribute either program, but pk2sfp can
  	  be used to merge font files more generally than makeS.
*** /tmp/PATCHold/./defs.h	Sun Nov 18 12:55:10 1990
--- ./defs.h	Sun Nov 18 12:55:12 1990
***************
*** 1,4 ****
! /*	Copyright 1988, 1989 13:21:58 Chris Lewis
  		All Rights Reserved
  
      Permission to copy and further distribute is freely given provided
--- 1,4 ----
! /*	Copyright 1988, 1989 23:13:57 Chris Lewis
  		All Rights Reserved
  
      Permission to copy and further distribute is freely given provided
***************
*** 6,18 ****
      sold for profit.
  
  	Project:	Generic Troff drivers
! 	Module:		defs.h 2.9 90/10/24 13:21:58
  	Author: 	Chris Lewis
  	Specs:		Main header file - contains some customization
   */
  
  /*	Official Release and Patch level:	*/
! #define	T2VERSION	"@(#)PSROFF Copyright 90/10/24 Chris Lewis - R2 P4"
  
  #ifndef	LIBDIR
  /*	Don't touch this */
--- 6,18 ----
      sold for profit.
  
  	Project:	Generic Troff drivers
! 	Module:		defs.h 2.10 90/11/16 23:13:57
  	Author: 	Chris Lewis
  	Specs:		Main header file - contains some customization
   */
  
  /*	Official Release and Patch level:	*/
! #define	T2VERSION	"@(#)PSROFF Copyright 90/11/16 Chris Lewis - R2 P5"
  
  #ifndef	LIBDIR
  /*	Don't touch this */
*** /tmp/PATCHold/./adapters/Makefile	Sun Nov 18 12:55:20 1990
--- ./adapters/Makefile	Sun Nov 18 12:55:21 1990
***************
*** 1,5 ****
! # 2.1 90/07/18
! ADAPTERS	= cmn.post cmn.pre tmac.an tmac.m tmac.s
  MACROS		= tmac.t2
  
  include ../makeincl
--- 1,5 ----
! # 2.2 90/10/27
! ADAPTERS	= cmn.post cmn.pre tmac.an tmac.m tmac.s tmac.e
  MACROS		= tmac.t2
  
  include ../makeincl
*** /tmp/PATCHold/./adapters/tmac.e.S	Sun Nov 18 12:55:26 1990
--- ./adapters/tmac.e.S	Sun Nov 18 12:55:28 1990
***************
*** 0 ****
--- 1,10 ----
+ .\"@(#)ident tmac.e 2.1 90/10/27
+ .\" -me adapter
+ .so %%LIBDIR%%/adapters/cmn.pre
+ .so %%RTMACDIR%%/tmac.e
+ .\"	Reset the page offset to what works.  ME doesn't do anything fancy
+ .\"	but a single .po itself, so this will work fine.
+ .po 0.75i
+ .\"	Clobber cut marks.
+ .rm @m
+ .so %%LIBDIR%%/adapters/cmn.post
-- 
Chris Lewis, Phone: TBA
UUCP: uunet!utai!lsuc!ecicrl!clewis
Moderator of the Ferret Mailing List (ferret-request@eci386)
Psroff mailing list (psroff-request@eci386)