Changeset 637


Ignore:
Timestamp:
Apr 26, 2007, 12:08:09 AM (19 years ago)
Author:
John Small
Message:
  • First version with support for FM2UTILS.WPI as an external package.

If FM2UTILS.WPI is in the same directory with FM2.WPI, then the
Warpin install will allow the user to install both FM/2 and the
FM/2 Utilities at the same time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/warpin/fm2.wis

    r625 r637  
    1515
    1616<HEAD>
     17<REXX NAME=UtilsCheck>
     18   if stream('fm2utils.wpi', 'c', 'query exists') = '' then
     19      return '3'
     20   else
     21      return '5'
     22</REXX>
    1723
    1824<PCK INDEX=1
    1925  PACKAGEID="Netlabs\FM2\Base\3\5\9\20070331"
    20   TITLE="FM/2 - File Manager/2"
     26  TITLE="FM/2 - File Manager/2 (Base package)"
    2127  TARGET="$(WARPIN_DEFAULTAPPSPATH)\FM2"
    2228  SELECT
     
    5763
    5864
    59 >This package contains the FM/2 base package. If
    60 you only want a minimal FM/2 installation and none
    61 of the additional programs, this is only package
    62 you need to install.
     65>This package contains the base File Manager/2 (FM/2) package.
     66
     67The FM/2 base package must be installed to a drive with long filename support!
    6368</PCK>
    6469
     
    97102</PCK>
    98103
    99 <!--
    100104<PCK INDEX=7
    101   PACKAGEID="Netlabs\FM2\FM/2 Utilities\3\5\9\20070331"
     105  PACKAGEID="Netlabs\FM2 Utilities\FM2Utils\1\0\0"
    102106  TITLE="FM/2 Utilities"
    103   EXTERNAL="FM2Utilx.wpi"
    104   TARGET="$(WARPIN_DEFAULTAPPSPATH)\FM2Utils"
    105 >This package contains the FM/2 Utilities,
    106 a collection of utilities designed for
    107 use with FM/2 (they can also be used
    108 without FM/2).  FATOPT, HPFSOPT, QFORMAT,
    109 RENCASE, MOV, KILL/2, PTREE and more.
     107  EXTERNAL="FM2Utils.wpi"
     108  TARGET="$(1)\Utils"
     109  SELECT
     110  CREATEOBJECT="WPFolder|FM/2 Utilities|<FM3_Folder>|OBJECTID=<FM2_Utilities>;"
     111  CREATEOBJECT="WPProgram|FM/2 Utils Doc|<FM2_Utilities>|EXENAME=E.EXE;PROGTYPE=PM;PARAMETERS=$(7)\fm2utils.doc;OBJECTID=<FM2UtilsDoc>;"
     112  CREATEOBJECT="WPProgram|Make Object|<FM2_Utilities>|EXENAME=$(7)\makeobj.cmd;PARAMETERS=%*;OBJECTID=<FM2MakeObj>;"
     113  CREATEOBJECT="WPProgram|Image Viewer|<FM2_Utilities>|EXENAME=$(7)\image.exe;PARAMETERS=%*;OBJECTID=<FM2Imageexe>;"
     114  CREATEOBJECT="WPProgram|Reboot w/ Pause|<FM2_Utilities>|EXENAME=$(7)\rebootp.exe;PARAMETERS=%*;OBJECTID=<FM2rebootp>;"
     115  CREATEOBJECT="WPProgram|Iconify|<FM2_Utilities>|EXENAME=$(7)\iconify.exe;PARAMETERS=%*;OBJECTID=<FM2Iconify>;"
     116  CREATEOBJECT="WPProgram|Delete Tree|<FM2_Utilities>|EXENAME=*;PROGTYPE=WINDOWABLEVIO;PARAMETERS=/c ($(7)\deltree.exe [Enter directory to delete:] || pause);OBJECTID=<FM2Deltree>;"
     117  CONFIGSYS="SET PATH=$(7); | ADDRIGHT"
     118>This package contains the FM/2 Utilities, a
     119collection of more than 60  utilities which may
     120be used with or without FM/2. Included are
     121DELTREE, HPFSOPT, RENCASE, MOV, KILL/2,
     122PTREE and many more.
    110123</PCK>
    111 -->
    112124
    113125<PCK INDEX=10
     
    132144<PAGE INDEX=1 TYPE=README>
    133145<NEXTBUTTON TARGET=2>~Next</NEXTBUTTON>
    134 <TEXT>
    135 Click on "Next" to proceed.
    136 Click on "Cancel" to exit.
    137 </TEXT>
     146<TEXT>NOTE:  A special thanks to Mark Kimes for making this program open source software. Thanks also goes to Steven Levine, Gregg Young, and others who have continued to improve and enhance this great program.</TEXT>
    138147<README EXTRACTFROMPCK="1">docs\readme</README>
    139148</PAGE>
    140149
    141150<PAGE INDEX=2 TYPE=README>
    142 <NEXTBUTTON TARGET=4>~I agree</NEXTBUTTON>
    143 <TEXT>
    144 By pressing the "I agree" button, you agree to all terms and conditions
    145 of the license agreement below.
    146 </TEXT>
     151<NEXTBUTTON TARGET="=("UtilsCheck")">~I agree</NEXTBUTTON>
     152<TEXT>FM/2 License: By pressing the "I agree" button, you agree to all terms and conditions of the license agreement below.</TEXT>
    147153<README EXTRACTFROMPCK="1">docs\copying</README>
    148154</PAGE>
    149155
    150 <!--
    151 <PAGE INDEX=3 TYPE=TEXT>
    152 <NEXTBUTTON TARGET=4>~Continue</NEXTBUTTON>
    153 <TEXT>
    154 * I M P O R T A N T *
    155 
    156 
    157 If you have customized any FM/2 files you wish to
    158 
    159 SAVE, press "C a n c e l" now to exit install.
    160 
    161 
    162 
    163 If you have no customized FM/2 files, if you
    164 
    165 have already backed them up, or if you don't
    166 
    167 know understand what this page is about, press
    168 
    169 "C o n t i n u e".
    170 
    171 
    172 </TEXT>
    173 </PAGE>
    174 -->
    175156
    176157<!-- The TYPE=CONTAINER will list the packages which can be installed. -->
    177 <PAGE INDEX=4 TYPE=CONTAINER>
    178 <NEXTBUTTON TARGET=5>~Next</NEXTBUTTON>
    179 <TEXT>
    180 FM/2 must be installed to a drive with long filename support!
    181 </TEXT>
    182 </PAGE>
    183 
    184 <PAGE INDEX=5 TYPE=TEXT>
     158<PAGE INDEX=3 TYPE=CONTAINER>
     159<NEXTBUTTON TARGET=4>~Next</NEXTBUTTON>
     160<TEXT>Select your installation directory.</TEXT>
     161</PAGE>
     162
     163
     164<PAGE INDEX=4 TYPE=CONFIGURE>
    185165<NEXTBUTTON TARGET=0>I~nstall</NEXTBUTTON>
    186 <TEXT>
    187 It is best to install this package with FM/2 not running. This way, you
    188 can be sure that all the files are replaced.
    189 
    190 NOTE:  A special thanks to Mark Kimes for making this program open source
    191 software.  Thanks also goes to Steven Levine, Gregg Young, and others who
    192 have continued to improve and enhance this great program.
    193 
    194 Press "Install" to begin installing this archive.
    195 </TEXT>
    196 </PAGE>
     166<TEXT>Please select/deselect the desired configuration option(s).</TEXT>
     167</PAGE>
     168
     169<PAGE INDEX=5 TYPE=README>
     170<NEXTBUTTON TARGET=6>~Next</NEXTBUTTON>
     171<TEXT>FM/2 Utilities: A short description of each utility is included at the end of the readme below. A special note of thanks to Mark Kimes for making these utilities freely available.</TEXT>
     172<README>    FM/2 Utilities, a utility collection for use with File Manager/2
     173         copyright (c) 1994/95 by M. Kimes (Barebones Software)
     174                          all rights reserved
     175    ================================================================
     176
     177This is a collection of utilities that may prove useful in conjunction
     178with FM/2 (or even without it).
     179
     180All the .EXE utilities provide help if you run them with /? as an
     181argument (hint:  arguments shown in brackets [] are optional, arguments
     182shown in braces <> are required).  The .CMD utilities may be directly
     183inspected using a text editor and are commented as to use and function.
     184It's recommended that you place these utilities into a directory on your
     185PATH (type HELP PATH at a command prompt if you don't know what that
     186means).  If you have FM/2 installed, may I suggest you make a UTILS
     187directory off your FM/2 directory (the FM/2 INSTALL.CMD assumes you
     188will, and will make some program objects for you)?
     189
     190These utilities are standalone, meaning that one doesn't rely on
     191another.  You can therefore delete any you don't want to keep around
     192without affecting the operation of any of the others.
     193
     194If you like the FM/2 Utilities package, you'll love FM/2.  File
     195Manager/2 (FM/2) is a shareware OS/2 2.1+ PM 32-bit
     196file/directory/archive maintenance utility (a sort of super-Drives
     197object, something midway between the Drives objects and a more
     198traditional file manager) with plenty of bells, whistles and utilities,
     199drag and drop, context menus, toolbars and accelerator keys.  FM/2 won a
     2001995 OS/2 Magazine Editor's Choice award -- the only file management
     201software to do so.  If you know how to use OS/2, you already know how to
     202use most of FM/2.  You can easily glean the rest from the extensive
     203online help.  FM/2 is available from ftp.secret.com (/g/os2utl), from
     204Compuserve's OS2SHARE (OS2BVEN) forum (GO OS2SHARE) in library 18, and
     205from finer OS/2 BBSs everywhere.
     206
     207
     208Following is a very brief description of each program in the package:
     209
     210BEEP.EXE
     211    Makes a beep noise.
     212
     213CRC.EXE
     214    Calculates and prints the CRC of a file or files.
     215
     216CVT4OS2.CMD
     217    Converts 4DOS/4OS2 non-standard DESCRIPT.ION files to WPS-standard
     218    .SUBJECT EAs (see comments in program).
     219
     220CVTFBBS.CMD
     221    Converts FILES.BBS file comments to WPS-standard .SUBJECT EAs (see
     222    comments in program).
     223
     224DELTREE.EXE
     225    Deletes a directory and all its subdirectories and files.
     226
     227DRVRLIST.EXE
     228    Lists all mounted drivers.  Use /w switch for a "wide" listing.
     229
     230DRVTYPES.EXE
     231    Lists all drives with information on their types.
     232
     233DSTART.EXE
     234    A START command that will work from DOS VDMs (penalty box).
     235
     236EA.EXE
     237    An extended attribute manipulation program.  Can be used to zap all
     238    the EAs from REXX .CMD files.
     239
     240EJECT.EXE
     241    Eject media from a removable drive.  Notes:  when EJECT, LOCK or
     242    UNLOCK returns an error code of 31, it usually means that function
     243    is not supported for the requested drive.  "The parameter is not
     244    correct" may mean you tried it on a non-existent or fixed drive.
     245    Error 163 is not in the OS/2 message file; it's "uncertain media,"
     246    and usually just repeating the command will "fix" it.
     247
     248FATOPT.EXE*
     249    An OS/2 FAT optimizer -- defragment, condense freespaces, sort file
     250    and directory names, test sectors in system areas, test (and repair
     251    some damaged) clusters, report on drive usage.  If you receive a
     252    "FATOpt can't lock" message from FATOpt, the drive is in use and
     253    FATOpt can't optimize it; try booting from floppies (place
     254    FATOPT.EXE on the floppy together with VIOCALLS.DLL).  If you
     255    receive a "FATOpt ran out of memory" error, add RAM and/or set up a
     256    swapfile on a partition other than the one being optimized (type
     257    HELP SWAPPATH at a command line for more info) and/or try the -p
     258    or -q switches.  Other errors (uncommon) should be self-explanatory,
     259    if distressing.  CHKDSK/F should be run before running FATOpt, and
     260    it's always a good idea to back up before defragging.  FATOpt
     261    errorlevel returns for batch files:  0 = no problems, 1 = user
     262    abort, 2 = out of memory, 3 = bad file (run CHKDSK/F, dammit),
     263    4 = can't open drive, 5 = can't lock drive, 6 = can't fix bad
     264    cluster, 7 = insufficient free space on drive, 8 = unknown error,
     265    9 = bad system area, 10 = error during standard file copy.
     266    BACKUP BEFORE OPTIMIZING.  REMEMBER THE BEST OPTIMIZATION IS
     267    ACCOMPLISHED BY A BACKUP/DELETE/RESTORE.
     268
     269FINDPATH.EXE
     270    List a PATH-style environment variable's directories (or LIBPATH),
     271    or find a file or files in those directories.  Perhaps useful for
     272    tracking down files that appear in more than one directory on the
     273    PATH or LIBPATH.
     274
     275FLUSH.EXE
     276    Flush file system caches and buffers (make system quiescent).
     277
     278FM2PLAY.EXE*
     279    Used by FM/2 to play multimedia files with the "Play Multimedia"
     280    command (requires MMPM/2).
     281
     282HPFSOPT.EXE*
     283    An HPFS optimizer.
     284
     285ICONIFY.EXE
     286    "Iconifies" image files, which is to say that it sets the icon
     287    of image files to be miniature versions of the image files.  A
     288    PM program, but designed to be run in batch mode from a command
     289    line.
     290
     291IMAGE.EXE*
     292    Used by FM/2 to quickly display image files (requires MMPM/2).
     293    Request a context menu for several options.
     294
     295ISTEXT.EXE
     296    Returns ERRORLEVEL 1 if a file appears to be a text (ASCII) file,
     297    0 if not or file is inaccessible.
     298
     299KILL2.EXE
     300    A timed deletion/touch/list utility.
     301
     302KILLPID.EXE
     303    Kill processes by PID or title, or list PIDs of running processes.
     304    See also SWITCHTO.EXE.
     305
     306KEYLOCKS.EXE
     307    Control state of num lock, caps lock, scroll lock.  Note:  PM
     308    program, but still designed to be run from command line.
     309
     310LA.EXE
     311    Lists the contents of archive files, extracts files from archives
     312    using one command without you having to know the archive type or
     313    archiver commands (requires ARCHIVER.BB2 datafile to be on your
     314    PATH or DPATH, copy included in the archive, edit to taste/need).
     315
     316LINES.EXE
     317    Counts lines in text files.
     318
     319LOCK.EXE
     320    Lock a removable drive.
     321
     322MAKEOBJ.CMD
     323    Creates WPS objects for filenames -- program objects for programs,
     324    shadows for everything else -- on the desktop.
     325
     326MKPATH.EXE
     327    Make directories many levels deep with one command.
     328
     329MOV.EXE
     330    A MOVE command that can move between drives and optionally allows
     331    overwriting.
     332
     333MSENSIT.EXE
     334    Set sensitivity of mouse.
     335
     336NO.EXE
     337    Hides file system objects, then runs a command (excludes file system
     338    objects from a command).
     339
     340NOCAD.EXE
     341    Disables/reenables (toggles) CTRL-ALT-DEL.
     342
     343OPEN.EXE
     344    Opens a WPS object or website.
     345
     346PRIORITY.EXE
     347    A launch-with-priority program that lets you set the priority of
     348    other programs when you start them.
     349
     350PTREE.EXE
     351    Displays the tree of a given path, several options.
     352
     353QFORMAT.EXE
     354    Quick format floppies by zapping the root and FATs.  NOTE:  Warp's
     355    FORMAT will do this now, too (/Q switch).
     356
     357QPLAY.EXE
     358    Quiet play plays multimedia files via MMPM/2 without showing itself
     359    (perhaps useful from batch files).
     360
     361REBOOT.EXE
     362    Reboots the system as though you'd pressed CTRL-ALT-DEL.
     363
     364REBOOTP.EXE
     365    Reboots the system as though you'd pressed CTRL-ALT-DEL after
     366    broadcasting a WM_QUIT message to all children of the desktop and
     367    waiting 60 seconds for the applications to save their settings and
     368    quit (note that VIO and DOS applications will pop up their "Are you
     369    sure?" boxes, but you don't have to be there to answer (and
     370    shouldn't be -- use Shutdown instead if you're not automating),
     371    though such apps won't pick up on the hint to shut down).  This is a
     372    PM application, but still designed to be run from command line.
     373
     374REMTAB.EXE
     375    Removes TABs from text files.
     376
     377RENCASE.EXE
     378    Renames files to the same name but all upper, lower or "mixed" case.
     379
     380RESET.EXE
     381    Resets a drive.
     382
     383SAVEDESK.EXE
     384    Saves the Desktop, optionally restarts WPS by killing it and letting
     385    it restart itself.
     386
     387SCOPY.EXE
     388    Copy new files and/or newer versions of existing files.  Primarily
     389    intended for backup and synchronization.
     390
     391SDIR.CMD
     392    Directory listing that shows .SUBJECT EAs.
     393
     394SEEHELP.EXE
     395    For systems where VIEW.EXE will not display .HLP files, this lets
     396    you view help files without starting the program to which they
     397    belong.
     398
     399SMODE.EXE
     400    Set screen modes (columns, rows, resolutions) for VIO/full screen
     401    sessions or reports on available modes.
     402
     403SNAPSHOT.EXE
     404    Creates a "snapshot" file compatible with PMDMatch.
     405
     406SR.EXE
     407    Simple search-and-replace command, optional interactive mode.
     408    Intended to be used non-interactively for many files in a single
     409    pass (otherwise a text editor is more suitable).
     410
     411SRCH.CMD
     412    A search command for OS/2 (finds text in files).
     413
     414STRIP.EXE
     415    Filter that strips specified strings from input.
     416
     417SUBJ.CMD
     418    Show and modify .SUBJECT EAs.
     419
     420STRIPCDS.EXE
     421    A filter that strips ANSI and VT-100 escape codes from stdin and
     422    writes the results to stdout.
     423
     424SWEEP.CMD
     425    A sweep command for OS/2; performs a command in all subdirectories
     426    of the current directory.
     427
     428SWITCHTO.EXE
     429    Switch current or a specified process (by PID or partial title) to
     430    the foreground.
     431
     432TEST.EXE
     433TEST.CMD
     434TESTPM.EXE
     435    Repeat all the arguments it receives; useful for debugging command
     436    lines and figuring out what arguments one program receives from
     437    another.
     438
     439TESTDRV.EXE
     440    Test a drive.  Should be run with a drive other than the one being
     441    tested as the default for best results (saves a logfile listing any
     442    bad sectors found to the default directory).
     443
     444TESTFIND.EXE
     445    Tests an IFS's DosFindFirst/Next implementation for troubleshooting.
     446
     447TESTHAND.EXE
     448    Reports the number and type of inherited file handles.
     449
     450TESTRC.EXE
     451    Runs a program and reports its return code (ERRORLEVEL).
     452
     453TYPERATE.EXE
     454    Sets the typematic rate.
     455
     456UNARJER.CMD
     457    Unarjs any arj file dropped onto it into the same directory where
     458    the arj file resides, then opens a folder for that directory.
     459
     460UNIQUE.EXE
     461    Counts the number of lines, words and unique words in a text file,
     462    gives a breakdown of how many times each unique word was used.
     463
     464UNLOCK.EXE
     465    Unlock a removable drive.
     466
     467UNLZHER.CMD
     468    Unlzhs any lzh file dropped onto it into the same directory where
     469    the lzh file resides, then opens a folder for that directory.
     470
     471UNZIPPER.CMD
     472    Unzips any zip file dropped onto it into the same directory where
     473    the zip file resides, then opens a folder for that directory.
     474
     475WHERE.CMD
     476    A where command for OS/2; finds files on a specified or the default
     477    drive.
     478
     479WIPE.EXE
     480    Wipes then erases files so that their data cannot be recovered.
     481    Meets DOD standards.
     482
     483                                                    * Used by "stock" FM/2.
     484</README>
     485</PAGE>
     486
     487<PAGE INDEX=6 TYPE=README>
     488<NEXTBUTTON TARGET=7>~I agree</NEXTBUTTON>
     489<TEXT>FM/2 Utilities: By pressing the "I agree" button, you agree to all terms and conditions of the license agreement below.</TEXT>
     490<README>Simple license statement:
     491========================
     492These utilities may be freely used by end users.  I retain copyright and
     493reserve all rights.  There is NO warranty expressed or implied.
     494
     495Distribution rights are granted for online (dial-up, Internet, CIS,
     496etc.) services ONLY without prior written permission from author.
     497If you want to distribute for money, you MUST contact me first and
     498make arrangements.
     499
     500
     501Author contact info:
     502===================
     503  Mark Kimes (mkimes@ibm.net)
     504</README>
     505</PAGE>
     506
     507<PAGE INDEX=7 TYPE=CONTAINER>
     508<NEXTBUTTON TARGET=8>~Next</NEXTBUTTON>
     509<TEXT>Many of the programs included within FM/2 Utilities are intended to be run from the command line. If the installation directory is not already on the PATH, then this installation will ensure that your installation directory will be on the PATH after the next reboot (unless you specifiy otherwise on the next page).</TEXT>
     510</PAGE>
     511
     512<PAGE INDEX=8 TYPE=CONFIGURE>
     513<NEXTBUTTON TARGET=0>I~nstall</NEXTBUTTON>
     514<TEXT>Please select/deselect the desired configuration option(s).
     515
     516The CONFIG.SYS modification is the addition of the FM/2 Utilities installation directory to end of the PATH (if it is not already on the PATH), simplifying access to the utiities from the command line.
     517
     518Uncheck "Modify CONFIG.SYS" if you do not want your PATH changed.</TEXT>
     519</PAGE>
     520
    197521
    198522</BODY>
    199523</WARPIN>
     524<!--
     525<README EXTRACTFROMPCK="7">fm2utils.doc</README>
     526-->
Note: See TracChangeset for help on using the changeset viewer.