home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
sqmurd01.zip
/
sqmurder.doc
< prev
next >
Wrap
Text File
|
1995-12-18
|
4KB
|
142 lines
What's this crap for?
---------------------
Please note, that this program is a really quick hack, which
I programmed and tested in about three hours. It may contain
fatal bugs.
SqMurder is an OS/2 program and may be used by Fido sysops to
clean-up their Squish style echo base.
It will
1) read the Squish configuration file,
2) test areas by running SqInfo,
3) optionally try to fix bad areas by running SqFix and
4) eventually create a batch to delete bad areas.
The included source code had been compiled with MSC 6.0A.
Legal stuff
-----------
Permission is granted to any individual or institution to use,
copy, or redistribute this executable so long as it is not sold
for profit.
LIKE ANYTHING ELSE THAT'S FREE, SQMURDER AND ALL ASSOCIATED FILES
ARE PROVIDED AS IS AND COME WITH NO WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED.
Obtaining the latest version
----------------------------
Frequest with magic SQMURDER from 2:2448/434.
How to install?
---------------
You need
1) any version of OS/2,
2) SqInfoP.Exe, which is part of the Squish package and
3) SqFix32P.Exe, which is also part of the Squish package
Installation is very simple. Put SqMurder in the same directory
where your other Squish programs are located.
How to run?
-----------
Note first, that you should not run SqMurder while Squish
is running in the background.
If you enter
SQMURDER -?
on your command line, the program responds with
--------------------------------------------------------------
SqMurder version 0.1
written Dec 18 1995 by Harald Kipp
Illegal option -?
usage: sqmurder [options]
options:
-b<batchname> name of batch output (murder.cmd)
-c<configfile> name of squish config file (squish.cfg)
-e<number> maximum number of bad areas (20)
-f<fixprog> name of program to fix area
-i<infoprog> name of program to check area (sqinfop.exe)
-l<logfile> name of the logfile
--------------------------------------------------------------
and terminates. As you can see there are several command line
options available.
-b<batchname> You may specify a different name for the
command file created by SqMurder. The default
name is MURDER.CMD.
-c<configfile> Use this option if your Squish configuration
file is not called SQUISH.CFG or is not
located in the current directory.
-e<number> SqMurder will abort with ERRORLEVEL 3 after
finding more than 20 bad areas. This option
may change the default number of bad areas.
-f<fixprog> If you don't specify this option, SqMurder
will not try to fix bad areas. Usually you
should use '-fsqfix32p.exe'.
-i<infoprog> By default SqMurder calls SqInfoP.Exe to check
your areas. This option allows you to specify
another program for this task.
-l<logfile> Unless the name of a logfile is given with
this option, SqMurder will not create one.
For example, this is how I prefer to call SqMurder:
sqmurder -fsqfix32p -l..\logfiles\sqmurder.log
It will scan Squish.Cfg in the local directory, use SqInfoP.Exe
to check the areas, try to fix bad areas while running SqFix32P
on them and create MURDER.CMD.
You may call MURDER.CMD either manually after inspecting it, or
call it in a batch file based on the ERRORLEVEL returned by
SqMurder.
The program returns
0 if all areas are OK,
1 if all bad areas had been fixed,
2 if bad areas had been added to murder.cmd,
3 if bad areas were not listed in murder.cmd or
255 on nonrecoverable errors
Have fun.
Harald Kipp
Credits
-------
Squish is (C) Copyright 1989, 1994 by Lanius Corporation.
All rights reserved.
Many thanks to Scott Dudley for his great work.