This file contains Jeff Lydiatt's README as well as my own. In the future, others may be tacked onto the end. Frank Edwards ------------------------------------------------------------------------- README.Amiga July 29, 1987 Jeff Lydiatt This directory contains all the support code for the dcp serial I/O routines, the directory manipulation support, code to support a portable version of the unix getenv() function, and the startup code for both uupc and mail. Here is a brief description of the files: Directory of PCMail:PCMail/AMIGA makefile - compiles support modules for this directory. Makefile.ami - makefile for uupc directory genv.h - header file for genv.c host.h - includes for uupc and mail programs. ndir.h - Amiga version of unix directory structures. SerialIO.c - very low level serial I/O device support. Timer.c - provides low level timer device support. chdir.c - chdir( path), makes "path" the current directory. genv.c - reads the profile, provides getenv() function. genv.dyna - more flexible version of the above, but gurus! getcwd.c - return the path name of the current directory. host.c - prologue and epilogue for both uupc and mail. mkdir.c - code for mkdir() to make a directory. mlib.c - not sure: not used by anything I can see. ndir.c - defines opendir(), readdir(), and closedir(). sio.c - defines SIOInit(), SIOSpeed(), SIOInBuffer(), SIOClose(), SIOWrite(), SIORead() sleep.c - implements sleep( seconds ); ulib.c - implements dcp routines swrite(), sread(), openline(), closeline(), rnews(), and shell(). You should first compile all the all the files in this directory using the makefile supplied. Not all files need to be compiled here. Some of the object modules need to be in the primary, portable-file directory and will be included as needed from there. BUGS: This version has been compiled and tested under Manx Aztec C v3.40a with patch 3 installed. I have been using it extensively over the past couple of weeks with minor problems. There is an occasional guru that I can't seem to trace down, so beware. There seems to be a problem if the functions contained in genv.c uses malloc to support environment variables. The genv.bac version contains a slightly out of date version that would be much nicer to use if someone can find the problem. If you have any questions, please contact me: jlydiatt@jlami.van-bc.UUCP (Jeff Lydiatt) {ihnp4!albera!ubc-vision,uunet}!van-bc!jlami!jlydiatt ------------------------------------------------------------------------- As of Dec 12, 1989, I have been using Manx 3.6a for developing the UUPC/Mail code with no problems during execution. (Including Jeff's occasional guru :-) There is a bug (I assume) in Lattice's stub for the serial I/O device, since the modem communication routines don't work when compiled with Lattice, but *DO* work under Manx!! You will also need the ../libcnews.lib library when linking this package since the built-in rnews() function makes use of it. Also the ../include directory for similar reasons. Otherwise, examine the makefile and if you like the flags, type MAKE!! (CNews can be turned off by removing the -DCNEWS in the CFLAGS variable in the Makefile. Since I personally don't want it turned off, I haven't tried this yet.) I have made *many* modifications to the source since the time I got it. I'll try to give a run-down: changed strlen/strcpy to memset/memcpy, as appropriate, in dcpgpkt.c, added output to the SYSLOG file (looks like HDB's xferstats), moved SYSLOG and LOGFILE into $LOGDIR instead of $SPOOLDIR, added C-News support in the form of a built-in "rnews()" (see ulib.c and rnews.c), cleaned up the code in pcmail.c added an interactive subject line prompt, additional headers, news-posting support, changed the format of the header listing when reading mail, and more Future additions include: CALL TIME support for the Systems file (unimplemented right now) Permissions file as in HDB Some method for externalizing the dialer(s) (HAYES is it, for now) Full-screen, Intuition-oriented mail reader Full-screen, Intuition-oriented news reader (this one may have to wait for awhile since I don't have the news reader from the CNews package) I can be reached (usually) at: crash!ckctpa@boake2 which is ...!uunet!pdn!boake2!ckctpa!crash or at (813) 786-3675, if you prefer.