home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / s / sapphb.zip / DSZ.ZIP / DSZ.DOC < prev    next >
Text File  |  1988-10-19  |  71KB  |  2,443 lines

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