[comp.mail.misc] UUPC/extended 1.11c available

help@kendra.kew.com (Drew Derbyshire - UUPC/extended Help Desk) (06/26/91)

UUPC/extended, a small free mail package for exchanging mail between an
MS-DOS based PC and any system running UUCP or UUPC has been updated,
and is now available from the sources listed below.  A summary of
changes for the new release also follow.

Please direct all questions to help@kendra.kew.com.  I no longer regular
read news, so do not post questions destined for help on this news
group.

-ahd-





     June 22, 1991                 UUPC/extended 1.11c Download Information

     Revision:
     
     This document applies to UUPC/extended version 1.11c, and was
     formatted on June 22, 1991 at 22:39:37.
     
     Introduction:
     
     UUPC/extended 1.11c is available via:

       *  Anonymous FTP from sun.soe.clarkson.edu, directory pub/uupc.

       *  Anonymous FTP from wsmr-simtel20.army.mil, directory
          PD1:<MSDOS.UUCP>.

       *  Automated mail server running on Clarkson University's
          sun.soe.clarkson.edu.

       *  Clarkson University BBS

       *  The Kermit server running on kendra, my home system.
     
     Because kendra is the system I develop UUPC/extended on, the files
     available from kendra's kermit server will always be the definitive
     versions.  However, I have no intention of releasing an excessive
     number of releases, so normally the FTPable version will be current.
     
     SPECIAL NOTE:
     
     Because of time and disk space restrictions, I do not mail copies of
     the source or executables, provide custom .ARC or .ZIP files with only
     a limited set of the files, or provide other distribution services--
     please don't ask.  I do answer my mail, especially from other people
     who have modifed on UUPC/extended or UUPC, and I also at least
     acknowledge bug reports (remember, I run this software too).
     
     FTP instructions:
     
     FTP programs vary from system to system; contact your local system
     support staff for instructions on anonymous FTP.  Note that because of
     simtel20's popular archives, sun.soe.clarkson.edu is generally easier
     to connect to via anonymous FTP.
     
     sun.soe archive server instructions:
     
     Send mail to archive-server@sun.soe.clarkson.edu and ask for help.
     Once you read the read help message, you can request files using
     commands such as "send uupc uupc11cu.zip".
     
     Clarkson BBS instructions:
     
     The Clarkson University Bulletin Board is a Xenix system, and be can
     reached 24 hours a day at (315)268-6667, 8N1, 1200/2400 Baud.  To get
     the "login:"  prompt, you may have to send a BREAK.  New users should
     download 00readme.bbs from the root directory.

                                     - 1 -                                 








     June 22, 1991                 UUPC/extended 1.11c Download Information

     
     Kermit Instructions:
     
     To retrieve UUPC/extended via Kermit, you will have to have a Kermit
     which can issue the GET and FINISH commands to a Kermit server.

       1. Set your Kermit to:

            *  Its maximum packet size         (optional)

            *  3 byte checksum                 (optional)

            *  2 Windows                       (optional)

            *  1200 or 2400 baud

            *  No parity

            *  ^S/^Q flow control

       2. Call 1-617-641-4817 between 9 AM and 5:30 PM weekdays, and any
          night between 11:30 PM and 6 AM (All times are Eastern).  At all
          other times, the system will reject your call.

       3. After connect, press ENTER and kendra's "login:" prompt will
          appear.  Enter the user id "anonymous"and press ENTER.

       4. The "password:"  prompt will appear.  Enter the password,
          "ribbit", and press ENTER.
          
          Note: Both the user id and password are case sensitive, and you
          cannot backspace when typing them in.  If you make an error then
          press ENTER until you get the "login:"  prompt again and start
          over.  The user id will not echo until you press ENTER, and the
          password will not echo at all.

       5. A short hello message will appear, and then MS-Kermit will await
          your command.  Escape to your local command mode, and then issue
          a GET for one or more of the files listed below.

       6. When done, issue the FINISH command to shutdown the Kermit
          server.  DO NOT just hang up your telephone, because then you
          will lock up kendra, which is not critical but is unkind since
          now you know better.

     









                                     - 2 -                                 








     June 22, 1991                 UUPC/extended 1.11c Download Information

     About the files:
     
     The files available include:
     
               Name                   Description
         uupc11cs.zip    Source files for UUPC/extended, PKZIP format
         uupc11cw.zip    Raw documentation files for UUPC/extended, PKZIP format.
         uupc11cu.zip    Run time (.EXE and .DOC files) only for MS-DOS,
                         PKZIP format.
         uupc11c2.zip    Executable files only for OS/2, PKZIP format.
         howtoget.doc    This file.  (Only available on kendra and
                         sun.soe.clarkson.edu)
         announce.doc    A summary of the new release. (Only available
                         on kendra and sun.soe.clarkson.edu)
     
     The file uupc11cs.zip includes the source, makefiles for Borland C++
     and MS C 6.0.  The uupc11cu.zip file includes the executables and
     formatted documents.  Both uupc11cs.zip and uupc11cu.zip include the
     same sample files; the uupc11c2.zip file requires the documents and
     sample files from the uupc11cu.zip file.
     
     The uupc11cs.zip file should be PKUNZIPed with the unpack directory
     (-d) option.
     
     The files names change with each release, to include the release
     number in the file name, but the last character of the suffix is the
     same for each file in every release.  The source .ZIP file has an "S"
     suffix, and the user file (executables) has an "U" suffix, the raw
     documents .ZIP file has a "W" suffix, and the OS/2 file has a "2"
     suffix.
     
     Thanks to:
     
     Russ Nelson of Clarkson University's Educational Computing Systems and
     Keith Peterson of simtel20 aid me in getting each release out to the
     public.  Many thanks to both of them, and also to Clarkson
     University's Educational Resources Center for providing upload
     facilities.
     
     A final thanks to Alan Steele of the Massachusetts Institute of
     Technology and eddie.mit.edu for handling kendra's Internet mail
     forwarding (including all those questions to help@kendra.kew.com).
     
     Other trivia:
     
     I use UUPC/extended to answer the telephone on kendra, and MS-Kermit
     is the program I run to provide the Kermit server; the current source
     and executable for MS-Kermit is available via anonymous FTP from
     watsun.cc.columbia.edu.
     
     Please direct all questions on downloading to help@kendra.kew.com.
     



                                     - 3 -                                 






June 24, 1991                   UUPC/extended 1.11c Revision Summary



Revision:

This document applies to UUPC/extended version 1.11c, and was
last updated on June 24, 1991 by Drew Derbyshire.


Introduction:

This file summarizes most changes made to UUPC/extended since
release 1.09a.


Bugs fixed in Version 1.11a through 11.1c:

     Note: Thanks go to Katherine E. Williams,
     kewms@athena.kew.com, for assisting in the debugging of many
     of the UUCP related problems in this release and footing the
     long distance phone bill from athena to her sibling kendra.

Altered  importpath() (again!) to add the length of the saved
local or remote hostname in the converted DOS name.  Also
reordered the DOS character set used to generate spool directory
names.

     NOTE:  This conversion means that UUPC/extended 1.11
     generated spool files will not be recognized by previous
     releases, and vice-versa.  Any mail queued for a remote host
     will cause UUPC/extended 1.11 to report "file not found" for
     the data files.

Also altered importpath() to correctly map invalid names for
files not destined for the spool directory, including mapping ALL
invalid characters (rather than just periods) to underscores,
always treating a leading period as invalid, and attempting to
find the "best" period to to use as the divider between file name
and extension.  This affected some file transfers with UUCP.

Made global change so host status information is saved in
structure external to host information; the status information
structure is now only allocated for real hosts, saving 40 bytes
per entry in the HOSTPATH file.

Modified router.c to dynamically reallocate storage for user
alias table, removing upper limit of 250 defined user aliases.

Modified hostable.c to dynamically reallocate storage for host
table, removing defined limit of 100 known hosts.

Added ability to ExtractAddress() to return next address in list,
for future use in a 'Replyall' command.

Modified RetrieveLine() to return a logical RFC-822 line rather
than a physical line; this corrects the inability to process a
From line which exceeds one physical line.

Modified various routines to accept standard UNIX tilde (~)
syntax for file names, including ~/filename for the current
user's home directory, and ~other/filename for a file in the home
directory of user id "other".  This syntax may now be used on the
mail command line with the '-f' option, with ~r command for
including files when sending mail, and for file names specified
in FORWARD files.

     Note:  The old syntax for a file name in the home directory
     prefixed by an equal sign (-) is obsolete, as is the syntax
     for an user's mailbox prefixed by a tilde (~).  This latter
     syntax is replaced by an user's mailbox prefixed by a plus
     sign (+).

The postmaster defined in the UUPC.RC file must be a local user
id; previously, it was implicitly allowed to be a remote user id.

The new boolean option "verbose" is added to the list of valid
options; the default, "noverbose", causes routine mail delivery
messages issued by rmail to be suppressed when the debug level is
less than 2, and rmail is in local delivery mode.  Messages for
mail delivered from remote systems under the control of UUXQT are
unaffected.

The prefix "rmail" is dropped from all messages issued by rmail.c
and deliver.c.

If the debug level is less than 2, messages written to the log
files (UUCICO.LOG and RMAIL.LOG) are prefixed by a timestamp
rather than the debug level.

If logging is being done to the console (such as in MAIL and
UUSTAT), the debug level is automatically suppressed.

The log file UUIO.LOG is renamed to UUCICO.LOG.

expand_path() is modified to allow specifying the current and
user home directories.

Mail now reports when it is cleaning up the updated mailbox,
printing a period (.) for each deleted item, a plus sign (+) for
each item saved in the file ~/mbox, and a asterisk (*) for each
item returned to the original mailbox.

The ability to invoke a MS-DOS or OS/2 subshell is restored by
typing an exclamation point (!) with no operands.

Parse822() is modified to compare buffers on a case-insensitive
basis.

BuildAddress() is modified to not strip path information if a
"domain" address is actually in the pseudo-domain "UUCP".

All local users are added to the alias table so that the names
defined in the PASSWD file are used if no alias is defined for
them.

Altered UUCP and RMAIL to use the local user id, when available,
in control files for remote transfers.  This improves reporting
by UUSTAT.

ValidDOSName, a subroutine in import.c, rejected some valid DOS
names because it failed to allow for a valid period.  It also
failed to detected when file extensions were longer than three
characters.  This affected some file transfers with UUCP.

UUCP generated a variety of boring debugging output.  Changed
most output to use printmsg at 1 level, and then set the default
debuglevel for the program to 0.

SIOSpeed in ulibos2.c incorrect printed the user name rather than
the port name when reporting it could not set the speed for the
port.  Because the port name is not available, changed the string
to the literal "port".

Hosts performing site hiding should flag which "hidden" host
created a message; corrected by adding the nodename to the
message id.

Mail failed to properly perform lookup on local user ids defined
in the PASSWD file.  Modified ExplodeAlias to correctly extract
userids to use in alias searching.

Mail failed to properly append the local domain to mail within
the domain.  Modified ExplodeAlias to detect simple user@node
addresses and add the local domain.

ExtractAddress failed to handle quoted addresses properly;
rewrote routine to properly omit delimiters but leave literals
(including quoted delimiters) alone.

The UUPC/extended 1.10a documents failed to note that the
automatically written file LOGFILE is now written to two files,
RMAIL.LOG and UUIO.LOG.  Duty noted here.

The UUPC/extended 1.10a sample SYSTEMS file is wrong; for all
devices, the fourth token must be the modem speed, and thus the
phone number is shifted right to be the fifth token on the line.
Corrected in the example.

The sample aliases.txt file is missing the closing quote on the
name for the alias uupcinfo.  Corrected in the example.

The nmake file, for building the DOS UUPC/extended programs via
Microsoft C, incorrectly lists the release number as 1.09c.
Corrected in the makefile.

The nmake file builds the files RMAIL.EXE and RNEWS.EXE when the
configuration file expects RMAIL.COM and RNEWS.COM.  Corrected
sample UUPC.RC to explain when .EXE must be used.

The HOWTOGET.PRN file incorrectly lists the name of the OS/2
archive as UUPC10AU.ZIP; the correct name is UUPC10A2.ZIP.   Duly
corrected.

If the option 'fixedspeed' is not specified in the configuration
file for modems which do not return a valid speed upon connecting
will cause UUIO to crash with divide by zero error.  Adding the
option to the modem configuration file provides a work around.
Fixed both sample file DIR.MDM (added fixedspeed) and altered
autobaud() to handle when there is no valid speed provided.

Due to an erroneous change in the main loop for the UUIO state
machines, specifying or defaulting to the system name to 'any'
causes UUIO to only call the first system with files to be sent,
instead of all systems with work.  Correct by adding break
statements as required in dcp.c.

RMAIL generates a Sender: line even when the From: line exists
and is correct for the current user.  Modified Parse822() to
check for the domain name in addition to the local hostname to
avoid generating the field in error.

Because the function xscandir() always restarts its search for
execute (X.*) files, any action which causes a file to be skipped
could cause UUIO to loop when delivering received mail or news.
Replaced xscandir() with a new function, xreaddir(), which reads
the entire directory in one pass and returns the contents in a
linked list.

Because the function scandir() always restarts its search for
call (C.*) files, any action which causes a file not to be sent
could cause UUIO to loop while sending files.   Modified
scandir()  to save its current search status and thus only make
one pass through directory.

There is a bug in the DCPSYS state machine in that when the
attempt to build up a connection is unsuccessful, UUIO tries to
end the connection by sending 'ooo' instead of just resigning.
When the login was unsuccessful, the state machine should return
'I' instead of 'Y' to improve performance.  Duly corrected.

The file rmail.c has a compile warning at line 254: suspicious
pointer conversion in function main.  Corrected in the source.

If a wild card domain (*.domain.name) is specified in the
HOSTPATH file, the Reply command incorrectly inserts the wild
card domain in the mail header.  Corrected by not using routing
field for wildcarded names in HostAlias().

Modified DeliverLocal() to beep when delivering validated local
mail.  Previously, it failed to so in some cases.

Corrected name of variable handle to stream in numerous source
files, because the variables do in fact define streams (pointers
to FILE) rather than handles (integers).

The BUGS.PRN file was several months out of date.  Duly updated
with new, interesting ways to commit electronic hari-kari via
UUPC/extended.

The volume of documentation related changed function was getting
out of hand.  Dropped the summary of changes between UUPC 1.05
(interim.arc) and UUPC 1.07g from the distribution, and trimmed
this summary of changes to only include since release 1.09a.

Lengthened buffer length in login() so that the login message for
hosts with long names does not cause a buffer overrun.


Enhancements Made in Versions 1.11a Through 1.11c:

Broke UUIO.EXE program into two components, UUCICO.EXE (call-in-
call-out) and UUXQT.COM (execute).  UUPOLL transparently handles
these programs for the user, or the user can invoke a newly
supplied UUIO.BAT to perform the same function as the old UUIO
program.

Mail included in a reply now has a summary line listing the date
and sender.

Connection summary information is now recorded by UUCICO in a
fixed length file (HOSTATUS) in the spool directory.  If the file
doesn't exist, it is automatically created.

Added new program, UUSUB, to summarize connection information
generated by UUCICO.

Added new program, UUSTAT, print, summarize, and kill jobs queued
for delivery by UUCICO.  For details on UUSTAT see its manual
page, UUSTAT.MAN.  This program also supports a refresh job
option, but the feature serves no useful purpose and work on the
function is incomplete.  Many thanks to Dewey Coffman for the
prototype and documentation for UUSTAT.

Broke import.c into import.c and arbmath.c to allow use of math
routines by new export.c.

Enhanced MAIL to print a short summary of commands and their
functions in response to the question mark (?) command; formerly,
this command printed the same help file as the help command.

Enhanced various functions in deliver.c to report where mail is
delivered from when reporting where mail is being delivered to.

Re-wrote makefile for Microsoft C (nmake) to handle both MS-DOS
and OS/2; deleted now obsolete nmakeos2 makefile.