home *** CD-ROM | disk | FTP | other *** search
/ Der Mediaplex Sampler - Die 6 von Plex / 6_v_plex.zip / 6_v_plex / DISK5 / DOS_01 / 4DVC31.ZIP / README.1ST < prev   
Text File  |  1991-02-07  |  19KB  |  287 lines

  1.                         4DVC: 4DOS Version Control
  2.  
  3.  
  4.     Thanks for looking into 4DVC. To get started, make sure that all 4DVC files
  5. are either in your current directory or in a directory defined in your PATH
  6. Environment Variable. Then simply enter "4DVC" from the 4DOS Command-Line.
  7. Select option "I" for information about 4DVC and its uses/requirements.
  8.  
  9.     Minimum Requirements:
  10.     1) 4DOS 3.02       *
  11.     2) PK(UN)ZIP 1.1   *
  12.     3) At least 128 bytes of free Environment Space
  13.     4) KEYSTACK.SYS loaded as a Device Driver in your CONFIG.SYS file.
  14.  
  15.     * 4DOS is copyright Rex C. Conn and J.P. Software
  16.     * PKZIP and PKUNZIP are copyright PKWARE, Inc.
  17.  
  18. ================================================================================
  19. Release Notes:
  20.  
  21.  2.11 - First Public Domain Release
  22.  
  23.  2.20 - Added logic to scan the PATH for 4DVCREAD.ME so that the file does not
  24.         have to reside in your current directory.
  25.  
  26.  2.21 - Added instructions at front-end of 4DVC to ensure that all files used by
  27.         4DVC are accessible via the PATH. Also added a check to ensure that
  28.         enough Environment Space is available before allowing 4DVC to run.
  29.  
  30.  2.22 - Moved edit-checks to a separate .BTM file (4DVCCHK.BTM). Edits now
  31.         include checks to make sure that PK(UN)ZIP is addressable via the PATH,
  32.         a CONFIG.SYS file is defined, KEYSTACK is loaded as a device driver.
  33.         There are also checks to make sure that the versions of PK(UN)ZIP are
  34.         1.1 or higher, although these checks are commented-out. They tend to
  35.         slow-down the start-up process to an unaccetable point, but if you wish
  36.         to include them, just uncomment the lines.
  37.  
  38.  2.30 - ALLRIGHT ALREADY! Geez! C'mon folks, I'm glad you are finding good
  39.         uses for 4DVC, but as I said, THIS IS NOT MENT TO COMPETE WITH OTHER
  40.         COMMERCIAL PACKAGES! This release will be the last for a while (unless
  41.         someone finds "real" bugs). Your comments and suggestions are welcome,
  42.         and I will attempt to include them in future releases, but you will have
  43.         to make attempts to fix "problems" yourself on an immediate basis.
  44.         Since I posted the first Public Domain version of 4DVC on 10/22/90,
  45.         this makes the 5th release in as many days!  From now on, you can
  46.         expect enhancements once every 2 to 4 months at best - no sooner unless
  47.         a real logic problem is found. This is just 4DOS BTM files, guys. I know
  48.         they are a little complex, but an hour or two of study will answer all
  49.         questions and allow you to make "fixes" on-the-fly.
  50.  
  51.         These are the changes made in release 2.30 (note that you might need a
  52.         STACKS= in your CONFIG.SYS because of the now large nested levels of
  53.         processing):
  54.  
  55.       - Added a change to the EXTRACT and KILL functions so that they won't
  56.         hiccough on comments that contain unusual or wierd characters. These
  57.         processes "worked" before, they just didn't pull the comments from
  58.         the ZIP file.
  59.  
  60.       - Added logic into 4DVC.BTM to test the command line for processing
  61.         options and automatically execute them if found (if not found, user
  62.         input is prompted for just like 4DVC used to always run).
  63.         Rules for the command line parameters are:
  64.         1) Format: 4DVC c 1 2 3 ... n
  65.            where   c    = A X K P or I (Add, Xtract, Kill, Pack, Information)
  66.                    1-n  = filespecs for the A, X, & K commands (ignored for P&I)
  67.         2) Only 1 command can be processed per run of 4DVC; all other parms on
  68.            the command line are taken to mean "filespecs" options for the
  69.            primary command entered.
  70.         3) After execution of the command, 4DVC exits to the 4DOS prompt.
  71.         4) If 1-n are not provided, user input is prompted for.
  72.         5) If the command is invalid, 4DVC runs as if no command line parameters
  73.            were provided (user input is prompted for).
  74.  
  75.  2.40 - At Last - a "real" bug!. Thanks to R. M. Chmela of Lindenhurst, N.Y. for
  76.         catching it. I assumed (we all know what happens when one ASS-U-ME s)
  77.         that files to be archived would be fairly recent, not spread-out over
  78.         a year-break. 4DVC now tests the file-dates in "YYMMDD" format instead
  79.         of the default 4DOS "MM-DD-YY" format. A byproduct of this fix also
  80.         recognizes when an archive file is completely empty and sets the new
  81.         version number of your file to "001". Mr. Chmela also suggested 2
  82.         enhancements, both of which were a breeze to install, so here they are:
  83.  
  84.       - 4DVCCHK.BTM checked for CONFIG.SYS on the current drive. This has been
  85.         changed to specifically drive C. If you run CONFIG.SYS off of a drive
  86.         other than C:, change 4DVCCHK.BTM to point to the proper drive (or you
  87.         can eliminate the test altogether).
  88.  
  89.       - 4DVC.BTM now issues a SETLOCAL at the very start of processing followed
  90.         by an UNALIAS *. This will assist those of you who have defined aliases
  91.         for commands like COPY, DEL, REN, MOVE, etc. (don't worry, 4DOS will
  92.         restore all of the aliases upon termination of the 4DVC batch processing
  93.         via an implied ENDLOCAL command).
  94.  
  95.  3.00 - Included the most frequently requested enhancements:
  96.  
  97.       - ERASE has been changed to KILL, and the corresponding Keystroke is now
  98.         "K". I originally chose (E)rase and (X)tract instead of (D)elete and
  99.         (X)tract or (D)elete and (E)xtract because of the close proximity of the
  100.         D/E and D/X keys on the keyboard. A small slip of the finger might hit
  101.         the wrong key and have disastrous results. But a lot of people have
  102.         expressed confusion over this (they want to press E for (E)xtract and
  103.         wind-up deleting an archived version instead of extracting it), so I
  104.         have renamed (E)rase to (K)ill. If you press "E", nothing will happen
  105.         (no (E)xtract and no (E)rase).
  106.  
  107.       - When adding a file to an archive, 4DVC now searches for any existing
  108.         comment provided with the DESCRIBE command. If found, such comment will
  109.         be the "default" comment for the archived file. If not found, date/time
  110.         and original filename is still the default. Whichever is presented, you
  111.         may over-type the comment (as is strongly suggested that you do).
  112.         Caution: If you archived a version of a file and accepted the default of
  113.         Date/Time/Filename, make sure you *NEVER* accept the default comment if
  114.         you extract/modify/rearchive that file. This is because: During the 1st
  115.         archive of a file (let's call it MYFILE.DAT), the default is assigned
  116.         (let's assume 12-01-90 14:30 MYFILE.DAT). When you extract this version
  117.         it will now have a 4DOS Comment of "12-01-90 14:30 MYFILE.DAT". If you
  118.         change MYFILE.DAT then rearchive it, the default comment will now be
  119.         "12-01-90 14:30 MYFILE.DAT", even if the REAL date and time is 03-14-91
  120.         and 12:32 P.M. If you accept this comment, you will now have 2 versions
  121.         of MYFILE.DAT in 4DVCDAT.ZIP, both of which have the same comment. This
  122.         particular request from all you folks seemed a little dangerous to me,
  123.         but you asked for it, so now you have it. Be careful!
  124.  
  125.       - If 4DVC determines that the most recent archived version of a file is
  126.         more recent than the "current" file, both the archived filename and the
  127.         "current" filename are displayed along with their dates and times when
  128.         the "Bypassing Archive Request" message is displayed.
  129.  
  130.       - The sort-order for the SELECT screen is in reverse order by filename.
  131.         The consensus among people asking for this is "The most recent version
  132.         of any file in an archive will have the highest-sorting 'name.ext'. So,
  133.         place all versions of any given file together, and sort them so that
  134.         the most recent version is presented first". I will allow that it is
  135.         desirable to have the files presented this way, so I made the change as
  136.         requested. However, there is a problem with this request; 4DVC will add
  137.         1 to the extension each time it archives a new version - up to 999. Then
  138.         the count will roll over to 000 and start incrimenting again. In this
  139.         event, version "999" will sort to the top, and version "000" will sort
  140.         to the BOTTOM, even though version "000" is now the most recent! I will
  141.         admit that this is not likely to happen to anyone, but you should be
  142.         aware of this should it occur. Unfortunately, 4DOS lacks the richness of
  143.         sort-order on the SELECT command that is available on the DIR command.
  144.         When the SELECT command says it sorts on "filename", what it is really
  145.         sorting on is "filename.ext". Since there is no sort-order parameter to
  146.         request "filename" only (without the .ext), there is not much to be done
  147.         about this potential problem. So, BE AWARE!
  148.  
  149.       - EXTRACT and KILL now accept full filename parameters. Previously, only
  150.         the Extension was allowed to be passed, and all files in the archive
  151.         were presented in the SELECT command. By allowing full filenames, only
  152.         the files in the archive which match the passed parameter will be given
  153.         in the SELECT command (or a message will appear designating that there
  154.         are no files in the archive which match the filename in question). Wild-
  155.         cards are accepted. For example, to SELECT specifically MYDATA.DAT and
  156.         all .ASM files, you may enter "MYDATA.DAT *.ASM"  or  "MYDATA.DAT ASM".
  157.         4DVC will first present only the archived versions of MYDATA.DAT, and
  158.         then present a list of all archived ASM files. This makes your task of
  159.         SELECTing the proper file much easier if there are dosens of files in
  160.         the archive 4DVCDAT.ZIP, with several versions of each file; if you
  161.         know that you want only MYDATA.DAT and not all the other '.DAT' files,
  162.         just specify the proper filename(s) when you EXTRACT or KILL.
  163.  
  164.       - A new function, PACK, will let you "reduce" version numbers of your
  165.         archived files to "1" to "number-of-versions". For example, if you have
  166.         versions 1, 2, 3, and 4 of ANYPROGM.ASM in an archive file, then go back
  167.         and kill version 2, what you are left with is versions 1, 3 and 4 in
  168.         the archive. A few people have asked for a function to "rename" version
  169.         3 to version 2, and version 4 to version 3, so that the archive now only
  170.         contains versions 1, 2, and 3. Apparently, these folks are *REALLY*
  171.         making use of 4DVC, as they are getting version numbers well up into the
  172.         hundreds! This is undoubtedly a tedious process, and the speed of your
  173.         hard disk will make a *BIG* difference, but here it is, folks. Make sure
  174.         you have plenty of both disk space and TIME! You may walk away from your
  175.         computer while this function is executing. When it is finished, you will
  176.         be shown each archive file and the "status" of the packing function: a
  177.         list of all files renamed in the archive; a message stating that no
  178.         packing was necessary; or 1 of 2 messages stating that the function was
  179.         not completed due to shortage of disk space.
  180.  
  181.  With any luck, the 3.0 changes should make 4DVC fairly stable. If you have any
  182.  more suggestions/comments/"fixes"/bug-reports, please get them to me as quickly
  183.  as possible. I would like to put 4DVC on the back burner for a while as several
  184.  of you have written to say "Gee, this is a pretty nifty VCS. What about a MAKE
  185.  utility to go along with it? Everybody knows that VCS and MAKE go together..."
  186.  
  187.  OK. I'm planning on it. But I won't start working on it until the mail about
  188.  4DVC slows down.  For those of you asking for the MAKE, you can get it quicker
  189.  if you will thoroughly execise 4DVC, compile your list of requests, and mail
  190.  them to me ASAP. I don't want to be caught making changes to 2 utilities at the
  191.  same time, especially if they are going to have to interface with each other.
  192.  
  193.  3.10 - Bug fixes:
  194.  
  195.       - 4DVCBKP2 modified to force a leading zero on dates produced by the 4DOS
  196.         DIR command.
  197.  
  198.       - Gil Yoder of Coalgate, OK brought the following to my attention. The
  199.         4DOS manual states that the MEMORY command always produces a list that
  200.         consists of TOTAL RAM, FREE RAM, TOTAL EMS, FREE EMS, TOTAL XMS, TOTAL
  201.         ENVIRONMENT, FREE ENVIRONMENT, TOTAL ALIAS, FREE ALIAS & TOTAL HISTORY.
  202.         All examples and references to the MEMORY command quote this complete
  203.         list, and indeed this is what I see on my system. However, it seems that
  204.         the references to EMS and XMS are optional if you don't have these types
  205.         of memory on your system. This caused a problem in 4DVCCHK when it tried
  206.         to determine the amount of free Environment Space you have left. I had
  207.         coded a "read" to line 9 of the MEMORY output (for speed, and where the
  208.         free Environment would have been if the MEMORY command functioned as the
  209.         manual says it does). This has been changed to a loop that starts with
  210.         the first record of output from MEMORY and reads until "ENVIRONMENT" is
  211.         found. Then the next record is read, which should be the amount of Free
  212.         Environment Space. This should resolve any start-up problem you may have
  213.         been experiencing. As this bit of code has been in 4DVCCHK from the
  214.         early releases of 4DVC, and as no one else has noted this problem, I can
  215.         only surmise that everyone else has EMS and XMS, everyone fixed the
  216.         problem themselves without relaying a message to me, or else Mr. Yoder
  217.         has a "problem" that is peculiar to his system.
  218.  
  219.  As regards the above-mentioned fix for the Free Environment Space, I would like
  220.  to remind everyone that 4DVC "reads" the output from many different 4DOS and
  221.  PKZIP operations. 4DVC is not unique in this matter; I have collected many
  222.  tools from various sources that "read" such output from other utilities.
  223.  Although the above problem may have indeed existed for quite a while, it should
  224.  alert you to the fact that 4DVC (and any other tools you might have which read
  225.  output from other utilities) can be easily rendered obsolete if the authors of
  226.  the other utilities change their output! For example, if Phil Katz changes
  227.  "PKZIP -v" so that the "dashed-lines" before and after the file-list is no
  228.  longer produced, 4DVC will not be able to locate your files inside the *.ZIP
  229.  files. If J.P. Software decides to change the output of the DIR command such
  230.  that the "time" is listed before the "date", then again, 4DVC will not work
  231.  properly, as it cannot properly determine the date/time stamps of the files it
  232.  it is working with.
  233.  
  234.  As stated, this potential "gotcha!" is *NOT* unique to 4DVC; anything you may
  235.  be using that reads output from another utility has the potential to become
  236.  obsolete simply by installing a new release of the utility in question. To that
  237.  end, I would encourage everyone to write to the authors of such utilities and
  238.  request (politely, but firmly) that their existing output formats are forever
  239.  frozen! If they provide new features that demand a different output format,
  240.  suggest to them that such new features/output are invoked/produced if and only
  241.  if a new, unique command-line switch is used. Request that existing output is
  242.  not altered in any manner (no line-adds/line-deletes/field-adds/field-deletes/
  243.  field-justifications/field-positions/etc.). Should Phil Katz and/or J.P. Soft-
  244.  ware change something that causes 4DVC to fail, I will attempt to address the
  245.  problem. But you should note 2 things: first, 4DVC will be "dead" until I can
  246.  figure-out what changed and how, and second, any such "upgrade" to 4DVC will
  247.  demand that you also upgrade to the newer versions of PK(UN)ZIP and 4DOS or
  248.  else stick with all the older version of both utilities and 4DVC.
  249.  
  250.  In summary (and stepping-down off my soapbox now), if you wish to have hassle-
  251.  free, continued use of 4DVC for months (possibly years) to come, take
  252.  10 minutes and 50 cents to write 2 letters: 1 to Phil Katz and 1 to J.P. Soft-
  253.  ware. Explain that you, as a *CUSTOMER*, would like them to consider the fact
  254.  that automating tasks on your computer depends heavily on the output which is
  255.  produced by their utilities. Let them know that, as a *CUSTOMER*, you would
  256.  like to have assurances that new releases of their products do not cause your
  257.  batch-file and other processes to malfunction, simply because they decided to
  258.  change the output of their untilities. Make it clear that you, as a *CUSTOMER*,
  259.  would appreciate their keeping this matter in mind as they improve their
  260.  products. And, oh yeah, when you mail that letter, also send the poor guys the
  261.  registration fee that you just never got around to handling...
  262.  
  263.  
  264. ╔═════════════════════════════════════════════════════════════════════════════╗
  265. ║(C)omputer (S)olutions Software (L)ibrary (TM) √Entscheidung für die Profis. ║
  266. ╟─────────────────────────────────────────────────────────────────────────────╢
  267. ║    Postfach 1180 ∙ D-8018 Grafing/München ∙ Telefon 08092/5018 Zentrale     ║
  268. ║   Fax 08092/31727 ∙ BTX 080925018 ∙ E-MAIL: CompuServe EasyPlex 76234,3577  ║
  269. ╟────────┬─────────────────────────────────────────────────────────┬──────────╢
  270. ║  ASP   │ Shareware und Public-Domain Software der Spitzenklasse  │  MEMBER  ║
  271. ╟────────┴─────────────────────────────────────────────────────────┴──────────╢
  272. ║ Die  Computer Solutions  Sharewarebibliothek ist eine der bestgepflegtesten ║
  273. ║ Softwaresammlungen  weltweit.  Die Programme werden sorgfältig getestet und ║
  274. ║ ausgewählt. Sie sollten schnell den CSL-Katalog anfordern. Es lohnt sich!   ║
  275. ║                                                                             ║
  276. ║ Diese Diskette ist urheberrechtlich geschützt und nur echt mit dem original ║
  277. ║ Computer Solutions Logo. Vorsicht Virengefahr bei Raubkopien!               ║
  278. ║ Bitte beachten Sie die Lizenzbestimmungen.                                  ║
  279. ║ ASP (R) Association of Shareware Professionals - Approved Vendor Member     ║
  280. ╟─────────────────────────────────────────────────────────────────────────────╢
  281. ║ AUTOREN:Ihre Programme sind bei der CSL in guten Händen. Schreiben Sie uns! ║
  282. ╟─────────────────────────────────────────────────────────────────────────────╢
  283. ║Seien Sie fair und unterstützen Sie Sharewareautoren durch Ihre Registration!║
  284. ╚═════════════════════════════════════════════════════════════════════════════╝
  285.  
  286.  
  287.