Software Package:       
	nenscript

Release/Version:
	v1.12 20-August-1992

Retrieved from:
	iworks.ecn.uiowa.edu:pub/comp.hp/nenscript.tar.gz

Bug reports:
	This software package is maintained by the software contributor,
	not BSDI.  Please send any bug reports to both support@BSDI.COM
	and geoffw@extro.ucc.oz.au.

Comments:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Modifications to this version made by BSDI:

Added Makefile to provide BSDI make targets, renamed makefile to
makefile.orig.

diff -r -c orig/defs.h ./defs.h
*** orig/defs.h	Tue Aug 25 02:16:55 1992
--- ./defs.h	Wed Feb 10 11:05:35 1993
***************
*** 81,85 ****
  #ifdef MSDOS
  #define DEF_PRINTER "prn"
  #else
! #define	DEF_PRINTER	"QMS2200"		/* default printer */
  #endif
--- 81,85 ----
  #ifdef MSDOS
  #define DEF_PRINTER "prn"
  #else
! #define	DEF_PRINTER "ps"	/* default printer */
  #endif
diff -r -c orig/font_lis.c ./font_lis.c
*** orig/font_lis.c	Sun Aug 23 19:46:50 1992
--- ./font_lis.c	Thu Feb 18 08:49:13 1993
***************
*** 1,5 ****
  /*
!  *   BSDI_CONTRIB,v 1.3 1995/11/29 00:13:26 bostic Exp
   *
   *   This code was written by Craig Southeren whilst under contract
   *   to Computer Sciences of Australia, Systems Engineering Division.
--- 1,5 ----
  /*
!  *   BSDI_CONTRIB,v 1.3 1995/11/29 00:13:26 bostic Exp
   *
   *   This code was written by Craig Southeren whilst under contract
   *   to Computer Sciences of Australia, Systems Engineering Division.
***************
*** 14,20 ****
--- 14,22 ----
  
  #include <stdio.h>
  #include <string.h>
+ #ifndef __bsdi__
  #include <malloc.h>
+ #endif
  #include <string.h>
  
  #include "font_lis.h"
diff -r -c orig/fontwidt.c ./fontwidt.c
*** orig/fontwidt.c	Sun Aug 23 19:46:50 1992
--- ./fontwidt.c	Wed Feb 10 11:05:35 1993
***************
*** 1,5 ****
  /*
!  *   BSDI_CONTRIB,v 1.3 1995/11/29 00:13:26 bostic Exp
   *
   *   This code was written by Craig Southeren whilst under contract
   *   to Computer Sciences of Australia, Systems Engineering Division.
--- 1,5 ----
  /*
!  *   BSDI_CONTRIB,v 1.3 1995/11/29 00:13:26 bostic Exp
   *
   *   This code was written by Craig Southeren whilst under contract
   *   to Computer Sciences of Australia, Systems Engineering Division.
***************
*** 98,104 ****
  {
    size /= 100;
  
!   if (strcmp (fontname, "Courier") != 0) {
      fprintf (stderr, "%s: can only use Courier - sorry!!\n", progname);
      exit (1);
    }
--- 98,104 ----
  {
    size /= 100;
  
!   if (strncmp (fontname, "Courier", 7) != 0) {
      fprintf (stderr, "%s: can only use Courier - sorry!!\n", progname);
      exit (1);
    }
diff -r -c orig/main.c ./main.c
*** orig/main.c	Mon Aug 24 07:54:03 1992
--- ./main.c	Wed Feb 10 11:05:35 1993
***************
*** 1,5 ****
  /*
!  *   BSDI_CONTRIB,v 1.3 1995/11/29 00:13:26 bostic Exp
   *
   *   This code was written by Craig Southeren whilst under contract
   *   to Computer Sciences of Australia, Systems Engineering Division.
--- 1,5 ----
  /*
!  *   BSDI_CONTRIB,v 1.3 1995/11/29 00:13:26 bostic Exp
   *
   *   This code was written by Craig Southeren whilst under contract
   *   to Computer Sciences of Australia, Systems Engineering Division.
***************
*** 36,42 ****
  #define		NENSCRIPT	"NENSCRIPT"		/* contains options */
  
  #ifndef MSDOS
! #define		LPR		"lp -d"		/* spooler with option to set name of printer */
  #endif
  
  #define	strdup(s)	(strcpy ((char *)malloc (strlen(s)+1), s))
--- 36,42 ----
  #define		NENSCRIPT	"NENSCRIPT"		/* contains options */
  
  #ifndef MSDOS
! #define		LPR		"lpr -P"		/* spooler with option to set name of printer */
  #endif
  
  #define	strdup(s)	(strcpy ((char *)malloc (strlen(s)+1), s))
diff -r -c orig/nenscript.1 ./nenscript.1
*** orig/nenscript.1	Sun Aug 23 19:46:52 1992
--- ./nenscript.1	Wed Feb 10 11:39:54 1993
***************
*** 38,44 ****
  PostScript output is directed to a printer using
  .B lpr
  unless otherwise specified using the \-p option. The printer to use is set by the PRINTER environment variable.
! If this is not set, then the printer "Postscript" ("prn" for MSDOS) will be used.
  
  Font specifications are formed from the font name and the font size, i.e. 
  .B Courier10
--- 38,44 ----
  PostScript output is directed to a printer using
  .B lpr
  unless otherwise specified using the \-p option. The printer to use is set by the PRINTER environment variable.
! If this is not set, then the printer "ps" ("prn" for MSDOS) will be used.
  
  Font specifications are formed from the font name and the font size, i.e. 
  .B Courier10
***************
*** 164,170 ****
  .SH ENVIRONMENT
  .TP 15
  .SB PRINTER
! Specifies the name of the printer to direct PostScript output to. If not set, the default is a printer named "PostScript".
  
  .TP 15
  .SB NENSCRIPT
--- 164,170 ----
  .SH ENVIRONMENT
  .TP 15
  .SB PRINTER
! Specifies the name of the printer to direct PostScript output to. If not set, the default is a printer named "ps".
  
  .TP 15
  .SB NENSCRIPT
***************
*** 196,199 ****
  
  Input line lengths are limited to 8192 characters after expansion of tabs.
  
! Only A4 size paper is currently supported.
--- 196,203 ----
  
  Input line lengths are limited to 8192 characters after expansion of tabs.
  
! Currently the paper size is compiled in (8.5 x 11 as distriubted).
! 
! .SH AUTHOR
! 
! Craig Southeren
diff -r -c orig/postscri.c ./postscri.c
*** orig/postscri.c	Tue Aug 25 07:19:43 1992
--- ./postscri.c	Wed Feb 10 11:05:36 1993
***************
*** 1,5 ****
  /*
!  *   BSDI_CONTRIB,v 1.3 1995/11/29 00:13:26 bostic Exp
   *
   *   This code was written by Craig Southeren whilst under contract
   *   to Computer Sciences of Australia, Systems Engineering Division.
--- 1,5 ----
  /*
!  *   BSDI_CONTRIB,v 1.3 1995/11/29 00:13:26 bostic Exp
   *
   *   This code was written by Craig Southeren whilst under contract
   *   to Computer Sciences of Australia, Systems Engineering Division.
***************
*** 430,436 ****
  #endif
  
  #else
!   strftime (tm_string, 15, "%I:%M %p", tm);
  
  #ifdef US_DATE
    strftime (dt_string, 15, "%h %d %y", tm);
--- 430,436 ----
  #endif
  
  #else
!   strftime (tm_string, 15, "%T", tm);
  
  #ifdef US_DATE
    strftime (dt_string, 15, "%h %d %y", tm);
