home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / tvconf2b.zip / README next >
Text File  |  1997-09-29  |  3KB  |  95 lines

  1. TVFS.CONF / Configures TVFS Drives / release 2B
  2. Script written by Byron Desnoyers Winmill in September 1997
  3.  
  4. COPYRIGHT
  5. ==========----------
  6.  
  7.   TVFS.CONF is released to the public domain.  This means that you may
  8.   distribute original or modified versions without any restrictions.
  9.  
  10. INTRODUCTION
  11. ==========----------
  12.  
  13.   TVFS provides a clumsy facility to save and restore partition information
  14.   through REXX scripting.  Alas, scripts produced by TVSAVE are difficult to
  15.   edit since the author used unorthodox practices.
  16.  
  17.   Instead of storing information about TVFS partitions within a REXX script,
  18.   TVFS.CONF stores the information in configuration files.  This solution is
  19.   much more elegant, and modifying drive information is straightforward.
  20.  
  21. REQUIREMENTS
  22. ==========----------
  23.  
  24.   This script requires ObjectREXX (IBM PSP) and the Toronto Virtual File
  25.   System (IBM EWS).  Should you be running the original version of OS/2
  26.   Warp (as I am), ObjectREXX is available on the Internet from:
  27.  
  28.     http://rexx.hursley.ibm.com/rexx/
  29.  
  30.   TVFS is available from the IBM PSP FTP site and Hobbes.
  31.  
  32. INSTALLATION
  33. ==========----------
  34.  
  35.   Ensure ObjectREXX and TVFS are properly installed.  This script will not
  36.   work if TVCTL.EXE or TVRX.DLL can not be found.  Also ensure that Object
  37.   REXX is the current REXX interpreter.
  38.  
  39.   Place the files TVCONFIG.CMD and TVFS.CONF anywhere, really.  To run the
  40.   program, type:
  41.  
  42.     TVCONFIG TVFS.CONF A[,B[,C[...]]]
  43.  
  44.   Where the letters A, B and C are TVFS drives you want the script to mount.
  45.   List as many drives as you require, but do NOT insert a colon after the
  46.   drive letter.
  47.  
  48.   Ideally, you would execute this command in the STARTUP.CMD file.
  49.  
  50. CONFIGURATION
  51. ==========----------
  52.  
  53.   The structure of TVFS.CONF is straight forward: lines beginning with the
  54.   pound symbol (#) are regarded as comments, while lines marked with the
  55.   exclimation mark (!) are displayed during processing.  Any other line is
  56.   treated as a standard TVLink command (less TVLINK), unless that line is
  57.   blank.
  58.  
  59.   The configuration file provided with this program must be modified to suit
  60.   your needs.
  61.  
  62. HISTORY
  63. ==========----------
  64.  
  65.   16-Sep-97, release 1 [alpha]                    (solve a problem)
  66.     - original release
  67.   26-Sep-97, release 2 [alpha]                    (create a problem)
  68.     | created TVFSConfig object
  69.     + automagically loads TVCTL.EXE
  70.   26-Sep-97, release 2A [alpha]                   (fix parser)
  71.     | fixed most parsing problems
  72.     | more consistent error messages
  73.   29-Sep-97, release 2B [beta]                    (clean code)
  74.     | fixed comment bugs
  75.     | replaced huge nested if
  76.  
  77. FUTURE
  78. ==========----------
  79.  
  80.   Current development plans are for TVFS.CONF release 3:
  81.  
  82.   IMPORTANT:
  83.   - Detect if TVCTL is running, if so: don't re-execute it.
  84.   - Detect if a partition is mounted, if so: don't re-mount it.
  85.   - Detect if a file/path is linked, if so: don't re-link it.
  86.   - Make parameters/configuration idiot-proof.
  87.  
  88.   SECONDARY:
  89.   - Create a script to build the TVFS.CONF files.
  90.   - Support white-space in filenames, and wildcards.
  91.  
  92.   Send INTERESTING suggestions to: <wbdesnoy@acs.ucalgary.ca>.
  93.   If they aren't all that interesting, then code them yourself!
  94.  
  95.