README for the smail/PC Binary Distribution Version 2.5, PC Release 1.0 beta 3 Stephen C. Trier About 1.0 Beta 3 ---------------- This is the second release of smail/PC. I call this release smail/PC release 1.0 beta 3, which means that it is the third version within the beta-test period of version 1.0. It identifies itself in any mail headers it handles as "smail2.5/PC/1.0b3", which means that it is the PC version of smail 2.5, in the PC release 1.0 beta 3. There. Now that that's all over, let me explain why this release is necessary. The 1.0b2 release couldn't cope with system names shorter than six characters. I never noticed, since my system and all of its neighbors have names of six or more characters. You have seen the bug strike if uuio was unable to find the temporary files in the spool directory created by uux. The solution was to change one line in uux to force it to create names compatible with uuio. If you are running smail/PC 1.0b2, please replace the files smail.exe and uux.exe with the versions found in this distribution. If you have the source distribution, you will want to apply the patch to uux.c and defs.h, below. Unpacking This Archive ---------------------- Before unpacking these files, please make the following directories: .\BIN .\DOC .\ETC .\HOMES\JOE .\LIB .\MAIL .\MAN .\NEWS .\PUBLIC .\SPOOL .\TMP Unpack each archive file into the appropriate subdirectory. For installation information, please see README.DOS in the doc directory. Please remember to copy bin/smail.exe to bin/rmail.exe. The two programs are the same, except for their names. Only one copy is included here to save on disk space. The .MAN files in the doc directory are the formatted versions of the original smail manual pages. The nroff-ready source versions are part of the smail/PC source distribution. The Patch --------- If you don't have the 1.0b2 source distribution, please ignore this section. This is the patch to 1.0b2 to convert it to 1.0b3. I append the patch here for the convenience of those who do not wish to get both smailbin.zip and smailsrc.zip. This patch is in context diff format. It should be easy enough to decipher, or apply it with one of the "patch" commands that have been ported from Unix. *** old\defs.h --- defs.h ************** *** 27,33 */ #ifndef VERSION ! #define VERSION "smail2.5/PC/1.0b2" #endif #ifdef __TURBOC__ /* Autodetect MS-DOS from Turbo C */ --- 27,33 ----- */ #ifndef VERSION ! #define VERSION "smail2.5/PC/1.0b3" #endif #ifdef __TURBOC__ /* Autodetect MS-DOS from Turbo C */ *** old\uux.c --- uux.c ************** *** 9,14 * to change the file owner from uucp to news. * * This program is in the public domain. */ #include --- 9,19 ----- * to change the file owner from uucp to news. * * This program is in the public domain. + * + * Patch 1 written 5/23/90 by Stephen Trier: Change the definition + * of localname to avoid short host name bug. This way, both + * uuio and uux will use the same filenames. + * */ #include ************** *** 137,143 } /* Templates for filenames. P=path, C=character, S=system, N=seq. number */ ! #define LOCALNAME(P,C,S,N) "%s/%c_%s.%03.3d",P,C,S,N #define REMOTENAME(C,S,N) "%c.%.7s%04d",C,S,N void make_filenames(void) --- 142,148 ----- } /* Templates for filenames. P=path, C=character, S=system, N=seq. number */ ! #define LOCALNAME(P,C,S,N) "%s/%c_%s%04.4d.%03.3d",P,C,S,N,N #define REMOTENAME(C,S,N) "%c.%.7s%04d",C,S,N void make_filenames(void)