home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arcade BBS
/
arcadebbs.zip
/
arcadebbs
/
bbstools
/
GSZ.DOC
< prev
next >
Wrap
Text File
|
1995-08-25
|
39KB
|
1,159 lines
CONTENTS
1. ZMODEM Features at a Glance.................................... 1
2. CUSTOMIZING GSZ................................................ 3
2.1 Setting the GSZ Screen Size............................. 4
2.2 Speeding up GSZ......................................... 4
3. TUTORIAL INTRODUCTION.......................................... 5
4. CALLING GSZ FROM COMM PROGRAMS................................. 6
4.1 USE AN INTERFACE PROGRAM?............................... 6
4.2 MSKermit 3.xx........................................... 6
4.3 PROCOMM PLUS............................................ 7
4.4 Qmodem.................................................. 8
4.5 TELIX................................................... 10
5. BULLETIN BOARD CONSIDERATIONS.................................. 12
6. DESCRIPTION.................................................... 13
7. COMMANDS....................................................... 15
7.1 List of Commands........................................ 15
7.2 Interrupt Keys.......................................... 21
8. NUMERIC PARAMETERS............................................. 22
9. ENVIRONMENT VARIABLES.......................................... 26
10. EXIT STATUS.................................................... 30
11. EXAMPLES....................................................... 31
12. BACKGROUND OPERATION........................................... 32
12.1 Microsoft Windows....................................... 33
12.2 VM...................................................... 34
13. TERMINAL SERVERS............................................... 35
13.0.1 PORT WATCHERS 36
14. FLOW CONTROL................................................... 37
15. ERROR MESSAGES................................................. 38
15.1 Got ZRPOS............................................... 39
15.2 Subpacket too Long...................................... 40
15.3 Bad CRC................................................. 40
15.4 Garbled Data Subpacket.................................. 40
15.5 Serial Input Error: Line Status Register xx ............ 41
15.6 TIMEOUT................................................. 44
15.7 No Carrier Detect....................................... 44
15.8 Port %d (%X) defective.................................. 44
15.9 COMMAND NOT FOUND....................................... 44
15.10 Out of Environment...................................... 44
16. SLOW TRANSFERS................................................. 46
17. IN CASE OF DIFFICULTY.......................................... 47
17.1 LOCKUPS................................................. 47
17.1.1 Insufficient Memory 47
17.1.2 Environment TOO BIG 47
17.1.3 Bad COM Port Configuration 47
17.1.4 LAN Manager Conflicts 48
17.2 Incorrect Batch Files................................... 49
17.3 Cheap Internal Modems................................... 49
17.4 Commands Entered in Upper Case.......................... 49
17.5 No Carrier Detect....................................... 49
17.6 DOS 3.x................................................. 50
17.7 Perstor Controllers..................................... 50
17.8 IBM PS/2 Model 50Z...................................... 50
17.9 Brain Damaged UARTS..................................... 50
17.9.1 Everex Internal Modems 52
17.10 Weird Iron.............................................. 53
17.11 PKARC 3.6............................................... 53
17.12 Will the real YMODEM please stand up?................... 53
17.13 286 and 386 Extended Memory............................. 53
17.14 Disk Caches............................................. 54
18. ASSOCIATED DOCUMENTS........................................... 55
19. FILES.......................................................... 56
20. Other Omen Technology Products................................. 58
20.1 Professional-YAM COMMS TOOLS............................ 58
20.2 ZCOMM: Industrial Strength COMMS Shareware.............. 58
20.3 ZMODEM Developer's Collection........................... 58
21. FAIR PLAY...................................................... 59
21.1 Sharing GSZ Files....................................... 60
21.2 REGISTRATION............................................ 61
21.3 Files on Registration Disk.............................. 63
21.4 Bulletin Board Registration............................. 64
22. CHANGES........................................................ 66
23. ACKNOWLEDGEMENTS............................................... 70
Chuck Forsberg
Omen Technology Inc
ABSTRACT
ZMODEM-90(TM) - Not just another XMODEM hack
GSZ is one of many available programs that implement the ZMODEM file
transfer protocol. GSZ features the ZMODEM-90(TM) extensions including
ZMODEM compression and MobyTurbo(TM) accelerator.
GSZ's ZMODEM provides advanced file management features including two
levels of Intelligent Crash Recovery(TM), and flexible control of
selective file transfers.
The ZMODEM file transfer protocol provides reliable file and command
transfers with complete END-TO-END data integrity between application
programs. GSZ's 32 bit CRC protects against errors that sneak by "error
free" modems and even the most advanced networks.
ZMODEM safeguards all data and supervisory information with effective
error detection. (XMODEM and many recently introduced protocols do not
protect vital supervisory data.)
ZMODEM rapidly transfers files, particularly with modern modems,
timesharing systems, satellite relays, and packet switched networks.
ZMODEM's streaming operation eliminates delays caused by
Kermit/XMODEM/YMODEM/JMODEM block acknowledgements. ZMODEM eliminates
traditional protocols' PACKET LENGTH compromises between transfer
efficiency and error recovery; ZMODEM's packet length is the entire
file.
User Friendliness is an important ZMODEM feature. ZMODEM
AutoDownload(TM) (Automatic file Download without user intervention)
provides a level of convenience unimaginable to users of traditional
protocols.
GSZ - a ZMODEM-90(TM), True YMODEM(TM), XMODEM File Transfer Program
Omen Technology Inc
1. ZMODEM Features at a Glance
_______________________________________________________________________
| Feature | ProCm | RZSZ | DSZ | GSZ | ZCOMM | Pro-YAM |
|________________________|_______|______|______|_____|_______|_________|
|Security Verification | no | no | no | no | no | YES |
|Cybnertic Data Recovery | no | no | YES | YES | YES | YES |
| | | | | | | |
|Command Download | no | YES | no | no | YES | YES |
| | | | | | | |
|Update Directory Tree | no | YES* | no | no | YES | YES |
| Create Directories | no | YES* | no | no | YES | YES |
| Newer files Only | no | YES | YES | YES | YES | YES |
| Protect files | ? | YES | YES | YES | YES | YES |
| Common files Only | no | YES | YES | YES | YES | YES |
| | | | | | | |
|Collision Avoidance | ? | no | YES* | YES | YES | YES |
| | | | | | | |
|Crash Recoverey | YES | YES | YES | YES | YES | YES |
| Verified Accuracy | no | SZ | YES | YES | YES | YES |
| | | | | | | |
|ZMODEM-90(TM) | no | YES | YES | YES | YES | YES |
| Compression | no | YES | YES | YES | YES | YES |
| MobyTurbo(TM) | no | YES* | YES | YES | YES | YES |
| 7-bit Paths OK | no | YES* | YES* | YES | YES | YES |
| | | | | | | |
|OPERATING SYSTEMS | | | | | | |
| Text Translation | no | YES | YES | YES | YES | YES |
| Record Format Support | no | YES | YES | YES | YES | YES |
| DOS Shared Files | ? | - | YES | YES | no | no |
| VMS | no | YES | no | no | no | YES |
| Unix/Xenix | no | YES | no | no | no | YES |
| | | | | | | |
|True YMODEM(TM) | no | YES | YES | YES | YES | YES |
|Demand Upgrade(TM) | no | YES | YES | YES | YES | YES |
|File Transfer Display | YES | no | no | YES | YES | YES |
| TOTAL File Xfer Data | no | YES | YES | YES | YES | YES |
|________________________|_______|______|______|_____|_______|_________|
ProCm = ProComm Plus
* Not available on all flavors or platforms
Chapter 1 Pg 2 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
*************************************************************************
GSZ registration is special.
With most programs, registration only applies only to today's version.
Not GSZ!
GSZ registration bypasses the shareware announcement and unlocks
advanced features in all future versions of GSZ. You don't have to pay
and pay again for new GSZ versions. Omen's Demand Upgrade(TM)
technology allows you to download and activate future GSZ versions
without further registration!
*************************************************************************
DSZ Upgrade!! Include your PAID REGISTRATION DSZ SNP CARD and take
$15.00 off the registration fee!! (The card must be mailed with the
order.) (Be sure to copy your DSZ SNP for safe keeping.)
Chapter 1 Pg 3 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
2. CUSTOMIZING GSZ
The GCOLORS program customizes GSZ for your environment. GCOLORS
performs the following functions:
+ Customize GSZ's color complement (registration not required).
+ Save and fetch the color selection separately to allow "colorizing"
new copies of GSZ
+ Insert your GSZ serial number and activation key
+ Initialize GSZ with your default communications port (registration
required).[1]
+ Initialize GSZ with your default download directory. (registration
required).
GCOLORS is menu driven and is mostly self explanatory. First GCOLORS
asks for the file name to modify; answer GSZ.EXE.
Sight impaired users can disable the blinking selection pointer by
calling "gcolors -q".
The top menu provides several choices.
Choose colors Modify the GSZ file transfer display color scheme.
Fetched saved colors Fetch the color scheme stored in GCOLORS.T.
adjust for Monochrome display Adjust the color scheme for better
visibility on monochrome displays.
Register Accept your GSZ activation key and insert it in GSZ.
Save changes Save the color scheme in GSZ and GCOLORS.T.
Quit
If your copy of GSZ is registered, two additional choices appear.
set download Directory
__________
1. The default port may be up to 7 characters, so portx definitions may
be used. The validity of the port specification is not checked.
Chapter 2 Pg 4 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
set default Port
Some Color Selection menu choices are not shown on the display:
space increment foreground color
Enter select the next field
F decrement foreground color (f increments)
B decrement background color (b increments)
GCOLORS requires the file GREGDAT.$$$ to serialize GSZ.
2.1 Setting the GSZ Screen Size
Some BBS programs display status information such as the name of the
caller at the bottom of the screen. Normally GSZ clears all 25 screen
lines, but this can be modified with the GSZWINDOW environment
variable:
SET GSZWINDOW=24 protects the 25th line and disables the frame
shadow.
SET GSZWINDOW=23 protects the 24th and 25th lines and disables the
frame and frame shadow.
SET GSZWINDOW=21 Protects lines 22-25, disables the frame, frame
shadow, and the static data GSZ normally shows in
lines 22 and 23.
SET GSZWINDOW=2 Starts the window at line 2. This allows the
calling program to protect information on the top
line. GSZWINDOW values of 3 and 4 also work.
Setting GSZWINDOW does not affect the GSZ t command.
2.2 Speeding up GSZ
GSZ has a V numeric parameter that can be set to 1 to use direct video
I/O for the status display. This speeds up displays but may cause
serial input errors when CGA equipped computers are used at high speeds.
EXAMPLE: GSZ pV1 t
sets direct video output.
Chapter 3 Pg 5 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
3. TUTORIAL INTRODUCTION
If you are just starting out with GSZ, or if you have difficulty getting
GSZ to work, please follow the procedure given below.
Do not run any TSR or other COMM program. This includes LAN programs.
Reboot a clean DOS if necessary.
Start with the following command given directly from the DOS prompt:
gsz port 1 speed 2400 d t
Type it exactly as it appears above; do NOT use upper case.
(Change the port number and speed as necessary. Use only COM1 or COM2
for testing.)
This connects you to the modem. Dial a bulletin board by typing AT
commands to the modem ("ATDT621-3746 <enter>")[1] to make it dial the
BBS. Log in as usual. Then, request a ZMODEM download of a file you
don't already have. The file will download automatically, you don't
have to do anything. This procedure verifies the correct operation of
GSZ.
Next you might try calling the BBS using a higher "baud rate". This
requires setting a higher speed with the "speed" command. A "handshake
on" command may be necessary along with commands to the modem to enable
hardware handshaking in the CTS and RTS leads.
Perhaps you got some error messages before or during the download. The
"ERROR MESSAGES" chapter explains all the commonly seen error messages
and suggests solutions to the underlying problems.
__________
1. If your modem has a non standard setting the ATDT621-3746 command
you type to the modem may not echo on the screen.
If your telephone line requires pulse dialing, use ATDP621-3746 (DP
instead of DT).
Chapter 4 Pg 6 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
4. CALLING GSZ FROM COMM PROGRAMS
If you need to define a trigger string for automatic downloads, make the
program look for "Control-X B 0 0" without the spaces.
It may be necessary to add the DOS command: SET COMSPEC=C:\COMMAND.COM
(change as needed) to your AUTOEXEC.BAT file to allow programs to call
GSZ.
Note: NO SPACES in the SET command!
Please note that gsz reads the hardware to get the speed. The gsz speed
command is hardly ever needed when calling gsz from another program.
4.1 USE AN INTERFACE PROGRAM?
A number of third party programs have been developed to provide a
congenial interface to DSZ if you have enough memory to spare. The
XFER, POE, PCALL, DSZ_ZAP, and PROZ programs have been popular in
interfacing DSZ to ProComm's editor gateway. Many of these support GSZ
as well. These programs are available on many bulletin boards.
Hint: the DOS PATH environment variable must include ProComm's directory
to allow POE to locate all the POE files,. The POE files should be
stored in the ProComm directory. Setting the "PROCOMM" environment
variable is insufficient.
Calling DSZ with these programs requires more memory than calling DSZ
directly.
4.2 MSKermit 3.xx
The "push" command (^[p) in MSKermit 3.xx sends an XOFF character to the
modem before calling DOS. Using this to activate GSZ's term mode with a
"gsz t" command causes most remote hosts to lock up.
The remote host can be unwedged by using the gsz G command, or by
keyboarding XON (Ctrl-Q) from GSZ's terminal mode.
You can add these macros to your MSKERMIT.INI file. Courtesy Keith
Petersen W8SDZ
define sx run gsz F port 2 G sx 1 2,define 1,define 2,
define rz run gsz F ha on port 2 G rz -r
define sz run gsz F ha bo port 2 G sz 1 2,define 1,define 2,
define t run gsz F ha on port 2 G t -r
Chapter 4 Pg 7 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
4.3 PROCOMM PLUS
It's easy to add GSZ to ProComm Plus 2.X.
Datastorm has not licensed ZMODEM-90(TM) technology despite allegations
that DSZ is now "built in" to ProComm Plus version 2. Many users of
ProComm Plus version 2.x use GSZ to get MobyTurbo(TM), Intelligent Crash
Recovery(TM), and other ZMODEM-90(TM) features.
Make sure the GSZ program is in your search path. If you don't see GSZ
announce itself when called from ProComm, GSZ is not in your search
path.
Here are some handy settings for ProComm Plus.
First, you may need to set the DOS environment before running ProComm.
Give these commands to DOS before running ProComm Plus. (These lines
may be added to your AUTOEXEC.BAT file.)
Note: NO SPACES in the SET command!
SET DSZPORT=2 (Only needed for COM2)
SET DSZLOG=GSZ.LOG (Only if you wish a log file)
Then set ProComm's external protocol strings. From terminal mode hit
ALT-S, then select the PROTOCOL OPTIONS menu item.
From that menu select EXTERNAL PROTOCOL OPTIONS. Then set ProComm's
external protocol strings to:
A- External protocol 1 upload filename: ZMODEMU
B- External protocol 1 download filename: ZMODEMD
C- External protocol 2 download filename: ZMODEMMD
The following batch files are included in the GSZ zipfile:
ZMODEMU.BAT (contains: GSZ sz %1 %2 %3 %4 %5 %6 %7 %8 %9)
ZMODEMD.BAT (contains: GSZ rz)
ZMODEMDR.BAT (contains: GSZ rz -r)
ZMODEMMD.BAT (contains: GSZ rz -mr)
ZMODEMAD.BAT (contains: GSZ t)
!!!!IMPORTANT USE lower case (small letters) EXCEPT WHERE SHOWN!!!!
*******************************************************************
Select the ZMODEM PROTOCOL OPTIONS menu and turn off Auto downloading!
*******************************************************************
When sending (uploading) files with ZMODEMU.BAT give the ProComm window
the full pathname (c:/foo/bar/file.ext) for *each* file not residing in
the current directory.
Chapter 4 Pg 8 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
When downloading files with one of the other batch files shown above,
Procomm will also prompt for parameters; just hit ENTER. Or, you can
enter options such as "-mr" if they are't included in the batch file
itself.
Once you've got the hang of things the "ProComm way", try the "gsz t"
command described above to give you automatic ZMODEM-90(TM) downloads
(Look Ma, no keystrokes!!!)..
You can also set the editor hot key (ALT-A) or view program hot key
(ALT-V) by using the ALT-S "FILE/PATH OPTIONS" menu. The strings for
these keys are long enough to store an entire GSZ command line without
need for a batch file.
COM3 and COM4 on Procomm Plus are non standard; in case of difficulty
use COM1 or COM2, or use the portx command.
GSZ may not operate properly when called from ProComm if ProComm has
files open at the time.
A number of reports have been received of problems running GSZ from
ProComm Plus because of insufficient memory. Please refer to the
subchapter on LOCKUPS.
When running under ProComm's Host mode, failure to use the GSZ CON
command may cause ProComm to interfere with file transfers or lock up
the computer.
EXAMPLE: GSZ CON sz %1
Hint: the DOS PATH environment variable must include ProComm's directory
to allow POE to locate all the POE files,. The POE files should be
stored in the ProComm directory. Setting the "PROCOMM" environment
variable is insufficient.
4.4 Qmodem
Changes in the Qmodem interface (arguments passed to the batch file) may
require changes in the batch files shown below, depending on which
version of Qmodem is used.
If you need to define a trigger string for automatic downloads, make the
program look for "Control-X B 0 0" without the spaces.
If you define a protocol with 'Z' as its letter, the latest Qmodem will
detect automatic ZMODEM downloads. Defining an external 'Z' protocol
disables Qmodem's internal ZMODEM, allowing GSZ to be called.
The following is based on a message from Mike Cody, sysop of HomePlate
Chapter 4 Pg 9 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
313-385-9969 3/12/24/96 HST
Go into Qinstall and go to frame 3 Directories. Then select External
protocols #3 I think. Now you will see a definition area to tell Qmodem
the Letter,batchfile combo to use.
Now put Z in the letter definition, Zup.bat in the u/l batch zdown.bat
in the d/l batch, and Y in the batch protocol. Now save it at the menu
with f10 and S.
Then go to DOS and create the following batch files in your Qmodem
directory...
zdown.bat: GSZ port %2 rz -rr
zmdown.bat: GSZ port %2 rz -mrr ((FOR MOBYTURBO!!))
zmdown2.bat: GSZ port %2 est 0 %3 rz -mrr
zup.bat: GSZ port %2 sz %4
!!!!IMPORTANT USE lower case (small letters) EXCEPT WHERE SHOWN!!!!
These are the batch files that will be called by Qmodem. If you did
everything right when you hit PGDN or PGUP you will see an external
protocol called Z) Zmodem in the box. For an easier time do a search for
either External.arc or maybe the string "Qmodem" in the file database as
there is a file with several external protocols and batch files
available in the Mahoney file section (EXEC-PC BBS).
The following batch files for Qmodem are included in the GSZ zipfile:
ZDOWN.BAT contains: GSZ port %2 rz -rr
ZUP.BAT contains: GSZ port %2 sz %4
!!!!IMPORTANT USE lower case (small letters) EXCEPT WHERE SHOWN!!!!
A variation on the receive batch file:
c:elecomqmodem\*y.com ha slow est 0 %3 rz -mrr
A variation on the send batch file:
c:elecomqmodem\*y.com ha cts est 0 %3 sz %4
If Qmodem says "unable to allocate swap space": QMODEM 4.2 will swap all
but approx. 5K to memory or disk when you shell out to GSZ. Go into
QINSTALL and make sure that /O /R Optimum Shell and Disk Shell are both
set to ON.
For older Qmodem versions (before 4.2) change the %4 in upload scripts
to %3.
Chapter 4 Pg 10 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
4.5 TELIX
Telix has an internal ZMODEM, but some users prefer to use GSZ for
performance and/or reliability reasons. Mat Fisher has published a
Telix script to call GSZ for automatic downloads.
For those of you who use GSZ with Telix, here is a sample script
file to use instead of batch files:
//////////////////////////////////////////////////////////////////
//Protocol salt file for Telix's external protocols by Matt Fisher
//Last edited (02/24/90)
//used for the GSZ ZMODEM protocol. (for u/ling & d/ling)
//////////////////////////////////////////////////////////////////
str upload[80] = "c:\telix\DSZ port 1 ha on sz -m -rr ";
str download[80]= "c:\telix\DSZ port 1 ha on rz -b -m -rr ";
//////////////////////////////////////////////////////////////////
Main ()
{
if (_ext_filespec == "")
{ strcat(download,_down_dir); dos(download,0); }
else
{ strcat(upload,_up_dir); strcat(upload,_ext_filespec); dos(upload,0); }
alarm(1);
}
//////////////////////// THE END //////////////////////////////////
Simple but effective...
--- TAGMAIL v2.20
* Origin: CRIMP/John Galt [Node 1] (1:120/144)
INTERNET: Matt.Fisher@f144.n120.z1.FIDONET.ORG
NOTE: The DSZ command strings given above are quite unusual. Instead of
the "pW1 ha off" one would be more likely to use "ha on" or "ha sw"
depending on the modem's flow control settings.
From : Bill Logan
Subject : Help With Gsz For Telix
I test and use a variety of terminal programs for individuals.
One of which is telix. I found the script language to be less
than user friendly and installed GSZ via batch files and as an
external protocol. Here are the batch files:
ZMUP.BAT
Chapter 4 Pg 11 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
GSZ pV1 port %2 sz -mr %3
ZMDN.BAT
GSZ pV1 port %2 rz -mrr %3
Then go to ALT O in Telix and insert those batch names in the protocols.
They worked fine for me.
Bill
---
* Origin: PCConsultingAgencyII {=Telecom Node=} (1:300/22)
Use the Telix ALT-O screen to disable Telix's automatic ZMODEM download.
Chapter 5 Pg 12 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
5. BULLETIN BOARD CONSIDERATIONS
Note to the wise BBS operator: be sure you understand the restrict
command, how and WHY to use it!
When installing GSZ on a bulletin board or host system, be sure to check
for proper operation when the caller hangs up while a file is being sent
or received.
Some bulletin boards do not call GSZ to send a file until they have
verified the file's presence by actually opening the file. If this
checking is done in DOS's default exclusive open mode, gsz's file
sharing will be defeated.
If using a FOSSIL driver, you may need to call DSZ thru a batchfile.
That file should call XU to disable X00 before running DSZ and restart
X00 afterwards. Failure to take this precaution may cause FOSSIL to
steal the COM port from GSZ before file transfers are completed.
Chapter 6 Pg 13 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
6. DESCRIPTION
GSZ is a "protocol driver" that uses ZMODEM-90(TM), True YMODEM(TM), or
XMODEM to transfer files over a serial port with a variety of programs.
GSZ has two main commands for ZMODEM transfers: "sz" sends file(s), and
"rz" receives them.
When calling bulletin boards to download files with ZMODEM you can avoid
the bother of starting GSZ for each transfer by GSZ's terminal emulator,
before asking the BBS for the download.
gsz t
The "t" command allows you to keyboard the file request directly to the
BBS. (The "t" stands for "terminal emulation".) Just give the "gsz t"
command from DOS or your comms program's DOS GATEWAY. GSZ's ZMODEM
AutoDownload then receives the file automatically, using the filename
provided by the BBS, without any wasted keystrokes or delay. Try it,
you'll like it! (The "t" command is described below.)
YMODEM downloads are almost as easy. Use the "t" command as shown
above, and hit the F3 key after telling the board to download a file
with YMODEM.
ZMODEM and True YMODEM(TM) transfers preserve exact file length and
modification time.
GSZ supports XMODEM-1k (XMODEM with 1024 byte blocks, sometimes
mislabeled as ymodem) and CRC-16 with the sx -k and rc commands.
GSZ is usually called from a communications or bulletin board program.
GSZ uses its own modem I/O. The original interrupt vector, UART parity,
and interrupt configuration are restored on exit. The original state of
the 8259 interrupt mask bit for this vector is also restored on exit.
GSZ uses DOS standard output (stdout) for messages. GSZ never writes
directly to the screen. GSZ expects its standard output to point to the
console, a logging file, or NUL, but never the modem port. If gsz's
standard output is redirected to the modem (as with ProComm's Host mode
DOS shell), the combination will lock up the computer. When necessary,
gsz's standard output can be redirected back to the console device with
the CON command.
DSZ and GSZ automatically support Doorway 2.2 without extra commands.
The RZ.BAT and SZ.BAT files are supplied for convenience when operating
under Doorway. RZ.BAT allows calling programs that emit an "rz" command
to automatically start GSZ from the DOS command prompt. SZ.BAT is a
convenient command interface that complements RZ.BAT. You may modify
Chapter 6 Pg 14 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
SZ.BAT and RZ.BAT with your favorite options.
Chapter 6 Pg 15 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
7. COMMANDS
***********************************************************
NOTE WELL
Except as noted, all commands and options must be typed in lower case.
DO NOT USE UPPER CASE!!
Case is significant!
***********************************************************
Optional commands or arguments are shown in square brackets [].
When used (in any combination), the A, CON, port, speed, handshake,
estimate, and d commands must be used in exactly this order.
gsz [CON] [F] [port N] [speed S] [handshake XX] [pxN... ] [z pxN... ]
[D] [d] [restrict] [G] command
The shareware program DOORWAY 2.2 interfaces well with DSZ, and provides
many of the same functions, including the ability to run direct screen
writing applications remotely. DSZ and GSZ automatically support
Doorway 2.2 without extra commands.
7.1 List of Commands
CON Redirect message output to the DOS "CON" (console) device,
overriding any previous redirections. This is necessary to avoid
lockups caused by ProComm host mode. Most programs do not require
this hack.
F Leave the 16550A UART FIFO enabled on exit. Since GSZ has no way
to read the 16550A DMA mode and trigger level bits, these values
are not restored.
port N select port N (n = 1,2,3,4,5,6,7,8, or 9) Default is 1 (COM1) or
whatever is read from the DOS DSZPORT dos environment variable.
COM11 to COM18 refer to the COM1 to COM8 ports on the PS/2.
*****************************************************************
NOTE
Only COM1 and COM2 are standard on all PC compatible computers.
Multiple standards exist for COM3 and above, so use only COM1 or
COM2 when first installing GSZ.
*****************************************************************
GSZ COM3 uses 3E8 and IRQ4. GSZ COM4 uses 2E8 and IRQ3.
GSZ COM7 uses 3E8 and IRQ5. GSZ COM8 uses 2E8 and IRQ5.
If you wish to use COM3 or COM4 and your computer is not wired as
shown above, you MUST use the "portx" command to specify the
Chapter 7 Pg 16 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
actual base address and interrupt vector.
EXAMPLE: to use COM2:
gsz port 2 rz
In multitasking operation, accessing a port used by another
running program will hang the machine.
portx base,irq[,divisor] To select an arbitrary port address and
interrupt vector, the portx command must be used instead of the
port command. The portx command replaces the portcommand in the
same place on the command line. Please refer to DSZBG.DOC
(provided on the Registration Diskette) or the Professional-YAM or
ZCOMM (ZCOMMDOC.ZIP) manuals for details on this command.
When the portx command is used, gsz will indicate COM9.
EXAMPLE: gsz portx 3e8,15 speed 19200 handshake on rz
Newer UART chips can use raw bit rate sources up to 8 MHz or more,
more than 4 times as fast as the IBM standard 1.84320 MHz. Some
386 and 486 machines support MobyBaud(TM) operation above 115200
bps. To support a nonstandard bit rate source, multiply 5760 by
the new raw bit rate source frequency in MHz divided by 1.84320.
EXAMPLE: gsz portx 3e8,15,57600 speed 19200 handshake on rz
supports the 18.432 MHz clock option on the Boffin Electronics
"WinSport II" 2 port serial board. Your hardware configuration,
BIOS firmware, operating system, device drivers, and TSR programs
will determine the maximum useful speed.
speed S Set the specified speed. This command is rarely needed because
GSZ reads the port's current speed by default. Please refer to
the FLOW CONTROL, MAIN COMMANDS and SOFTWARE COEXISTENCE chapters
in DSZBG.ZOO or the ZCOMM or Pro-YAM manual for important
information about the speed command.
Please study all the chapters of this document when using speeds
above 2400 bps.
With standard clocking, GSZ supports a maximum speed of 115200.
Not all hardware can support that speed without errors.
handshake XX Enable one of several choices of hardware handshake. (The
default is XOFF/XON software handshake). This command is
documented in the ZCOMM or Pro-YAM manual, and in DSZBG.DOC. (The
ZCOMM manual is available on all bulletin boards registered for
Chapter 7 Pg 17 GSZ Reference Rev Sep-18-94 Typeset 9-19-94
DSZ or GSZ as ZCOMMDOC.ZIP.) On GSZ the "handshake" command may be
abbreviated to "ha".
D Disables the modem (drops Data Terminal Ready, DTR) if carrier is
lost. This may be used to prevent spurious events (phone ringing)
from interfering with the calling bulletin board's recovery from
carrier loss.
d Disables carrier dropout monitoring, for modems that do not
properly drive the "Carrier Detect" input on the PC. If you see a
No Carrier Detect message, you need to give the d command. Before
using the d command, make sure you have the proper port
selected!!!
estimate length [speed] Use the specified length and/or optional
specified effective transfer speed to estimate transfer time for
the next file to be sent or received. The length argument is
mainly used with XMODEM downloads; YMODEM and ZMODEM normally
transfer the file length in the filename packet. The estimate
command must come after any port, speed, or handshake commands.
The estimate command does not affect actual throughput. It only
affects GSZ's prediction of how much time a file transfer will
take.
The following makes GSZ calculate file transfer times based on 290
character per second throughput. Some error correcting 2400 bps
modems can attain this throughput when MobyTurbo(TM) is used.
EXAMPLE: gsz port 2 speed 9600 estimate 0 2900 rz
EXAMPLE: gsz port 2 speed 9600 estimate 0 2900