home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
tvconf2b.zip
/
README
next >
Wrap
Text File
|
1997-09-29
|
3KB
|
95 lines
TVFS.CONF / Configures TVFS Drives / release 2B
Script written by Byron Desnoyers Winmill in September 1997
COPYRIGHT
==========----------
TVFS.CONF is released to the public domain. This means that you may
distribute original or modified versions without any restrictions.
INTRODUCTION
==========----------
TVFS provides a clumsy facility to save and restore partition information
through REXX scripting. Alas, scripts produced by TVSAVE are difficult to
edit since the author used unorthodox practices.
Instead of storing information about TVFS partitions within a REXX script,
TVFS.CONF stores the information in configuration files. This solution is
much more elegant, and modifying drive information is straightforward.
REQUIREMENTS
==========----------
This script requires ObjectREXX (IBM PSP) and the Toronto Virtual File
System (IBM EWS). Should you be running the original version of OS/2
Warp (as I am), ObjectREXX is available on the Internet from:
http://rexx.hursley.ibm.com/rexx/
TVFS is available from the IBM PSP FTP site and Hobbes.
INSTALLATION
==========----------
Ensure ObjectREXX and TVFS are properly installed. This script will not
work if TVCTL.EXE or TVRX.DLL can not be found. Also ensure that Object
REXX is the current REXX interpreter.
Place the files TVCONFIG.CMD and TVFS.CONF anywhere, really. To run the
program, type:
TVCONFIG TVFS.CONF A[,B[,C[...]]]
Where the letters A, B and C are TVFS drives you want the script to mount.
List as many drives as you require, but do NOT insert a colon after the
drive letter.
Ideally, you would execute this command in the STARTUP.CMD file.
CONFIGURATION
==========----------
The structure of TVFS.CONF is straight forward: lines beginning with the
pound symbol (#) are regarded as comments, while lines marked with the
exclimation mark (!) are displayed during processing. Any other line is
treated as a standard TVLink command (less TVLINK), unless that line is
blank.
The configuration file provided with this program must be modified to suit
your needs.
HISTORY
==========----------
16-Sep-97, release 1 [alpha] (solve a problem)
- original release
26-Sep-97, release 2 [alpha] (create a problem)
| created TVFSConfig object
+ automagically loads TVCTL.EXE
26-Sep-97, release 2A [alpha] (fix parser)
| fixed most parsing problems
| more consistent error messages
29-Sep-97, release 2B [beta] (clean code)
| fixed comment bugs
| replaced huge nested if
FUTURE
==========----------
Current development plans are for TVFS.CONF release 3:
IMPORTANT:
- Detect if TVCTL is running, if so: don't re-execute it.
- Detect if a partition is mounted, if so: don't re-mount it.
- Detect if a file/path is linked, if so: don't re-link it.
- Make parameters/configuration idiot-proof.
SECONDARY:
- Create a script to build the TVFS.CONF files.
- Support white-space in filenames, and wildcards.
Send INTERESTING suggestions to: <wbdesnoy@acs.ucalgary.ca>.
If they aren't all that interesting, then code them yourself!