ftp.nice.ch/pub/next/unix/graphics/nphoon.README

This is the README for nphoon.N.bs.tar.gz [Download] [Browse] [Up]

This is an adaptation of the quite clever program by Jef Poskanzer and 
Craig Leres, xphoon.  Most of the code is theirs.  All the windowing
code was very nicely separate from the rest of the program, so all I 
had to do was replace their window code with code to work for the NeXT.

Their code has a bitmap compiled into the program, then it hacks the
bitmap to do the shading.  Then we get to the window specific stuff.
What my code does is take the hacked moon bitmap, and output it to a file
in xbitmap format.  Then it runs the xbm through three programs from
the pbmplus package, and finally run the "background" program on the 
file.  Background is by C.D.lane (lane@sumex-aim.stanford.edu) and
Gilles Detillieux (gilles@scrc.UManitoba.CA).  It uses "pft" to set the 
NeXT background window.

This was a quick slap together of a weekend.  No guarantees that all
the options work.  It takes a lot longer to run than xphoon, since it
uses all those other programs.  

The pbm and background programs are in the "programs" directory, for 
those who don't have them.  These programs were compiled on OS 2.0.

COMPILATION

Type "make" to make.  Type "make install" to install.  The pbm programs
and background program aren't included in the install process, in case they 
would overwrite your own copies.  I've only compiled this under 2.0, but
there isn't anything that should be OS specific, it should work fine
under 1.0.

TODO
1. It would be best if the output were in eps rather than xbitmap format.
Then the pbm programs could be dispensed with.  Trouble is, I didn't have
the right postscript docs, so I don't know what eps format looks like.  

2. The program should not call the "background" program.  Instead, it 
should incorporate the required code, cat the eps onto the back of it,
and call "pft" with a "system" call, on the resultant file.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.