13e12c5d1SDavid du ColombierOnce upon a time Upas ran on many versions of Unix. 2*219b2ee8SDavid du ColombierThis is a partial rewrite to ANSI C specifically for Plan 9. 33e12c5d1SDavid du ColombierIt uses's Plan 9's bio library instead of stdio and Plan 9's 43e12c5d1SDavid du Colombierregular expression library. 53e12c5d1SDavid du Colombier 63e12c5d1SDavid du ColombierI've tried to make portability possible but it has 73e12c5d1SDavid du Colombiernever been ported. To port Upas to another system: 83e12c5d1SDavid du Colombier 93e12c5d1SDavid du Colombier - port Plan 9's libbio library working on that system (already available). 103e12c5d1SDavid du Colombier - port Plan 9's regexp library working on that system (should just compile). 113e12c5d1SDavid du Colombier - rewrite common/libsys.c to reflect system calls for that system. This 123e12c5d1SDavid du Colombier file contains all the really system dependent code that differs between 133e12c5d1SDavid du Colombier Plan 9 and each Unix. This includes file management, signal 143e12c5d1SDavid du Colombier handling, process control and error handling. 153e12c5d1SDavid du Colombier - change the important directory trees in common/mail.c to reflect 163e12c5d1SDavid du Colombier where you want things like 173e12c5d1SDavid du Colombier - get the ARGBEGIN/ARGEND/ARGF macros from Plan 9's libc.h 183e12c5d1SDavid du Colombier - get the include files correct in common/sys.h 193e12c5d1SDavid du Colombier - rewrite smtp/mxdial to use the conventions of that system 203e12c5d1SDavid du Colombier - rewrite runq.c to walk queues on that system. 21