summaryrefslogtreecommitdiff
path: root/sys/src/cmd/upas/README
diff options
context:
space:
mode:
authorTaru Karttunen <taruti@taruti.net>2011-03-30 15:46:40 +0300
committerTaru Karttunen <taruti@taruti.net>2011-03-30 15:46:40 +0300
commite5888a1ffdae813d7575f5fb02275c6bb07e5199 (patch)
treed8d51eac403f07814b9e936eed0c9a79195e2450 /sys/src/cmd/upas/README
Import sources from 2011-03-30 iso image
Diffstat (limited to 'sys/src/cmd/upas/README')
-rwxr-xr-xsys/src/cmd/upas/README20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/src/cmd/upas/README b/sys/src/cmd/upas/README
new file mode 100755
index 000000000..2c9e10ff5
--- /dev/null
+++ b/sys/src/cmd/upas/README
@@ -0,0 +1,20 @@
+Once upon a time Upas ran on many versions of Unix.
+This is a partial rewrite to ANSI C specifically for Plan 9.
+It uses's Plan 9's bio library instead of stdio and Plan 9's
+regular expression library.
+
+I've tried to make portability possible but it has
+never been ported. To port Upas to another system:
+
+ - port Plan 9's libbio library working on that system (already available).
+ - port Plan 9's regexp library working on that system (should just compile).
+ - rewrite common/libsys.c to reflect system calls for that system. This
+ file contains all the really system dependent code that differs between
+ Plan 9 and each Unix. This includes file management, signal
+ handling, process control and error handling.
+ - change the important directory trees in common/mail.c to reflect
+ where you want things like
+ - get the ARGBEGIN/ARGEND/ARGF macros from Plan 9's libc.h
+ - get the include files correct in common/sys.h
+ - rewrite smtp/mxdial to use the conventions of that system
+ - rewrite runq.c to walk queues on that system.