home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / comm / zcmd1761.zip / ZCOMMDOC.AC < prev    next >
Text File  |  1990-06-26  |  73KB  |  1,771 lines

  1.  
  2.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  3.         ZCOMM User Manual                                                   61
  4.  
  5.         will preserve the Unix file modes and modification times, and bypass
  6.         pathname restrictions imposed by DOS.
  7.  
  8.         As with rz, Unix Professional-YAM is linked to sz to support the full
  9.         ZMODEM-90(TM) feature set.  Otherwise the separate Unix sz program may
  10.         be obtained as described in the previous subchapter.
  11.  
  12.         12.6  VMS File Transfers
  13.  
  14.         Most of the comments made above about Unix file transfers apply to VMS
  15.         as well.
  16.  
  17.         Automatic uploads to VMS may require setting the zmodem d (delay)
  18.         numeric parameter to allow VMS rz to properly initialize.
  19.  
  20.         SEE ALSO: zmodem d numeric parameter
  21.  
  22.         The abovementioned rz and sz sources also compile on the DEC VMS C
  23.         compiler.  Instructions for compiling, linking, and installing the
  24.         programs are contained in the rz.c and sz.c source files.
  25.  
  26.         The command source vupl.t calls the vupl.t script to upload the files
  27.         needed to compile the programs on VMS.  The script attempts to invoke
  28.         a Kermit server and use Kermit to upload the files.  If no Kermit
  29.         server is found, the script uses the DCL create command to upload the
  30.         files by emulating a paper tape reader.
  31.  
  32.         Make certain to "install" the VMS sz command to the DCL interpreter.
  33.  
  34.         12.7  GEnie File Transfers
  35.  
  36.         The General Electric Consumer Information Service service (GEnie) uses
  37.         ZMODEM-90(TM) for efficient downloads.  GEnie's new ZMODEM server[8]
  38.         selects ZMODEM RLE Compression or MobyTurbo(TM) for optimum download
  39.         speed on each file.
  40.  
  41.         GEnie uses a large network to provide callers with local access
  42.         numbers.  This requires technical tradeoffs to control data flow in
  43.         the network.  If you are using an MNP modem, download speeds can be
  44.         improved by increasing GEnie's ZMODEM window size.
  45.  
  46.         EXAMPLE: genie24   speed 4800 249-8365/mnp set adlopts "W16384"
  47.  
  48.  
  49.         Startup on Genie ZMODEM AutoDownloads can be speeded up by disabling
  50.  
  51.  
  52.         __________
  53.  
  54.          8. Sz version 4.x
  55.  
  56.  
  57.  
  58.         (C) 1990 Omen Tech Inc              Chapter 12 Protocol File Transfers
  59.  
  60.  
  61.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  62.         ZCOMM User Manual                                                   62
  63.  
  64.         Security Verification.
  65.  
  66.         EXAMPLE:      ena -yZ   :: Disable ZMODEM Security verification to
  67.         save time
  68.  
  69.  
  70.         The sx file.exe command is used for XMODEM-CRC uploads to GEnie.  When
  71.         uploading with XMODEM-CRC, Wait for GEnie's "READY FOR INPUT, start
  72.         your XMODEM upload." message, and then wait for the XMODEM-CRC C to
  73.         appear before issuing the sx command.  Issuing the sx command before
  74.         the C appears may corrupt the uploaded file.
  75.  
  76.         12.8  CompuServe File Transfers
  77.  
  78.         ZCOMM supports CompuServe Quick-B and the faster Extended Quick-B (B+)
  79.         file transfer protocols.
  80.  
  81.         As this is being written, these protocols are being revised.  Please
  82.         check the newest.me file for possible changes.
  83.  
  84.         B+ Protocol is used by the CompuServe Timesharing Service through the
  85.         CompuServe, Tymnet, and Telenet networks.  B+ Protocol file transfers
  86.         are initiated by the CompuServe computer.  The B+ Protocol file
  87.         transfer protocol is well supported by this timesharing service.
  88.         Under typical conditions, the B+ Protocol saves 35 per cent or more in
  89.         file transmission time and connect charges compared to XMODEM protocol
  90.         transfers.
  91.  
  92.         The c or C mode must be set with ena -c or ena -C to allow the B+
  93.         protocol to seize control and transfer files.
  94.  
  95.         The adlopts string parameter allows the y and v file transfer options
  96.         to be specified for CIS-B transfers.
  97.  
  98.         The w numeric parameter controls the block length used by the
  99.         CompuServe B+ Protocol.  A longer length increases throughput, but may
  100.         overload some networks, resulting in excessive retransmissions or
  101.         failed transfers.  With the new Extended Quick-B protocol, the maximum
  102.         block length is 1024 data bytes.  A value of 0 (the default) allows
  103.         the Compuserve computer to control the block length, up to 1024 with
  104.         Extended Quick-B.
  105.  
  106.         A negative value controls the upload block length but still allows
  107.         Compuserve to control the download block length (1024 with Extended
  108.         Quick B).
  109.  
  110.         Uploads to Compuserve using longer block lengths are especially
  111.         sensitive to poor flow control, especially when error correcting
  112.         modems (MNP, etc.) are used.  If B protocol uploads fail or require
  113.         excessive retransmissions, correct the flow control arrangements,
  114.         disable the modem's error correction, or try a smaller upload block
  115.  
  116.  
  117.         (C) 1990 Omen Tech Inc              Chapter 12 Protocol File Transfers
  118.  
  119.  
  120.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  121.         ZCOMM User Manual                                                   63
  122.  
  123.         size.
  124.  
  125.         The data contents of successfully transferred file(s) are not affected
  126.         by this parameter.
  127.  
  128.         Some networks may garble data when Quick-B's streaming causes ZCOMM to
  129.         respond to incoming data concurrently with incoming data.  The o
  130.         numeric parameter can be set to 0 to disable streaming (send-ahead).
  131.  
  132.         It is essential to use the same interface speed to the modem as the
  133.         modem's transmission rate when uploading files with B+ protocol.  If
  134.         the modem buffers any characters, ZCOMM's response to CompuServe's
  135.         flow control will be too slow to prevent loss of data.
  136.  
  137.         The CompuServe B+ Protocol controls all file transfer operations
  138.         (except permission to overwrite files) from the timesharing system.
  139.  
  140.         Waiting for long files to download can be boring.  You can start the
  141.         transfer and walk away from the computer, but CompuServe will stay
  142.         connected for 15 minute$ after the transfer is finished if you don't
  143.         come back when the download finishes.  This expense can be avoided by
  144.         typing ALT-Q once the protocol transfer has started.  ALT-Q tells
  145.         ZCOMM to disconnect as soon as the protocol transfer is completed,
  146.         stopping the connect charges.  An alternative method is to control the
  147.         transfers with a script, using either ejryam or the less sophisticated
  148.         cissig and dow.t scripts included with the software distribution.
  149.  
  150.         When "browsing" through CompuServe's software "downloading section"
  151.         libraries, the kcisdl.t script file and ZCOMM allow you to download a
  152.         file with a single keystroke: F3.  Installation instructions are
  153.         provided in that file.
  154.  
  155.  
  156.         12.9  BIX File Transfers
  157.  
  158.         BIX (Byte Information Exchange) supports ZMODEM, and Kermit file
  159.         transfers.
  160.  
  161.         The Tymnet phone number in the bix telephone directory entry should be
  162.         changed for your calling area.  Other scripts are provided to handle
  163.         BIX mail and conferences.
  164.  
  165.         When setting up a new BIX account, give the command call bix,new to
  166.         force a login to the BIX new account program.
  167.  
  168.         Be sure to select ZMODEM downloads and Kermit (sliding windows)
  169.         uploads with the "OPTIONS" menu choice.  BIX's transfer time
  170.         predictions are about 40 per cent too pessimistic for ZMODEM
  171.         transfers.
  172.  
  173.         A number of BIX scripts are included in SCRIPTS.ZOO.
  174.  
  175.  
  176.         (C) 1990 Omen Tech Inc              Chapter 12 Protocol File Transfers
  177.  
  178.  
  179.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  180.         ZCOMM User Manual                                                   64
  181.  
  182.         12.10  User Exit Processing
  183.  
  184.         The onclosetx and oncloserx string parameters provide a facility to
  185.         perform user defined file related functions ("user exits") immediately
  186.         after each file is closed, while the protocol is still active.  Wild
  187.         card filename expansionss are not allowed in this context.
  188.  
  189.         The oncloserx string parameter may be used to perform user commands or
  190.         call a script once for each file received with a file transfer
  191.         protocol.
  192.  
  193.         EXAMPLE: set oncloserx @crc %rname; obey "!%mv %rname /tmp"
  194.         When each file is received, the crc command calculates and displays a
  195.         CRC for the file.
  196.  
  197.         Then the !% command calls the mv program to move the file just
  198.         received to the /tmp directory.  The "%" in the "!%" command causes
  199.         the rest of the command string to be processed for string
  200.         substitutions.
  201.  
  202.  
  203.         The onclosetx string parameter may be used to perform user commands or
  204.         call a script once for each file sent with a file transfer protocol.
  205.         Wild card file name expansions may not be used in onclosetx.
  206.  
  207.         EXAMPLE: The following causes each successfully sent file to be moved
  208.         to the /done directory.
  209.              set onclosetx
  210.         @if !d? obey "!%mv %rname /done"
  211.  
  212.  
  213.         SEE ALSO: rname, tname, drive, pwd string parameters, ?, d?  test
  214.         conditions
  215.  
  216.         User exits will cause protocol timeouts if their execution takes too
  217.         long.  Since both Zcomm and the remote machine are still executing
  218.         file transfer protocols when user exits are called, user exits can not
  219.         use the serial port.
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.         (C) 1990 Omen Tech Inc                    Chapter 12 Message Transfers
  236.  
  237.  
  238.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  239.         ZCOMM User Manual                                                   65
  240.  
  241.         13.  MESSAGE TRANSFERS
  242.  
  243.         13.1  Downloading Messages
  244.  
  245.         ZCOMM is flexible capturing output from other systems.  The trick is
  246.         to make the remote send the information without too much
  247.         embellishment.
  248.  
  249.         When downloading files without a file transfer protocol, set the
  250.         timesharing system to send tabs as tab characters without expanding
  251.         them to spaces.  Turn off fill characters.  These extra characters
  252.         waste time and money and ZCOMM doesn't need them.  ZCOMM's s and S
  253.         modes can be used to strip control characters and escape sequences
  254.         from the capture download.
  255.  
  256.         EXAMPLE: t -s file
  257.  
  258.  
  259.         If the remote system responds to XOFF and XON, E mode may be enabled
  260.         to allow Error Containment(TM) to reduce the number of characters
  261.         garbled by "line hits".
  262.  
  263.         EXAMPLE: t -E7e file1 uses Error Containment to download file1 from a
  264.         system using 7 bits even parity.  Error Containment works best when
  265.         even or odd parity is available.
  266.  
  267.  
  268.         SEE ALSO: E, j, S, s modes
  269.  
  270.         13.1.1  XON/XOFF  Files of arbitrary length may be transferred if the
  271.         remote supports flow control with the ASCII XOFF and XON control
  272.         characters.  Output from most timesharing services may be captured to
  273.         a file using this method.
  274.  
  275.         To download a file with XON/XOFF flow control: t file1
  276.  
  277.  
  278.         13.1.2  DC2/DC4 (^R/^T)  Some bulletin boards support file downloads
  279.         by issuing a DC2 to open a capture buffer, sending the file, and
  280.         terminating the capture with DC4.  ZCOMM does not support this
  281.         "protocol" directly.  The review t and b commands can be used to strip
  282.         excess characters from the circular buffer before writing the file to
  283.         disk.
  284.  
  285.         This "protocol" can be implemented with Turbodial(TM) script commands:
  286.  
  287.         EXAMPLE: pat 1c "\022" "@kill; create capture.fil"
  288.              pat 2c "\024" "close"
  289.  
  290.  
  291.  
  292.  
  293.  
  294.         (C) 1990 Omen Tech Inc                    Chapter 13 Message Transfers
  295.  
  296.  
  297.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  298.         ZCOMM User Manual                                                   66
  299.  
  300.         13.1.3  Data Dump  Sometimes no flow control is available.  The fget *
  301.         command allows ZCOMM to accept a continuous stream of data at a
  302.         maximum data rate determined by the hardware and software environment.
  303.         With a hard disk, excellent results have been obtained with a 4.77 mHz
  304.         PC accepting graphics dumps at 9600 bps.
  305.  
  306.         EXAMPLE: fget file1
  307.  
  308.  
  309.         At slower speeds or with a fast computer, the term function j mode*
  310.         may be used for nonstop file capture.
  311.  
  312.         EXAMPLE: t -j file1
  313.  
  314.  
  315.         The fget command does not provide a progress display.  While this
  316.         allows the fastest possible data capture (38400 bps on a suitable
  317.         computer), sometimes there is no handy way to monitor the flow of
  318.         data.
  319.  
  320.         The term function I (super-image) mode may be used to capture a binary
  321.         file, provided CRT emulation is disabled with a display dumb command
  322.         or by enabling v mode.
  323.  
  324.         EXAMPLE: display dumb; t -Ij file1
  325.  
  326.         The fax directory entry in PHONES2.T gives another example of how
  327.         ZCOMM's data capture modes may be used to capture binary data.
  328.  
  329.         13.2  Uploading Messages
  330.  
  331.         It is often possible to upload files using the f command with one or
  332.         more modes (such as w or p, possibly in combination with t).
  333.  
  334.         Message uploads are more reliable if you keyboard enab flow before
  335.         connecting through Telenet.  If using Tymnet, type ^R^X just before
  336.         the host computer name to enable flow control with XOFF and XON.
  337.         Check with your network's documentation for further details or updates
  338.         to this information.
  339.  
  340.         It often helps to use "half duplex" ( h mode) with the computer echo
  341.         disabled when uploading files to the computer.  This saves the
  342.         computer from wasting precious time echoing characters.
  343.  
  344.         Another tactic is to avoid uncorrected message transfers during peak
  345.         hours.  Telephone usage peaks during midday with a resulting increase
  346.         in noise induced line hits.  Timesharing computers and communications
  347.         networks are more likely to drop characters due to buffer overloading
  348.         during high traffic periods as well.
  349.  
  350.  
  351.  
  352.  
  353.         (C) 1990 Omen Tech Inc                    Chapter 13 Message Transfers
  354.  
  355.  
  356.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  357.         ZCOMM User Manual                                                   67
  358.  
  359.         13.2.1  Paced  Some systems accept characters only at a certain rate,
  360.         a slow speed for each character and possibly a pause at the end of
  361.         each line.  Depending on the particular system, data transfer may have
  362.         to pause briefly at the end of the line,[1] or wait for a particular
  363.         character to signify readiness to accept the next line.  There may be
  364.         an additional delay after that[2] before the remote is able to accept
  365.         more data.
  366.  
  367.         EXAMPLE: f -p file1 uploads file1 with a wait for the linefeed echo at
  368.         the end of each transmitted line.
  369.  
  370.  
  371.         EXAMPLE: pg63; f -p file1 Sets the prompt character to decimal 63
  372.         ("?") and sends the file with a wait for "?" after each transmitted
  373.         line.
  374.  
  375.         As with the fpute command, the remote system must be commanded to open
  376.         and close the file.
  377.  
  378.         13.2.2  Throttle  Another method of slowing message uploads is the
  379.         throttle, activated by t mode.  Throttle artificially slows Zcomm's
  380.         character transmission to allow more time for the receiving system to
  381.         digest each character. The speed of transmission with t mode is
  382.         controlled by the t numeric parameter.
  383.  
  384.         EXAMPLE: f -t secret.msg
  385.  
  386.         Really slow systems may require both throttle and pacing to send data
  387.         efficiently without loss.
  388.  
  389.         EXAMPLE: f -tp turkey.slo
  390.  
  391.  
  392.         13.2.3  Uploading to IBM Mainframes  Text files can be uploaded to IBM
  393.         mainframes using the P (upper case) mode.  When the P mode is
  394.         activated, ZCOMM will wait for an XON (^Q) after sending each line.
  395.         In this special mode, ZCOMM will not time out waiting for the XON, no
  396.         matter how long it takes for the IBM front end to send it.  If, for
  397.         some reason, the front end fails to send the XON, (or if it is garbled
  398.         in transmission), Ctrl-Q may be keyboarded.
  399.  
  400.         EXAMPLE: f -P file1
  401.  
  402.  
  403.  
  404.         __________
  405.  
  406.          1. Controlled by the p numeric parameter
  407.  
  408.          2. Controlled by the q numeric parameter
  409.  
  410.  
  411.  
  412.         (C) 1990 Omen Tech Inc                    Chapter 13 Message Transfers
  413.  
  414.  
  415.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  416.         ZCOMM User Manual                                                   68
  417.  
  418.         SEE ALSO: P mode, Kermit protocol
  419.  
  420.         13.2.4  Uploading Messages to Bulletin Boards  The greatest file
  421.         transfer challenge is to upload a file to a bulletin board message
  422.         system running on a tiny microcomputer.  Bulletin board message
  423.         systems have a rich variety of operating sequences and timing
  424.         dependencies matched only by the proliferation of incompatible
  425.         dialects of Basic and Pascal.
  426.  
  427.         Message upload from files to bulletin boards reduces connect time and
  428.         $welling of the Phone Bill.  Unattended message transfer saves the
  429.         user's time, especially if the board is difficult to access.
  430.  
  431.         The t, p and w modes and the g, p, t, and q numeric parameters allow
  432.         disk files to be uploaded to such systems.
  433.  
  434.         The basic program cbbsck.bas may be used (perhaps with modifications)
  435.         to check that a message file does not violate the restrictions of the
  436.         message system being uploaded to.  A C version is also available.
  437.  
  438.         EXAMPLE: f -pt file1
  439.  
  440.  
  441.         13.2.5  Uploading to CompuServe SIGS  A file may be uploaded to a
  442.         CompuServe SIG (Special Interest Group) editor with p mode and the g
  443.         numeric parameter set to colon.  When the file has been transferred,
  444.         hit ENTER to send a blank line to terminate message entry.
  445.  
  446.         EXAMPLE: set eolstr "\r."; pp1000; pg58; f -p FILE Is useful for
  447.         uploading a prepared message to Compuserve's bulletin boards.  This
  448.         setting for eolstr inserts a carriage return and period after each
  449.         line to prevent the CompuServe software from reformatting the message.
  450.  
  451.  
  452.         EXAMPLE: pp1000, pg58, and f -p FILE transmits FILE waiting for the
  453.         prompt character ":" before sending each line after the first.
  454.  
  455.  
  456.         An alternative is to set the SIG "FIL" option, which calls the EDIT
  457.         editor.  The cisupl script file referenced by phones2.t uses the SIG
  458.         "FIL" editor option.
  459.  
  460.         Compuserve nodes often drop characters when files are uploaded at full
  461.         speed in full duplex.  This can be avoided by using h mode (local
  462.         echo) and turning off Compuserve's echo.
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.         (C) 1990 Omen Tech Inc                    Chapter 13 Message Transfers
  472.  
  473.  
  474.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  475.         ZCOMM User Manual                                                   69
  476.  
  477.         13.3  Fpute: Echoplex Uploads
  478.  
  479.         Text files can often be uploaded reasonably efficiently using the
  480.         fpute command.* Fpute waits for an echo to each character sent to the
  481.         remote.  Fpute provides modest throughput without loss of data for
  482.         systems with terminal ports designed for keyboard data entry.  The
  483.         maximum speed with fpute is limited to about 1/3 the normal character
  484.         rate by echo delays.  There is no error correction with fpute, but
  485.         character by character handshaking prevents lost data caused by buffer
  486.         overflow.  If possible, TABS should be set to echo as TAB characters
  487.         and not as spaces.  Before the fpute command is given, the remote
  488.         system must be instructed to enter data from the "terminal" to a file.
  489.         After the file has been sent, the remote system must be instructed to
  490.         close the file.
  491.  
  492.         EXAMPLE: fpute file1
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.         (C) 1990 Omen Tech Inc                         Chapter 13 Flow Control
  531.  
  532.  
  533.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  534.         ZCOMM User Manual                                                   70
  535.  
  536.         14.  FLOW CONTROL
  537.  
  538.         All of us must sometimes tell people to "slow down" lest they overload
  539.         us with information faster than we can write it down.  "Wait!" is a
  540.         Flow Control Signal for the English language.
  541.  
  542.         When buffered modems, timesharing systems, networks, or computers of
  543.         differing speeds are involved, a machine readable "Wait!" signal is
  544.         required.
  545.  
  546.         Flow control is sometimes necessary to display long messages without
  547.         skipping over the good parts.  If you see pieces of text missing from
  548.         messages but don't see the usual funny characters caused by line
  549.         noise, ypu have a flow control problem.
  550.  
  551.         File transfers that use long blocks or streaming protocols may not
  552.         work well unless slower parts of the system regulate the speed of
  553.         transmission to prevent loss of data.  With ZMODEM, SuperKermit, and
  554.         other streaming protocols, inexplicable retransmissions of data
  555.         blocks, often at regular intervals, indicate flow control failure.
  556.  
  557.         If you wish to keep things simple, the sending computer should not
  558.         operate at a higher interface speed than the slowest link in the
  559.         network.  Otherwise precautions must be taken to prevent data loss
  560.         with interactive operations and unnecessary retransmissions with
  561.         streaming file transfer protcols.
  562.  
  563.         ZCOMM, ZCOMM, and DSZ default to software flow control with XON and
  564.         XOFF characters.[1] When used with modems that require hardware flow
  565.         control, the handshake command (q.v.) should be used to specify which
  566.         hardware lines are to be used for flow control.
  567.  
  568.         Non transparent software flow control is incompatible with Emacs
  569.         editors, XMODEM and YMODEM transfers.  XMODEM and YMODEM require
  570.         complete transparency to all 256 8 bit codes.  An XMODEM transfer that
  571.         always fails at the same block results from non transparent flow
  572.         control.  When XMODEM-1k and YMODEM-1k are used, the network must
  573.         assert flow control, or handle bursts of 1040 characters without data
  574.         loss.  When X.25 or hardware CTS is unavailable, flow control that
  575.         does not "eat" any characters may be used with XMODEM and YMODEM.
  576.         When buffers fill up, an XOFF should be emitted.  An XON should be
  577.         sent when the buffer has emptied.  Otherwise, the network should
  578.         neither generate nor eat XON or XOFF characters.
  579.  
  580.  
  581.         __________
  582.  
  583.          1. The PCDOS flavor enables "handshake both" when selecting a port
  584.             with an active Clear To Send (CTS) signal that was previously
  585.             initialized to a speed greater than 2400 bps
  586.  
  587.  
  588.  
  589.         (C) 1990 Omen Tech Inc                         Chapter 14 Flow Control
  590.  
  591.  
  592.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  593.         ZCOMM User Manual                                                   71
  594.  
  595.         On Telenet, this is obtained by setting CCIT X3 5:1 and 12:1 in the
  596.         PADs (Packet Assembler Dissassembler) at both ends of the network.
  597.         Packets should be forwarded when the packet is a full 128 bytes, or
  598.         after a moderate delay (3:0,4:10).  Set parameter 5 to 1 at both ends
  599.         AFTER one is connected to the remote modem.  (Sorry, these commands
  600.         must be given each time you connect to a modem in the far city!)
  601.              <ENTER>@<ENTER>
  602.              set 5:1<ENTER>
  603.              rst? 5:1<ENTER>
  604.              cont<ENTER>
  605.         ZMODEM and Kermit protect all 4 XOFF and XON characters, commonly used
  606.         network control characters and trigger strings.  ZMODEM and Kermit are
  607.         compatible with many networks that do not support XMODEM family
  608.         protocols, including some that claim network compatibility.  For PADs
  609.         that do not accept "rst?", use:
  610.              <ENTER>@<ENTER>
  611.              set 4:2,5:1,12:1<ENTER>
  612.              cont<ENTER>
  613.         For best Telenet download throughput, parameter 64 (advance ACK)
  614.         should be set to 7.  The parameter 0 is a dummy argument that
  615.         distinguishes Telenet parameters from CCIT parameters.
  616.              <ENTER>@<ENTER>
  617.              set 0:0,64:7<ENTER>
  618.              cont<ENTER>
  619.         Sometimes Telenet flow control stops data transmission when the
  620.         network buffers are not yet full.  If you often see "STOPPED" flashing
  621.         in the status line (DOS versions), or if you see the modem send data
  622.         light pause in a ZMODEM or SuperKermit file send, poor flow control
  623.         may be the culprit.  Such slowdowns are typical when a network is
  624.         overloaded.  If this condition persists, the network should take steps
  625.         to reduce the congestion.  Turning OFF network flow control and
  626.         activating ZMODEM's or SuperKermit's protocol flow control may
  627.         increase throughput under these conditions.
  628.  
  629.         Instead of or in addition to XON/XOFF flow control, the sending
  630.         program's ZMODEM w numeric parameter can restrict the window size to a
  631.         value that does not overload the network.  A zmodem pw2048 command
  632.         restricts the window size (maximum number of bytes in transit) to
  633.         2048.  This causes the sz command to trigger the receiver's
  634.         acknowledgement every 512 bytes (one fourth the value of the ZMODEM w
  635.         numeric parameter).  The sender monitors these responses and suspends
  636.         transmission when necessary to restrict the window to the specified
  637.         size.  Until a network dependent lower limit is reached, lower window
  638.         sizes improve the speed of error recovery at the expense of slight
  639.         increases in protocol overhead.  When the window size becomes less
  640.         than the number of characters sent within the network's transit time,
  641.         throughput falls off rapidly.  Frequent protocol acknowledgements slow
  642.         down high speed psuedo full duplex modems (US Robotics HST, Telebit
  643.         TrailBlazer) and should be avoided.
  644.  
  645.         ZMODEM-90(TM) allows the receiver to specify the window size with the
  646.  
  647.  
  648.         (C) 1990 Omen Tech Inc                         Chapter 14 Flow Control
  649.  
  650.  
  651.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  652.         ZCOMM User Manual                                                   72
  653.  
  654.         -Wn option where n is the desired window size.
  655.  
  656.         EXAMPLE: set adlopts W8192 requests an 8193 byte window size.
  657.  
  658.  
  659.         Some modems and networks can be configured to flush (discard the
  660.         contents of) their buffers when a break signal is received.  If this
  661.         is possible, error recovery with ZMODEM transfers may be speeded up by
  662.         setting the ZMODEM b parameter to 1, which sends a break whenever the
  663.         ZMODEM sending program gets a retransmission request.
  664.                      Network and Flow Control (FC) Compatibility
  665.  
  666.         ______________________________________________________________________
  667.         |    Network     | Interactive | XMODEM | WXMODEM | S-KERMIT | ZMODEM |
  668.         |________________|_____________|________|_________|__________|________|
  669.         |No Network      | YES         | YES    | YES     | YES      | YES    |
  670.         |8 bit, no FC    | NO          | YES    | YES     | YES(1)   | YES(1) |
  671.         |Transparent FC  | YES         | YES    | YES     | YES      | YES    |
  672.         |Non Transparent | YES         | NO     | NO      | YES      | YES    |
  673.         |7 bit           | YES         | NO     | NO      | YES      | NO     |
  674.         |________________|_____________|________|_________|__________|________|
  675.  
  676.         (1) Window size must be restricted to avoid buffer overrun if the
  677.         network cannot transfer data at full speed.
  678.  
  679.         14.1  Got ZRPOS Errors
  680.  
  681.         Got ZRPOS indicates the receiving program has detected a transmission
  682.         error and has requested retransmission.  In other words, ZMODEM is
  683.         doing its job of detecting and correcting missing and garbled data.
  684.  
  685.         If this happens more often than observed line errors would indicate is
  686.         reasonable, the receiver's error messages must be studied.  Line
  687.         Status Register errors generally indicate a local problem; if the
  688.         receiver gives "Line Status Register 02" errors the problem lies with
  689.         the receiver.
  690.  
  691.         Otherwise, the sender may have a flow control problem in one of four
  692.         areas:
  693.  
  694.           + Between the sending program and its modem.  If using an interface
  695.             speed higher than the transmission speed, or modem to modem error
  696.             correction (MNP, LAPB, PEP, etc.), check that the modem and the
  697.             sending program are configured for the same flow control methods.
  698.             Omen Technology's software is faster than most other programs, and
  699.             may expose flow control problems not seen with slower software.
  700.  
  701.           + Between the sending modem and the network.  Correcting this
  702.             requires "handshake both" to allow the sending program to honor
  703.             both hardware (CTS) flow control from the modem and software flow
  704.             control (XON/XOFF) from the network.
  705.  
  706.  
  707.         (C) 1990 Omen Tech Inc                         Chapter 14 Flow Control
  708.  
  709.  
  710.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  711.         ZCOMM User Manual                                                   73
  712.  
  713.           + Between parts of the network.
  714.  
  715.           + Between the receiving modem and the receiving program.  This can
  716.             happen at high transmission speeds when the receiver has specified
  717.             a large I/O buffer size with the B numeric parameter.
  718.  
  719.             Excessive interrupt latency from extended memory ramdisks or disk
  720.             caches, and poorly written hard disk drivers also wreak havoc on
  721.             streaming protocols but do not affect start-stop protocols
  722.             (XMODEM, etc.).  Problems with extended memory disk caches may
  723.             cause errors at regular intervals; check the receiver's error
  724.             messages.
  725.  
  726.             To work around these problems, give the "handshake slow" command
  727.             to the receiver.
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.         (C) 1990 Omen Tech Inc                       Chapter 14 Running ZCOMM
  767.  
  768.  
  769.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  770.         ZCOMM User Manual                                                   74
  771.  
  772.         15.  RUNNING ZCOMM
  773.  
  774.         Before running ZCOMM, the keyboard Caps Lock should be turned off.
  775.         ZCOMM commands and most arguments must be entered in lower case.
  776.  
  777.  
  778.         15.1  Running ZCOMM from DOS
  779.  
  780.         ZCOMM is called from DOS as ZCOMM [A] [DPORT=n] [command ...]
  781.  
  782.         The following special commands may be given from the command line
  783.         only.
  784.  
  785.         A       PcAnywhere host mode must be disabled to allow another program
  786.                 to access the serial port in order to prevent port contention
  787.                 and lockup.  The A command may be given to disable pcAnywhere
  788.                 host mode for the duration of the program.  The A command is
  789.                 only recognized when it is the first command on the command
  790.                 line.
  791.  
  792.                 EXAMPLE: ZCOMM A DPORT=2 remote
  793.  
  794.  
  795.         COMSPEC ZCOMM uses the DOS COMSPEC environment variable to load
  796.                 COMMAND.COM or similar program to parse and execute DOS
  797.                 gateways (shell escapes).
  798.  
  799.         DPORT=n is an optional override to the default comm port.  If another
  800.                 program is using the default comm port, ZCOMM may be told to
  801.                 use another port to prevent interference.
  802.  
  803.                 SEE ALSO: DPORT environment variable
  804.  
  805.         Command may be any desired combination of ZCOMM commands.  Command
  806.         line arguments to ZCOMM must be in lower case excpet as noted.
  807.  
  808.         EXAMPLE: C>ZCOMM call cissig invokes ZCOMM and executes the commands
  809.         in the "cissig" telephone directory entry.
  810.  
  811.  
  812.         EXAMPLE: C>ZCOMM DPORT=2 call othersys
  813.         Selects COM2 before initializing the serial port
  814.  
  815.  
  816.  
  817.         15.1.1  DOS Environment Variables  ZCOMM searches the DOS Environment
  818.         for the following variables:
  819.  
  820.         CBSIZE overrides the default allocation for the circular buffer.** If
  821.               memory is limited, the DOS command SET CBSIZE=3000 will leave
  822.               more memory for DOS Gateway or other programs.  On medium model
  823.  
  824.  
  825.         (C) 1990 Omen Tech Inc                       Chapter 15 Running ZCOMM
  826.  
  827.  
  828.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  829.         ZCOMM User Manual                                                   75
  830.  
  831.               DOS flavors, CBSIZE may be set as high as 65500.
  832.  
  833.         DIRRX, DIRSX, DIRCX, DIRPX, DIRFX Contain optional receive (DIRRX),
  834.               send (DIRSX), capture (DIRCX), paste (DIRPX), and file (DIRFX)
  835.               directory presets.  When ZCOMM starts, these environment
  836.               variables preset the dirrx, dirsx, dircx, dirpx and dirfx string
  837.               variables respectively.
  838.  
  839.         DIRSIZE controls the number of directory items that may be sorted with
  840.               each wildcard.  It should be set to 23 * times the desired
  841.               number of entries (default = 200).  If more directory entries
  842.               are encountered, they are processed without sorting.
  843.  
  844.               EXAMPLE: C>set DIRSIZE=8000
  845.  
  846.  
  847.         DPORT overrides the default modem port (COM1) initially accessed by
  848.               ZCOMM.
  849.  
  850.               EXAMPLE: C>set DPORT=2
  851.  
  852.               The DPORT environment variable can also be specified as a hex
  853.               port address,vector number pair.
  854.  
  855.               EXAMPLE: C>set DPORT=2f8,5
  856.  
  857.  
  858.               SEE ALSO: portx command
  859.  
  860.         EGA   Stting this to MONO causes ZCOMM to use video mode 7 for 80x25
  861.               column text instead of the default video mode 3.  This is needed
  862.               when using some EGA cards with an Monochrome MDA compatialbe
  863.               monitor.
  864.  
  865.               EXAMPLE: C>set EGA=MONO
  866.  
  867.  
  868.         HOTPORT Suppresses the "Warning: Old dport=" message (q.v.) seen when
  869.               Zcomm is called from certain operating systems or programs.
  870.  
  871.               EXAMPLE: C>set HOTPORT=1
  872.  
  873.  
  874.               SEE ALSO: port, portx commands
  875.  
  876.         MODEM Describes the type of modem used by the mm224 script.  See
  877.               Chapter 7 for details.
  878.  
  879.               EXAMPLE: C>set MODEM=MM224E
  880.  
  881.  
  882.  
  883.  
  884.         (C) 1990 Omen Tech Inc                       Chapter 15 Running ZCOMM
  885.  
  886.  
  887.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  888.         ZCOMM User Manual                                                   76
  889.  
  890.         PATH  must include the directories containing ZCOMM and the help
  891.               processor YHP.
  892.  
  893.         PHONES overrides the default pathname used to fetch ZCOMM's telephone
  894.               directory.  Forward slashes should be used to indicate
  895.               directories.
  896.  
  897.               EXAMPLE: C>set PHONES=c:/PHODIR.t
  898.  
  899.  
  900.         YAMQUIET Inhibits the display and locks the keyboard, preventing ZCOMM
  901.               from writing on the screen. * This is useful when calling ZCOMM
  902.               from another program.
  903.  
  904.               EXAMPLE: C>set YAMQUIET=257 Performs the equivalent of an
  905.               initial kbdlock 257 command.
  906.  
  907.  
  908.               SEE ALSO: kbdlock command
  909.  
  910.         ZONE  sets the z numeric parameter to the number of minutes the
  911.               current local time lags GMT time.
  912.  
  913.               EXAMPLE: C>set ZONE=420
  914.  
  915.  
  916.               SEE ALSO: z numeric parameter
  917.  
  918.         Before running the X.PC* version of Pro-YAM, you must run the Tymnet
  919.         X.PC driver to make it resident by calling the driver from DOS.  The
  920.         driver announces itself and returns control to DOS.  The Tymnet X.PC
  921.         driver uses approximately 40kb memory.
  922.  
  923.         EXAMPLE: xpcmain
  924.  
  925.  
  926.  
  927.         15.1.2  Help Program Environment Variables  The flash-up help
  928.         processor program YHP examines the environmnet for the NORMATTR,
  929.         REVATTR, and UNDLATTR variables.  These set help screen parameters for
  930.         normal, reverse video, and underline attributes corresponding to the
  931.         n,r, and u numeric paramters.
  932.  
  933.         EXAMPLE: C>set NORMATTR=3
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.         (C) 1990 Omen Tech Inc                       Chapter 15 Running ZCOMM
  944.  
  945.  
  946.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  947.         ZCOMM User Manual                                                   77
  948.  
  949.         15.2  Dialing out from Unix
  950.  
  951.         ZCOMM is called from Unix as [DPORT=S] yam [command ...]
  952.         DPORT=S is an optional override to the initial default serial line.
  953.  
  954.         If another program is using the line, ZCOMM complains that the port is
  955.         busy and will refuse to open it.
  956.  
  957.         Command may be any desired combination of ZCOMM commands.
  958.  
  959.         EXAMPLE: yam call cissig invokes ZCOMM and executes the commands in
  960.         the "cissig" telephone directory entry.
  961.  
  962.  
  963.         EXAMPLE: DPORT=tty77 ZCOMM call othersys
  964.         Selects /dev/tty77 before executing the othersys telephone directory
  965.         entry.
  966.  
  967.  
  968.         If ZCOMM is run in the background, it will exit if it reached the main
  969.         command prompt.
  970.  
  971.         EXAMPLE: yam call cissig&
  972.  
  973.  
  974.         As a form of shorthand, ZCOMM may be invoked as call if that is the
  975.         command to be executed.
  976.  
  977.         EXAMPLE: call cissig
  978.  
  979.  
  980.  
  981.         15.2.1  X Windows  When run under the X Windows xterm(1) interface
  982.         program (indicated by the Unix TERM environment variable), ZCOMM
  983.         understands xterm's keyboard mappings for function and ALT keys.
  984.  
  985.  
  986.         15.2.2  UNIX/XENIX Environment Variables  Unix/Xenix ZCOMM flavors
  987.         search the Environment for the following variables:
  988.  
  989.         CBSIZE overrides the default allocation for the circular buffer.  On
  990.               32 bit systems, the maximum CBSIZE is limited only by the
  991.               operating system's process size limit.
  992.  
  993.               EXAMPLE: CBSIZE=300000; export CBSIZE
  994.  
  995.  
  996.         DIRRX, DIRSX, DIRCX, DIRPX, DIRFX Perform the same function as
  997.               described for the DOS flavor above.  (Since Unix does not use
  998.               colon (:) as a device specifier, Unix flavors do not treat
  999.               colon(s) in pathnames in any special way.)
  1000.  
  1001.  
  1002.         (C) 1990 Omen Tech Inc                       Chapter 15 Running ZCOMM
  1003.  
  1004.  
  1005.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  1006.         ZCOMM User Manual                                                   78
  1007.  
  1008.         DPORT overrides the default modem port initially accessed by ZCOMM.
  1009.  
  1010.               EXAMPLE: DPORT=tty12; export DPORT
  1011.  
  1012.  
  1013.         HZ    Indicates the number of kernel "clock ticks" per second.  This
  1014.               calibrates terminal function timeouts, protocol timeouts, and
  1015.               the sleep command.  The HZ environment variable must be set if
  1016.               the value used by your system is not 50 clock ticks per second.
  1017.  
  1018.         MODEM Describes the type of modem used by the mm224 script.  See
  1019.               Chapter 7 for details.
  1020.  
  1021.               EXAMPLE: MODEM=MM224E; export MODEM
  1022.  
  1023.  
  1024.         PAGER points to a pager program suitable for viewing files a
  1025.               screenfull at a time, such as pg(1), more(1) or less(1).
  1026.  
  1027.         PATH  must include the directories containing yam and the help
  1028.               processor yhp.
  1029.  
  1030.         PHONES overrides the default pathname used to fetch ZCOMM's telephone
  1031.               directory.
  1032.  
  1033.               EXAMPLE: PHONES=/usr/lib/local/localphone.t; export PHONES
  1034.  
  1035.  
  1036.         SHELL ZCOMM uses this environment variable to select the appropriate
  1037.               program for its shell escapes.
  1038.  
  1039.         TERM  If the TERM environment variable contains xterm, xterms or
  1040.               anything else beginning with xterm, ZCOMM assumes it is
  1041.               operating as a subprocess to the Xwindows xterm(1) program,
  1042.               enabling a term function status line.  The LINES and COLUMNS
  1043.               environment variables preset the # and $ numeric parameters
  1044.               respectively.  This assumption may be overidden by setting the X
  1045.               numeric parameter.
  1046.  
  1047.               If the TERM environment parameter contains the string 401
  1048.               indicating emulation of a Tektronix 4010 series storage tube
  1049.               terminal, status line updates are inhibited when Tek graphics is
  1050.               active.
  1051.  
  1052.               If the TERM environment parameter cegins with "wy" (as in
  1053.               "wy60") ZCOMM will use and recognize Wyse escape sequences.
  1054.  
  1055.         UUCPLOCK If UUCPLOCK contains "/usr/spool/locks/LCK.." ZCOMM uses
  1056.               "Honey Danber" uucp port arbitration conventions.
  1057.  
  1058.  
  1059.  
  1060.  
  1061.         (C) 1990 Omen Tech Inc                       Chapter 15 Running ZCOMM
  1062.  
  1063.  
  1064.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  1065.         ZCOMM User Manual                                                   79
  1066.  
  1067.         15.3  Dialing in to Unix
  1068.  
  1069.         Unix flavors may be used for dial-in applications to transfer files
  1070.         and commands with programs logged in to terminal ports.  The commands
  1071.         rz, sz, zcommand, and zcommandi perform the same functions as the
  1072.         corresponding ZCOMM commands.  They may be given directly to the shell
  1073.         or executed from a shell script or Makefile.
  1074.  
  1075.         EXAMPLE: sz -Yn *.c *.h
  1076.  
  1077.  
  1078.         The Makefile fragment below commands a DOS ZCOMM logged into a serial
  1079.         port to clear its dirrx string parameter, change to its root
  1080.         directory, and then sends a new version of the executable to the DOS
  1081.         machine.
  1082.  
  1083.         EXAMPLE: cpsz:/tmp/yam.exe
  1084.                         @zcommand 'set dirrx ""'
  1085.                         @zcommand "c:;cd /"
  1086.                         @sz -y /tmp/yam.exe
  1087.  
  1088.  
  1089.         More general command sequences or other protocols such as Kermit may
  1090.         be accessed with the xyam command.
  1091.  
  1092.         EXAMPLE: xyam kermit sb *.c *.h
  1093.  
  1094.  
  1095.         EXAMPLE: xyam z pl256 sz -Yn *.c *.h
  1096.  
  1097.  
  1098.  
  1099.         16.  OUTLINE OF COMMANDS
  1100.  
  1101.  
  1102.  
  1103.         16.1  Setup
  1104.  
  1105.         port 1 ..........................Select the modem port
  1106.         portx hbase,vec .................Select non standard modem
  1107.         speed 1200 ......................Set the "baud rate"
  1108.         handshake {on|off|cts|dsr|dcd|both|slow}Hardware flow control
  1109.  
  1110.  
  1111.         16.2  Data Call
  1112.  
  1113.         queue............................Manipulate a dialing queue
  1114.         call [-N] system ................[N retries]
  1115.         234-5678 ........................Dial a local number
  1116.         234-5678/mnp ....................Dial a local number with MNP
  1117.         %l-503-621-3746 .................Dial long distance
  1118.  
  1119.  
  1120.         (C) 1990 Omen Tech Inc                     Chapter 16 Commands Outline
  1121.  
  1122.  
  1123.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  1124.         ZCOMM User Manual                                                   80
  1125.  
  1126.         learn lfile .....................TurboLearn information to lfile
  1127.         xpc C ... .......................Enable and control virtual channels
  1128.         with X.PC
  1129.         bye .............................Disconnect current call
  1130.         off .............................Disconnect and exit
  1131.         String parameters: phones, mcommand, mprefix, msuffix, mconnect
  1132.  
  1133.  
  1134.         16.3  Interactive Operation
  1135.  
  1136.         F2, t [-modes] ..................Begin terminal conversation
  1137.         learn lfile .....................TurboLearn information to lfile
  1138.         conf ............................Online conference with edit window
  1139.         F8 ..............................Generate a password
  1140.         enable -modes ...................Modify term function characteristics
  1141.         set .............................Assigns a string or command to a
  1142.         function key
  1143.         String parameters break, bs, esc, etx, xpassword, entstr, lpnono
  1144.  
  1145.  
  1146.         16.4  Message Transfer Commands
  1147.  
  1148.                              Normal Interactive Transfers
  1149.         f [-modes] file .................Send file with the term function
  1150.         t [-modes] file .................Terminal conversation with capture to
  1151.         file
  1152.         kill ............................Erase the contents of the circular
  1153.         buffer
  1154.         w, ALT-W ........................Write the circular buffer
  1155.         close, ALT-C ....................Close the capture file
  1156.         Term Function Modes .............(capture/send modifiers)
  1157.         String parameters: eolstr, blankfill
  1158.                                 Special File Transfers
  1159.         fput ............................High Speed file dump to modem
  1160.         fpute ...........................Send file with Echoplex check
  1161.         fget ............................High speed modem to disk data dump
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.         (C) 1990 Omen Tech Inc                     Chapter 16 Commands Outline
  1180.  
  1181.  
  1182.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  1183.         ZCOMM User Manual                                                   81
  1184.  
  1185.         16.5  Protocol File Transfer Commands
  1186.  
  1187.         F3, rb [-options] [dir] [file ...] Receive files with YMODEM or Clink
  1188.         rz [-options] [dir] [file ...] ..Receive files with ZMODEM
  1189.         kermit rb [-options] ............Receive files with Kermit
  1190.         rx [-options] rxfile ............Receive a file with XMODEM
  1191.         rt [-options] [dir] [file ...] ..Receive files with Telink/FIDO
  1192.         r7 [-options] [dir] [file ...] ..Receive files with MODEM7
  1193.         ro [-options] rxfile ............Receive a file with XMODEM
  1194.         OverThruster
  1195.         rw [-options] rxfile ............Receive a file with WXMODEM
  1196.         rc [-options] rxfile ............Receive a file with XMODEM/CRC
  1197.         sz [-options] txfile ... ........Send file(s) with ZMODEM
  1198.         sb [-options] txfile ... ........Send file(s) with YMODEM or Clink
  1199.         sx [-options] txfile ............Send a file with XMODEM or XMODEM/CRC
  1200.         st [-options] txfile ... ........Send file(s) with Telink/FIDO
  1201.         s7 [-options] txfile ... ........Send file(s) with MODEM7
  1202.         zcommand COMMAND ................Remote COMMAND with ZMODEM
  1203.         !!COMMAND........................Remote COMMAND with Kermit or ZMODEM
  1204.         kermit sb [-options] txfile ... .Send file(s) with Kermit
  1205.         Kermit Server Access Commands
  1206.         AUTOMATIC File Transfers.........(Compuserve-B, Kermit, ZMODEM)
  1207.         String parameters adlopts
  1208.         Options for Protocol File Transfers
  1209.         Numeric Parameters for XMODEM/YMODEM/ZMODEM Transfers
  1210.         Special Keys for Protocol Transfers
  1211.  
  1212.         16.6  Macro Commands
  1213.  
  1214.         call system .....................Execute telephone directory entry
  1215.         r [oldcmd] ......................Reenter previous command
  1216.         Up, Down ........................Select previous commands for reentry
  1217.         source scriptfile ...............Call subroutine
  1218.         set .............................Assign a string or command to a
  1219.         function key
  1220.         keys ............................Display soft key definitions
  1221.         reskeys .........................Clear soft key definitions
  1222.         SOFT KEYS .......................Transmit strings or execute commands.
  1223.  
  1224.  
  1225.         16.7  Display Commands / Terminal Emulation
  1226.  
  1227.         display displaymodes ............Set CRT parameters, screen emulation
  1228.         cl, cls .........................Clear the Screen
  1229.         mk...............................Map keys for terminal emulation
  1230.         videobios N .....................Set video BIOS mode N (for 132 cols)
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.         (C) 1990 Omen Tech Inc                     Chapter 16 Commands Outline
  1239.  
  1240.  
  1241.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  1242.         ZCOMM User Manual                                                   82
  1243.  
  1244.         16.8  Disk/File Access Commands
  1245.  
  1246.         a: ..............................Change default disk
  1247.         ap file1 file2 ..................Append file1 to file2
  1248.         apd file1 file2 .................Append file1 to file2, delete file1
  1249.         cd directory ....................Change directory
  1250.         cdd D:dir .......................Change disk and directory
  1251.         dir[rlstx] ......................Sorted directory listings
  1252.         !DOS-command ....................DOS Gateway to another program
  1253.         browse file .....................Browse a set of files
  1254.         crc file ... ....................Display 32 bit file CRC's
  1255.         del file ........................Delete files from disk
  1256.         dump file ... ...................Side by Side HEX/ASCII file dump
  1257.         egrep regular-expression file ... Pattern matching file searching
  1258.         egrepq regular-expression file ... String extraction
  1259.         find string file ... ............Case insensitive file searching
  1260.         findq string file ... ...........String extraction
  1261.         list file ... ...................File list on DOS standard output
  1262.         page file ... ...................Pauses after each screenful
  1263.         read file .......................Fill circular buffer from open file
  1264.         seek [-]offset ..................Seek to location in file
  1265.         Home, End, PgUp .................Enter review function
  1266.         sum file ... ....................Display Unix style file checksum
  1267.         usq file ... ....................Unequeeze, [decrypt] files
  1268.         wc file ... .....................File character, word, line count
  1269.         <file ...........................Simulate keyboard input from file
  1270.         >outfile ........................Redirect utility command output
  1271.  
  1272.  
  1273.         16.9  Remote Takeover / Control
  1274.  
  1275.         host ............................Enter Host Operation
  1276.         link ............................Connect to another computer
  1277.         message .........................Leave a public message
  1278.         private .........................Leave a private message
  1279.         remote ..........................Accept remote commands
  1280.         unrestrict.......................Allow caller unrestricted access
  1281.  
  1282.  
  1283.         16.10  Support Commands
  1284.  
  1285.         bdump file ......................Dump interrupt input buffer to file
  1286.         display displaymodes ............List or change CRT operation
  1287.         enable -mode[s]..................Modify term function operation
  1288.         exit ............................Exit to DOS
  1289.         help ............................Activate help database
  1290.         kbdlock on|off ..................Lock/Unlock keyboard
  1291.         kbdmon [file] ...................Monitor keystrokes in file
  1292.         p ...............................Set/display numeric parameters
  1293.         reset............................Reset display and disk system
  1294.         set .............................Set string parameters / soft keys
  1295.  
  1296.  
  1297.         (C) 1990 Omen Tech Inc                     Chapter 16 Commands Outline
  1298.  
  1299.  
  1300.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  1301.         ZCOMM User Manual                                                   83
  1302.  
  1303.         16.11  Record Keeping Commands
  1304.  
  1305.         nolog ...........................Inhibit next log entry
  1306.         timestamp .......................Display/write time and other info
  1307.         restime .........................Reset elapsed time counter to 0
  1308.         String parameters: calllog, txlog, rxlog, plog, rxcnt
  1309.  
  1310.  
  1311.         16.12  Script Commands
  1312.  
  1313.         abort ...........................Returns to command prompt
  1314.         accept ..........................Read keyboard response to string
  1315.         variable
  1316.         bg...............................Indicate background operation
  1317.         createx file ....................Exclusive file creation (for
  1318.         semaphores)
  1319.         echo ............................Display message
  1320.         fg...............................Indicate foreground operation
  1321.         kill [-signum] procnum ..........Interprocess communications
  1322.         lput string .....................Local screen write
  1323.         lputp string ....................Output string to printer
  1324.         expand script pathspec ..........Execute script for each file in
  1325.         pathspec
  1326.         fail ............................Failure return from script
  1327.         gosub name[.file] ...............Script subroutine call
  1328.         goto ............................Branch to label in same script.
  1329.         grab svar .......................Read line from file to string
  1330.         variable
  1331.         if, else.........................Execute rest of line conditionally
  1332.         kbdlock on|off ..................Lock/Unlock keyboard
  1333.         ki ..............................Reset capture buffer search area
  1334.         on ..............................Conditional execution, tested after
  1335.         each command
  1336.         pattern .........................Specify string searches in modem data
  1337.         purge{k|l} ......................Purge typeahead or modem input buffer
  1338.         put[v] ..........................Send string [variable] to modem
  1339.         return...........................Return to previous script level
  1340.         set[c|s] ........................Set string parameters / soft keys
  1341.         setn ............................Set string param to Arithmetic
  1342.         expression
  1343.         set? ............................Set string param to test value
  1344.         sleep ...........................Let the world pass by
  1345.         source scriptfile ...............Call scriptfile as a subroutine
  1346.         split ...........................Split (parse) a string to tokens
  1347.         ss ..............................Regular Expression pattern match
  1348.         string parse
  1349.         trs .............................Translate characters in a string
  1350.         wait ............................Wait for pattern(s) in modem data
  1351.         while ...........................Looping control
  1352.  
  1353.  
  1354.  
  1355.  
  1356.         (C) 1990 Omen Tech Inc                         Chapter 16 Special Keys
  1357.  
  1358.  
  1359.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  1360.         ZCOMM User Manual                                                   84
  1361.  
  1362.         17.  SPECIAL KEYS
  1363.  
  1364.         Ctrl-Break clears any typeahead, unlocks the keyboard, and stops
  1365.         whatever function[1] ZCOMM is doing in a reasonably orderly manner.[2]
  1366.         Ctrl-Break cancels kbdlock.  It is not so abrupt as the NUKE key.  The
  1367.         B test condition tests whether Ctrl-Break has been struck since the
  1368.         last purgek command.
  1369.  
  1370.         Keyboarding ALT-N will NUKE (abort) the current command and return to
  1371.         ZCOMM's command prompt.[3] If one or more scripts are active, the
  1372.         current line number (counting from the first line in the script file)
  1373.         for each level of script is displayed.* NUKE will terminate any
  1374.         script.  NUKE closes any transmit file, but not a receive capture
  1375.         file.  (A receive capture file may be closed with the "close"
  1376.         command.) NUKE does not disconnect the modem by dropping DTR.[4]
  1377.  
  1378.         Keyboarding ALT-Z appends the contents of the display screen to a DOS
  1379.         file.  The pathname is contained in the string parameter picture which
  1380.         may be changed with the set command.  The exact contents of the screen
  1381.         memory are written to the file, with each screen character followed by
  1382.         its attribute.  A separate program, unpic is used to convert the
  1383.         screen dump to a normal file that may be printed or displayed.
  1384.  
  1385.  
  1386.         17.1  Special Keys during Protocol Transfers
  1387.  
  1388.         Certain keys perform special functions when keyboarded during protocol
  1389.         file transfers (XMODEM, Kermit, etc.).
  1390.  
  1391.         F1  Keyboarding F1 causes a protocol timeout and forces a retry.
  1392.  
  1393.         ALT-A Displays Kermit file transfer status.
  1394.  
  1395.         ALT-B Cancels the current Kermit or ZMODEM batch transfer.
  1396.  
  1397.  
  1398.  
  1399.  
  1400.         __________
  1401.  
  1402.          1. Not necessarily the calling function or script
  1403.  
  1404.          2. In the term function, Ctrl-Break sends a break to the remote
  1405.             unless it has been redefined with a set command.
  1406.  
  1407.          3. Use of this term, popularized in the J.F.K. administration, does
  1408.             not imply endorsement of preemptive nuclear attacks on innocent
  1409.             populations.
  1410.  
  1411.          4. When in host operation waiting for a call, NUKE drops DTR.
  1412.  
  1413.  
  1414.  
  1415.         (C) 1990 Omen Tech Inc                         Chapter 17 Special Keys
  1416.  
  1417.  
  1418.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  1419.         ZCOMM User Manual                                                   85
  1420.  
  1421.         ALT-C Cancels the ZMODEM or Kermit session.
  1422.  
  1423.         ALT-F Skips the current ZMODEM or Kermit file transfer.
  1424.  
  1425.         ALT-Q Keyboarding Alt-Q during a protocol file transfer toggles a flag
  1426.             that causes ZCOMM to disconnect when the transfer is completed.
  1427.             This is most useful when downloading a long file.  As soon as the
  1428.             file is transferred, ZCOMM will execute the string parameter
  1429.             quitcmd (if set) and then disconnect the modem.  If keyboarded
  1430.             during a Host Operation file transfer, ZCOMM will exit Host
  1431.             Operation at the conclusion of the transfer.  The state of the
  1432.             quit flag is displayed each time ALT-Q is keyboarded.
  1433.  
  1434.         ALT-S Keyboarding Alt-S displays status information on the console
  1435.             screen only (even if in Host Operation).  The pattern number of
  1436.             the last successful search (-1 if no match), the active search
  1437.             patterns (if any), and the line numbers of the active scripts (if
  1438.             any) are displayed to aid script debugging.
  1439.  
  1440.         ALT-V Keyboarding ALT-V will toggle the view option affecting the rb,
  1441.             rc, rz, sb, sc, sx, and sz commands, and data transfers using the
  1442.             Compuserve B protocol.
  1443.  
  1444.         ASCII Keyboarding a normal ASCII character (in the range of 00 to 7F)
  1445.             will send that character to the modem.  This may be used for
  1446.             protocol testing, or to terminate a modem's autodial handshake
  1447.             without terminating ZCOMM's call retry count.
  1448.  
  1449.         Ctrl-X All ZMODEM and many YMODEM and XMODEM protocol programs
  1450.             recognize a dozen successive Ctrl-X characters as a session abort
  1451.             command.  If the remote computer appears to be "stuck" in a YMODEM
  1452.             or ZMODEM transfer, keyboard ten Ctrl-X characters to abort the
  1453.             protocol transfer.
  1454.  
  1455.         During a protocol transfer, normal keys are sent to the modem when
  1456.         Zcomm is waiting for or receiving a packet.  This may be used to
  1457.         reissue a file transfer command to the other computer if it becomes
  1458.         apparent the original command was not accepted.
  1459.  
  1460.         Other uses for this pass thru capability include protocol testing.
  1461.  
  1462.         17.2  Local Editing Keys
  1463.  
  1464.         Emacs style character editing reduces the number of keystrokes needed
  1465.         to enter and edit commands and strings.  Normally the cursor is at the
  1466.         end of the line of text being keyboarded.  Printing characters insert
  1467.         themselves at the cursor location.  The <ENTER> key enters/transmits
  1468.         the entire line of text.
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.         (C) 1990 Omen Tech Inc                   Chapter 17 Local Editing Keys
  1475.  
  1476.  
  1477.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  1478.         ZCOMM User Manual                                                   86
  1479.  
  1480.         Left, Ctrl-B moves the cursor to the left
  1481.  
  1482.         Right, Ctrl-F moves the cursor to the right
  1483.  
  1484.         Ctrl-Left cursor WORD left
  1485.  
  1486.         Ctrl-Right cursor WORD right
  1487.  
  1488.         Ctrl-A cursor to beginning of line
  1489.  
  1490.         Ctrl-E cursor to end of line
  1491.  
  1492.         Del, Ctrl-D delete character at cursor
  1493.  
  1494.         Backspace delete character to left of cursor
  1495.  
  1496.         Ctrl-W delete word to left of cursor
  1497.  
  1498.         Ctrl-End, Ctrl-K delete to end of line
  1499.  
  1500.         Ctrl-R refresh (redisplay) the line
  1501.  
  1502.         Ctrl-X delete entire line
  1503.  
  1504.         Down, Ctrl-N next history line
  1505.  
  1506.         Up, Ctrl-P previous history line
  1507.  
  1508.         Ctrl-U Argument Count (not available in term function)
  1509.  
  1510.         An initial Ctrl-U sets an argument count of 4.  Successive Ctrl-U
  1511.         characters multiply the argument count by 4.  A decimal number may be
  1512.         entered after Ctrl-U, and this number becomes the argument count.
  1513.  
  1514.         EXAMPLE: ^U^U Left moves the cursor 16 left
  1515.  
  1516.  
  1517.         EXAMPLE: ^U5X inserts 5 "X" characters
  1518.  
  1519.  
  1520.         EXAMPLE: ^U5^U?  inserts 20 "?" characters.
  1521.  
  1522.         Unix/Xenix flavors do not support Emacs style editing in the term
  1523.         function.
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.         (C) 1990 Omen Tech Inc                        Chapter 17 Main Commands
  1534.  
  1535.  
  1536.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  1537.         ZCOMM User Manual                                                   87
  1538.  
  1539.         18.  MAIN COMMANDS
  1540.  
  1541.         18.1  Main Commands
  1542.  
  1543.         All commands and arguments must be entered in lower case except where
  1544.         stated.
  1545.  
  1546.         You may shorten some commands by typing just the first portion that is
  1547.         shown in caps.  For example, the "break" command may be entered as
  1548.         "br".  Whether or not you abbreviate the command, it must be entered
  1549.         in lower case.
  1550.  
  1551.         User defined Soft Keys are executed from the command prompt iff they
  1552.         do not conflict with the permanent definitions described below.
  1553.  
  1554.         Except where stated, multiple commands can be written on one line
  1555.         separated by ; (semicolon).  Commands that take a constant number of
  1556.         arguments do not need a semicolon to delimit the end of the command.
  1557.         If in doubt, use a semicolon to separate multiple commands.[1]
  1558.  
  1559.         @ The at sign may be used to indicate a telephone number starting with
  1560.           the Touch-Tone(TM) A B C D * or # codes or a character escape.  If
  1561.           the phone number contains spaces, it must be enclosed in double
  1562.           quotes.  The leading @ is not sent to the modem.
  1563.  
  1564.           EXAMPLE: @#*-123-4567 Dials #*-123-4567.
  1565.  
  1566.  
  1567.         %l-234-567-8901 (%l:letter l) For normal long distance dialing, the
  1568.           string parameter l (letter l) defaults to "1" (digit 1).  To use an
  1569.           alternative long distance service, set the l string parameter with a
  1570.           modem command to dial the local access number, wait for the second
  1571.           dial tone, and transmit the account number.
  1572.  
  1573.           SEE ALSO: "setsavenet" telephone directory entry
  1574.  
  1575.           A string of alternate phone numbers may be specified with the "+"
  1576.           construction shown below.
  1577.  
  1578.         234-5678 A number given as a command invokes the dial script to
  1579.           attempt a connection with the specified number.  Iff the modem is
  1580.           currently connected to a remote modem, and the B numeric parameter
  1581.           is non zero, ZCOMM pulses Data Terminal Ready, terminating the
  1582.           connection.  ZCOMM character escapes may be used within the number
  1583.  
  1584.  
  1585.         __________
  1586.  
  1587.          1. A space or two after each semicolon makes scripts easier for
  1588.             humans to read.
  1589.  
  1590.  
  1591.  
  1592.         (C) 1990 Omen Tech Inc                        Chapter 18 Main Commands
  1593.  
  1594.  
  1595.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  1596.         ZCOMM User Manual                                                   88
  1597.  
  1598.           string to represent special characters.
  1599.  
  1600.           EXAMPLE: 234-5678
  1601.  
  1602.  
  1603.           When carrier is detected, ZCOMM executes the mconnect string (if
  1604.           set) and proceeds to the next command
  1605.  
  1606.           One or several alternate phone numbers may be specified by appending
  1607.           the previous number with +234-5678 for as many alternate numbers as
  1608.           are desired.[2] When a connection is made, undialed alternates are
  1609.           forgotten.  Alternate phone numbers need not support the same
  1610.           speeds.  A redial count given to the call command repeats the
  1611.           sequence of alternate numbers.
  1612.  
  1613.           EXAMPLE: cis  speed 2400 239-6124/mnp_s+239-6126/mnp_s+232-1032/300
  1614.           This script line attempts a MNP (with software slow control) call to
  1615.           the first two numbers, then a 300 bps call to the third number if
  1616.           neither of the first two connected.
  1617.  
  1618.  
  1619.           Iff no connection is made, script processing at the current level is
  1620.           terminated.
  1621.  
  1622.           A number of modifiers are available depending on the type of modem
  1623.           and the choice of dialing script used.  These are described in
  1624.           Chapter 7.
  1625.  
  1626.  
  1627.           SEE ALSO: nolog command, calllog string parameter, mcommand string
  1628.           parameter
  1629.  
  1630.         a: Change the default disk to a:.  ZCOMM then prints the free storage
  1631.           remaining on the selected disk.  The specified disk must be included
  1632.           in the string parameter disks.
  1633.  
  1634.         abort Aborts any command or script in progress.  Closes all script
  1635.           files that may be open.  Abort returns to the command prompt.
  1636.  
  1637.           SEE ALSO: quit command
  1638.  
  1639.         accept[[l]1] stringvar prompt (letter l, digit 1) Scripts often need
  1640.           to prompt the user for file names and menu choices.
  1641.  
  1642.           Accept displays Prompt[3] to the user.  ZCOMM then reads keyboard
  1643.  
  1644.  
  1645.         __________
  1646.  
  1647.          2. When using the mm224 dialing script.
  1648.  
  1649.  
  1650.  
  1651.         (C) 1990 Omen Tech Inc                        Chapter 18 Main Commands
  1652.  
  1653.  
  1654.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  1655.         ZCOMM User Manual                                                   89
  1656.  
  1657.           input into the specified string variable.  Backspace and Ctrl-U
  1658.           perform editing functions.  Characters are accepted from the user
  1659.           until <ENTER> is typed.  If the H numeric parameter is non zero, an
  1660.           empty string is returned if <ENTER> is not typed within the time
  1661.           limit set by that parameter.  Acceptl translates the user's response
  1662.           to lower case.  Acceptl1 returns a 1 character string in lower case
  1663.           after the single character is keyboarded.
  1664.  
  1665.           Prompt is processed for string substitution and character escapes.
  1666.           If the result begins with an ESC character, ZCOMM does not
  1667.           reposition the cursor before accepting the string.  In writing
  1668.           scripts, it may be useful to save the current screen location with
  1669.           an escape sequence, then restore it with an escape sequence encoded
  1670.           in the prompt string.
  1671.  
  1672.           EXAMPLE: accept s1 File: Displays the prompt File: and reads the
  1673.           keyboarded response to string parameter s1.
  1674.  
  1675.  
  1676.           EXAMPLE: acceptl1 s0 "Enter Menu Choice" Reads a single character
  1677.           from the user, translates it to lower case, and assigns it to s0.
  1678.  
  1679.  
  1680.           EXAMPLE: accept s0 "\E[20;60H\E[KFile Name: " Places the cursor at
  1681.           line 20 column 60, clears the rest of the CRT line, displays the
  1682.           prompt, and accepts input.
  1683.  
  1684.  
  1685.           EXAMPLE: accept s6 " Your \E[1mFirst\E[0m name please " Uses
  1686.           boldface video to highlight First as it appears in the prompt.
  1687.  
  1688.  
  1689.           EXAMPLE: accept s2 "File "; rc %s2 Prompts the user for a file name,
  1690.           then receives that file with XMODEM/CRC protocol.
  1691.  
  1692.  
  1693.           EXAMPLE: accept xpassword "\E[mMaster Password: \E[8m"; lput "\E[m"
  1694.           Uses invisible video (ESC [ 8 m) to allow a password to be entered
  1695.           without visible echo.  The ESC [ m sequences reset the display to
  1696.           normal (visible).
  1697.  
  1698.  
  1699.           SEE ALSO: obey command, scripts
  1700.  
  1701.  
  1702.  
  1703.  
  1704.         ______________________________________________________________________
  1705.  
  1706.          3. Prompt must be enclosed in quotes if it contains spaces.
  1707.  
  1708.  
  1709.  
  1710.         (C) 1990 Omen Tech Inc                        Chapter 18 Main Commands
  1711.  
  1712.  
  1713.         Version 17.61 TurboDial 2.33            Universal Line Printer Edition
  1714.         ZCOMM User Manual                                                   90
  1715.  
  1716.         ap file1 file2* (Append) Appends the contents of file1 to file2.  If
  1717.           file2 does not exist, it is created.  Wildcards are not allowed.
  1718.           The ap command closes any files that have been opened by the create,
  1719.           f, open, t or > commands.  File1 and file2 are processed for string
  1720.           parameter substitution.
  1721.  
  1722.         apd file1 file2* (Append-Delete) Appends the contents of file1 to
  1723.           file2, then deletes file1.  If file2 does not exist, it is created.
  1724.           If an error is detected writing file2, file1 is not deleted.
  1725.           Wildcards are not allowed.  The apd command closes any files that
  1726.           have been opened by the create, f, open, t or > commands.  File1 and
  1727.           file2 are processed for string parameter substitution.
  1728.  
  1729.           EXAMPLE: apd %item Z%item.tmp
  1730.  
  1731.  
  1732.         bdump outfile Dumps the contents of the modem interrupt input buffer
  1733.           to outfile.  This command is useful for debugging as outfile will
  1734.           contain the last characters received from the remote regardless of
  1735.           what ZCOMM commands have been executed.  The most recently received
  1736.           data appears at the end of outfile.  This command "tells it as it
  1737.           is", writing all 8 bits of each character to outfile.  If less than
  1738.           1400 characters have been received from the remote, some of outfile
  1739.           will consist of nulls or garbage.  The bdump command is often used
  1740.           as a post mortem diagnostic dump after a failed script or file
  1741.           transfer.  This command is not available on Unix, OS/2, and X.PC
  1742.           flavors of ZCOMM.
  1743.  
  1744.         bg Indicates ZCOMM is running in the background with no user at the
  1745.           keyboard.
  1746.  
  1747.           SEE ALSO: fg command, df test condition
  1748.  
  1749.         BReak Sends a 200 millisecond break signal.
  1750.           N.B.: Some modems do not correctly pass the break signal to the
  1751.           remote.
  1752.  
  1753.           SEE ALSO: Ctrl-Break key, break string parameter, zmodem B numeric
  1754.           parameter
  1755.  
  1756.         BROwse pathspec Browse through the files specified in pathspec.  If
  1757.           pathspec is empty, all files are presented.  For each matched
  1758.           pathname, the filename, date, and length of the file are displayed.
  1759.           The status line displays some of the commands which may be applied
  1760.           to each file.  Chapter 18.4 describes the browse subcommands, which
  1761.           provide extensive capabilities for individually selected files.
  1762.  
  1763.         bye Terminate the connection in progress by sending a long space and
  1764.           then dropping DTR (Data Terminal Ready).[4] After a pause, DTR is
  1765.  
  1766.  
  1767.  
  1768.  
  1769.         (C) 1990 Omen Tech Inc                        Chapter 18 Main Commands
  1770.  
  1771.