🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.postscript
2 messages
2 total messages Started by Geoffrey Warren Hicks Mon, 31 Aug 1992 22:25
More on nenscript
#2045
Author: Geoffrey Warren Hicks
Date: Mon, 31 Aug 1992 22:25
33 lines
1888 bytes
Posted on behalf of Craig Southeren who does not have access to
a net account:
-------------------------------------------------------------------

Thanks to everyone who expressed interest in the nenscript program,
particularly Randoplph Herber and Thomas Wolff who both provided
some more additions. At least three people (as well as myself)
have upgraded nenscript to support various paper sizes - remarkably
everyone chose the -T option to hang the selector off!!!

I'm about the change jobs (again!), so I'll soon have unlimited
access to a couple of Personal Iris machine (running SysV Unix
on MIPS). So another version of nenscript will have to wait for
a few weeks. I will be including Randolphs excellent paper size
selection code (every paper size known to mankind, it seems!)
and I'll have a look at the ISO encoding from Thomas.

Randolph also provided code (I think!) to scale the gaudy mode
artifacts depending upon the paper size. Not sure whether I would
like that - what does everyone else think?

   Keep the suggestions coming - I will really get to them as soon
as possible.
  

     Craig

-------------------------------------------------------------------
Craig Southeren                    |  "You can have it good, cheap,
email: c/- geoffw@extro.ucc.oz.au  |  "or fast. Any two"
phone: +61 2 4393278               | Arthur C. Clarke,
-------------------------------------------------------------------
Re: More on nenscript
#2070
Author: hank
Date: Wed, 02 Sep 1992 23:18
109 lines
3340 bytes
In article <geoffw.715299917@extro.ucc.su.OZ.AU>, geoffw@extro.ucc.su.OZ.AU (Geoffrey Warren Hicks) writes:
> 
> Posted on behalf of Craig Southeren who does not have access to
> a net account:
> -------------------------------------------------------------------
> 
> Thanks to everyone who expressed interest in the nenscript program,
>    Keep the suggestions coming - I will really get to them as soon
> as possible.

My mailer bounced the following note. nenscript looks interesting, but please
don't forget the OS/2 users. There are some problems with the makefile 
(shouldn't __STDC__ be defined so that the prototypes get used? I get problems
if I don't use these.).  

With easy changes to the makefile, nenscript runs under OS/2. Context diff's 
follow.


Original message:

Thanks for nenscript. I've only briefly examined, as I do not have
all of ghostscript loaded. In any case, your makefile.msc needs some 
modifications for MSC 6.00A to produce OS/2 executables.  I have attached
the file produced by 'diff -c makefile.msc makefile.os2', in case it can
be of any help. 

Note:
1. your make line for the executable always fails, as the '.exe' is missing.

2. makefile.os2 will produce an OS/2 executable and a separate bound
executable (will run under OS/2 and MSDOS). 

--darrel hankerson hank@ducvax.auburn.edu



*** makefile.msc	Sun Aug 23 18:46:52 1992
--- makefile.os2	Tue Sep 01 19:42:34 1992
***************
*** 1,8 ****
! #
! # Makefile 
! #
! # $Id: Makefile,v 1.5 1992/05/26 23:15:19 craigs Exp $
! #
  
  OBJ		= .obj
  
--- 1,9 ----
! # Makefile for MSC 6.00A under OS/2. 
! # Adapted with minor changes from the supplied makefile.msc
! # Files:
! #  nenscript.exe	OS/2 executable
! #  nenscrib.exe   OS/2 and MSDOS bound executable
! # Darrel Hankerson hank@ducvax.auburn.edu, 1-Sep-92
  
  OBJ		= .obj
  
***************
*** 27,45 ****
  # US_DATE selects date of form MMM DD YY, else date is DD MMM YY
  #
  CFLAGS	=	-DUS_DATE $(DEBUG)
! LFLAGS	=	/F 5000
  
  CHMOD	=	chmod
  CP	=	cp
  RM	=	rm
  INSTALL	=	install
  
! all debug:	$(PROG)
  
! $(PROG): $(OBJECTS)
! 	$(CC) $(CFLAGS) -o $@ $(OBJECTS) $(LFLAGS)
  
  main.$(OBJ):	main.c
  
  clean:
  	rm -f $(PROG) *.$(OBJ)
--- 28,54 ----
  # US_DATE selects date of form MMM DD YY, else date is DD MMM YY
  #
  CFLAGS	=	-DUS_DATE $(DEBUG)
! LFLAGS	=	-Lp /F 5000
  
+ DEFS = -DMSDOS -D__STDC__
+ BIND = bind
+ 
  CHMOD	=	chmod
  CP	=	cp
  RM	=	rm
  INSTALL	=	install
  
! all debug:	$(PROG).exe nenscrib.exe
! 
! $(PROG).exe : $(OBJECTS) nenscript.def
! 	$(CC) $(CFLAGS) -o $@ $(OBJECTS) $(LFLAGS) nenscript.def
  
! nenscrib.exe : $(PROG).exe
! 	$(BIND) $< /o $@ 
  
  main.$(OBJ):	main.c
+ 
+ .c.obj :; $(CC) -c $(CFLAGS) $(DEFS) $<
  
  clean:
  	rm -f $(PROG) *.$(OBJ)
   
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads