home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / open / dsz0418.lzh / DSZ.DOC < prev    next >
Text File  |  1989-04-19  |  76KB  |  2,581 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                                    CONTENTS
  7.  
  8.  
  9.  1.  DESCRIPTION..........................................................   2
  10.  
  11.  2.  EXIT STATUS..........................................................   4
  12.  
  13.  3.  COMMANDS.............................................................   5
  14.      3.1   Interrupt Keys.................................................   9
  15.  
  16.  4.  NUMERIC PARAMETERS...................................................  10
  17.  
  18.  5.  ENVIRONMENT VARIABLES................................................  12
  19.  
  20.  6.  EXAMPLES.............................................................  15
  21.  
  22.  7.  IN CASE OF DIFFICULTY................................................  16
  23.      7.1   LOCKUPS........................................................  16
  24.            7.1.1  Insufficient Memory  16
  25.            7.1.2  Bad COMM Port Configuration  16
  26.      7.2   Incorrect Batch Files..........................................  17
  27.      7.3   No Carrier Detect..............................................  17
  28.      7.4   PKARC 3.6......................................................  17
  29.      7.5   COMMAND NOT FOUND..............................................  17
  30.      7.6   DOS 3.x........................................................  17
  31.      7.7   Perstor Controllers............................................  18
  32.      7.8   IBM PS/2 Model 50Z.............................................  18
  33.      7.9   Brain Damaged UARTS............................................  18
  34.            7.9.1  Everex Internal Modems  18
  35.      7.10  Weird Iron.....................................................  19
  36.      7.11  Will the real YMODEM please stand up?..........................  19
  37.      7.12  286 and 386 Extended Memory....................................  19
  38.  
  39.  8.  BACKGROUND OPERATION.................................................  20
  40.  
  41.  9.  CALLING DSZ FROM COMM PROGRAMS.......................................  22
  42.      9.1   GT POWER 13.00/14.00...........................................  22
  43.      9.2   PROCOMM........................................................  22
  44.      9.3   PROCOMM PLUS...................................................  22
  45.      9.4   Qmodem.........................................................  23
  46.      9.5   BULLETIN BOARDS................................................  24
  47.  
  48. 10.  FLOW CONTROL.........................................................  25
  49.  
  50. 11.  ERROR MESSAGES.......................................................  26
  51.      11.1  Got ZRPOS......................................................  27
  52.      11.2  Serial Input Error: Line Status Register xx ...................  28
  53.  
  54. 12.  ASSOCIATED DOCUMENTS.................................................  29
  55.  
  56. 13.  FILES................................................................  30
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66. 14.  CHANGES..............................................................  31
  67.  
  68. 15.  Other Omen Technology Products.......................................  34
  69.  
  70. 16.  FAIR PLAY............................................................  35
  71.      16.1  Sharing DSZ Files..............................................  35
  72.      16.2  REGISTRATION...................................................  36
  73.      16.3  Files on Registration Disk.....................................  37
  74.      16.4  Bulletin Board Registration....................................  38
  75.  
  76. 17.  ACKNOWLEDGEMENTS.....................................................  40
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.         DSZ - a ZMODEM, True YMODEM(TM), XMODEM File Transfer Program
  125.  
  126.  
  127.                                 Chuck Forsberg
  128.  
  129.                              Omen Technology Inc
  130.  
  131.  
  132.                                    ABSTRACT
  133.  
  134.  
  135.  
  136.                     ZMODEM - Not just another XMODEM hack
  137.  
  138. The ZMODEM file transfer protocol provides reliable file and command transfers
  139. with complete END-TO-END data integrity between application programs.
  140. ZMODEM's 32 bit CRC protects against errors that sneak by "error free" modems
  141. and those that continue to sneak into the most advanced networks.
  142.  
  143. ZMODEM safeguards all data and supervisory information with effective error
  144. detection.  (XMODEM and many recently introduced protocols do not protect
  145. vital supervisory data!)
  146.  
  147. ZMODEM rapidly transfers files, particularly with buffered (error correcting)
  148. modems, timesharing systems, satellite relays, and wide area packet switched
  149. networks.  ZMODEM's streaming operation eliminates delays caused by
  150. Kermit/XMODEM/YMODEM/JMODEM block acknowledgements.  ZMODEM eliminates the
  151. classic XMODEM/YMODEM/JMODEM PACKET LENGTH compromises between transfer
  152. efficiency and error recovery.  ZMODEM's packet length is the entire file.
  153.  
  154. User Friendliness is an important ZMODEM feature.  ZMODEM AutoDownload
  155. (Automatic file Download initiated without user intervention) greatly
  156. simplifies file transfers compared to traditional protocols.
  157.  
  158. DSZ's ZMODEM provides advanced file management features including two levels
  159. of Intelligent Crash Recovery, and flexible control of selective file
  160. transfers.  Omen Technology's Professional-YAM Communications Tools also
  161. provide security verified command downloading.
  162.  
  163. DSZ is one of many available programs that implement the ZMODEM file transfer
  164. protocol.
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.         DSZ - a ZMODEM, True YMODEM(TM), XMODEM File Transfer Program
  182.  
  183.                                 Chuck Forsberg
  184.  
  185.                              Omen Technology Inc
  186.  
  187.  
  188.                          Omen Technology Incorporated
  189.                         The High Reliability Software
  190.  
  191.                      17505-V Northwest Sauvie Island Road
  192.                             Portland Oregon 97231
  193.       TeleGodzilla BBS: 503-621-3746 Speed 1200,2400,19200(Telebit PEP)
  194.                               FAX: 503-621-3735
  195.                        Compuserve:70007,2304  GEnie:CAF
  196.                       UUCP: ...!tektronix!reed!omen!caf
  197.  
  198.   *************************************************************************
  199. Registration bypasses the shareware announcement and unlocks the advanced
  200. features in all past and future versions of DSZ.  You don't have to pay and
  201. pay for new versions, one registration and your modem "does it all"!
  202.   *************************************************************************
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241. Chapter 1 Pg 2            DSZ Reference Rev 04-18-89           Typeset 4-19-89
  242.  
  243.  
  244.  
  245. 1.  DESCRIPTION
  246.  
  247. DSZ is a "protocol driver" that uses the ZMODEM, True YMODEM(TM), or XMODEM
  248. protocol to transfer files over a serial port with a variety of programs.
  249.  
  250. ZMODEM Transfers feature 32 bit CRC, advanced file management, and Crash
  251. Recovery, ZMODEM Crash Recovery can be used to complete interrupted file
  252. transfers started with any protocol.[1]
  253.  
  254. DSZ has two main commands for ZMODEM transfers: "sz" sends file(s), and "rz"
  255. receives them.
  256.  
  257. When calling bulletin boards to download files with ZMODEM you can avoid the
  258. bother of starting DSZ for each transfer by calling DSZ first, before asking
  259. the BBS for the download.
  260.  
  261.         dsz t
  262.  
  263. The "t" command allows you to keyboard the file request to the BBS.  DSZ's
  264. ZMODEM AutoDownload then receives the file automatically, without any wasted
  265. keystrokes or delay.  Try it, you'll like it!  (The "t" command is described
  266. below.)
  267.  
  268. YMODEM downloads are almost as easy.  Use the "t" command as shown above, and
  269. hit the F3 key after telling the board to download a file with YMODEM.
  270.  
  271. ZMODEM and True YMODEM(TM) transfers preserve exact file length and
  272. modification time.
  273.  
  274. DSZ supports XMODEM-1k (XMODEM with 1024 byte blocks, sometimes mislabeled as
  275. ymodem) and CRC-16 with the sx -k and rc commands.
  276.  
  277. DSZ is derived from Omen Technology's "Professional-YAM" high reliability
  278. communications tools (also known as PowerCom(TM)) and Omen Technology's ZCOMM
  279. User Supported COmmunications Software.  DSZ supports a subset of Pro-YAM's
  280. file transfer related commands.  This documentation makes extensive references
  281. to contemporary editions of the Pro-YAM or ZCOMM manual, and is incomplete
  282. without it.  (Registered copies include an alternate, copyrighted file.)
  283.  
  284. DSZ is usually called from a communications or bulletin board program.
  285.  
  286. DSZ uses its own modem I/O.  The original interrupt vector, UART parity, and
  287. interrupt configuration are restored on exit.  The original state of the 8259
  288. interrupt mask bit for this vector is also restored on exit.
  289.  
  290.  
  291.  
  292. __________
  293.  
  294.  1. Provided the other protocol did not write false data to the file.
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301. Chapter 1 Pg 3            DSZ Reference Rev 04-18-89           Typeset 4-19-89
  302.  
  303.  
  304.  
  305. DSZ uses DOS standard output (stdout) for messages.  It never writes directly
  306. to the screen.  DSZ expects its standard output to point to the console, a
  307. logging file, or NUL, but never the modem port.  If dsz's standard output is
  308. redirected to the modem (as with ProComm's Host mode DOS shell), the
  309. combination will lock up the computer.  When necessary, dsz's standard output
  310. can be redirected back to the console device with the CON command.
  311.  
  312. Users of pcAnywhere must use dsz's A command to disable pcAnywhere host mode
  313. during file transfers.
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361. Chapter 2 Pg 4            DSZ Reference Rev 04-18-89           Typeset 4-19-89
  362.  
  363.  
  364.  
  365. 2.  EXIT STATUS
  366.  
  367. DSZ exits with 0 status for successful transfers, or the value of the Q
  368. parameter (default 1) if a file transfer failed, or if no files were
  369. transferred.  Many languages and "door" programs do not return this
  370. information to the calling program.  Some languages and "door" programs freak
  371. out (hang) on certain non-zero exit values.
  372.  
  373. A batch file that calls DSZ directly may be used to detect the DSZ exit status
  374. with the DOS "errorlevel" construct.  Please refer to the Q numeric parameter
  375. below for more information.
  376.  
  377. DSZ's log file entries may also be examined to determine the success or
  378. failure of a file transfer.
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421. Chapter 3 Pg 5            DSZ Reference Rev 04-18-89           Typeset 4-19-89
  422.  
  423.  
  424.  
  425. 3.  COMMANDS
  426.  
  427. dsz [A] [CON] [port N] [speed S] [handshake XX] [D] [d] command
  428.  
  429. DSZ commands are an improper subset of Pro-YAM/PowerCom/ZCOMM commands.  The
  430. file transfer commands are fully described in ZCOMMDOC.ARC, the ZCOMM User's
  431. Manual.  Portions of the ZCOMM User's Manual are provided in DSZBG.ZOO, a
  432. Copyrighted file included with the DSZ registration disk.  Please refer to one
  433. of those documents for details on the following commands.
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481. Chapter 3 Pg 6            DSZ Reference Rev 04-18-89           Typeset 4-19-89
  482.  
  483.  
  484.  
  485.          ***********************************************************
  486.                                   NOTE WELL
  487.     Except as noted, all commands and options must be typed in lower case.
  488.                            DO NOT USE UPPER CASE!!
  489.                              Case is significant!
  490.          ***********************************************************
  491.  
  492. Optional commands or arguments are shown in square brackets [].
  493.  
  494. When used (in any combination), the A, CON, port, speed, handshake, and d
  495. commands must be given in exactly that order.
  496.  
  497.  
  498. A     Suspend pcAnywhere operation during file transfers.  This is necessary
  499.       to avoid lockups caused by pcAnywhere host mode.  This command should be
  500.       given to the program running under pcAnyehere host mode.
  501.  
  502.       EXAMPLE: C>dsz A sz *.foo Sends files from a pcAnywhere hosted machine
  503.       to you.
  504.  
  505.  
  506.  
  507. CON   Redirect message output to the DOS "CON" (console) device, overriding
  508.       any previous redirections.  This is necessary to avoid lockups caused by
  509.       Procomm host mode.  Most programs do not require this hack.  This
  510.       command is unique to DSZ.
  511.  
  512. estimate length [speed] Use the specified length and optional specified
  513.       effective speed for the next receive file to be created.  This command
  514.       must come after any port, speed, or handshake commands.  Please refer to
  515.       DSZBG.ZOO or the ZCOMM User's manual for details.
  516.  
  517. handshake XX Enable one of several choices of hardware handshake.  (The
  518.       default is XOFF/XON software handshake).  This command is documented in
  519.       the ZCOMM or Pro-YAM manual, and in DSZBG.DOC.  (The ZCOMM manual is
  520.       available on all bulletin boards registered for DSZ as ZCOMMDOC.ARC.) On
  521.       DSZ the "handshake" command may be abbreviated to "ha".
  522.  
  523. port N select port N (n = 1,2,3,4,5,6,7,8, 10,11,12,13,14,15,16,17,18) Default
  524.       is port 1 (COM1) or read from the DSZPORT dos environment variable.
  525.       COM11 to COM18 refer to the COM1 to COM8 ports on the PS/2.
  526.  
  527.       In multitasking operation, accessing a port used by another running
  528.       program may hang the machine.
  529.       EXAMPLE: to use COM2:
  530.       dsz port 2 rz
  531.  
  532. portx ... Select arbitrary port address and interrupt vector.  Please refer to
  533.       DSZBG.ZOO or the ZCOMM or Professional-YAM manuals for information on
  534.       this command.
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541. Chapter 3 Pg 7            DSZ Reference Rev 04-18-89           Typeset 4-19-89
  542.  
  543.  
  544.  
  545. speed S Set the specified speed.  This command is rarely needed because DSZ
  546.       reads the port's current speed by default.  Please refer to the FLOW
  547.       CONTROL, MAIN COMMANDS and SOFTWARE COEXISTENCE chapters in DSZBG.ZOO or
  548.       the ZCOMM or Pro-YAM manual for important information about the speed
  549.       command.
  550.  
  551. D     Disables the modem (drops Data Terminal Ready, DTR) if carrier is lost.
  552.       This may be used to prevent spurious events (phone ringing) from
  553.       interfering with the calling bulletin board's recovery from carrier
  554.       loss.
  555.  
  556. d     Disables carrier dropout monitoring, for modems that do not properly
  557.       drive the "Carrier Detect" input on the PC.  If you see a No Carrier
  558.       Detect message, you need to give the d command.
  559.  
  560. LARG  Convert ARG to lower case, then parse arg.
  561.  
  562. o     Turn off Data Terminal Ready (DTR), terminating ("offing") the
  563.       connection if the modem responds to DTR.  Useful with the "t" command to
  564.       disconnect afterwards.
  565.  
  566.       EXAMPLE: dsz t o
  567.  
  568.  
  569. pxN   Set a numeric parameter x to N.  These parameters are mostly a subset of
  570.       the Pro-YAM/ZCOMM numeric parameters, and are listed below.  They assume
  571.       their defaults each time DSZ is called.  Without an argument, p displays
  572.       the numeric parameters and their values.
  573.  
  574.       EXAMPLE: C>dsz p
  575.  
  576.       z pxN Set zmodem numeric parameter x to N.  These parameters correspond
  577.       to the Pro-YAM or ZCOMM "zmodem" parameters and rarely need changing.
  578.       These parameters assume their defaults each time DSZ is called.  Without
  579.       an argument, z p displays the zmodem numeric parameters and their
  580.       values.
  581.  
  582. restrict Restrict pathnames to the current disk and directory tree, and
  583.       disallow overwriting of existing files.  When DSZ is restricted, it will
  584.       refuse to transfer files containing the string autoexec.bat and
  585.       command.com in upper or lower case.  This provides some defense from
  586.       malicious uploaded files.
  587.  
  588. t     [-8g] Talk with ZMODEM AutoDownload.  The optional -8g (available on
  589.       registered copies only) allows "BBS (ANSI) graphics".  (A video device
  590.       driver such as ANSI.SYS must be loaded to suppport some types of
  591.       graphics.) A small subset of ZCOMM/Pro-YAM term function subcommands are
  592.       recognized.  Keyboard F1 or ALT-X to exit.  F3 receives file(s) with
  593.       True YMODEM(TM), ALT-P toggles parity between the 8n default and 8g
  594.       (enables ANSI "graphics").  ALT-H toggles two local echo ("Half Duplex")
  595.       modes; the second displays a newline (CR/LF) when Enter is keyboarded.
  596.  
  597.  
  598.  
  599.  
  600.  
  601. Chapter 3 Pg 8            DSZ Reference Rev 04-18-89           Typeset 4-19-89
  602.  
  603.  
  604.  
  605.       Keyboarded ASCII characters are sent to the modem.  ALT-B sends a break.
  606.  
  607.       Modem characters print on the screen.  A device driver such as ANSI.SYS
  608.       may be used to recognize escape sequences.
  609.  
  610.       DSZ's ZMODEM AutoDownload detects the start of a ZMODEM file download
  611.       and accepts the file(s) without operator intervention.
  612.  
  613. rz    [-abenprt+Yy] [dir] [file ...]          (ZMODEM receive) **
  614.  
  615. rb    [-abt+y] [dir] [file ...]     (YMODEM receive) **
  616.  
  617. rb -g [-abt+y] [dir] [file ...]     (YMODEM-g receive) **
  618.  
  619. rc    [-abt+y] file1                (XMODEM/CRC receive)
  620.  
  621. ro    [-abt+y] file1                (XMODEM OverThruster receive)
  622.  
  623. rx    [-abt+y] file1                (XMODEM receive)
  624.  
  625. rx    -g [-abt+y] file1             (Qmodem-G receive) **
  626.  
  627.       ** Download directory specification ignored w/o registration
  628.  
  629.  
  630. sz    [-abefnprtYQS+y] [-w[N]]  file ...      (ZMODEM send)
  631.  
  632.       The "sz" and "sb" commands exploit DOS's tree structured file system.
  633.       An "sz" command with no file specified sends all the files in the
  634.       current directory.  A directory or disk specifier expands to all files
  635.       in that directory.
  636.  
  637.  
  638. sb    [-ft] [PREFIX=p | ONAME=n] file ...     (YMODEM, YMODEM-g send)
  639.  
  640. sb -k [-ft] [PREFIX=p | ONAME=n] file ...     (YMODEM-1k send)
  641.  
  642. sx    [-t] file1                    (XMODEM, XMODEM/CRC, Qmodem-G send)
  643.  
  644. sx -k [-t] file1                    (XMODEM-1k send)
  645.  
  646. v     Verify the serial number by writing a log entry (see DSZLOG).
  647.  
  648.       v      1     0 bps    0 cps   0 errors     0  128 s/n 13027
  649.  
  650.       The letter "v" indicates a verification entry.  The first numeric field
  651.       is 1 if YMODEM-g is supported.  The last field is the serial number.
  652.       Unregistered copies show a s/n of 0.
  653.  
  654. The meanings of optional arguments to the file transfer commands are described
  655. in DSZBG.DOC and the ZCOMM/Pro-YAM manual.
  656.  
  657.  
  658.  
  659.  
  660.  
  661. Chapter 3 Pg 9            DSZ Reference Rev 04-18-89           Typeset 4-19-89
  662.  
  663.  
  664.  
  665. The s (SlugBait) option prevents a receiver from receiving a file without
  666. accounting for it.  Attempts to do so are flagged with a Q status in the log
  667. file.  This option can cause a transfer that legitimately fails near the very
  668. end of the file to be reported as Questionable rather than ERROR.
  669.  
  670. Send files may be specified indirectly:
  671.                              dsz sz @C:files.lst
  672. sends the files in C:files.lst.  This provides another means of bypassing the
  673. DOS command line limit.  The first letter must be "@" and the third letter
  674. must be ":" to distinguish this from an ordinary pathname.  Pathnames in the
  675. indirect may be separated with any combination of space(s), tab(s), CR and/or
  676. LF.  No spaces may appear inside a pathname; "FOO     .BAR" won't work.
  677.  
  678. 3.1  Interrupt Keys
  679.  
  680. Ctrl-Break Terminates the transfer in progress.
  681.  
  682. ALT-N Abruptly terminates (NUKES) the transfer in progress.
  683.  
  684. Ctrl-X Typing a dozen Ctrl-X characters to another ZMODEM program terminates
  685.      ZMODEM operations.
  686.  
  687. ALT-F Skips the current file in ZMODEM transfers.
  688.  
  689. ALT-B Cancels the current ZMODEM session.
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721. Chapter 4 Pg 10           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  722.  
  723.  
  724.  
  725. 4.  NUMERIC PARAMETERS
  726.  
  727. DSZ uses the following main numeric parameters, settable with the pxN command.
  728.  
  729. EXAMPLE: C>dsz pQ0
  730.  
  731.  
  732. In addition, DSZ uses the Pro-YAM/ZCOMM zmodem numeric parameters described in
  733. the Pro-YAM/ZCOMM reference manual and in DSZBG.DOC.
  734.  
  735.  
  736. B   Set the size of buffer used for disk reads and writes.  The default is
  737.     1024, 4096 maximum.  If your copy of DSZ is running on a floppy disk
  738.     system or a very slow turkey hard disk, a larger value may give better
  739.     results.  Too large a value may exhaust memory, induce receiver timeouts,
  740.     cause disconnects(!), or generate spurious CRC errors.  If performance
  741.     logging doesn't work, this parameter is too big.  This parameter is
  742.     supported on versions compiled with TurboC.
  743.  
  744.     EXAMPLE: C>dsz pB4096 sz A:floppy.fil
  745.  
  746.     Setting the buffer size larger may lock out the performance log, DSZFILES,
  747.     and/or indirect pathname list in the "tiny model" DSZ flavor.  If you
  748.     aren't bloody sure you need a bigger buffer, don't use one.
  749.  
  750. O   This parameter controls XMODEM OverThruster(TM).  It is described in
  751.     dszbg.doc.  This file is part of the software package sent to paid
  752.     registrants.
  753.  
  754. P   After a "speed" command, this displays the type of serial I/O UART chip
  755.     detected.
  756.  
  757.     0  Indicates a standard 8250 or 16450 UART with no special features.
  758.  
  759.     1  Indicates an NS16550A with 16 deep receive buffering.  This is the
  760.        preferred chip.
  761.  
  762.     2  Indicates an Intel 82510 with 3 deep receive buffering.
  763.  
  764.     The sequence "port 1 pP1 speed 19200" bypasses verification checks
  765.     normally performed on the FIFO configuration and may allow a defective
  766.     FIFO on certain chips to be used.
  767.  
  768.  
  769. Q   Error code returned to DOS (default 1).  (Success always returns 0.) Some
  770.     programs toss cookies when confronted with certain exit codes.
  771.  
  772.     EXAMPLE: C>dsz pQ-1 sz foo.bar
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781. Chapter 4 Pg 11           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  782.  
  783.  
  784.  
  785. S   Timeout in seconds (default 15) waiting for restraint release (XON and/or
  786.     handshake).
  787.  
  788. W   Wait for Enter key before exiting after an error.  Effective on registered
  789.     copies.  Useful when calling DSZ from DESQview, allows the window to close
  790.     unless there is an error message that should remain visible.
  791.  
  792. a   Calibrates certain protocol timeouts used with XMODEM and YMODEM transfers
  793.     (Cybernetic Data Recovery(TM)).  This parameter does not affect ZMODEM
  794.     transfers.
  795.  
  796.     The a numeric parameter is automatically set to 2000 for a 4.77 mHz PC or
  797.     XT, 4000 for a PS2/30, 6000 for an 8 mHz 1ws AT, and 12000 for a PS2/80.
  798.     If your computer has a speedup card or otherwise runs unusually fast (or
  799.     slow!) for its type, you may set the a numeric parameter to a value that
  800.     reflects its speed.
  801.  
  802.     EXAMPLE: dsz port 2 pa4000 rb
  803.  
  804.  
  805.     NOTE: Setting this parameter does not suppress the "Unknown Machine Type"
  806.     message which is displayed before the command line is scanned.
  807.  
  808. d   A non zero value (the default) causes incoming files received with ZMODEM
  809.     and full YMODEM transfers to have their Date set to that sent in the file
  810.     header.  ZMODEM's file management features depend on the transmission of
  811.     each file's modification date.  Files will have the same creation date,
  812.     even if the two machines are in different time zones.  When transferring
  813.     files to/from a Unix system, creation dates are interpreted according to
  814.     GMT or Universal Coordinated Time.  File dating may be disabled with a pd0
  815.     command.
  816.     NOTE: Backdating file creation times may confuse some backup programs.
  817.  
  818. v   Verbose level (debugging output) Negative values inhibit some routine
  819.     messages.  Setting v to 1 or greater causes serialized copies to ring the
  820.     bell when a transfer is done.
  821.  
  822. z   Timezone in minutes behind GMT, used for ZMODEM and True YMODEM file
  823.     transfers to coordinate the actual date of the file with computers in
  824.     other time zones.  Effective on registered copies.  PDT or MST corresponds
  825.     to 420.  This may be preset with the ZONE DOS environment variable.
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841. Chapter 5 Pg 12           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  842.  
  843.  
  844.  
  845. 5.  ENVIRONMENT VARIABLES
  846.  
  847. The following DOS environment variables may be set to modify DSZ operation.
  848. DOS environment variables are set by giving a command to DOS.
  849.  
  850.  
  851. EXAMPLE: set DPORT=2
  852.  
  853.  
  854. These commands may be placed in your AUTOEXEC.BAT file or given just before
  855. you run your communications program.
  856.  
  857. IMPORTANT! Do not put spaces in these commands!!
  858. set DSZPORT = 2 WILL NOT WORK!
  859.  
  860.  
  861. DIRRX (Registered copies only.) Specifies the directory to receive (download)
  862.     files.  If the sting in DIRRX ends with "/", directory and/or disk
  863.     designators in the incoming pathname are stripped, and only the stem (name
  864.     and extension) is used.  Otherwise, if an incoming file has an absolute
  865.     pathname, the incoming pathname is used.
  866.  
  867.     EXAMPLE: set DIRRX=C:/rxdir/
  868.  
  869.  
  870.     EXAMPLE: set DIRRX=B:/
  871.  
  872.     The DOS "set" command defining the receive directory may be placed in your
  873.     AUTOEXEC.BAT file.  Make certain there is enough environment space to hold
  874.     this value.  Confirm this by typing "set" to the DOS prompt and verifying
  875.     the DIRRX value is listed correctly.
  876.  
  877. DSZFILES May contain a list of up to 9999 pathnames to transmit, with entries
  878.     separated by spaces.  If present, DSZFILES is used in place of a normal
  879.     command line list of files to send with the sb and sz commands.
  880.  
  881.     EXAMPLE: C>set DSZFILES=file1 file2 file3 *.c
  882.     C>dsz port 2 handshake on sz -r
  883.  
  884.     In practice, this string would be built up by a calling program and passed
  885.     to DSZ with a "spawnvpe", "execvpe", or similar subroutine call.
  886.  
  887.     SEE ALSO: Pathname list specification @C:files.lst
  888.  
  889. DSZLOG log file to receive entries for files sent and received.  (Default
  890.     null).  Sample entries:
  891.  
  892. Z  46532 38400 bps 3324 cps   0 errors    66 1024 DSZ.COM 1177
  893. Z 124087 19200 bps 1880 cps   0 errors     6 1024 MXY.TMP 1177
  894.  
  895.     Transfer times are based on the DOS time of day clock and have one second
  896.  
  897.  
  898.  
  899.  
  900.  
  901. Chapter 5 Pg 13           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  902.  
  903.  
  904.  
  905.     jitter.  As with all protocol throughput reports generated by Omen
  906.     Technology programs (and contrary to the false claims of some critics),
  907.     DSZ's throughput figures for ZMODEM, Kermit, and True YMODEM(TM) transfers
  908.     do not take "credit" for pathname and/or protocol overhead characters.
  909.     DSZ's throughput reports do not include the time required to send the
  910.     pathname.  This understates the true time required to transfer files, but
  911.     the time required to send the pathname often depends on the alacrity of
  912.     the operator, and thus does not always reflect the performance of the
  913.     protocol itself.
  914.  
  915.     Transfers measuring less than one second are reported as having 9999
  916.     characters per second throughput.
  917.  
  918.     The unlabeled numeric field after the error (retry) count is the number of
  919.     flow control stoppages encountered sending the file.  This number gives an
  920.     indication of flow control restrictions (overloaded networks, etc.)
  921.     encountered during the transfer.
  922.  
  923.     The last numeric field before the file name is the YMODEM block size or
  924.     ZMODEM subpacket length used for the last block in the file.
  925.  
  926.     The last field is the serial number of the other program, or -1 if this
  927.     information is not available.
  928.  
  929.     The code letter indicates the type of transfer, Z (ZMODEM), S (X/YMODEM),
  930.     R (X/YMODEM), E (error), or L (transfer terminated by loss of data
  931.     carrier).
  932.  
  933.     WARNING: If DSZ encounters a loss of carrier or other fatal error
  934.     condition before a file COMMENCES transmission, a log entry will not be
  935.     made.
  936.  
  937.     EXAMPLE: C>set DSZLOG=C:/yam/dszlog
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961. Chapter 5 Pg 14           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  962.  
  963.  
  964.  
  965. DSZOPT (Paid Registered copies only) String containing default options for DSZ
  966.     file transfers.  Options are optional modifiers to the DSZ sz, rz, sx, rx,
  967.     sb, rb commands.
  968.  
  969.     An 8n may be appended to the string to make BBS (ANSI) graphics the
  970.     default for DSZ's t command.  The ability to preset these options is
  971.     especially helpful for controlling ZMODEM automatic downloads from DSZ's t
  972.     command.
  973.  
  974.     EXAMPLE: C>set DSZOPT=r
  975.     Enables DSZ's Intelligent Crash Recovery(TM) as a default.
  976.  
  977.     Let's say you wish ZMODEM crash recovery, and BBS "graphics" for the DSZ
  978.     term function:
  979.     C>set DSZOPT=r8g
  980.  
  981.  
  982.     WARNING: Do NOT include "ena" or any other commands in the DSZOPT string.
  983.     With the exception of the "8g" mode, only **options** may be placed in the
  984.     DSZOPT string!  (Options are the letters that modify the sz, rz, sb, etc.
  985.     commands.  In "rz -r", "r" is an option.)
  986.  
  987. MAXBYTES Maximum number of bytes allowed for transfer.  If this number is
  988.     exceeded, DSZ skips the offending files (ZMODEM) or aborts remaining files
  989.     in the batch (YMODEM).
  990.  
  991. DSZPORT Default communications port override, default 1.
  992.  
  993.     EXAMPLE: C>set DSZPORT=2
  994.  
  995.     IMPORTANT! NO SPACES!!
  996.  
  997.  
  998.  
  999. ZONE sets the z numeric parameter to the number of minutes the current local
  1000.     time lags GMT time.  PDT or MST corresponds to 420.  PST corresponds to
  1001.     480.  This environment variable has no effect on unregistered DSZ copies.
  1002.     EXAMPLE:
  1003.     C>set ZONE=420
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021. Chapter 6 Pg 15           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1022.  
  1023.  
  1024.  
  1025. 6.  EXAMPLES
  1026.  
  1027. dsz sz c:foo.* b:*.c          (send files with ZMODEM)
  1028.  
  1029. dsz sz -Z *.lst               (send files with compression)
  1030.  
  1031. dsz sz -r yzmodem.arc         (CRASH RECOVERY: resume interrupted transfer)
  1032.  
  1033. dsz rz -r                     (CRASH RECOVERY: resume interrupted transfer)
  1034.  
  1035. dsz handshake both sz yzmodem.arc       (Hardware+Software handshake)
  1036.  
  1037. dsz sz -n *.*                 (send files that are newer or rx has no copy)
  1038.  
  1039. dsz sz -Yn *.*                (Only send files that are newer than receiver's
  1040. copy)
  1041.                               (Do not send files that do not exist on
  1042. receiver's disk)
  1043.  
  1044. dsz rz C:/UPLOADS             (receive files to specified directory #)
  1045.  
  1046. dsz port 2 speed 38400 restrict rz
  1047.  
  1048. dsz rz  -y prog.arc           (ZMODEM, single file pathname override)
  1049.  
  1050. dsz z pr1 rx foo.dat          (XMODEM receive, remove file if error)
  1051.  
  1052. dsz pO60 ro foo.dat           (XMODEM/OverThruster receive, GEnie MNP #)
  1053.  
  1054. DSZ LRC L-Y NEWPROG.ARC       (generate lower case "rc -y" command)
  1055.  
  1056. dsz pv2 sz foo >debug.dmp     (Debugging data dump)
  1057.  
  1058. dsz sz @C:/bbs/files.lst      (Indirect file list)
  1059.  
  1060. # Paid registered copies only
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081. Chapter 7 Pg 16           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1082.  
  1083.  
  1084.  
  1085. 7.  IN CASE OF DIFFICULTY
  1086.  
  1087. If you have difficulty getting DSZ to work, start with the following command
  1088. to DSZ, given directly from the DOS prompt, without running any TSR or other
  1089. COMM program:
  1090.                               dsz port 1 speed 2400 d t
  1091. (Change the port number and speed as necessary.)
  1092.  
  1093. This connects you to the modem.  Dial a bulletin board by typing AT commands
  1094. to the modem ("ATDP621-3746").  Log in as usual.  Then, request a ZMODEM
  1095. download of a file you don't already have.  The file will download
  1096. automatically, you don't have to do anything.  This procedure verifies the
  1097. correct operation of DSZ.
  1098.  
  1099.  
  1100. 7.1  LOCKUPS
  1101.  
  1102. 7.1.1  Insufficient Memory
  1103. DSZ complains when it detects insufficient memory to operate.  When calling
  1104. DSZ from another program, there may be ALMOST enough memory for proper
  1105. operation, but DSZ locks up during a transfer or the calling program freezes
  1106. after DSZ displays the "DSZ Finished" message.
  1107.  
  1108. Sometimes there is a message about insufficient memory, sometimes just a
  1109. lockup and no message.  To verify this problem, call CHKDSK from within your
  1110. comms program (not from DOS!) by defining it as an external protocol.  If you
  1111. use an interface program (Hotkeyz, Prodoor, etc.), you must call CHKDSK from
  1112. that program, as those programs also reduce the memory available to DSZ.
  1113.  
  1114. CHKDSK should report at least 64k free memory.  If less memory is reported,
  1115. reduce the size of the capture buffer, reboot the system with fewer/smaller
  1116. device drivers and TSR programs.  Calling DSZ directly from the comms program
  1117. instead of from an interface also saves memory.
  1118.  
  1119.  
  1120. 7.1.2  Bad COMM Port Configuration
  1121. DSZ is fastidious about which interrupt vectors it takes over.  Unlike some
  1122. COMM programs, DSZ uses only the correct interrupt vector for its interrupt
  1123. service routine.  DSZ obtains and releases this vector with standard DOS
  1124. function calls.  This allows multi line operation under DESQview and other
  1125. multitasking systems.
  1126.  
  1127. Incorrectly configured serial ports that work with programs that pig out both
  1128. IRQ3 and IRQ4, will lock up with DSZ.  If DSZ locks up the machine as soon as
  1129. it tries to send or receive data, this is usually the fault.  Make sure the
  1130. comm port is strapped correctly; COM1 uses IRQ4, COM2 uses IRQ3.  DSZ will
  1131. lock up if the comm port is not properly set up.
  1132.  
  1133. In addition, DSZ will not work properly if two devices are connected to the
  1134. same IRQ line, even when some other programs (that don't use interrupts as
  1135. intensively) do work normally on the same machine.
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141. Chapter 7 Pg 17           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1142.  
  1143.  
  1144.  
  1145. 7.2  Incorrect Batch Files
  1146.  
  1147. Incorrect batch files are the number one source of problems using DSZ for
  1148. downloads.  DSZ's command line echo was added to assist in correcting
  1149. defective batch files.  Try running DSZ by itself, without any batch files or
  1150. TSR programs, calling it directly from DOS as described above.
  1151.  
  1152.  
  1153. 7.3  No Carrier Detect
  1154.  
  1155. If you see a No Carrier Detect message, and you haven't lost the connection,
  1156. you need to give the d command:
  1157.                               dsz port 1 speed 2400 d t
  1158.  
  1159. Better yet, correct your modem cable to allow proper operation of the Carrier
  1160. Detect signal (CD)!
  1161.  
  1162. Some BBS and/or "door" programs hang when the program (such as DSZ) they call
  1163. returns with a non 0 exit status.  Please refer to the "EXIT STATUS" chapter
  1164. of the document for more information.
  1165.  
  1166. 7.4  PKARC 3.6
  1167.  
  1168. It has been reported that PK36 grabs some interrupts and doesn't restore them
  1169. on exit in an attempt to prevent hacks of the program.  Since eliminating that
  1170. particular version and cleaning up memory, highspeed xfers even with 8250
  1171. UARTS work properly again.
  1172.  
  1173. The problem with PK 3.6 appears to be most severe if a BBS operator has
  1174. doorware, etc that accesses the PK programs from a shell of some sort.  This
  1175. info may be helpful to users who are having otherwise inexplicable file xfer
  1176. problams.
  1177.  
  1178. Phil Katz has written me that this problem has been corrected in subsequent
  1179. versions.
  1180.  
  1181. 7.5  COMMAND NOT FOUND
  1182.  
  1183. If you see this message, make sure DSZ is in the DOS PATH.  Sometimes this
  1184. error is caused by having too many environment variable strings.
  1185.  
  1186.  
  1187. 7.6  DOS 3.x
  1188.  
  1189. DOS 3.x systems may need to have a "STACKS = 8,256" line in CONFIG.SYS to
  1190. prevent antisocial behavior. This is required on the NEC Multispeed, or if
  1191. certain TSR's are used.
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201. Chapter 7 Pg 18           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1202.  
  1203.  
  1204.  
  1205. 7.7  Perstor Controllers
  1206.  
  1207. Several reports have been received indicating Perstor disk controllers
  1208. interfere with data comunications.  Perstor is reportedly working on a fix.
  1209.  
  1210.  
  1211. 7.8  IBM PS/2 Model 50Z
  1212.  
  1213. Early samples of this machine have a design error on the motherboard that
  1214. causes comms programs to lock up the machine.  Replacing the motherboard with
  1215. a correctly functioning unit from current production corrects the problem.
  1216. The part number of the replacement PS2/50 Z motherboard is 35F5928.
  1217. (Information provided by John M. Choma 73047,3566) U.S. IBM has stonewalled on
  1218. this issue, but in December 1988 agreed to replace the defective motherboards
  1219. under warranty.
  1220.  
  1221.  
  1222. 7.9  Brain Damaged UARTS
  1223.  
  1224. Omen Technology has received reports of problems with defective 8250 type UART
  1225. integrated circuits in Leading Edge modem boards, serial port interfaces, and
  1226. computers.  The defective chip logic affects high performance software.
  1227. Replacing the buggy chip with a newer chip (16450 or NS16550AN) corrects the
  1228. problem.
  1229.  
  1230. The UM82450 chip in the Zoom 2400HC also appears to cause problems.
  1231.  
  1232. The NS16550AN is a pin compatible plug in replacement for 8250 and 16450
  1233. serial chips.  386 and fast 286 machines should use the NS16550AN for best
  1234. results.) Arrow Electronics at 800-932-7769 (516-467-1000) sells National
  1235. NS16550AN chips mail order (credit card) in small quantities.
  1236.  
  1237. PC BRAND at 800-722-7263 (in Illinois 312-226-5200) is selling I/O cards in
  1238. which both UARTs are socketed, allowing them to be replaced by NS16550AN
  1239. devices.  Shipping and handling is included in their $45 price.  (From Roger
  1240. E.  Hough)
  1241.  
  1242.  
  1243.  
  1244. 7.9.1  Everex Internal Modems
  1245. Numerous reports have been received concerning difficulties with Everex modem
  1246. cards.  Some of these cards contain buggy 8250 chips which are not up to the
  1247. demands of full duplex streaming protocols such as ZMODEM.  Replacing the
  1248. buggy 8250 chip with a 16450 (or better yet NS16550AN) chip corrects these
  1249. problems.
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261. Chapter 7 Pg 19           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1262.  
  1263.  
  1264.  
  1265. 7.10  Weird Iron
  1266.  
  1267. A few machines, some with V20 CPUs, don't like DSZ.COM.  We have not been able
  1268. to repeat this; TeleGodzilla (using a V20) runs DSZ.COM without a hitch.
  1269. Switching to DSZ.EXE has cleared up the problems on other machines.
  1270.  
  1271.  
  1272. 7.11  Will the real YMODEM please stand up?
  1273.  
  1274. Some XMODEM programs claiming to support YMODEM do not send or accept the
  1275. YMODEM pathname block.  1024 byte XMODEM is XMODEM-1k, not YMODEM as defined
  1276. by Ward Christensen in 1985 when he coined the word.  1987 and later versions
  1277. of YMODEM.DOC remind the reader of the official YMODEM definition, which has
  1278. not changed since YMODEM's coinage in 1985.
  1279.  
  1280.  
  1281. 7.12  286 and 386 Extended Memory
  1282.  
  1283. Virtual memory disk caches and ramdisks using 80286 or 80386 extended memory
  1284. require a kluge hardware reset of the CPU chip to return to the normal "real
  1285. mode" after accessing extended memory.  This interference to the interrupt
  1286. response time causes lost characters on comm ports, and may be minimized by
  1287. specifying shorter memory transfers.
  1288.  
  1289. Switching to a National NS16550AN UART chip helps tremendously, allowing
  1290. transfers at 115200 bps instead of 9600 bps with a standard 8250.  Please
  1291. refer to the subchapter on "Brain Damaged UARTs".
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321. Chapter 8 Pg 20           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1322.  
  1323.  
  1324.  
  1325. 8.  BACKGROUND OPERATION
  1326.  
  1327. Three DESQview description files are provided to demonstrate background
  1328. operation with modest (66 kb window) memory requirements.  DSZ uses tight
  1329. C/ASM code, table driven CRC generators, and buffered receive and transmit for
  1330. good performance in the background without hogging CPU cycles.  On a QIC Labs
  1331. 8 mHz PC-AT clone, DSZ can download files in the background (3 background
  1332. clock ticks, 9 foreground clock ticks) with a throughput better than 9600 bps.
  1333.  
  1334. 2S   Prompts for file name(s) and sends them with ZMODEM protocol.  File: 2S-
  1335.      PIF.DVP
  1336.  
  1337. 2T   Talks to the modem and allows manual YMODEM (F3) or automatic ZMODEM
  1338.      downloads.  File: 2T-PIF.DVP
  1339.  
  1340. 2A   Like 2T, but using Quarterdeck's dvansi.com memory resident ANSI CRT
  1341.      device driver to process ANSI screen codes.  File: 2A-PIF.DVP DS.BAT is
  1342.      the batch file used by 2A.
  1343.  
  1344. These files are written for a port 2 local connection and \TMP directory, but
  1345. may be modified to suit your requirements using the DESQview CP command.  The
  1346. W numeric allows DESQview to close the window after DSZ finishes, providing a
  1347. pleasant user interface.
  1348.  
  1349. Other DVPs, Scripts, and Batch files are available on the DESQView conference
  1350. on the Sound of Music as DVDSZ20Z.ARC.
  1351.  
  1352. Operation at high speed (above 9600 bps) may require the DESQview "Optimize
  1353. communications" performance Advanced Setup option.
  1354.  
  1355. Newer versions of DESQview may require more "common memory" allocation (6-8 k
  1356. bytes) to operate with DSZ.  Somce versions of DESQview do not operate
  1357. properly with DSZ; DESQview 2.0 is known to work, and DESQview 2.25 is
  1358. reported to have fized bugs in intermediate versions.
  1359.  
  1360. On 286 machines, some DESQview operations involve swapping memory contents
  1361. with buffers in extended memory.  As with extended memory ramdisks and disk
  1362. caches, this does a number on high speed communications.  The considerations
  1363. discussed in the "286 and 386 Extended Memory" subchapter apply here.  Since
  1364. this DESQview extended memory swapping is asynchronous with respect to DSZ's
  1365. file transfers, "handshake slow" doesn't help.  The solution is to force
  1366. DESQview's memory swaps to use smaller blocks (with interrupts allowed between
  1367. blocks) and/or use NS16550AN chips for the serial interface.
  1368.  
  1369.          ***********************************************************
  1370.                                    WARNING
  1371. When running DSZ under a multi tasking system such as DESQview, do not allow
  1372. two programs to access the same comm port at the same time.  At best, such
  1373. actions will disrupt communications.  At worst, your computer will attempt to
  1374. open a subspace channel to V'ger.
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381. Chapter 8 Pg 21           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1382.  
  1383.  
  1384.  
  1385. When running a comm program under DESQview or any related multitasking
  1386. executive, DSZ must be called directly from the comm program, in the same
  1387. window.  DO NOT open a separate window for DSZ unless you were about to power
  1388. down the computer anyway.
  1389.          ***********************************************************
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441. Chapter 9 Pg 22           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1442.  
  1443.  
  1444.  
  1445. 9.  CALLING DSZ FROM COMM PROGRAMS
  1446.  
  1447. It may be necessary to give a
  1448.  
  1449. SET COMSPEC=A:\COMMAND.COM
  1450.  
  1451. (change as needed) in your AUTOEXEC.BAT file to allow programs to call DSZ.
  1452.  
  1453. Note: NO SPACES in the SET command!
  1454.  
  1455. 9.1  GT POWER 13.00/14.00
  1456.  
  1457. GT Power version 13/14 includes a YMRX.BAT (YMODEM-g receive) file with an
  1458. "rz" command.  You guessed it, "rz" is for ZMODEM protocol (the z means
  1459. ZMODEM!).  Please change the file to use the correct "rb -g" for YMODEM-g.
  1460.  
  1461. The files ZMTX.ARC and GT1300.NOT available on many bulletin boards contain
  1462. useful information for GT Power users.
  1463.  
  1464. 9.2  PROCOMM
  1465.  
  1466. DSZ may not operate properly when called from Procomm if Procomm has files
  1467. open at the time.
  1468.  
  1469. A number of reports have been received of problems running DSZ from Procomm
  1470. Plus because of insufficient memory.  Please refer to the subchapter on
  1471. LOCKUPS.
  1472.  
  1473. When running under ProComm's Host mode, failure to use the DSZ CON command may
  1474. cause Procomm to lock up the computer, or at least interfere with file
  1475. transfers, etc.
  1476.  
  1477. EXAMPLE: DSZ CON sz %1
  1478.  
  1479.  
  1480. The POE, PCALL, DSZ_ZAP, and PROZ programs have been popular in interfacing
  1481. DSZ to Procomm's editor gateway.
  1482.  
  1483. Hint: the DOS PATH environment variable must include Procomm's directory to
  1484. allow POE to locate all the POE files,.  The POE files should be stored in the
  1485. Procomm directory.  Setting the "PROCOMM" environment variable is
  1486. insufficient.
  1487.  
  1488. 9.3  PROCOMM PLUS
  1489.  
  1490. DSZ may not operate properly when called from Procomm if Procomm has files
  1491. open at the time.
  1492.  
  1493. Here are some handy settings for Procomm Plus.
  1494.  
  1495. First, set the DOS environment as necessary before running Procomm.  Give
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501. Chapter 9 Pg 23           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1502.  
  1503.  
  1504.  
  1505. these commands to DOS before running Procomm.
  1506.  
  1507. Note: NO SPACES in the SET command!
  1508. SET DSZPORT=2                           (Only needed for COM2)
  1509. SET DSZLOG=DSZ.LOG            (Only if you wish a log file)
  1510.  
  1511. Then set Procomm's external protocol strings to:
  1512. A- External protocol 1 upload filename:  ZMODEMU
  1513. B- External protocol 1 download filename: ZMODEMD
  1514.  
  1515. The following batch files are included in the DSZ archive:
  1516. ZMODEMU.BAT contains:         DSZ sz %1 %2 %3 %4 %5 %6 %7 %8 %9
  1517. ZMODEMD.BAT contains:   DSZ rz
  1518. ZMODEMDR.BAT contains:   DSZ rz -r
  1519. ZMODEMAD.BAT contains:        DSZ t
  1520.  
  1521. Once you've got the hang of things the "Procomm way", try the "dsz t" command
  1522. described above to give you automatic ZMODEM downloads (Look Ma, no
  1523. keystrokes!!!)..
  1524.  
  1525. 9.4  Qmodem
  1526.  
  1527. The following is based on a message from Mike Cody, sysop of HomePlate 313-
  1528. 385-9969 3/12/24/96 HST
  1529.  
  1530. Go into Qinstall and go to frame 3 Directories. Then select External protocols
  1531. #3 I think. Now you will see a definition area to tell Qmodem the
  1532. Letter,batchfile combo to use.
  1533.  
  1534. Now put Z in the letter definition, Zup.bat in the u/l batch zdown.bat in the
  1535. d/l batch, and Y in the btch protocol. Now save it at the menu with f10 and S.
  1536.  
  1537. Then go to DOS and create the following batch files in your Qmodem
  1538. directory...
  1539.  
  1540. Zdown.bat: DSZ port %2 speed %1 rz -r
  1541.  
  1542. Zup.bat: DSZ port %2 speed %1 sz %3
  1543.  
  1544. These are the batch files that will be called by Qmodem.  If uou did everthing
  1545. right when uoy hit PGDN or PGUP you will see an external protocol called Z)
  1546. Zmodem in the box. For an easier time do a serch for either External.arc or
  1547. maybe the string "Qmodem" in the file database as there is a file with several
  1548. external prootcols and batch files available in the Mahoney file section (EXEC
  1549. BBS).
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561. Chapter 9 Pg 24           DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1562.  
  1563.  
  1564.  
  1565. 9.5  BULLETIN BOARDS
  1566.  
  1567. When installing DSZ on a bulletin board or host system, be sure to check for
  1568. proper operation when the caller hangs up while a file is being sent or
  1569. received.
  1570.  
  1571. Currently, Only the TurboC version supports file sharing (shared read access
  1572. on files sent by  dsz).
  1573.  
  1574. Some bulletin board interface routines do not call DSZ to send a file until
  1575. they have verified the file's presence by opening the file.  If this checking
  1576. is done in DOS's default exclusive open mode, dsz's file sharing will be
  1577. defeated.
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621. Chapter 10 Pg 25          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1622.  
  1623.  
  1624.  
  1625. 10.  FLOW CONTROL
  1626.  
  1627. If you plan to send files over Telenet (PC-Pursuit), you must refer to the
  1628. Pro-YAM or ZCOMM Reference manual (in ZCOMMDOC.ARC) FLOW CONTROL chapter for
  1629. vital information on flow control considerations necessary for proper
  1630. operation of ZMODEM and other streaming protocols.
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681. Chapter 11 Pg 26          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1682.  
  1683.  
  1684.  
  1685. 11.  ERROR MESSAGES
  1686.  
  1687. COM2 1200 bps Carrier Detect enabled Handshake slow
  1688. Command line = (commands)
  1689. This is a normal message displayed to help resolve problems with incorrect
  1690. batch files.  The port number, speed, carrier detect ("enabled" or "DISABLED")
  1691. and "handshake" indicate the selected mode of operation.
  1692.  
  1693. DSZ FINISHED! exit code = 0
  1694. This is DSZ's normal exit when no unrecoverable errors have been detected.  If
  1695. an error such as failed file transfer had been detected, the exit code would
  1696. be 1, or the value set in the Q numeric parameter.
  1697.  
  1698. As the message implies, DSZ has done all of its processing, and has return the
  1699. communications port and vector to its original value before displaying this
  1700. message.  If the computer locks up after this message is displayed, there's
  1701. something wrong with the program that called DSZ, not with DSZ itself.
  1702.  
  1703. Unknown Machine Type XX, 'a' parameter preset to 6000 indicates a ROM BIOS
  1704. that does not follow the IBM specification for identifying the machine type.
  1705. If your computer causes DSZ to display this message, you may set the a numeric
  1706. parameter described elsewhere in this document.  This message is generated
  1707. before any commands are read, so do not be alarmed when you "discover" that
  1708. setting the a parameter doesn't make this message go away.  The a parameter
  1709. does not affect ZMODEM transfers.
  1710.  
  1711. Please send us a postcard or letter indicating the reported hex value for
  1712. machine Type, name of the computer, and its speed so we can include that
  1713. machine type in a future release.
  1714.  
  1715. Need more memory to run DSZ or Abnormal program termination is displayed by
  1716. the TurboC startup routine if DSZ is run in too small a memory partition.  If
  1717. you see this message, use a larger memory partition for DSZ or remove some
  1718. memory resident programs.  This message may also appear if the calling program
  1719. fails to free memory before calling DSZ.
  1720.  
  1721. No Carrier Detect is displayed when DSZ recognizes a loss or lack or carrier
  1722. detect signal from the modem.  This is caused by a line disconnect, defective
  1723. cable, or incorrect modem strapping.  It may be disabled with the d command.
  1724. Sometimes this is caused by setting the B parameter to too large a value.
  1725.  
  1726. Garbage Count Exceeded Indicates ZMODEM has not detected a valid start of
  1727. header in a reasonable number of characters.
  1728.  
  1729. If DSZ becomes "stuck" on emitting this messages, it is possible the sending
  1730. program may not be able to recognize and act upon transmission requests (ZROPS
  1731. headers).  The sending program should be corrected.  In the meantime, setting
  1732. a ZMODEM packet length with the "zmodem pl4096" command forces the sender to
  1733. wait for the receivers' progress reports.
  1734.  
  1735. Permission denied comes from the Microsoft C Library.  This may be caused by
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741. Chapter 11 Pg 27          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1742.  
  1743.  
  1744.  
  1745. attempts to modify a read only file or directory, or create a file in a
  1746. nonexistient directory.
  1747.  
  1748. A furtive flashing appearance of XOFF or FLOW during ZMODEM or YMODEM-g file
  1749. sending signifies DSZ is responding to flow control restraint.  This is normal
  1750. operation when buffered modems or packet switched networks are used.  ZMODEM's
  1751. robustness and reliability allow creative users to transfer files over unusual
  1752. multiple computer lash-ups, causing modem data lights and computer status
  1753. displays to dance in unfamiliar rhythms.
  1754.  
  1755. 11.1  Got ZRPOS
  1756.  
  1757. Got ZRPOS indicates the receiving program has detected a transmission error
  1758. and has requested retransmission.  In other words, ZMODEM is doing its job of
  1759. detecting and correcting missing and garbled data.  If this happens more often
  1760. than observed line errors would indicate is reasonable, there may be a flow
  1761. control problem in one of four areas:
  1762.  
  1763.   + Between the sending program and its modem.  If using an interface speed
  1764.     higher than the transmission speed, or modem to modem error correction
  1765.     (MNP, LAPB, PEP, etc.), check that the modem and the sending program are
  1766.     configured for the same flow control methods.  Omen Technology's software
  1767.     is faster than most other programs, and may expose flow control problems
  1768.     not seen with slower software.
  1769.  
  1770.   + Between the sending modem and the network.  Correcting this requires
  1771.     "handshake both" to allow the sending program to honor both hardware (CTS)
  1772.     flow control from the modem and software flow control (XON/XOFF) from the
  1773.     network.
  1774.  
  1775.   + Between parts of the network.
  1776.  
  1777.   + Between the receiving modem and the receiving program.  This can happen at
  1778.     high transmission speeds when the receiver has specified a large I/O
  1779.     buffer size with the B numeric parameter.
  1780.  
  1781.     Excessive interrupt latency from extended memory ramdisks or disk caches,
  1782.     and poorly written hard disk drivers also wreak havoc on streaming
  1783.     protocols but do not affect start-stop protocols (XMODEM, etc.).
  1784.  
  1785.     To correct these problems, give the "handshake slow" command to the
  1786.     receiver.
  1787.  
  1788. Byte NNNN retry M: <error message> These messages appear when the protocol has
  1789. detected an error and is attempting to retransmit the garbled data.  These are
  1790. normal messages.
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801. Chapter 11 Pg 28          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1802.  
  1803.  
  1804.  
  1805. 11.2  Serial Input Error: Line Status Register xx
  1806.  
  1807. Serial Input Error: Line Status Register HH indicates a slow device driver,
  1808. TSR program, or other software is disabling interrupts too long for the
  1809. program to accept incoming data, and some characters are lost.  A slow
  1810. response to folow control also triggers this message.
  1811.  
  1812. The value of the line status register is displayed in HEX.  The following
  1813. error conditions when present OR into the Line Status Register.
  1814.  
  1815.  
  1816. 01   The Interrupt level circular buffer has been overrun.  The remote did not
  1817.      respond to 's XOFF or hardware flow control, and continued to send
  1818.      characters after being told not to.  This problem is alleviated by
  1819.      correct modem flow control configuration.
  1820.  
  1821.  
  1822. 02   Data Overrun is caused by firmware, TSR programs, EGA/VGA board auto-
  1823.      select, or operating system software locking out interrupts for excessive
  1824.      periods.  Often, interrupt latency caused by EGA/VGA board auto-select
  1825.      can be corrected by disabling auto-select.  Other chapters in this
  1826.      document give additional suggestions for correcting excessive interrupt
  1827.      latency, primarily the handshake slow command and the NS16550AN UART
  1828.      chip.  Please refer to the "Brain Damaged UARTS" subchapter.
  1829.  
  1830.  
  1831. 08   Framing Error generally caused by line noise or an incorrect transmission
  1832.      speed or format (number of bits).  Most protocols require 8 bits no
  1833.      parity for proper operation.  This is set automatically by Omen
  1834.      Technology programs, but other programs may not be so smart.
  1835.  
  1836.  
  1837. 10   Break Interrupt generally caused by line noise or an incorrect
  1838.      transmission speed or format (number of bits).
  1839.  
  1840.  
  1841. 18   Break Interrupt and Framing Error (see above) in combination.
  1842.  
  1843. Please refer to the In Case of Difficulty chapter of this document for
  1844. solutions.
  1845.  
  1846. Less commonly encountered DSZ error messages are explained in the Pro-YAM
  1847. manual.
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861. Chapter 12 Pg 29          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1862.  
  1863.  
  1864.  
  1865. 12.  ASSOCIATED DOCUMENTS
  1866.  
  1867. Consult the Professional-YAM, PowerCom, or ZCOMM manual chapter "OPTIONS FOR
  1868. FILE TRANSFERS" for descriptions of the file transfer options.  The "FILE
  1869. TRANSFER BASICS" chapter explains the relative merits of XMODEM, YMODEM,
  1870. ZMODEM, and other protocols and gives tips on their use.  The "MAIN COMMANDS"
  1871. chapter describes the rb, rx, rc, rz, sb, and sz commands.  The "MODEM
  1872. INTERFACING" and "FLOW CONTROL" chapters contain important information on the
  1873. use of buffered modems with DSZ.
  1874.  
  1875. Information on the ZMODEM Inter Application File Transfer Protocol may be
  1876. found in ZMODEM.DOC, part of YZMODEM.ARC (available on TeleGodzilla).
  1877.  
  1878. C Source code for XMODEM, YMODEM, and ZMODEM transfers is included in
  1879. RZSZ.ZOO.  This file includes a Pro-YAM/ZCOMM script to upload a bootstrap
  1880. file to a Unix system, force its compilation, and (if the compilation is
  1881. successful) upload the rz/sz source files.
  1882.  
  1883. The C source code now includes VAX/VMS support.
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921. Chapter 13 Pg 30          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1922.  
  1923.  
  1924.  
  1925. 13.  FILES
  1926.  
  1927. 2S-PIF.DVP, 2A-PIF.DVP, DS.BAT, 2T-PIF.DVP DSZ.COM, and DSZ.DOC constitute
  1928. Omen Technology's DSZ.ARC.
  1929.  
  1930. 2S-PIF.DVP, 2A-PIF.DVP, DS.BAT, and 2T-PIF.DVP are only used with Quarterdeck
  1931. Office Systems' DESQview multitasking executive for background operation.
  1932. Their use is described in a previous chapter of this document.
  1933.  
  1934. ZCOMMDOC.ARC (manual), ZCOMMEXE.ARC (programs), ZCOMMHLP.ARC (help processor
  1935. and database), ZCOMM communications tools.  The ZCOMM files are available on
  1936. finer bulletin boards.
  1937.  
  1938. YZMODEM.ARC (available on TeleGodzilla) contains XMODEM, YMODEM, and ZMODEM
  1939. Protocol Descriptions.
  1940.  
  1941. RZSZ.ZOO contains ZMODEM "C" source code.  (COMPLETE VAX VMS and Unix/Xenix
  1942. programs).
  1943.  
  1944. DSZ.EXE compiled with the Xenix to DOS XC provides moderately higher maximum
  1945. throughput (1700 vs 1300 cps downloading to a 4.77 mHz XT).  The speed
  1946. difference is a function of the compiler, the source code is the same.  The
  1947. Xenix XC version requires more memory, and does not support file sharing or a
  1948. large I/O buffer.  This version is available in DSZEXE.ZOO.
  1949.  
  1950. ZCOMM and Pro-YAM also run at a higher speed than DSZ.COM.
  1951.  
  1952. DSZBG.ZOO contains DSZBG.DOC.  Part of the DSZ registration disk (and not for
  1953. public distribution), this file provides background information on the
  1954. ZCOMM/Pro-YAM commands provided in DSZ.
  1955.  
  1956. LOOZ.EXE unpacks .ZOO archives.  LOOZ.DOC describes LOOZ.EXE.  The ZOO archive
  1957. format is a machine independent improvement on the PC-DOS specific .ARC
  1958. format.
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981. Chapter 14 Pg 31          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  1982.  
  1983.  
  1984.  
  1985. 14.  CHANGES
  1986.  
  1987. Be sure to save your serial number/password (SNP) card and the putsnp program
  1988. you received from Omen to use with future versions of DSZ you may download!
  1989. The current DSZ version is maintained on GEnie, EXEC-BBS, CompuServe as well
  1990. as TeleGodzilla.
  1991.  
  1992. A problem in the 1/17/89 and 2/2/89 versions corrupts files under unusual
  1993. circustances.  Please delete all instances of the 1/17/89 and 2-02-89 version.
  1994.  
  1995. A reminder: the -Z option is effective only when it is given to the sending
  1996. program.
  1997.  
  1998. If you use PREFIX= or ONAME= with the "sb" or "sz" commands, these pathnames
  1999. must be entered in lower case unless the underlying file system supports upper
  2000. AND lower case.
  2001.  
  2002. This version introduces ZMODEM variable length headers of up to 16 bytes
  2003. information field instead of the previous fixed 4.  Selection of variable
  2004. length header capability is automatic and downward compatible.  Variable
  2005. length headers allow future extensions to ZMODEM's capabilities.
  2006.  
  2007. ZMODEM Crash Recovery now understands the -rr option to compare the CRC-32 of
  2008. the assumed common file segment before continuing an incomplete file transfer.
  2009. The "zmodem R" numeric parameter may be set to limit the number of bytes in
  2010. the files that are compared; the default R value of 0 allows all of the file
  2011. to be compared, an R value up to 32000 (up to 2 billion on 32 bit flavors)
  2012. limits the comparision to the first R bytes of the two files.  The ZMODEM -rr
  2013. option is supported by Omen Tech versions April 18 1989 and later.
  2014.  
  2015. When ZMODEM Crash Recovery detects incompatible source and destination file
  2016. contents, the destination file is now truncated to zero length before
  2017. proceeding with the transfer.  Crash Recovery requires the destination file to
  2018. be no longer than the source file.
  2019.  
  2020. Error reporting on unregistered copies has been enhanced to point the user to
  2021. solutions described in the relevant chapters in DSZ.DOC.
  2022.  
  2023. BBS registred copies (serial numbers 8000-8999 and 20000-23999) are now fully
  2024. featured except for YMODEM-g.
  2025.  
  2026. 3-18-89 In order to work around a bug in the new TCOMM bbs, DSZ now defaults
  2027. to "handshake on" if the speed is greater than 2400 and the clear to send
  2028. signal is high when DSZ selects the comm port.
  2029.  
  2030. The "o" command has been added to disconnect the modem after a terminal
  2031. session: "dsz t o" disconnects the modem when the terminal session is
  2032. completed.
  2033.  
  2034. The "P" (capital P) numeric parameter (q.v.) has been added to display and
  2035. control the UART fifo on some clone chips.
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041. Chapter 14 Pg 32          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  2042.  
  2043.  
  2044.  
  2045. BBS registrations portmarked after Feb 28 1989 must be accompanied by a paid
  2046. DSZ registration.  The free program expired Feb 28 1989.  Outside help has
  2047. been hirred to process and verify applications received under that program.
  2048.  
  2049. 2-23-89 The term function now sends BREAK in response to the ALT-B key.
  2050. Handling of the Ctrl-Break vector has been changed so an untimely keyboarded
  2051. Ctrl-C or Ctrl-Break will not hang DOS.
  2052.  
  2053. 2-15-89  DIRRX is enabled for BBS registrations (8xxx numbers).  Logic has
  2054. been added to simulate transmit interrupts on chips that have problems in this
  2055. area.  The "A" command does not require registration.  An interaction between
  2056. ONAME= or PREFIX= and the file count display has been removed.  Time/date
  2057. conversion routines have been enhanced to deal with files with missing dates.
  2058. The "v" command has been added to allow bbs programs to interrogate DSZ's
  2059. serial number.
  2060.  
  2061. 2-06-89 A spurious error message at the completion of YMODEM downloads with a
  2062. download directory specified on the command line has been eliminated.
  2063.  
  2064. 2-05-89 DSZ now returns a non 0 status unless at least one file has been
  2065. transferred.  An inappropriate pathname/disk specifier check on specified
  2066. download directories has been removed.
  2067.  
  2068. Previous versions:
  2069.  
  2070. Added the "A" command to prevent pcAnywhere host mode from locking up DSZ.
  2071. SlugBait logic has been simplified, reporting any failed file transfer where
  2072. any of the last 1K of the file was sent with Q status.
  2073.  
  2074. Introduced ZMODEM RLE compression with the -Z option.  (DSZ copies with paid
  2075. registration also accept "Z" in the DSZOPT environment variable.) ZMODEM RLE
  2076. compression packs runs of the same character in two or three character
  2077. sequences.  Compression is useful for screen dumps, uncompressed workspaces,
  2078. compiler listings, and other files rich with strings of repeated characters,
  2079. but not .ARC and compressed files to more than 1000 per cent (10x speedup!)
  2080. for the Personal Computing text file benchmark(!).  When sending to programs
  2081. that do not support ZMODEM compression, the -Z option is ignored.  The -Z
  2082. option is effective when specified to the sending program only.
  2083.  
  2084. Good news for tired frog stompers!  The ZMODEM rz/sz programs are now
  2085. available in a VMS C flavor.  The VAX/VMS source files are contained in the
  2086. RZSZ.ARC (RZSZ.ZOO) archive file.
  2087.  
  2088. "Handshake slow" has been added to disable the RTS signal to the modem while
  2089. writing to disk, even if the interrupt buffer is not chock full of bytes.
  2090. This should help systems with excessive interrupt latency on disk writes.
  2091.  
  2092. Setting the v (verbose) parameter to 1 or greater causes serialized copies to
  2093. ring the bell when a transfer is done.
  2094.  
  2095. DSZ.DOC has been extensively rewritten and reorganized.  DSZ now supports the
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101. Chapter 14 Pg 33          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  2102.  
  2103.  
  2104.  
  2105. advanced buffering of the National NS16550AN and Intel 82510 serial interface
  2106. devices.  Please refer to the subchapter on "Brain Damaged UARTs".
  2107.  
  2108. Pirated/hacked versions of DSZ have cost users and DSZ's developer thousands
  2109. of dollars in lost time and other expenses, in addition to injuring the
  2110. reputation of Omen Technology and its products.  Regrettably, Omen Technology
  2111. cannot support prior versions of DSZ because of this piracy.
  2112.  
  2113. Name             Length                           Date        Time   CRC
  2114.  
  2115. dsz.com          54812  Crunched   17%     46039  19 Apr 89   2:57p  51d7
  2116. dsz.exe          55580  Crunched   17%     46461  19 Apr 89   2:56p  8460
  2117. PKZIP -vt 32 bit CRC: F960ADFA   54812 dsz.com
  2118. PKZIP -vt 32 bit CRC: 04CD1101   55580 dsz.exe
  2119.  
  2120. Your copy of DSZ should show this information as provided by
  2121.  
  2122.        arc v dsz
  2123. or
  2124.       pkxarc -v dsz
  2125.       lharc v dsz
  2126. or
  2127.       pkzip -vt dsz
  2128.  
  2129. ARC, and LHARC use a 16 bit CRC, ZIP uses a 32 bit  CRC  compatible  with  the
  2130. Professional-YAM  or  ZCOMM "arc" command.  If your copy shows a different CRC
  2131. or file length, insist on a legitimate copy  and  report  the  source  of  the
  2132. bogus/pirated  copy  to  Omen  Technology  Inc.   Omen Technology has received
  2133. reports of serious problems caused by unauthorized patches to DSZ, and  cannot
  2134. assume liability for the performance of the resultant code.
  2135.  
  2136.  
  2137.  
  2138.  
  2139.  
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161. Chapter 15 Pg 34          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  2162.  
  2163.  
  2164.  
  2165. 15.  Other Omen Technology Products
  2166.  
  2167. Omen Technolgy makes Professional-YAM, a comphrensive comms program with
  2168. unmatched power.  Flavors are available for PC-DOS, Unix, Xenix, and OS/2
  2169. Protected mode.
  2170.  
  2171. ZCOMM is a full featured shareware version with a $40.00 basic registration.
  2172. Registered DSZ users upgrading to ZCOMM get a free binder!
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190.  
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.  
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221. Chapter 16 Pg 35          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  2222.  
  2223.  
  2224.  
  2225. 16.  FAIR PLAY
  2226.  
  2227. Unlike snazzy menu interfaces, reliable high speed transfer protocols take
  2228. many hours of testing, often over expensive phone connections, to develop.
  2229. Two decades of communications experience and protocol testing are distilled in
  2230. DSZ.
  2231.  
  2232. DSZ is a user supported program developed and supported by Chuck Forsberg,
  2233. owner of Omen Technology.  Countless hours of work and expen$ive resources
  2234. went to develop and support DSZ for the myriad environments users use it in.
  2235. The fact that most of the problems people encounter with DSZ are caused by
  2236. other software, hardware problems, failure to read the supplied documentation,
  2237. or pirating has not kept users from seeking and getting help, even if it means
  2238. calling the author in the middle of his sleep.
  2239.  
  2240. Beyond this, the world of communications is constantly evolving, and it
  2241. requires a significant ongoing effort to keep DSZ and its documentation up to
  2242. date with the current state of the art.  Individuals with little knowledge of
  2243. the dynamic nature of telecommunications (or hidden agendas) have
  2244. misrepresented the frequency of enhancements to DSZ as a sign that DSZ is
  2245. "unstable" and unworthy of "serious consideration".  If you think such sniping
  2246. is fair play, you are more than welcome to use one of the many other protocol
  2247. programs available, each of which claim to offer speed and reliability
  2248. comparable to DSZ.
  2249.  
  2250. Non registered users are welcome to use DSZ for a reasonable evaluation
  2251. period.  "Reasonable" means "until you've decided whether the program is worth
  2252. $20.00".  It does not mean "until some competing program gets around to adding
  2253. ZMODEM or True Ymodem(TM)".  Once you've evaluated DSZ, ethical use of DSZ
  2254. requires registering the copy.
  2255.  
  2256. DSZ is not and never has been Public Domain.  Every version of DSZ has
  2257. included a Copyright Notice and a prohibition against sale or modification.
  2258. There is no usage counter or other Trojan Horse in DSZ, but if you use this
  2259. program, you have a moral and ethical obligation to register it.
  2260.  
  2261. Paid registration enables OverThruster(TM), YMODEM-g, and other advanced
  2262. features that are present in DSZ.ARC in encrypted form.  The registration
  2263. package serializes and decodes all past and future versions of DSZ.COM and
  2264. DSZ.EXE.  You can get a fully featured upgrade of DSZ simply by downloading a
  2265. newer version from TeleGodzilla, GEnie, CompuServe, and finer bulletin boards.
  2266.  
  2267. 16.1  Sharing DSZ Files
  2268.  
  2269. You are welcome to share unmodified copies of DSZ.ARC with your friends and
  2270. associates for their evaluation.  This documentation file and the MAILER file
  2271. must be provided with all copies of DSZ except by prior written permission
  2272. from Omen Technology Inc.  Because of piracy problems, Omen Technology must
  2273. INSIST that DSZ be distributed only as part of the DSZ.ARC file EXACTLY as
  2274. provided by Omen Technology Inci, or in an archive which displays a CRC value
  2275. for DSZ.COM equal to that shown in the CHANGES chapter.  If DSZ.ARC is
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281. Chapter 16 Pg 36          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  2282.  
  2283.  
  2284.  
  2285. "zipped" or otherwise repacked, no files may be added to or removed from the
  2286. archive.
  2287.  
  2288. If you see an improperly packed or otherwise modified DSZ archive or parts
  2289. thereof in a bulletin board, please ask the board's operator to replace such
  2290. files with DSZ.ARC exactly as provided by Omen Technology Inc.  Flame them
  2291. until they behave ethically.
  2292.  
  2293. No version of DSZ may be sold without the prior written permission of Omen
  2294. Technology Inc.
  2295.  
  2296. Distribution or use of programs that modify, patch, disassemble, decompile, or
  2297. otherwise reverse engineer DSZ without prior written permission by Omen
  2298. Technology Inc is a bloody theft of services and a violation of federal
  2299. copyright law.  The same applies to debug scripts and documentation written
  2300. for the same purposes.  These perform the same function as pirate satellite
  2301. and/or cable descramblers, to obtain benefit from encrypted communications
  2302. without proper payment.  Piracy has been investigated by the FBI and
  2303. prosecuted under federal statutes.  Applicable law provides for damages and
  2304. recovery of attorney's fees.  Omen Technology has received reports of serious
  2305. problems caused by unauthorized patches to DSZ, and cannot assume liability
  2306. for the performance of the resultant code.  So far, none of the slime
  2307. producing such bilge have seen fit to sign their real name and address to
  2308. their cretinous attempts at ego gratification.
  2309.  
  2310. Distribution of DSZ in any medium without this documentation file is an
  2311. unauthorized modification to DSZ that deprives the rightful author of
  2312. registration revenues.  That is a theft of intellectual property.  Such
  2313. distribution also damages the author also obliges the user and author to waste
  2314. time and phone bills scrounging for the documentation, and answering questions
  2315. that are fully covered in the documentation.
  2316.  
  2317. If any version of DSZ is distributed with any other product, software or
  2318. hardware, the product documentation must clearly and prominently state that
  2319. the customer's continued use of DSZ requires registration directly with Omen
  2320. Technology or its duly authorized agent(s).  When DSZ is distributed on disk,
  2321. a contemporary copy of ZCOMMDOC.ARC should be included on the same disk.
  2322.  
  2323. Thank you for your support.
  2324.  
  2325. 16.2  REGISTRATION
  2326.  
  2327. After a short evaluation period, ethical users must register their copy of DSZ
  2328. with a check for $20.00 in U.S. funds sent to:
  2329.  
  2330.        Omen Technology Inc.
  2331.        P.O. Box 4681
  2332.        Portland, OR 97208
  2333.        For VISA/MC Registrations, voice call 503-621-3406
  2334.        FAX: 503-621-3735
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341. Chapter 16 Pg 37          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  2342.  
  2343.  
  2344.  
  2345. The address on your check is sufficient, no need to fill out forms.
  2346.  
  2347. Don't bother scrounging for an envelope, just print the INSTANT MAILER
  2348. included in this archive!
  2349.  
  2350. Overseas registrations are sent out International Air Mail.  Users, especially
  2351. those overseas, may choose to register their copy of DSZ for $25.00 U.S.  by
  2352. providing their VISA or Mastercard card number with expiration date and their
  2353. name as it appears on their credit card.
  2354.  
  2355. Purchase orders for less than $150 must be prepaid.
  2356.  
  2357.   *************************************************************************
  2358. The user registration package includes additional user documentation, a
  2359. printed serial number password (SNP) card, latest versions of the DSZ
  2360. programs, and the installation program which uses the SNP to enable andvanced
  2361. features and bypass the opening advertisement.
  2362.  
  2363. The registration package unlocks the extra value in all past and future
  2364. versions of DSZ.COM and DSZ.EXE.
  2365.   *************************************************************************
  2366.  
  2367. The unique serial number on the registration card is registered to the user,
  2368. and is acceptable proof of registration to corporate auditors.
  2369.  
  2370. The putsnp program inserts your unique DSZ Serial Number Password (SNP) into
  2371. you copy of DSZ with the following command:
  2372.        putsnp dsz.com
  2373. Putsnp accepts your SNP and asks appropriate questions before inserting the
  2374. SNP to enable the extra value in DSZ.
  2375.  
  2376. Some TSR programs have been known to interfere with putsnp.  If you have a
  2377. lockup running putsnp, run it without any TSR programs.
  2378.  
  2379.  
  2380. The only legitimate way to disable the opening advertisement in DSZ is to
  2381. insert an authorized SNP obtained from Omen Technology into DSZ with the
  2382. putsnp program.  Any other suppression or modification of the opening screen
  2383. is an illegal, unethical theft of services.  Omen Technology has received
  2384. reports of serious problems caused by unauthorized patches to DSZ, and cannot
  2385. assume liability for the performance of the resultant code.
  2386.  
  2387. Piracy is stealing.
  2388.  
  2389.  
  2390. 16.3  Files on Registration Disk
  2391.  
  2392. The following files are currently included on the Registration Disk sent to
  2393. paid registrants.
  2394.  
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401. Chapter 16 Pg 38          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  2402.  
  2403.  
  2404.  
  2405. LOOZ.EXE       Program to unpack .ZOO archives.  Please note that commands to
  2406.                LOOZ must be given in lower case.  "looz x dsz.arc" works,
  2407.                "LOOZ X DSZ.ARC" fails.
  2408.  
  2409.  
  2410. DSZEXE.ZOO     Contains DSZ.EXE.
  2411.  
  2412.                To dearchive with looz: looz x dszexe (Note: x must be lower
  2413.                case, X won't work!)
  2414.  
  2415.                Type "looz" without arguments to see the help message.
  2416.  
  2417.  
  2418. DSZ.ARC        Contains DSZ.COM, this document, DESQview description files,
  2419.                and an instant no-effort registration mailer.
  2420.  
  2421.                To dearchive with looz: looz x yzmodem (Note: x must be lower
  2422.                case, X won't work!)
  2423.  
  2424.  
  2425. RZSZ.ZOO       ZMODEM C source code, porting base for several dozen ZMODEM
  2426.                implementations
  2427.  
  2428.                To dearchive with looz: looz x rzsz (Note: x must be lower
  2429.                case, X won't work!)
  2430.  
  2431.  
  2432. PUTSNP.EXE     Installs your unique registered serial number to enable the
  2433.                extra value in DSZ.
  2434.  
  2435.  
  2436. DSZBG.DOC (in DSZBG.ZOO) Background information for DSZ, consisting of
  2437.                relevant parts of the ZCOMM User's Manual.  DSZBG.DOC is for
  2438.                paid registered users only; registered bulletin boards and
  2439.                unregistered users are welcome to read the same information
  2440.                contained in the ZCOMM manual (contained in ZCOMMDOC.ARC).
  2441.  
  2442.                To dearchive with looz: looz x dszbg (Note: x must be lower
  2443.                case, X won't work!)
  2444.  
  2445.  
  2446. 16.4  Bulletin Board Registration
  2447.  
  2448. DSZ may be freely used and copied by public bulletin board systems which obey
  2449. the conditions stated in the accompanying bbs_reg.txt file including display
  2450. of the ZCOMM files.  (For this BBS registration, a multi node bulletin board
  2451. operating from a single, common file system counts as one machine.)
  2452.  
  2453. Those not abiding to these conditions must obtain a paid registration for each
  2454. computer that runs DSZ.
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461. Chapter 16 Pg 39          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  2462.  
  2463.  
  2464.  
  2465. The purpose of bulletin board registrations is to support and promote ZCOMM
  2466. and Professional-YAM by popularizing the ZMODEM protocol and featuring the
  2467. ZCOMM shareware files available for downloading.  BBS registrations must be
  2468. submitted on the bbs_reg form with signature and date, and must accompany a
  2469. paid DSZ or ZCOMM registration.
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521. Chapter 17 Pg 40          DSZ Reference Rev 04-18-89           Typeset 4-19-89
  2522.  
  2523.  
  2524.  
  2525. 17.  ACKNOWLEDGEMENTS
  2526.  
  2527. 32 bit CRC code courtesy Gary S. Brown.
  2528.  
  2529. The High Reliability Software(TM), TurboLearn Script Writer(TM), Cybernetic
  2530. Data Recovery(TM), Intelligent Crash Recovery(TM), Error Containment(TM), Full
  2531. Time Capture(TM), True YMODEM(TM), OverThruster(TM), Password Guardian(TM),
  2532. CryptoScript(TM), and TurboDial(TM) are Omen Technology trademarks.
  2533.  
  2534. PowerCom was trademarked in 1985 by POLYTRON Corporation, Hillsboro Oregon.
  2535.  
  2536. DSZ and this documentation are Copyright 1988 by Omen Technology Inc, all
  2537. rights reserved.  True YMODEM(TM) is an Omen Technology Trademark signifying
  2538. YMODEM protocol support that meets the full YMODEM specification.
  2539.  
  2540.                          Omen Technology Incorporated
  2541.                         The High Reliability Software
  2542.  
  2543.                      17505-V Northwest Sauvie Island Road
  2544.                             Portland Oregon 97231
  2545.                 Modem: 503-621-3746 Speed 1200,2400,19200 PEP
  2546.                               FAX: 503-621-3735
  2547.                        Compuserve:70007,2304  GEnie:CAF
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.