A Unix port of Patcher
Status
This Unix port is a very quick and dirty hack.
In plain English, it sucks. Expect bugs.
Please do not complain to Jim Flynn about the Unix version of
patcher. He is not responsible for it.
Bug reports should go to André Majorel.
Differences
Patcher is very well integrated with its native environment, DOS.
This is good but because of this, it contains many DOSisms, both
in the code and in the design. For that reason, the Unix version
has to differ from the original version in a number of places.
User-visible differences
- Replaced original "custom" command line editing routines
by libreadline. Felt that readline() is more powerful and it's
easier to use it than to port the original routines.
- Added notice to discourage users from bugging Jim about
my bugs.
- TODO: Replace options like "/C:foo" by "-c foo"/"-cfoo".
Make them case-sensitive.
- TODO: Replace all tests for "\" in paths by "/".
Perhaps make the DOS version accept both.
- TODO: Write a man page
Developer-level differences
- Wrote replacements for stricmp(), strnicmp(), strupr()
and strdup().
- Added module nondos.h and nondos.c for stubs and dummy
definitions where grx20, conio, etc. are not available.
- Changed makefile.
- Replaced CRLF by LF.
- Removed ^Z at the end of files.
- TODO: Handle date/time better.
- TODO: Take care of the _dos_find*() problem.
- TODO: Look into searchpath(), _fixpath(), etc.