home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
zocbk104.zip
/
ZOCBOOK.DOC
< prev
next >
Wrap
Text File
|
1994-05-07
|
17KB
|
478 lines
ZOCBOOK - ZOC phone book utility, v1.04 94/05/07
--------------------------------------------------------------------------
Contents:
0. WHAT'S NEW?
1. DISTRIBUTION, COPYRIGHT
2. INSTALLATION, CALLING
3. NOTES
4. VERSION HISTORY
5. ZOC, THANKS
--------------------------------------------------------------------------
--------------------------------------------------------------------------
0. WHAT'S NEW?
--------------------------------------------------------------------------
See 4. VERSION HISTORY for new features/bugfixes.
--------------------------------------------------------------------------
1. DISTRIBUTION, COPYRIGHT
--------------------------------------------------------------------------
ZOCBOOK is freeware, (C) by Hans Jürgen Rauscher, 1993/94
You may use this software as long, as you find it useful.
There is (yet) no fee for using it.
No warranty of any kind can be given for damage, data loss, or any
other inconvenience caused through ZOCBOOK directly or indirectly.
ZOCBOOK may be distributed freely via telecommunication, shareware
dealers or bundeld with ZOC in form of an unmodified ZIP archive,
or as unzipped files in an single directory with the name ZOCBOOK
and with no file added, removed or modified.
The following restrictions apply to distribution.
* ZOCBOOK must not be bundled with any Microsoft(+) product.
* ZOCBOOK must not be sold as shareware for more than $5 / DM 7
(including shipping). If you purchased ZOCBOOK from a dealer paying
more (or get knowledge of such a dealer), notify him of this
regulation.
--------------------------------------------------------------------------
2. INSTALLATION, CALLING
--------------------------------------------------------------------------
There are a few things you should know about ZOCBOOK before you
begin - please read carefully.
Unpacking the ZIP file:
-----------------------
Unpack ZOCBOOK in your preferred directory. It is recommended
that you unpack it in your ZOC directory for ease of use.
If you have problems:
---------------------
Read this documentation again, and if this doesn't help contact the
autor.
FIDO-Net: 2:2440/225.10@FIDO-Classic
InterNet: Hans-Juergen_Rauscher@project.fido.de
or: Hans-Juergen_Rauscher@p10.f225.n2440.z2.fidonet.org
Fax : +49 (0)2182-850711
Starting ZOCBOOK:
----------------
ZOCBOOK is a DOS text mode application. So open a OS/2 MDOS-box,
or use plain DOS for executing ZOCBOOK.
ZOCBOOK <command> <zocfile> [other parameters and/or <options>]
Available commands:
-------------------
INFO = get some info's about ZOC phone book
SET = set ZOC phone book entries matching condition to
specified parameters
DELETE = delete ZOC phone book entries matching condition
IMPORT = import phone book entries to ZOC phone book
Only the first three letters of the command are needed. Command is
not case sensitive.
Needed parameters:
------------------
- INFO:
Example: ZOCBOOK INFO PHONEBK
- SET:
<condition> = condition ZOC phone book entries must match
<options> = options matching ZOC phone book entries will be
set to
Example: ZOCBOOK SET PHONEBK EMULATION=TTY /E:ANSI
will set all ZOC phone book entries with tty emulation to
ansi emulation
- DELETE:
<condition> = condition ZOC phone book entries must match
Example: ZOCBOOK DEL PHONEBK BOOK=DEFAULT
will delete all ZOC phone book entries in phone book Default
- IMPORT:
<importfile> = import phone book file name (with optional drive
and path)
<importformat> = import format of import phone book file (ASCII,
TELIX, TELEMATE or FIDO)
<intl-code> = international dial prefix (e.g. 00 in Germany)
<country-code> = country dial code (e.g. 1 for USA, 49 for Germany)
(<intl-code> and <country-code> needed only for FIDO import.)
Examples: ZOCBOOK IMPORT \ZOC\PHONEBK \BBS.LST ASCII
will import entries in ASCII format
ZOCBOOK IMPORT \ZOC\PHONEBK \TELIX\TELIX.FON TELIX
will import entries in Telix(*) format
ZOCBOOK IMPORT \ZOC\PHONEBK \TM\TM.FON TELEMATE
will import entries in Telemate(#) format
ZOCBOOK IMPORT \ZOC\PHONEBK \FIDO\NODELIST FIDO 00 49
will import entries in FIDO NodeList format, with
00 int'l dial prefix and 49 country dial code
Condition:
----------
A ZOC phone book entry must match the specified condition if the
specified action (set / delete) should apply to it.
In this version of ZOCBOOK you can only specify simple conditions,
means: only one condition at one time. Maybe one of the next
ZOCBOOK versions can use multiple conditions.
Condition format: <name><operator><value>
where:
<name> = NAME (bbs name)
NUMBER (phone number)
SERIAL (serial parameters)
OPTION (option file)
LOG (logfile)
AUTO (auto login)
BOOK (phone book section)
DIAL (dial method)
QUICK (quick access)
ZONE (zone)
EMULATION (emulation)
PASSWORD (password)
MEMO (memo text)
CALLDUE (calldue, '$' doesn't work)
<operator> = = (equal)
# (not equal)
$ (contains)
<value> = the valid value for name, in this version of ZOCBOOK
<value> must not have a space in it. This means that
<value> is restricted to single word values.
Examples: book=1
match all entries which phone book section is "#1"
dial#script
match all entries which dial method is not "Script"
name$blues
match all entries which bbs name contains "blues"
password=secret
match all entries which password is "secret"
Options:
--------
/s:<serial> = set serial parameters for ZOC entries to <serial>;
if not specified each ZOC entry is set to the
value pecified in the import phone book entry;
if /s: without <serial> is specified, serial
parameters are erased, and therefore the ZOC
setting serial parameters are used
/b:<book> = put ZOC entries into <book> (default, 1, 2 or 3)
/d:<dial> = set dialmode for ZOC entries to <dial> (dial,
xdial or script)
/q:<quick-access> = set quick access for ZOC entries to <quick-access>
(on or off)
/z:<zone> = set zone for ZOC entries to <zone> (a, b, c or d)
/e:<emulation> = set terminal emulation for ZOC entries to
<emulation> (default, ansi, vt100 or tty)
/a:<autologin> = set autologin text for password sending (yes, no)
/v:<book-version> = use ZOC phone book version (0.98) new phone books
/p:<password> = set password for ZOC entries to <password>
/c:<calldue> = set calldue for ZOC entries to <calldue>
Feel free to use only the parameters you need. The parameters are
neither order- nor case sensitive.
Defaults:
---------
<serial> = as specified in the entries or as in ZOC setting (FIDO)
<book> = Default
<dial> = Dial
<quick-access> = Off
<zone> = A
<emulation> = as specified in the entries or as in ZOC setting (FIDO)
<autologin> = password, as specified in the entries
<book-version> = 0.98
<password> = as specified in the entries
<calldue> = 0
Extended examples:
------------------
ZOCBOOK INFO \ZOC\PHONEBK
- show ZOC phone book info's
ZOCBOOK SET PHONEBK EMULATION=TTY /E:ANSI /S:57600-8N1 /B:3
- change all ZOC phone book entries with tty emulation
* set ZOC emulation to ANSI
* set serial parameters to baud rate 57600, 8 data bits, no parity,
1 stop bit
* put entries in ZOC phone book #3
ZOCBOOK DELETE PHONEBK NAME$foo
- delete all ZOC phone book entries with bbs name contains "foo"
ZOCBOOK IMPORT PHONEBK TELIX.FON /S:38400-8N1 /B:1 /D:DIAL /Z:C /E:ANSI
- import Telix(*) phone book
* use ZOC phone book with file name PHONEBK in current directory
* use Telix(*) phone book with path/file name \TELIX\TELIX.FON
* set serial parameters to baud rate 38400, 8 data bits, no parity,
1 stop bit
* put the entries in ZOC phone book #1
* set ZOC dialmode to DIAL
* set ZOC zone to C
* set ZOC emulation to ANSI
ZOCBOOK IMPORT PHONEBK NODELIST.365 00 49 /E:TTY /A:YES /P:secret
- import FIDO NodeList
* use ZOC phone book with filename PHONEBK
* use NodeList with filename NODELIST.365
* int'l dial prefix is 00
* country dial code is 49 (Germany)
* set ZOC emulation to TTY
* set ZOC autologin text to 'W1=sswor|S1=', appends password from
phone book entry, appends '^M'
* set password to 'secret'
--------------------------------------------------------------------------
3. NOTES
--------------------------------------------------------------------------
ZOC phone book format versions:
-------------------------------
This version creates ZOC phone book files with the V0.98 phonebook
format. This is the actual version (together with ZOC 1.00) and I
hope that future versions of ZOC will read it as well.
With upcoming ZOC v1.22beta / v1.30 phone book has four more fields.
ZOCBOOK 1.04 (the version included) is able to handle them correctly.
ASCII phone book format:
------------------------
BBS name : 32 characters, position 1 to 32
phone number: 64 characters, position 33 to 96
password : 20 characters, position 97 to 116
baud rate : 6 characters, position 117 to 122
data bits : 1 character, position 123
parity : 1 character, position 124
stop bits : 1 character, position 125
emulation : 10 characters, position 126 to 135
All entries have to be left justified.
Since user intervention, changed in v1.02: the line has only to end
with cr/lf, instead of (v1.01): line size must be exactly 137 bytes.
So you don't need to fill up the rest of the line with blanks.
The only two fields needed are BBS name and phone number. The other
fields are set to default values of in import phone book entry is
no value (blanks/spaces).
Telix(*) phone book format:
---------------------------
ZOCBOOK checks for Telix(*) phone book format version. It works
with ddfHeader version 1; phone book ID should be hex 02E2B291A.
Telemate(#) phone book format:
------------------------------
ZOCBOOK works with Telemate(*) version 3.x and 4.0 phone book formats.
I do not know of any other Telemate phone book format, so, if there
is one, please let me know. Thanks!
FIDO Nodelist format:
---------------------
ZOCBOOK works with FIDO NodeList format. Remeber that ZOC can hold
only 128/200 (v1.00/v1.01) entries in his phone book.
Existing ZOC phone book:
------------------------
If there exists a ZOC phone book file than ZOCBOOK appends all new
imported phone book entries to it. If no ZOC phonebook file exists,
a new one will be created.
If you don't want to append to the ZOC phone book file simply specify
an other ZOC phone book file name.
SET and DELETE commands copy the matching ZOC phone book entries from
ZOC phone book file to a temporary file called ZOCBOOK.TMP. After
ending successfully, the original ZOC phone book file will be erased
and the temporary file ZOCBOOK.TMP will be renamed to the name of
the original ZOC phone book file.
Converted fields:
-----------------
The following fields are converted from the Telix(*) phone book
entry to the ZOC phone book entry:
ASCII fields ZOC fields
------------ ----------
(BBS) name Name
phone number Value
password Autologin and/or Password
baud rate Serial parameters
data bits "
parity "
stop bits "
emulation Emulation
If you want to use the Autlogin feature of ZOC you have to
change the Autologin field manually or use the /A:YES option.
Telix(*) fields ZOC fields
--------------- ----------
(BBS) name Name
password Autologin and/or Password
phone number Value
line speed Serial parameters
parity "
data bits "
stop bits "
terminal emulation Emulation
If you want to use the Autlogin feature of ZOC you have to
change the Autologin field manually or use the /A:YES option.
Telemate(#) fields ZOC fields
------------------ ----------
(BBS) name Name
password Autologin and/or Password
phone number Value
line speed Serial parameters
parity "
data bits "
stop bits "
terminal emulation Emulation
If you want to use the Autlogin feature of ZOC you have to
change the Autologin field manually or use the /A:YES option.
FIDO NodeList fields ZOC fields
-------------------- ----------
(BBS) name Name
phone number Value
--------------------------------------------------------------------------
4. VERSION HISTORY
--------------------------------------------------------------------------
v1.00 93/12/31 internal (debugging) use only
v1.01 93/12/31 first official version
v1.02 94/01/06 fixed: import command doesn't use /e: parameter,
set command sets serial parameter to '-'
if no /s: option specified,
condition debug output removed,
upper/lower case sensitive with condition,
ZOC entries filled up completly with 0's.
added: FIDO NodeList import,
improved i/o speed.
v1.03 94/03/27 only internal release
fixed: set command corrupts data due to internal
file buffering (which seems to be buggy).
added: Telemate(#) password into ZOC Autologin,
/A: option for W1/S1 autologin text (works
only with import command).
v1.04 94/05/07 added: /P: and /C: option.
added: password, memo and calldue as conditions.
Future extensions (if requested by ZOCBOOK users):
* german documentation.
* native OS/2 (text mode) version.
* other import formats (which one do you miss?).
* scriptfile and optionfile options.
* a friendly PM front-end.
--------------------------------------------------------------------------
5. ZOC, THANKS
--------------------------------------------------------------------------
GET ZOC! THE BEST COMMUNICATIONS PROGRAM FOR OS/2 2.x I KNOW!
Look for ZOC1xx.ZIP on your preferred OS/2 bbs or get it directly
from the ZOC Infobbs Support BBS +49-911-9933662 (8N1), log in as
ZOC.
Thanks to Markus Schmidt, the autor of ZOC, for providing the
structure of the ZOC's phone book and some wise advice.
Without his help it would have needed much more efforts to make
ZOCBOOK work.
Also, I thank him for giving ZOC to the OS/2 community.
--------------------------------------------------------------------------
(*) Telix is a trademark of deltaComm Development, USA
(#) Telemate is a trademark of White River Software, Canada
(+) Microsoft is a trademark of Microsoft, Inc.