There are a couple places where I'm sure this code isn't totally portable.
The big one is the new diskio.c file.  I had to include sys/stat.h and
strarg.h, which may or may not be found under mac, amiga, or windows
systems.  If your compiler can't find these files, comment out the
includes and see which functions won't compile.  Your compiler
documentation should be able to tell you the correct header to include or
you may be able to find a substitute function.

There is also a hack in diskio.c that I don't know how to fix correctly.
In order to save a little disk IO, I'm using the _fileno variable in
struct FILE.  I got everything working under freebsd simply by changing
_fileno to something I can't remember, but I think it was file_no.  You
can track that down by running gdb on a funciton with a FILE in it, and
typinf print *file (or whatever the file variable is).  That's how I
figured out the file descriptor.  You may be able to do something similar
in windows (again, consult your documentation).

The included scripts will probably work on most systems.  If anyone would
like to submit windows versions please feel free.

I'll try to help out with any porting problems you've got, but please
don't email me unless you can provide very specific information.
