D                                                 28 March 2000.  SMS.  0                      Wget 1.5.3 for VMS (1.5.3f)0                      ===========================  H ------------------------------------------------------------------------         Disclaimer       ----------  B    No claims of any sort are made herein.  The real Wget author isE probably unaware of (or indifferent to) this effort.  Any suggestions H for improving the code in the VMS-specific sections are welcome, but low/ expectations are more realistic than high ones.   H ------------------------------------------------------------------------         Description        -----------   F    This note accompanies a quick VMS port of Wget version 1.5.3, a GNUD free network utility to retrieve files from the World Wide Web usingH HTTP and FTP.  The most obvious features seem to work, but many have not been tested.  5    Built and tested (slightly) in these environments: / Alpha VMS V7.2, DEC C V6.0-001, and TCPIP V5.0. 3 VAX VMS V6.2, DEC C DEC C V6.0-001, and TCPIP V5.0.   H ------------------------------------------------------------------------  
       News
       ----      Version 1.5.3f  2000-03-28     --------------------------   F - Changed URL.C for VMS to translate "~" and "@" in a file name to "-"   and "$", respectively.  G - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -       Version 1.5.3e  1999-12-29     --------------------------   G - Changed HTTP.C ("mktime_from_utc()") to fix an ACCVIO when "gmtime()" A   returned a NULL pointer.  Now, on VMS, if "gmtime()" fails, the E   routine uses "SYS$TIMEZONE_DIFFERENTIAL" to estimate the difference A   between the UTC file time and local time.  Daylight saving time 5   differences can leave this result wrong by an hour.   G - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -       Version 1.5.3d  1999-12-19     --------------------------   G - Changed DESCRIP.MMS and WGET.OPT to build object and executable files H   in CPU-specific directories ([.SRC.VAX] or [.SRC.ALPHA]).  Added a newB   master build command procedure, VMS-WGET.COM, which sets MMK-MMSA   macros for CPU type and IP software, then runs MMK or MMS.  See ,   comments in VMS-WGET.COM for more details.  < - Added code for VMS V6.2 and for Multinet TCP/IP.  (ChangedH   CONFIG.H_VMS, DESCRIP.MMS, FTP.C, HTTP.C, SYSDEP.H, VMS.C, and VMS.H. E   Added VMS_IP.H and WGET_MULTINET.OPT.)  Thanks to Jerome Lauret for @   help with the Multinet and VMS V6.2 changes, and the HELP file
   (below).  3 - Added [.DOC]WGET.HLP, a very basic VMS HELP file.   C - Fixed spurious '#include "vms.h"' in FTP-LS.C on non-VMS systems.   7 - Fixed UTC-to-local time conversion.  (Changed VMS.C.)   G - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -       Version 1.5.3c  1999-12-03     --------------------------    - Changed FTP-LS.C: D    - Automatically senses and works with VMS DIRECTORY listings (FTPE      DIR).  This was tested with fewer than all VMS FTP servers.  Any B      problem report should include a sample FTP DIR listing and/or7      access information for the troublesome FTP server. G    - Assumes that times in the FTP DIR listing are local time, not UTC. E    - Adjusts local file times by the VMS logical name (or environment C      variable) "WGET_TIMEZONE_DIFFERENTIAL", the (signed) number of H      seconds to add to the remote file time to get the local file time. F      For example, a user in Minnesota (US Central time) fetching filesH      from an FTP server in the UK could shift the reported file times byE      six hours with "DEFINE WGET_TIMEZONE_DIFFERENTIAL -21600" before       running WGET.  H - Redistributed the labor of UTC-to-local time conversions.  (HTTP.C and   VMS.C)  B - Added "#define OS_TYPE "VMS" to CONFIG.H (for use in MAIN.C when"   "DEBUG" is defined in CONFIG.H).  D - Updated DESCRIP.MMS.  Fixed a problem creating a new CONFIG.H from   CONFIG.H_VMS.   G - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -       Version 1.5.3b  1999-10-03     ---------------------------  E    Since the first non-release near 1999-08-19, the following changes  have been made:   C - Late changes to INIT.C and NETRC.C have been included in the kit.   : - HTTP.C was changed to avoid ACCVIO when the logical nameC   SYS$TIMEZONE_DIFFERENTIAL or SYS$TIMEZONE_DAYLIGHT_SAVING was not 
   defined.  C - DESCRIP.MMS has been enhanced to add a "CLEAN" target, to specify =   explicitly the dependencies for the object files, to create D   [.SRC]CONFIG.H, if necessary, and to accomodate an optional macro,?   "DBG", which adds "/DEBUG" options to the compiler and linker D   option lists.  Use MMK (or MMS) option "/MACRO = DBG" to build the   debug executable.   < - The program version identifier was changed from "1.5.3" to   "1.5.3b".    - This document was updated.  H ------------------------------------------------------------------------         Home source URL        ---------------      6 ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/wget.tar.gz  H ------------------------------------------------------------------------  -       Changes to source files (all in [.SRC]) -       ---------------------------------------       Files new for VMS:   /       CONFIG.H_VMS       VMS-specific CONFIG.H. >       DESCRIP.MMS        MMK or MMS description ("make") file.G       VMS-WGET.COM       DCL procedure to build the executable from the D                          source, using MMK or MMS (and DESCRIP.MMS).H       VMS.C              "utime()" replacement function.  For VMS before@                          V7.0, "getpwuid()" and "localtime_r()".D       VMS.H              Replacement for <utime.h>.  Declarations ofG                          replacement data types/structures and function $                          prototypes.=       VMS_IP.H           IP software type-specific "#include" ?                          directives.  Used by FTP.C and HTTP.C. +       WGET.OPT           LINK options file. C       WGET_MULTINET.OPT  LINK options file supplement for Multinet.         Files modified for VMS:  ,       CMPT.C            Made tidy for DEC C.,       CONNECT.C         Made tidy for DEC C.F       FTP-LS.C          Added support for VMS FTP servers.  Fixed fileG                         times.  Added "WGET_TIMEZONE_DIFFERENTIAL", for -                         file time adjustment. ,       FTP.C             Made tidy for DEC C.,       FTP-BASIC.C       Made tidy for DEC C.G       HTTP.C            Made tidy for DEC C.  Added code for Multinet.  @                         Added code to try using the logical nameD                         "SYS$TIMEZONE_DIFFERENTIAL" for UTC-to-local=                         time conversions if "gmtime()" fails. F       INIT.C            Changed to use "SYS$LOGIN:.WGETRC" as the nameD                         of the initialization file.  Changed to open=                         this file in text mode, not binary.   H       NETRC.C           Changed to use "SYS$LOGIN:.NETRC" as the name of8                         the user name and password file.,       RBUF.C            Made tidy for DEC C.E       URL.C             Added code to replace unacceptable dots (".") C                         and tildes ("~") with underscores ("_") and H                         hyphens ("-"), respectively, in URL-derived file'                         specifications. G       UTILS.C           Added VMS-specific code to work around the lack 7                         of "fork()" and symbolic links. A       VERSION.C         Changed version from "1.5.3" to "1.5.3f".   H ------------------------------------------------------------------------         Instructions       ------------  D    Extract the files from the distribution kit.  The kit includes an? Alpha executable, "[.WGET-1_5_3F.SRC.ALPHA]WGET.EXE", and a VAX - executable, "[.WGET-1_5_3F.SRC.VAX]WGET.EXE".   H    The command procedure VMS-WGET.COM attempts to determine the CPU typeF and the IP package, defines the appropriate macros for MMK or MMS, and7 then builds the appropriate executable from the source:   $       SET DEFAULT [.WGET-1_5_3F.SRC]H       @ VMS-WGET CLEAN ! Deletes all object and executable files for the*                        ! current CPU type.F       @ VMS-WGET       ! Copies CONFIG.H_VMS to CONFIG.H, compiles the@                        ! source files, and links the executable,G                        ! WGET.EXE.  Add "DASHD" to this command line to G                        ! enable the Wget "-d" command-line option.  Add D                        ! "DBG" to this command line to build a debug&                        ! executable.    *    Set the symbol for the foreign command:  6       WGET :== $ {actual_device_and_directory}WGET.EXE  C    A very basic VMS HELP file is supplied in [.DOC]WGET.HLP.  To be G used, it must be added to a HELP library, either an existing library or C one just for Wget.  A typical command to create a new help library,  WGET.HLB, might look like this:   -       LIBRARY /CREATE /HELP WGET.HLB WGET.HLP   E    When a new HELP library is created, a logical name "HLP$LIBRARY_n" ? may be defined to allow the HELP utility to find it.  See "HELP  /USERLIBRARY" for details.  H    Try to read the original documentation to learn how to use Wget.  The1 principal differences in this VMS adaptation are:   :    "-b" ("background") has no effect.  (It uses "fork()".)  >    Excess dots are replaced by underscores in URL-derived file7 specifications.  For example, on a UNIX system, the URL A "ftp://ftp.anywhere.org/x.y.z/a.b.c" could produce the local file D "ftp.anywhere.org/x.y.z/a.b.c".  With this VMS adaptation, the local/ file would be "[.FTP_ANYWHERE_ORG.X_Y_Z]A_B.C".   H ------------------------------------------------------------------------  C    The accompanying source kit suffers from storage on an ODS2 file E system, which does not preserve case or allow multiple dots in a file G name.  Building this kit should work on VMS,  but it may be expected to F fail on other systems.  Commands like the following should restore the" original names (on a UNIX system).  (    mv  authors                   AUTHORS*    mv  changelog                 ChangeLog(    mv  copying                   COPYING(    mv  install                   INSTALL)    mv  machines                  MACHINES -    mv  mailing-list              MAILING-LIST ,    mv  makefile.in               Makefile.in%    mv  news                      NEWS '    mv  readme                    README %    mv  todo                      TODO   .    mv  doc/changelog             doc/ChangeLog0    mv  doc/makefile.in           doc/Makefile.in  2    mv  po/makefile.in_in         po/Makefile.in.in/    mv  po/potfiles.in            po/POTFILES.in -    mv  po/pt_br.gmo              po/pt_BR.gmo ,    mv  po/pt_br.po               po/pt_BR.po  .    mv  src/changelog             src/ChangeLog0    mv  src/config.h_in           src/config.h.in0    mv  src/makefile.in           src/Makefile.in)    mv  src/tags                  src/TAGS   1    mv  util/makefile.in          util/Makefile.in ,    mv  util/readme               util/README  0    mv  windows/readme            windows/README 5    mv  windows/config.h_ms       windows/config.h.ms  6    mv  windows/makefile.doc      windows/Makefile.doc 6    mv  windows/config.h_bor      windows/config.h.bor 6    mv  windows/makefile.src      windows/Makefile.src 6    mv  windows/makefile.top      windows/Makefile.top 9    mv  windows/makefile.watcom   windows/Makefile.watcom  :    mv  windows/makefile.top_bor  windows/Makefile.top.bor :    mv  windows/makefile.src_bor  windows/Makefile.src.bor   H ------------------------------------------------------------------------  C    Steven M. Schweda               (+1) 651-699-9818  (voice, home) C    382 South Warwick Street        (+1) 763-781-0308  (voice, work) G    Saint Paul  MN  55105-2547      (+1) 763-781-0309  (facsimile, work) 9    sms@antinode.org                sms@provis.com  (work)   