home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power CD-ROM!! 7
/
POWERCD7.ISO
/
dos
/
commo641
/
addendum.doc
next >
Wrap
Text File
|
1994-11-20
|
13KB
|
380 lines
{COMMO} 6.41 Addendum
_____________________
This Addendum contains the major additions and/or changes to the
{COMMO} 6.0 documentation. Print out this file and keep it with your
printed manual. There is a complete list of changes (major and minor)
in the file HISTORY.
===============================
In the User Guide and Reference
===============================
Under "[Alt-G] Edit Setup File"
------------------------------
___________________________________________________________
{set zr_mode,r} Zmodem like-named file mode (s/r/n/o)
s=skip, r=resume, n=rename, o=overwrite
___________________________________________________________
This variable tells {COMMO} what to do when a file being received
with Zmodem already exists in your download directory. See
"[PgUp]/[PgDn] Uploading/Downloading" for details.
NOTE: This variable can be changed at any time by pressing "M"
in the Download Protocol Menu.
_____________________________________________
{set sel_pns,no}
Use COMMOPNS for upload picklist (yes/no)
_____________________________________________
COMMOPNS is a shareware program that lets you tag files for
uploading. It operates faster and displays more files at one
time than {COMMO}'s file selector macro. Set this item to "yes"
after installing COMMOPNS.EXE in your "protodir" directory.
IMPORTANT! Do not use the macros supplied with COMMOPNS.
The archive PNS52.ZIP is supplied on the {COMMO} registration
disk. It may also be found on many fine BBS's.
Under "[Alt-M] Macro File"
-------------------------
---------- Compiling Macro Files
NOTE: Use of compiled macros is unavailable during shareware
evaluation.
Macro Files may be compiled to increase speed, to reduce size and to
improve security of source code. Compiling is done from within the
Macro File window (see Online Help for the keys used to load and
compile Macro Files). The default extension for {COMMO} compiled
macros is .CCM, but you may edit the filename as desired.
A compiled Macro File is used in exactly the same way as a source
Macro File. The only difference is that in-window operations, such as
searching for text or starting a macro with the Selector Bar, are not
available. This means that the {macro string} style of menus is also
not available. Use the MENU function instead.
TIPS on using compiled macros:
* The Macro Compiler version number is shown on the startup screen.
This must match the version number in the compiled Macro File.
To see the version number in the file, use the DOS "type" command
or your favorite file viewer or editor.
* Macro function names (LOOKfor, SEND, etc.) are checked for
validity at compile time, but all other errors are reported at
run time. Be aware that the location of the error cannot be
shown without the source macros.
Under [PgUp]/[PgDn] Uploading/Downloading
------------------------------------------
---------- Internal Protocols
{COMMO} provides an extremely fast and efficient version of the Zmodem
protocol, plus a number of variations on the Xmodem and Ymodem
protocols. These afford you varying degrees of convenience, speed and
security.
ZMODEM is the preferred protocol on most host systems. It features
automatic startup of downloads, multi-file transfers and automatic
naming and dating of received files. Zmodem also affords greater data
security through its 32 bit cyclic redundancy check and its ability to
resume transfers that were interrupted (e.g., by loss of carrier).
The "zr_mode" variable item in COMMO.SET controls the disposition of
like-named files when downloading. Four options are available when
the incoming filename matches a filename in the Download Directory
(choose only one):
[S]kip -- The file will be skipped (not downloaded).
[R]esume -- The file will be resumed (appended to) if the file in
the Download Directory is smaller than the incoming file.
Otherwise, the transfer will be considered complete.
re[N]ame -- The incoming file will be renamed by changing the
last character of "filename.ext" to a letter from A through Z.
[O]verwrite -- The existing file will be deleted and the incoming
file will replace it.
---------- External Zmodem
Some users may prefer to use an external Zmodem driver. This can be
done easily by entering replacement macros for "z_recv" and "z_send".
If you add these at the top of COMMO.MAC, you won't have to change the
existing macro structure (the new macros will override the old).
Example macros for Omen Technology programs and Texas Zmodem are shown
in SAMPLES.MAC.
==============================
In the Macro Programming Guide
==============================
New or Changed Function Descriptions
------------------------------------
=== RZMOdem ===
Default key: none
Description: Receive a file using the Zmodem protocol.
Switches:
R1 or R
Resume like-named files. If the incoming file is longer,
the transfer will resume at the end of the existing file.
No check is made to determine if the common portion of the
file is identical.
N1 or N
Rename incoming files if like-named files exists. A letter
"A" through "Z" will be used in place of the last character
of "filename.ext".
Y1 or Y
Overwrite like-named files. The existing file will be
deleted at the start of the transfer.
D1 or D
Cancel transfer if carrier detect is lost (default).
NOTE: If carrier detect is off when the transfer is
started, this switch will behave as if "D0" had been set.
D0
Ignore state of carrier detect.
A1 or A
Sound the alarm at the end of the transfer.
A0
Do not sound the alarm (default).
W
Wait for a keypress at end of transfer.
Wn
Wait for "n" seconds, "n" may range from 0 to 999. Press a
key to cancel the wait.
Note: Default (no "W" switch) is no wait.
The "R", "N" and "Y" switches are mutually exclusive (use only one).
If none of the three is present, the file will be "skipped" if a like-
named file exists in the download directory.
Example:
{rzmo-ra %dldir}
Receive files into the download directory, resume partial
files, sound the alarm.
TIPS on using RZMOdem:
* Some conditions that will cancel a transfer:
1) 20 consecutive errors.
2) The sender has cancelled.
3) Unable to open a file.
4) Disk is full.
5) Loss of carrier.
* The Exit Code (test with IFER) will be set at the end of the
transfer and will also be stored in the variable "_err". 0 means
all files were transferred successfully. 1 means one or more
files in the batch were not completed.
* If the Usage Log is enabled, an entry will be made after each
file is transferred (or if a transfer is cancelled).
=== SETR ===
Default key: none
Description: Define a label to GOTO when a Macro Error occurs.
Examples:
{setr error}
GOTO "error" when any Macro Error occurs.
{setr}
Reset to no label.
SETR allows a macro to get control when a Macro Error occurs. All
macro parameters (see STOP) will be reset after the error (including
the SETR label).
TIPS on using SETR:
* The built-in variable "_met" will contain an error message
describing the most recent error.
* Variable Space will not be changed.
* If the specified label does not exist, or if no label is
currently specified, {COMMO} will STOP and indicate the location
of the error.
=== SETUp ===
Default key: Alt-G
Description: Edit Setup File.
Example:
{setup}
No arguments.
=== SZMOdem ===
Default key: none
Description: Send a file using the Zmodem Batch protocol.
Switches:
R1 or R
Tell the receiving program to resume the transfer at the end
of the existing file.
U1 or U
Delete files after successful transmission. Use with
CAUTION!
D1 or D
Cancel transfer if carrier detect is lost (default).
NOTE: If carrier detect is off when the transfer is
started, this switch will behave as if "D0" had been set.
D0
Ignore state of carrier detect.
A1 or A
Sound the alarm at end of transfer.
A0
Do not sound the alarm (default).
W
Wait for a keypress at end of transfer.
Wn
Wait for "n" seconds, "n" may range from 0 to 999. Press a
key to cancel the wait.
Note: Default (no "W" switch) is no wait.
Examples:
{szmo-a %uldir\*.*}
Send all files in the upload directory, sound the alarm when
finished.
{szmo-u ginger.rep}
Send "ginger.rep" and delete it after a successful transfer.
---------- File Specifications
Any combination of file specifications may be listed in the SZMOdem or
SYMOdem functions. These must be separated with commas and may
include wildcard specifiers (*,?), the indirect file specifier (@) and
any single files.
If a filespec is preceded with the "@" sign, it will be assumed to be
an "indirect file." This means that it is a text file containing a
list of filespecs. Filespecs should be listed one per line and each
line should end with a cr/lf (i.e., a normal text file). Each
filespec may contain wildcards. For example:
c:\subdir\*.*
info.txt
a:*.qw?
TIPS on using SZMOdem:
* Some conditions that will cancel a transfer:
1) 20 consecutive errors.
2) The receiver has cancelled.
3) Loss of carrier.
* The Exit Code (test with IFER) will be set at the end of the
transfer and will also be stored in the variable "_err". 0 means
all files were transferred successfully. 1 means one or more
files in the batch were not completed.
* If the Usage Log is enabled, an entry will be made after each
file is transferred (or if a transfer is cancelled).
=================
In the Appendices
=================
Under "Appendix F Usage Log Format"
-------------------------------------
Example of a file transfer entry:
{RZ} 0 c:\ul\nlbbs.rep 188988 1608 cps 0 errors
{RZ}
File was received with Zmodem.
0
0 means the file was transferred (or resumed) successfully.
1 means the file was not completed.
c:\ul\nlbbs.rep
Path\filename of file.
188988
Bytes transferred (may not be equal to the size of the file
if the transfer was incomplete or if the Zmodem resume
feature was used).
1608 cps
Rate at which data was transferred in characters per second.
The clock is not started until initial protocol handshaking
has been completed. "** cps" indicates transfer time was
too short or there was an error in the computation.
0 errors
Total number of errors (corrected if transfer was
successful).
NOTE: You may configure an external protocol program to make log
entries to your {COMMO} Usage Log file. The format of these entries
is explained in the documentation for the protocol program.
- end -