home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / b / krthlp.hlp < prev    next >
Text File  |  2020-01-01  |  185KB  |  4,644 lines

  1. V03.63 27-Sep-1997
  2. 1 ?
  3.  
  4.  The question mark used as an argument dumps the dispatch
  5.  table for that command, thus listing all things possible:
  6.  
  7.     Kermit-11>?           ; display available commands
  8.     Kermit-11>SET ?        ; show all possible sets
  9.     Kermit-11>SET FILE ?   ; list all valid options
  10.  
  11. 1 @
  12.  
  13.  Open an indirect file for command input.  Same as TAKE.
  14.  If no device is specified the logicals TAK, KRT, DK and
  15.  SY will be tried, in that order.  Either "!" or ";" may
  16.  be used as a comment delimiter in Kermit-11 TAKE files.
  17.  All Kermit commands  except  control characters are ok,
  18.  and EXIT may be used in place of ^Z.   The maximum line
  19.  length is 132. bytes.
  20.  
  21.     Kermit-11>@ file    ; default type is .COM
  22.     Kermit-11>@file     ; RT-11 syntax is ok
  23.  
  24. 1 ASCII-Set
  25.  
  26.     Table of Octal, Decimal and Hex values for ASCII characters
  27.  
  28.  Char Key Oct Dec Hex    Ch Oct Dec Hex    Ch Oct Dec Hex    Ch Oct Dec Hex
  29.  ---- --- --- --- ---    -- --- --- ---    -- --- --- ---    -- --- --- ---
  30.  NUL  ^SP 000  0.  0     SP 040 32. 20     @  100 64. 40     `  140  96. 60
  31.  SOH  ^A  001  1.  1     !  041 33. 21     A  101 65. 41     a  141  97. 61
  32.  STX  ^B  002  2.  2     "  042 34. 22     B  102 66. 42     b  142  98. 62
  33.  ETX  ^C  003  3.  3     #  043 35. 23     C  103 67. 43     c  143  99. 63
  34.  EOT  ^D  004  4.  4     $  044 36. 24     D  104 68. 44     d  144 100. 64
  35.  ENQ  ^E  005  5.  5     %  045 37. 25     E  105 69. 45     e  145 101. 65
  36.  ACK  ^F  006  6.  6     &  046 38. 26     F  106 70. 46     f  146 102. 66
  37.  BEL  ^G  007  7.  7     '  047 39. 27     G  107 71. 47     g  147 103. 67
  38.  
  39.  BS   ^H  010  8.  8     (  050 40. 28     H  110 72. 48     h  150 104. 68
  40.  HT   ^I  011  9.  9     )  051 41. 29     I  111 73. 49     i  151 105. 69
  41.  LF   ^J  012 10.  A     *  052 42. 2A     J  112 74. 4A     j  152 106. 6A
  42.  VT   ^K  013 11.  B     +  053 43. 2B     K  113 75. 4B     k  153 107. 6B
  43.  FF   ^L  014 12.  C     ,  054 44. 2C     L  114 76. 4C     l  154 108. 6C
  44.  CR   ^M  015 13.  D     -  055 45. 2D     M  115 77. 4D     m  155 109. 6D
  45.  SO   ^N  016 14.  E     .  056 46. 2E     N  116 78. 4E     n  156 110. 6E
  46.  SI   ^O  017 15.  F     /  057 47. 2F     O  117 79. 4F     o  157 111. 6F
  47.  
  48.  DLE  ^P  020 16. 10     0  060 48. 30     P  120 80. 50     p  160 112. 70
  49.  DC1  ^Q  021 17. 11     1  061 49. 31     Q  121 81. 51     q  161 113. 71
  50.  DC2  ^R  022 18. 12     2  062 50. 32     R  122 82. 52     r  162 114. 72
  51.  DC3  ^S  023 19. 13     3  063 51. 33     S  123 83. 53     s  163 115. 73
  52.  DC4  ^T  024 20. 14     4  064 52. 34     T  124 84. 54     t  164 116. 74
  53.  NAK  ^U  025 21. 15     5  065 53. 35     U  125 85. 55     u  165 117. 75
  54.  SYN  ^V  026 22. 16     6  066 54. 36     V  126 86. 56     v  166 118. 76
  55.  ETB  ^W  027 23. 17     7  067 55. 37     W  127 87. 57     w  167 119. 77
  56.  
  57.  CAN  ^X  030 24. 18     8  070 56. 38     X  130 88. 58     x  170 120. 78
  58.  EM   ^Y  031 25. 19     9  071 57. 39     Y  131 89. 59     y  171 121. 79
  59.  SUB  ^Z  032 26. 1A     :  072 58. 3A     Z  132 90. 5A     z  172 122. 7A
  60.  ESC  ^[  033 27. 1B     ;  073 59. 3B     [  133 91. 5B     {  173 123. 7B
  61.  FS   ^\  034 28. 1C     <  074 60. 3C     \  134 92. 5C     |  174 124. 7C
  62.  GS   ^]  035 29. 1D     =  075 61. 3D     ]  135 93. 5D     }  175 125. 7D
  63.  RS   ^~  036 30. 1E     >  076 62. 3E     ^  136 94. 5E     ~  176 126. 7E
  64.  US   ^?  037 31. 1F     ?  077 63. 3F     _  137 95. 5F    DEL 177 127. 7F
  65.  
  66. 1 ASSIGN
  67.  
  68.  Like that of RT-11, except only DK (the default disk) is supported.
  69.  This specifies what Kermit will use as its default disk, it doesn't
  70.  modify the monitor's assignment for DK.
  71.  
  72.     Kermit-11>ASS LD0 DK
  73.  
  74. 1 Binary-Files
  75.  
  76.  Binary files include task or save images and other special types
  77.  requiring all eight bits in each byte.  Text  files like program
  78.  sources normally  only  use  the lower seven bits.  Binary files
  79.  should be transferred on an eight-bit line, which on most PDP-11
  80.  systems is the default.  Under RT-11 Kermit-11 defaults to space
  81.  parity as its handlers are 7-bit devices, and 8-bit quoting will
  82.  be required to transfer binary data.  This adds a byte for every
  83.  one with the high bit set and thus increases the transfer time.
  84.  
  85.   Various Kermits are at different stages of  development.  Some
  86.   may NOT handle binary files automatically thus the command SET
  87.   FILE FIXED must be done on BOTH before a binary file transfer.
  88.   Versions 2.16 and up of Kermit-11 do automatically switch into
  89.   the binary mode.  Under RT-11 the file type must be defined in
  90.   sending Kermit's binary types list (see HELP SET BINARY) prior
  91.   to transmission.
  92.  
  93.  Binary files are best exchanged using CRC error checking.  This
  94.  isn't the default and may need to be SET on the other Kermit if
  95.  it can't recover yours from the init packet.
  96.  
  97.  Note that transferring a text file with one or both Kermits set
  98.  to binary mode may result in an unusable file due to the chance
  99.  of including embedded record control information.  If this does
  100.  occur KED may be used (open the file and then immediately EXIT)
  101.  to strip the hi bits from it.
  102.  
  103.  Prior to Version 2.21 Kermit-11 didn't support 8-bit prefixing.
  104.  Before V2.23, repeat character encoding wasn't supported.
  105.  
  106.    A problem was discovered with  attribute  packet  processing
  107.    in versions of Kermit-11  prior to  3.49.  This implies that
  108.    versions 3.49 or later of Kermit-11 will not  be  completely
  109.    compatible  with older versions.   The best workaround until
  110.    a copy of ver 3.49 or later can be obtained  is  to  disable
  111.    attribute packet processing with the SET NOATTR command then
  112.    SET FILE FIXED on BOTH ends before transferring binary data.
  113.  
  114. 1 BUG
  115.  
  116.  Displays where to get help should one encounter a bug in this program.
  117.  
  118. 1 BYE
  119.  
  120.  Synonym for LOGOUT.
  121.  
  122. 1 CD
  123.  
  124.  Makes the specified device the default disk, directing to it
  125.  file operations for which no device is explicitly specified.
  126.  This only modifies Kermit, the monitor remains unchanged and
  127.  you'll be back where you started after exiting the program.
  128.  
  129.  If no device/directory is given some Kermits, including this
  130.  one and C-Kermit, will default to the home (login) directory.
  131.  
  132. 1 Character-Sets
  133.  
  134.  RT-11 stores all files transparently thus no character set
  135.  conversion is necessary for files received by or sent from
  136.  this Kermit.
  137.  
  138. 1 CLS
  139.  
  140.  CLear Screen, with numerous resets for VT-100 terminal.
  141.  CLX does the same, then enables the reverse video mode.
  142.  
  143. 1 CLX
  144.  
  145.  Clears a VT-100 screen ala CLS, then sets the reverse video mode.
  146.  
  147. 1 Common-Problems
  148.  
  149.  Can't talk to the modem:
  150.  
  151.  Check modem control signals.  If all else fails, put a breakout box in
  152.  the line and  observe  what  signals are present.  Some modems require
  153.  DTR to be high even to accept local commands (while not connected to a
  154.  remote system).  It may be necessary to first SET DTR to get the modem
  155.  ready.  Some "Hayes" style modems will only accept upper case in their
  156.  command strings.  It may be necessary to increase the time allowed for
  157.  carrier detection, particularly when MNP, PEP or V.42 error control is
  158.  being used, perhaps on BOTH ends.  See HELP SET DIAL TIME for this one
  159.  and consult the manager of the system you're calling.
  160.  
  161.  If you are using the XL/XC handler and an interface whose speed is set
  162.  via hardware switches or wire wrap be sure it's correct.  It should be
  163.  set for 8 data bits and no parity as well.  If you need to look at the
  164.  board to check it, the system MUST be powered down before removing and
  165.  reinstalling it.
  166.  
  167.  File transfer fails:
  168.  
  169.  If the file transfer aborts on retries immediately,  there  may  be  a
  170.  parity  problem.  If the problem shows up on binary files, try the SET
  171.  PARITY SPACE command on BOTH Kermits, which forces  8-bit  data  to be
  172.  prefixed into seven bits.  If you instead get a retry about once every
  173.  10 seconds, the other Kermit is not  responding  and  your  Kermit  is
  174.  timing out.  Check to see if your connection is still present.
  175.  
  176.  Under RT-11 the default is SPACE parity, you may need to set the other
  177.  Kermit to conform.
  178.  
  179.  If you are sending binary data between unlike Kermits, you  will  most
  180.  likely have to give the proper command to each to prepare them for it.
  181.  For Kermit-11 use SET FILE BIN or SET FILE FIX, many other Kermits use
  182.  the syntax SET FILE TYPE BIN.  CRC error detection should also be used
  183.  which is done via SET BLO 3 on both ends.
  184.  
  185.  If your Kermit's packets are being echoed back, try a SET  SEND  START
  186.  value  command for your Kermit, and a SET REC START same-value for the
  187.  other Kermit.  This will force Kermit to ignore any echoed packets  as
  188.  they  won't  have  the default start of packet character (a CONTROL A,
  189.  octal 1).
  190.  
  191.  If you are calling into a TSX+ system, you may need to first:
  192.  
  193.     .SET TT 8BIT
  194.  
  195.  at the monitor to transfer binary files.  You may also need to:
  196.  
  197.     .SET TT BITS=8
  198.  
  199.  however this is a hardware function and thus should be done from a
  200.  primary line ONLY first, before any subprocess that may run Kermit
  201.  is spawned.  Doing this from a subprocess may write garbage in the
  202.  line-parameters word, rendering it useless.
  203.  
  204. 1 CONNECT
  205.  
  206.  Attaches your terminal  to  the  device that has been SET LINE.
  207.  To exit and reconnect your terminal to the local system running
  208.  Kermit type the  "escape sequence,"  which by default is Ctrl-\
  209.  (an "escape character" used to prefix local commands when using
  210.  this terminal emulator, see HELP SET ESCAPE) followed by a "C".
  211.  
  212.  Note well that  "escape"  as used here is _NOT_ the same as the
  213.  ESC key commonly found on keyboards (unless it has been defined
  214.  to be the same char via SET ESCAPE).
  215.  
  216.  The following commands are available by prefixing them with the
  217.  currently defined escape character:
  218.  
  219.     B    Send a break to the remote
  220.     C    Connect back to the local Kermit
  221.     H    Print this message
  222.     I    Drop DTR for 0.5 sec (hang up), then restore it
  223.     Q    Suspend CONSOLE logging
  224.     R    Resume CONSOLE logging
  225.     S    CONSOLE logging status
  226.     X    Reset flow control (XOFF/XON or RTS/CTS as SET)
  227.     Z    Zap the handler, 100% hose & unhang if possible
  228.     ^x    Send control char "x" to remote using A..Z[\]~?
  229.     RUBOUT    Send a break to the remote
  230.     ? or /    Print this message
  231.  
  232.  Once the escape key has been struck or if between keys for the
  233.  control character command a 5 second timer is started.  Should
  234.  it expire before another key is pressed, the command is tossed
  235.  and the terminal emulator resumed.  If data are being received
  236.  when the escape is typed an XOFF may occur, after which a char
  237.  sent via the ^x facility may not be accepted at the other end.
  238.  A received flow control hold will cause each character entered
  239.  thereafter at the terminal to ring its bell and then overwrite
  240.  the char previously held in the input buffer.  The "X" and "Z"
  241.  commands above may be used to attempt to clear a hung line.
  242.  
  243.  Under TSX-Plus CONNECT allows local window processing.  If you
  244.  prefer emulating operation of SET HOST/PORT in that ^W/^B will
  245.  be passed to the remote and local window buffering (if then in
  246.  use) suspended, see HELP SET VLSWCH.  When VLSWCH is LOCAL one
  247.  may type two ^Ws which will pass the second one to the remote.
  248.  TSX passes all other chars to the remote (including line feed)
  249.  except XOFF and XON (^S,^Q).  If using the KM handler AND your
  250.  terminal is fast enough to not XOFF, you may SET TT NOPAGE and
  251.  pass ^S and ^Q as well.
  252.  
  253.  If a modem is on-line and DTR is dropped (via the "I" command)
  254.  while connected, the modem will be reinitialized (as it resets
  255.  many modems) on exiting CONNECT.   This may cause a noticeable
  256.  delay depending on the length of the init string and the speed
  257.  at which it may be sent (the last speed set will be used).
  258.  
  259.  SET CONSOLE alters terminal emulator parameters.  SET TERMINAL
  260.  modifies items associated with the actual terminal itself.
  261.  
  262. 1 Control-Chars
  263.  
  264.   Ctrl-C - Aborts the process currently running and returns to the
  265.        main command line.  When the program is not waiting for
  266.        input from the keyboard TWO ^Cs must be typed.  When it
  267.        involves stopping a remote system's packets the bell is
  268.        rung to acknowledge the abort, at which one should wait
  269.        for this to complete.  This is necessary to avoid chaos
  270.        between systems and maintain return paths.  Further ^Cs
  271.        will lead to an unconditional abort and transmission of
  272.        an error packet which usually stops the remote cleanly.
  273.        While waiting for keyboard input, ^C resets the command
  274.        recall pointer in SL to the last command entered.
  275.  
  276.   Ctrl-Z - Exit a command level, or to the monitor if none left.
  277.  
  278.   Ctrl-\ - Default  "escape"  character for the terminal emulator.
  279.        Used to prefix local commands.  See HELP SET ESCAPE for
  280.        additional information.  This is NOT the ESC key on the
  281.        typical keyboard (unless you SET it to be the same).
  282.  
  283.  During the exchange of packets (GET/SEND files, REMOTE cmds) these
  284.  are checked at the end of each DATA packet, and may involve a wait
  285.  until the current data packet is handled.  Before data have begun,
  286.  Ctrl-C is the only abort possible:
  287.  
  288.   Ctrl-A - Prints the current byte count sent or received
  289.   Ctrl-E - Sends an error packet, aborting asap
  290.   Ctrl-X - Skip the current file, begin transferring the next one
  291.   Ctrl-Z - Skips the entire group of files, aborts
  292.  
  293. 1 COPY
  294.  
  295.  Creates a copy of the input file.  Wildcards are not supported,
  296.  and it is more efficient to use COPY from the monitor.  You may
  297.  move a single file retaining the input file name with:
  298.  
  299.     Kermit-11>COP file dev:
  300.  
  301. 1 CWD
  302.  
  303.  Synonym for CD.
  304.  
  305. 1 DATE
  306.  
  307.  Displays today's date.  This program supports dates through 31-Dec-2099.
  308.  
  309. 1 DAYTIME
  310.  
  311.  Displays the current date and time.
  312.  
  313. 1 Debugging
  314.  
  315.  Various debug options are available.  See HELP SET DEBUG for
  316.  in depth information.  Try HELP SET RANDOM regarding a means
  317.  to deliberately force errors to test recovery from them, and
  318.  HELP EXAMINE for info about looking at data in memory.
  319.  
  320.      Logging to TT  (independent of any disk based logging)
  321.     Files, Packets, States        SET DEB [NO]TT
  322.     Packet data as received        SET DEB [NO]RPACK
  323.  
  324.      Logging to a file:            LOG file debug-mode
  325.     CONNECT terminal logging    SET DEB CONSOLE file
  326.     Packets/Files/States        SET DEB PACKET file
  327.     CONN + Packets/Files/States SET DEB ON file
  328.     Raw packet I/O            SET DEB RAW file
  329.  
  330.      Off disk based debugging       LOG
  331.      Stop ALL debugging, incl. TT   SET DEB NONE
  332.  
  333.  Logging during CONNECT may be controlled by typing the escape
  334.  character followed by a Q to suspend or an R to resume.
  335.  
  336. 1 DELETE
  337.  
  338.  Deletes a single specified file.  Wildcards are not supported.
  339.  The entire command name "DELETE" must be used (no substring is
  340.  acceptable) as some small protection against accidents.
  341.  
  342. 1 DIAL
  343.  
  344.  Attempts to get an attached modem to dial the number specified.  One
  345.  must first SET LINE and SET MODEM appropriately.  If the line you're
  346.  calling is busy you may REDIAL, which retries up to 65,535 times, or
  347.  less if specified in an argument to it.  When the call succeeds your
  348.  terminal will be connected to the remote system.
  349.  
  350.  Phone numbers may be defined and then referenced via symbolic names.
  351.  See HELP SET PHONE NUMBER for details.
  352.  
  353.  The following demonstrates using a generic Hayes modem with TSX-Plus
  354.  by attaching CL0 to TSX line #9:
  355.  
  356.     Kermit-11>SET CL0 LINE 9    }
  357.     Kermit-11>SET SPEED 2400    }
  358.     Kermit-11>SET PHONE XMODE 4    } these may be in KRT.INI
  359.     Kermit-11>SET MODEM HAYES    }
  360.     Kermit-11>SET PHONE TONE    }
  361.     Kermit-11>SET PH NU BP 837-0892 }
  362.     Kermit-11>DIAL BP
  363.     AT X4 DT 837-0892
  364.     RING
  365.     CONNECT 2400
  366.     Connecting to CL0:  DTE Speed:  2400
  367.     Type ^\C to return to your local machine
  368.         .
  369.         .
  370.         . ^\C
  371.  
  372.     Kermit-11>HANGUP
  373.  
  374.  Dialing may be aborted by striking  any  key after the process has
  375.  begun, as long as that's before actually connecting to the remote.
  376.  DTR is dropped for 0.5 second then, as this can reset many modems,
  377.  the modem is reinitialized, which may result in a noticeable delay
  378.  depending on the length and speed of the init string.
  379.  
  380.  SET DIAL TIME-OUT n (in seconds) can modify the time spent waiting
  381.  for a response before assuming the call has failed.  It is usually
  382.  30 ~ 45 secs.   Please note only this and SET DIAL SETTLE-TIME are
  383.  usable with a pre-defined modem (anything besides the USER-DEFINED
  384.  modem itself).  For modems which recognize a busy signal the cycle
  385.  time will be as fast as it's reported.
  386.  
  387.  If you are using a Hayes style modem, which falls back to a slower
  388.  speed when it can't connect  at  the speed used to place the call,
  389.  under TSX-Plus with the CL handler Kermit saves the initial speed,
  390.  drops down to the connected speed, then restores it before dialing
  391.  the next call, unless it's manually set otherwise in the interim.
  392.  
  393.  If a modem response string for RING has been defined and the modem
  394.  can detect same, the call is considered to have failed after seven
  395.  rings.  Consult your modem's documentation then see HELP SET PHONE
  396.  XMODE regarding enabling the appropriate extended response mode.
  397.  
  398. 1 DIRECTORY
  399.  
  400.  Displays the default device directory, or that of a specified device.
  401.  Wildcarding is  implicit  regardless of how the monitor has been set.
  402.  Switches (/opt) are not implemented.
  403.  
  404.   Kermit-11>DIR           ; all files on DK: (default device)
  405.   Kermit-11>DIR .MAC       ; all files of type .MAC (same as *.MAC)
  406.   Kermit-11>DIR KRT*.MAC   ; all beginning with KRT of type .MAC
  407.   Kermit-11>DIR LD0:.MAC   ; all files of type .MAC on LD0:
  408.   Kermit-11>DIR EDIT.       ; file name must be just EDIT with no type
  409.   Kermit-11>DIR EDIT%       ; 5 chars, first 4 are EDIT, any type
  410.   Kermit-11>DIR .MAP,.SAV  ; comma delimits, see HELP SET FILE CSI
  411.  
  412. 1 DISCONNECT
  413.  
  414.  Synonym for HANGUP.
  415.  
  416. 1 DISMOUNT
  417.  
  418.  Deassigns the specified logical disk, under TSX V6.2 and up.
  419.  
  420.     Kermit-11>DIS LD0
  421.  
  422.  Note that here it is not necessary to first dismount a logical
  423.  disk before mounting something new using the same unit number.
  424.  
  425. 1 EXAMINE
  426.  
  427.  Format and print global read/write data to the terminal:
  428.  
  429.     Kermit-11>EXA PACKET    ; dump packet buffer to TT
  430.     Kermit-11>EXA *        ; all defined variables
  431.     Kermit-11>EXA 44    ; address of your choice
  432.  
  433.  Please  note  attempting  to  examine  an illegal address
  434.  will crash the program.  The .MAP file for the Kermit you
  435.  are using may be used to locate addresses not included in
  436.  the internal symbol table.  Some overlays are permanently
  437.  loaded (refer to the link command file for the version in
  438.  use) but most are not, and these most likely will be gone
  439.  by the time one has returned to Kermit's command line.
  440.  
  441. 1 EXIT
  442.  
  443.  Terminates Kermit-11 and exits to the monitor, resetting the link
  444.  device and modem if same were assigned from within the program.
  445.  
  446. 1 File-Format-Info
  447.  
  448.  The general format of a PDP-11 file name is:
  449.  
  450.    NODE::DEVICE:[DIRECTORY]NAME.TYPE;VERSION
  451.  
  452.  "Node" refers to the DECNET node name, for instance HIHO::, if in use.
  453.  "Device", if present, refers to the physical device or logical name of
  454.  that on which the file resides.  Two colons "::" delimit the node name
  455.  and a single colon ":" delimits the device name.  A named directory is
  456.  delimited by enclosing it within "[]" brackets.
  457.  
  458.  In the case of RSX-11M/M+ and RT-11, the device name can be  either  a
  459.  physical name, such as DU0:, or a logical name which will translate to
  460.  a physical device name, such as LB:.
  461.  
  462.  For RSTS/E "device" can be a physical device such as DB0: or DU1: or a
  463.  user or system logical name which  may  include both a physical device
  464.  and a directory.  Logical  names  are  composed of 1 to 9 alphanumeric
  465.  characters including "$", as in DISK$ONE:, LB: and so on.  For example
  466.  the DCL system command:
  467.  
  468.     $ ASS/SYS DB1:[200,210] SRC$DIR
  469.  
  470.  associates both the device DB1: and directory [200,210] with SRC$DIR:.
  471.  An explicitly specified directory overrides any named directory within
  472.  in a logical name.  Names longer than 9 chars will be truncated.
  473.  
  474.  Named directories are not used in RT-11, which uses logical disks (see
  475.  HELP MOUNT) instead.
  476.  
  477.  On RSTS/E and RSX-11M/M+ the [directory] is a UIC (user identification
  478.  code) or PPN (project,programmer number) of the format [NNN,MMM].  All
  479.  users are assigned a UIC or PPN when the account is created.  It's the
  480.  number you give to LOGIN to log into the system, and also your default
  481.  UIC or PPN.   Micro-RSX and P/OS may have directories in either UIC or
  482.  named directory format, such as [1,12] or [KERMIT].  P/OS will default
  483.  to [USERFILES].
  484.  
  485.  The NAME field is the primary identifier for the file.  The  name  can
  486.  be  one  to  nine  characters  for RSX-11M/M+ and P/OS, and one to six
  487.  characters for RSTS/E, RT-11 and TSX+.  The TYPE field is usually used
  488.  to  group  files  according  to some convention.  For example, EDI.FTN
  489.  refers to a Fortran-77 source file, CALEND.C to a "C" source file, and
  490.  K11POS.TSK refers to a task image.  The TYPE may be 0 to 3 characters.
  491.  
  492.  The version field is only used by RSX and defaults to the highest then
  493.  available.  Version numbers may range up to 32,767.
  494.  
  495.  All systems mentioned support some sort of file name wildcarding,  the
  496.  flexibility of which varies by executive.  All  support the use of "*"
  497.  to represent either a fully wildcarded NAME or TYPE.  RSTS/E  supports
  498.  the use of "?" to match any single character, whereas the others use a
  499.  "%" to match any single character.   The  RSTS/E  Kermit  server  will
  500.  translate "%" to "?" internally for GET and REM DIR commands, and this
  501.  modified Kermit-11 translates "?" to "%" when necessary.
  502.  
  503.         Examples of wildcarded file names:
  504.  
  505.     *.B2S        match any file with a TYPE of B2S
  506.     K11%%%.MAC    match any file starting with K11, followed by
  507.             one to three characters, with a TYPE of MAC
  508.     K11???.MAC    same as above, but for RSTS/E
  509.     XYZ.*;*        all versions of files with a NAME of XYZ with
  510.             any TYPE (RSX-11M/M+ and P/OS only)
  511.  
  512.          File formats (binary and text):
  513.  
  514.  RT-11 and TSX-Plus
  515.  
  516.  RT-11 treats all files as a contiguous stream of characters.  There is
  517.  no information stored in the directory to tell the system (or program)
  518.  that a file is readable text (source program, runoff document, ...) or
  519.  binary data (executable program, object modules, etc).  An application
  520.  program like Kermit-11 needs to know what type of file to expect, thus
  521.  the presence of the SET FILE TYPE command (discussed below).  The only
  522.  real convention is that text files are streams of 7-bit data with each
  523.  record terminated by a carriage-return/line-feed, and binary files use
  524.  the file TYPE (.SAV, .SYS, ..) to identify them as such.  This is what
  525.  Kermit checks to determine if a file should be sent as text or binary.
  526.  See HELP SET BINARY for detailed info.
  527.  
  528.  RSTS/E, P/OS and RSX-11M/M+
  529.  
  530.  These systems can support a large number of file attributes via FCS-11
  531.  (RSX-11M/M+) or RMS-11 (all).  Text files are  normally  either STREAM
  532.  format (FB$STM) or VARIABLE with implied carriage control (FB$VAR  and
  533.  FB$CR).  RSTS/E has historically defaulted to STREAM,  whereas the RSX
  534.  based systems use VARIABLE.  Kermit-11 uses the defaults when creating
  535.  files if the sending Kermit doesn't supply attribute data.  Conversion
  536.  of the internal data format to one which can be transmitted to another
  537.  Kermit is transparent for these file types.  Both attributes  and  the
  538.  file TYPE are examined by Kermit-11 to determine if a file needs to be
  539.  sent as a text (default) or binary file.  On RSTS/E Kermit also checks
  540.  the protection code as there bit 6 is used to flag an executable file.
  541.  
  542.      Saving files on the PDP-11 from your microcomputer:
  543.  
  544.  If the other Kermit doesn't adequately support attribute exchange then
  545.  one must SET FILE TYPE FIXED on both (local and remote) Kermits to get
  546.  or send non-text files correctly.  When Kermit-11 is thus put into its
  547.  binary mode, all data are read from or written to the file without any
  548.  translation or internal record control information.  Any attributes in
  549.  the file's directory entry are ignored and data are read or written in
  550.  unformatted 512 byte blocks.  Thus it is indeed  possible  to transfer
  551.  files like task images and object libraries.  Detailed info concerning
  552.  the capabilities of this modified Kermit-11 is in HELP SET ATTRIBUTES.
  553.  
  554.  Never try to do a wildcarded send with mixed  binary  and  text  files
  555.  while the file type is set FIXED.  The result could be unusable as not
  556.  all systems store text data in the same internal format.  For example,
  557.  if the binary mode is forced on under RSX (SET FILE TYPE FIXED) a file
  558.  with implied carriage control (normal for RSX text files) will be sent
  559.  as (for each line) two bytes containing the record length, followed by
  560.  the actual data null padded to an even length.  This is not incorrect,
  561.  rather, it is EXACTLY how the data are stored on the disk.
  562.  
  563.  In general, avoid sending anything other than unformatted binary files
  564.  and  text  files  to  unlike  systems.  For example, requesting an RMS
  565.  indexed file from the PDP-11 to be sent to a PC would cause  Kermit-11
  566.  to send it as a binary file,  but the file's attributes would be lost.
  567.  Sending such a file back to the PDP-11 would  result  in  an  unusable
  568.  file unless you could reconstruct the attribute information.
  569.  
  570. 1 FINISH
  571.  
  572.  Tells the remote Kermit server to stop and then, as this does not
  573.  actually log out the remote session, CONNECTs back to the remote.
  574.  
  575. 1 GET
  576.  
  577.  Requests a remote Kermit server to send the specified file or group of
  578.  files.  This command can only be used when Kermit-11 is local, while a
  579.  Kermit server is running on the other end of the link specified by SET
  580.  LINE.  This means you must have CONNECTed to the other  system, logged
  581.  in, run  Kermit  there, issued the SERVER command, and escaped back to
  582.  your local machine.
  583.  
  584.  If you are trying to receive binary files from a Kermit which does not
  585.  support attribute transmission SET FILE TYPE FIXED and SET BLOCK-CHECK
  586.  on BOTH ends first, or the transmission may appear fine while all high
  587.  bits are actually being tossed.
  588.  
  589.  When receiving text files from a non RT-11 system this Kermit will add
  590.  25% to the received file size as record terminators are often excluded
  591.  from what is reported, or are of a different size (Unix).  Files close
  592.  to the maximum free space may be accommodated by SET FILE CREATE-SIZE,
  593.  which overrides any passed size attribute, or by explicitly specifying
  594.  a size with the FILENAME[size] syntax where "size" is the desired size
  595.  expressed as a decimal number of blocks.  See HELP SET FILE CREATE for
  596.  further info.
  597.  
  598.     Kermit-11>GET ABC.FILE XYZ.DAT[100]  ; xyz.dat will be 100 blks
  599.  
  600.  The remote filespec may be anything that's legal at the remote system,
  601.  it is not  parsed  or validated locally.  Both "!" and ";" are sent to
  602.  the remote from the keyboard though they're comment delimiters in TAKE
  603.  files.  Lower case alpha may be used (see HELP SET FILE NAMING), space
  604.  (command argument delimiter) and non-printing chars are only available
  605.  by typing them in at the remote Kermit's command line.
  606.  
  607.  If a file arrives that you don't really want, you can try to cancel it
  608.  by typing Ctrl-X which sends the request to the remote Kermit.  If the
  609.  remote understands it (some Kermits may not) it will comply, otherwise
  610.  it will continue to send.  If a file group is being sent, you can bomb
  611.  the entire group by typing Ctrl-Z.  These control chars are checked at
  612.  the end of each DATA packet.  Use Ctrl-C to abort when the need arises
  613.  before receiving the beginning of the first file.
  614.  
  615.  If the remote Kermit is not capable of server functions, then you must
  616.  CONNECT to it, use the SEND command, escape back here and use RECEIVE.
  617.  Note that file(s) must be specified at the SEND end as RECEIVE expects
  618.  to find the name in the send file init packet.
  619.  
  620.             GET Command Summary:
  621.  
  622.     Tells a remote Kermit server to send a file or group of files.
  623.     Wildcards, ppns, etc, may be used.  Wildcarded renaming is not
  624.     supported, except an optional output device (only) may be used
  625.     to place a single file where desired.
  626.  
  627.     Kermit-11>GET *.MAC        ; gets all .MAC files
  628.     Kermit-11>GET afile dev:    ; put afile on dev:
  629.     Kermit-11>GET afile asfile    ; rename to asfile
  630.     Kermit-11>GET afile,b*,cfile    ; comma delimits file names
  631.  
  632. 1 HANGUP
  633.  
  634.  Drops DTR for 0.5 sec then restores it.  This only available under CL
  635.  from TSX+ V6.0 or above, KM (RT-11 V4.0/TSX+ V5.0 + up) or XL/XC from
  636.  RT-11 V5.2 or above.  If a modem is on-line it is presumed a DTR drop
  637.  requires reinitializing it.  This is done immediately after restoring
  638.  DTR and may slightly increase the time required to complete.
  639.  
  640.  Your modem MUST be able to disconnect when DTR is lowered for this to
  641.  actually dump the telephone connection.
  642.  
  643. 1 HELP
  644.  
  645.  Entering HELP alone prints the list of available topics.
  646.  For detailed information about a specific function:
  647.  
  648.     Kermit-11>HELP topic [subtopic] ..
  649.  
  650.  Should one prefer the printed page, this dumps help text
  651.  to LP to produce a handy reference:
  652.  
  653.     Kermit-11>HPRINT topic [subtopic] ..
  654.  
  655.  See HELP HPRINT and HELP PRINT for printing other than to
  656.  LP.   HELP and HPRINT also support wildcarding, as in:
  657.  
  658.     Kermit-11>H *        ; everything
  659.     Kermit-11>H SET *    ; all sets
  660.     Kermit-11>H SET FIL *    ; all file types
  661.  
  662.  This modified Kermit-11 contains an internal index to its
  663.  help text file.  If KRTHLP.HLP is modified Kermit must be
  664.  rebuilt.  See KRTHLP.MAC for instructions.
  665.  
  666. 1 HOME
  667.  
  668.  Resets the default device to the home directory.
  669.  This is, if not set otherwise, DK when Kermit-11
  670.  was started.  SHOW displays current assignments.
  671.  
  672. 1 HPRINT
  673.  
  674.  Like HELP but also dumps text to LP to produce a handy reference:
  675.  
  676.     Kermit-11>HPRINT topic [subtopic] ..
  677.     Kermit-11>HPRINT *
  678.  
  679.  You may ASSIGN xx LP under RT-11 (where xx is a disk) then run KRT
  680.  and use HPRINT to create a disk file of the text formatted as it's
  681.  displayed by the program.  The file name KRTHLP.OUT will be used.
  682.  
  683.  LP is the only printer device name Kermit supports and HPRINT does
  684.  not support a device name argument.  You may ASSIGN something else
  685.  as LP from the monitor before starting Kermit.
  686.  
  687.     .ASSIGN LS LP        ! have Kermit print to LS
  688.     .K11            ! run program, do printing
  689.     .DEASSIGN LP        ! then clean-up when done
  690.  
  691. 1 Installation-Notes
  692.  
  693.  This program will run under RT-11 or TSX-Plus.  The system clock must be
  694.  running.  As distributed KRT is built to run on a non-EIS CPU and KRTTSX
  695.  is built for EIS processors.  These monitors and handlers are supported:
  696.  
  697.   RT-11SJ   V5.0 + up   TT  KM  XL    ; SYSGEN for TIMER support
  698.   RT-11FB   V4.0 + up   TT  KM  XL    ; SYSGEN for..
  699.   RT-11XM   V5.1 + up   TT  KM  XC  XL    ;  ..SPCPS support
  700.   RT-11 all V5.6 + up   TT  KM  XC  XL    ; including separate I&D space
  701.   TSX-Plus  V5.0 + up   TT  CL  KM  XL    ; see HELP INSTALL TSX
  702.  
  703.   NOTE:  XL first appeared in RT-11 V5.1.  Prior releases must use either
  704.   TT (the console terminal port) or KM (a "Kermit Modem" handler supplied
  705.   with this program) for communicating with the outside world.
  706.  
  707.  KRTTSX.SAV uses extended memory overlays for XB,XM,ZB,ZM,TSX and KRT.SAV
  708.  low memory overlays for  FB,SB,SJ,TSX  to accommodate small systems.  FB
  709.  is the ONLY RT-11 V4 monitor which can run this program.  VBGEXE or VRUN
  710.  may be used under mapped RT-11 monitors.  It's best to load any handlers
  711.  required first, even for a background task.  KRT's maximum packet-length
  712.  is 600., KRTTSX's is 1920., this is determined by the NONEIS conditional
  713.  code for MAXLNG in KRTMAC.MAC.
  714.  
  715.  KRTTSX requires 166kb of memory to load, KRT only needs 41kb.  Under TSX
  716.  it's 172kb and 47kb for V6.5 or 171kb and 46kb with V6.4.  KRT increases
  717.  disk I/O as its overlays are not kept resident.  When none of these will
  718.  load KRTMIN (sometimes distributed separately) is a special version that
  719.  uses less memory by only communicating through the console terminal port
  720.  (see KRTMIN.DOC for details).
  721.  
  722.  If you already have some form of Kermit on your system, you may try this
  723.  one out by copying to a disk containing no other Kermit files, assigning
  724.  that disk DK, deassigning HLP, INI and KRT, and running the new program.
  725.  Assuming LD0 is a scratch disk and you have an 8" floppy:
  726.  
  727.     .COP DY0:*.(SAV,HLP,INI) LD0:
  728.     .ASS LD0 DK
  729.     .DEA HLP
  730.     .DEA INI
  731.     .DEA KRT
  732.     .SET USR SWAP    ! if running RT-11
  733.     .RU KRTTSX    ! use KRT if KRTTSX won't load
  734.  
  735.  To dial out, edit the copy of  KRT.INI  on  LD0 as needed for your site.
  736.  It is not necessary to use a command file for such things as attaching a
  737.  CL unit to a TSX line before running this Kermit - everything may now be
  738.  easily handled during its initialization.  At this point it is suggested
  739.  you use the running Kermit to read through its own HELP,  especially the
  740.  SET LINE and SET CL topics.  If you opt to use any sort of indirect .COM
  741.  file to actually run  KRT/KRTTSX,  please  note that under TSX using the
  742.  ^>R KRT.. option to force command file input to the running program will
  743.  cause the test for TT input during the strike any key abort when dialing
  744.  to hang and you won't be able to dial out from the command file.  Kermit
  745.  does process indirect command (TAKE) files as well as arguments from the
  746.  command line used to run it, either of which may be used instead of ^>R:
  747.  
  748.     .KRTTSX DIAL TOMMY  ! dials number defined in init as "tommy"
  749.     .KRTTSX TAKE TOMMY  ! runs the indirect command file tommy.com
  750.  
  751.  You may also have to force arguments for the program to it when run from
  752.  a command file under TSX:
  753.  
  754.     R KRTTSX ^1 ^2 ^3   ! as needed, up to 6 args
  755.  
  756.  There is an additional problem when forcing command line input to Kermit
  757.  in that comment delimiters "!" and ";" are processed as normal chars and
  758.  will cause errors.  This allows them to be passed to a remote system for
  759.  RSX/VMS version numbers and the like.  They are treated as delimiters in
  760.  Kermit's internal command file processing, thus the best procedure is to
  761.  dump the "^>R KERMIT" line from such files and treat them as Kermit TAKE
  762.  files.  If typing in arguments when starting Kermit is a problem one may
  763.  use a separate command file run from the monitor containing only:
  764.  
  765.     R KRTTSX TAKE TOMMY
  766.  
  767.  This allows tommy.com to contain comments without crashing when run.
  768.  
  769.  If it's decided to permanently install this program all old Kermit files
  770.  (K*.HLP, K*.INI, K*.SAV, etc) should be backed up then replaced by those
  771.  from this package.  Dialing from a command file (if in use) will need to
  772.  be treated per the above.
  773.  
  774.  After ensuring RT-11 or TSX requirements are met patch KRT.INI (examples
  775.  follow) for your site, then copy these to SY:
  776.  
  777.  KRTTSX.SAV  -  or KRT.SAV, the executable image, rename as desired
  778.  KRTHLP.HLP  -  HELP text file, may also be on HLP, KRT or DK
  779.  
  780.  and this to the logical INI, KRT or a default disk of your choice:
  781.  
  782.  KRT.INI  -  initialization command file
  783.  
  784.  When started  KRT/KRTTSX  will  check  INI,  KRT,  DK and SY for KRT.INI.
  785.  Keeping it off SY allows others to use a different init file, and permits
  786.  the program to be easily run in the remote mode by callers to the system.
  787.  Or, one may SET LINE TT to accomplish the same thing.  For multiple users
  788.  sharing a group of lines check HELP SET CL before editing KRT.INI.
  789.  
  790.  The HELP text file search (for KRTHLP.HLP) path is HLP, KRT, SY and DK.
  791.  
  792.  KRT.SAV/KRTTSX.SAV may be  renamed  as  is convenient (K11 or KERMIT) but
  793.  KRT.INI  and  KRTHLP.HLP are called (by these names) by Kermit,  and thus
  794.  must not be renamed.  If the HELP text (KRTHLP.HLP) is altered in any way
  795.  Kermit must be rebuilt.  See KRTHLP.PRE for details.
  796.  
  797.  Kermit is then run by its name, and an initial command line may be passed
  798.  to it as argument(s) to the KMON command:
  799.  
  800.     .K11        ! run Kermit
  801.     .K11 DIAL DEC    ! run Kermit, dialing number set in init file
  802.  
  803.  Also check the specific info for your operating system if Kermit will not
  804.  be the only task running.
  805.  
  806. 2 Files-Required
  807.  
  808.  The following files comprise everything required for KRT/KRTTSX:
  809.  
  810.  KRT   .BWR    "Beware" file, known bugs and possible things to come..
  811.  KRT   .COM    Links low memory overlays image, KRT.SAV
  812.  KRT   .DOC    Installation and Release Notes
  813.  KRT   .IND    Bob Schor's Kermit-11 init file manipulator, an IND process
  814.  KRT   .INI    Sample initialization file
  815.  KRT   .MAP    Link map of low memory overlays image, KRT.SAV
  816.  KRT   .SAV    Low memory overlays image, for RT-11FB,SB,SJ and TSX+
  817.  KRTAIL.MAC    Tailgating protection for TSX+ V6.31 and below
  818.  KRTASM.COM    Assembles all source modules for an EIS CPU
  819.  KRTASM.NON    Assemble all sources for a non-EIS CPU using macros in KRTNHD
  820.  KRTATR.MAC    Attribute packet processing
  821.  KRTCDF.MAC    Command macro definition .INCLUDE file
  822.  KRTCMD.MAC    Main program loop, commands calling APR4
  823.  KRTCM1.MAC    APR4 overlay for the rest of the commands
  824.  KRTCOM.MAC    Main loop commands data table
  825.  KRTCON.MAC    CONNECT terminal emulator
  826.  KRTCVT.MAC    File name conversion routines
  827.  KRTDAT.MAC    Global read/write data
  828.  KRTDEB.MAC    EXAMINE command, display memory by symbol or address
  829.  KRTDEF.MAC    Packet definition .INCLUDE file
  830.  KRTDIA.MAC    DIAL command, also SET MODEM and SHOW DIAL
  831.  KRTDIR.MAC    Directory operations
  832.  KRTDSP.MAC    I/O dispatching to handler or terminal
  833.  KRTEDI.MAC    SL command line editor
  834.  KRTERM.MAC    I/O support for the controlling terminal line (TT)
  835.  KRTERR.MAC    Error messages
  836.  KRTHIS.DOC    Narrative in-depth edit history
  837.  KRTHLP.HLP    HELP text file
  838.  KRTHLP.MAC    HELP command processor
  839.  KRTIDX.BAS    Builds KRTIDX.MAC from KRTHLP.HLP
  840.  KRTIDX.MAC    HELP text file index for high speed lookups
  841.  KRTINI.MAC    Initialization, packet logging
  842.  KRTKM .MAC    "Kermit Modem" handler
  843.  KRTLNK.COM    Links extended memory overlays image, KRTTSX.SAV
  844.  KRTMAC.MAC    Macro definitions .INCLUDE file
  845.  KRTMDM.MAC    Pre-defined modems database
  846.  KRTNHD.MAC    MUL, DIV, SOB, ASH macros for non-EIS CPU
  847.  KRTOID.COM    Link for RT-11 V5.6 separate I&D space, low memory overlays
  848.  KRTOSI.MAC    One-shot initialization at program start
  849.  KRTPAK.MAC    Low level packet processing
  850.  KRTREC.MAC    Incoming file protocol processing
  851.  KRTRMS.MAC    File access, RMS emulation
  852.  KRTSEN.MAC    Outgoing file protocol processing
  853.  KRTSER.MAC    Server support
  854.  KRTSHO.MAC    SHOW, COPY, DELETE, PRINT, RENAME commands
  855.  KRTSJ .CND    RT-11FB,SB,SJ conditional assembly file for KM handler
  856.  KRTSJ .MAC    Root module for low memory overlays image
  857.  KRTSTD.MAC    SET command data table
  858.  KRTST0.MAC    SET command overlay 0
  859.  KRTST1.MAC    SET command overlay 1
  860.  KRTSUB.MAC    Misc common utility routines
  861.  KRTSV4.COM    Build KM handler under RT-11 V4
  862.  KRTSYS.COM    Build KM handler under RT-11 V5
  863.  KRTTRA.MAC    TRANSMIT command
  864.  KRTTSX.CND    TSX conditional assembly file for KM handler
  865.  KRTTSX.MAP    Link map for extended memory overlays image, KRTTSX.SAV
  866.  KRTTSX.SAV    Extended memory overlays image, for RT-11XB,XM,ZB,ZM and TSX+
  867.  KRTUTL.MAC    Misc utility routines, mount for TSX+
  868.  KRTVID.COM    Link for RT-11 V5.6 sep I&D space, extended memory overlays
  869.  KRTXL .MAC    I/O support for CL, KM, XC and XL
  870.  KRTXM .CND    XM conditional assembly file for KM handler
  871.  KRTXM .MAC    Root module for extended memory overlays image
  872.  KRTXMO.MAC    XMODEM, also SEND command processor
  873.  
  874. 2 KM
  875.  
  876.  KM is a "Kermit Modem" communications handler provided to support
  877.  TSX-Plus features not otherwise available under RT-11, as well as
  878.  older releases of TSX that preceded its CL handler.   KM combines
  879.  the best of both worlds, including the following under RT-11:
  880.  
  881.     o  Works with DL(V), Falcon and PRO serial interfaces
  882.     o  Speed may be SET and SHOWn from within Kermit
  883.     o  Automatic fallback to the connected speed
  884.     o  An eight-bit data path
  885.     o  Selectable hardware (RTS/CTS) flow control
  886.     o  Emulation of TSX's CLCLR (flush pending I/O)
  887.     o  DTR toggling to support Kermit's HANGUP command
  888.     o  Usable with RT-11 V4.0 and up, and TSX-Plus V5.0 and up
  889.  
  890.  To use KM you must first edit the appropriate conditional assembly
  891.  files for the serial line interface in your system:
  892.  
  893.     KRTSJ .CND  -  for RT-11FB, RT-11SB, and RT-11SJ
  894.     KRTXM .CND  -  for RT-11XB, RT-11XM, RT-11ZB and RT-11ZM
  895.     KRTTSX.CND  -  for TSX-Plus
  896.  
  897.  Then assemble and link using KRTSYS.COM if being done under RT-11
  898.  V5.0 or above, or KRTSV4.COM if using any RT-11 V4 release.  This
  899.  will create KM.SYS, KMX.SYS and KM.TSX, which should be copied to
  900.  your system device (SY) where they may be INSTALLed and LOADed as
  901.  needed.  Note that KRTKM.MAC (the handler source file) must be on
  902.  the default disk for this assembly.  Under TSX you'll have to use
  903.  TSXMOD to add a definition for KM as shown below, or define it in
  904.  TSGEN.MAC and rebuild the system.  In either case you must reboot
  905.  as it only loads handlers when started.  KM may be mapped to save
  906.  low memory.
  907.  
  908.     DEVDEF    <KM>,MAPH
  909.  
  910.  WARNING:   Earlier versions of RT-11 may choke on the "dma=no" in
  911.  the .drdef macro.  If it causes an error your system doesn't need
  912.  it and it should be dumped to allow successful assembly.
  913.  
  914.  KM supports the following SET commands from the monitor (KMON):
  915.  
  916.     SET KM CSR=octal-address    ! except on the PRO for
  917.     SET KM VECTOR=octal-address    ! which these are fixed
  918.  
  919.  Hardware flow control REQUIRES pins 4 and 5 be carried through in
  920.  the modem cable, 4 to 4 (RTS) and 5 to 5 (CTS), DTE (the port) to
  921.  DCE (the modem), in addition to those otherwise normally present.
  922.  See HELP SET FLOW-CONTROL for info about its use.
  923.  
  924.  The port should be set up for 8 data bits and NO parity as Kermit
  925.  does parity in software.
  926.  
  927.  WARNING:  If the interface provides selectable interrupt priority
  928.  and your max speed will be greater than 4800 you will likely have
  929.  to use BIRQ 5 to avoid dropping chars.
  930.  
  931.  NOTE:  This handler does NOT support VTCOM, nor is it intended to
  932.  be used with anything other than KRT V03.62 or future releases.
  933.  
  934.  WARNING:  Because it's  impossible  to  bomb  an outstanding read
  935.  completion routine once KM has been assigned the  link  the  only
  936.  way to deassign KM is to exit Kermit.
  937.  
  938.  See the top of KRTKM.MAC for detailed installation instructions.
  939.  
  940. 2 KRT.INI-Examples
  941.  
  942.  ! Multiple users under TSX-Plus with possibly assorted modems
  943.  ! This seeks the first available line/port from those specified
  944.  ! May be installed on SY to be shared by all users, see HELP SET CL
  945.  SET CL PORTS 9/19200/T25/3 11/2400/H/6 8/2400/H/4
  946.  SET CL UNITS 2 1 0
  947.  SET CL PRIORITY 71    ! don't drop chars at high speeds
  948.  SET CL LINE *    ! search for first available combination of the above
  949.  ! For efficiency's sake, the above may be reduced to:
  950.  !SET CL POR 9/19200/T25/3 11/2400/H/6 8/2400/H/4,UNI 2 1 0,PRI 71,LIN *
  951.  SET VLSWCH REMOTE    ! emulate SET HOST/PORT if needed
  952.   ... other items as required ...
  953.  
  954.  ! Single user under TSX-Plus
  955.  SET CL0 LINE 9        ! includes "SET LINE CL0," unneeded by PRO-series
  956.  SET SPE 2400        ! CL or KM only, others must do from monitor
  957.  SET PHO XMODE 4    ! enable CONNECT/speed messages for fall back
  958.  SET MOD HAYES
  959.  ...
  960.  
  961.  ! Generic RT-11 ..
  962.  SET LINE KM        ! to call out..
  963.  SET FLOW-CONTROL RTS    ! if preferred, must be enabled in hardware too
  964.  SET MOD HAYES
  965.   ...
  966.  
  967.  ! System-independent items
  968.  SET LONG ON        ! enable long packets
  969.  SET SL ON,KED        ! turn on SL editor, enable its KED mode
  970.  SET PHONE TONE
  971.  SET PROMPT "Kermit-11> "
  972.  SET PHO NUM DECUS 1 800 521-8950    ! Username: INFORMATION for info..
  973.  
  974.  By default init file commands and informational responses to them are not
  975.  echoed to the screen.  After the init completes the default terminal mode
  976.  becomes NOQUIET, unless set in said file, which overrides these defaults.
  977.  If you wish to display the entire init process, make SET TT NOQ the first
  978.  line in KRT.INI.  A file may be tested by running it as a TAKE file:
  979.  
  980.     Kermit-11>@dev:KRT.INI
  981.  
  982.  SHOW FILE to check the name of the init file Kermit-11 used at start-up.
  983.  
  984. 2 Modems
  985.  
  986.  Generally, connecting a modem requires an appropriate interface such
  987.  as a DLV-11E which supports DTR and software speed selection.  It is
  988.  possible to get by without such things, however (and particularly on
  989.  TSX) this may pose a security risk in that the system has no control
  990.  signals with which to log out a disconnected job.
  991.  
  992.  Keeping the above in mind, note that if your modem requires  DTR  to
  993.  be present, you must use an interface that asserts it, force it high
  994.  internally in the modem, or build a cable to force it high.  Without
  995.  an appropriate interface HANGUP will not function and TSX is open to
  996.  serious security problems if incoming calls are allowed.
  997.  
  998.   WARNING:  If the interface provides selectable interrupt priority
  999.   and your max speed will be greater than 4800 you will likely have
  1000.   to use BIRQ 5 to avoid dropping chars.  The port should be set up
  1001.   for 8 data bits and NO parity as Kermit does parity in software.
  1002.  
  1003.  The modem cable must at a minimum carry through pins 2 and 3 (data),
  1004.  7 (ground), 8 (DCD) and 20 (DTR).  Under TSX the modem may be set to
  1005.  answer the line (pin 22, the ring indicator, must also be connected)
  1006.  then when Kermit is started if a CL unit is attached to the line and
  1007.  a modem set Kermit retains control of it all until dropping the line
  1008.  or exiting the program,  when the modem and line will be restored to
  1009.  their idle (auto-answer) state.
  1010.  
  1011.  The SET MODEM command is used to establish the type of modem you are
  1012.  using for the DIAL command.  Enter SET MODEM ? for a current list of
  1013.  of pre-defined modem types.  See HELP SET DIAL for information about
  1014.  entering a USER-DEFINED modem structure.
  1015.  
  1016.  This Kermit is capable of matching the DTE (system) speed to that of
  1017.  the DCE (modem) in response to a message by the modem (CONNECT nnnn)
  1018.  only if using the CL or KM handler.  Currently the generic Hayes and
  1019.  Telebit T2500/T3000 modem definitions support this.  Under XL/XC the
  1020.  speed can't be changed after Kermit is running, it must be done from
  1021.  the monitor first otherwise the queue will be lost.  The DCE must be
  1022.  locked to the same speed, which must be at least the highest desired
  1023.  carrier speed.  The MNP and V.42 versions of the above support this.
  1024.  If this is not suitable, a USER-DEFINED modem structure may be used.
  1025.  
  1026.  Be aware that file transfers FROM this Kermit via a modem whose DCE
  1027.  speed is greater than the connected speed (with the distant system)
  1028.  will require XOFF flow control, and servicing the interrupts caused
  1029.  by it may substantially increase the cpu's loading.  If the maximum
  1030.  connected speed possible is 2400 or less, dropping the DTE speed to
  1031.  9600 (when same must be locked for MNP/V.42) is a good idea.  Using
  1032.  the KM handler's hardware flow control is another option.
  1033.  
  1034.  NOTE:  This program toggles DTR to reset the modem thus this option
  1035.  must be enabled as part of the modem's default configuration.
  1036.  
  1037.   The following examples have been taken from actual daily use with
  1038.   this program to both dial in and out under TSX-Plus.  Note the S7
  1039.   register (wait time to connect) is set to 255 when Kermit inits a
  1040.   modem to dial out so Kermit's SET DIAL TIME-OUT takes precedence.
  1041.  
  1042. 3 Anchor
  1043.  
  1044.     Anchor Automation "Signalman Lightning 24" Model MK24:
  1045.  
  1046.                 CONFIGURATION
  1047.  
  1048.    S00=002    S01=000    S02=128    S03=013  NOTE: S0=2 here because this
  1049.    S04=010    S05=008    S06=002    S07=020  modem occasionally glitches
  1050.    S08=002    S09=006    S10=005    S11=040  DCD when answering the first
  1051.    S12=050    S13=000    S14=044    S15=000  ring, which TSX will catch &
  1052.    S16=000    S17=000    S18=000    S19=000  then hang up on when it's not
  1053.    S20=000    S21=016    S22=118    S23=054  there 0.5 second later..
  1054.    S24=000    S25=005    S26=000    S27=000
  1055.    S28=000    S29=000    S30=000    S31=255
  1056.    S32=001    S33=000    S34=000    S35=001
  1057.  
  1058.    B=0  Y=0  &M=0   &D=2   &C=1  &J=0  &T=0
  1059.    X=4  M=1   F=1    E=0    Q=1   V=1
  1060.  
  1061.    DIAL=TONE    SPEED=2400     PARITY=NONE
  1062.  
  1063.    The Anchor modem will save all of the above, including its "S" registers
  1064.    in RAM (backed up with a lithium battery), via AT&W.  Then one need only
  1065.    send ATZ to restore its auto-answer operation, which this Kermit will do
  1066.    when exiting.  SET PHONE XMODE 4 for all result codes, and use the HAYES
  1067.    modem type (SET MODEM HAYES).  Note that because this modem restores its
  1068.    time-out (S7) when reset it is set to 20 secs for answering which allows
  1069.    for a more timely response following a failed call.  If using MNP modems
  1070.    on the same system, S7 should be set to 40 seconds.  If you have the MNP
  1071.    model of this modem, stick with the HAYES definition as there is not any
  1072.    provision for locking the DTE speed.
  1073.  
  1074.    Configuration switches:
  1075.  
  1076.    1 - as req'd, ON for RJ-12/13 busy support
  1077.    2 - ON   DCD/DSR follow detected carrier signal
  1078.    3 - ON   DTR from the computer controls modem (manual says OFF, in error..)
  1079.    4 - OFF  remote digital loopback
  1080.    5 - OFF  enables command recognition by modem
  1081.    6 - OFF  no CTS support
  1082.    7 - unused
  1083.    8 - unused
  1084.  
  1085. 3 Hayes-MNP
  1086.  
  1087.  This is provided for use with Hayes style MNP modems which need the
  1088.  DTE speed locked to support same.  As almost every one is different
  1089.  no specific modem configuration data are listed here.  Hayes-MNP is
  1090.  intended for use when it is NOT desired to change speed in response
  1091.  to a CONNECT nnnn message, or for any other reason.
  1092.  
  1093. 3 Telebit-T2500
  1094.  
  1095.  Three Telebit T2500 definitions are provided.  T2500 is intended for
  1096.  use without MNP or V.42 LAP-M error correction.  It uses the modem's
  1097.  connect messages to match the DTE speed to that of the data path and
  1098.  that requires using either the CL or KM handler.  Set up the T2500's
  1099.  default profile in the "enhanced" command mode as shown below:
  1100.  
  1101.  E0 F1 M0 Q3 T V1 W1 X3 Y0 &P0 &T5     Version GF7.00-T2500SA
  1102.  S00:001 S01=000 S02:128 S03=013 S04=010 S05=008 S06=002 S07=040 S08=002
  1103.  S09=006
  1104.  S10=007 S11:050 S12=050 S18=000 S25=005 S26=000 S38=000
  1105.  S41=000 S45=000 S47=004 S48:001 S49=000
  1106.  S50=000 S51=255 S52:002 S54:002 S55=000 S56=017 S57=019 S58=003 S59=000
  1107.  S61=150 S62=003 S63=001 S64=000 S65=000 S66=000 S67=000 S68=255 S69=000
  1108.  S90=000 S91=000 S92=000 S93=008 S94=001 S95=000 S96=001 S97=000 S98=003
  1109.  S100=000 S101=000 S102=000 S104=000 S105=001 S106=000 S107=020
  1110.  S110=255 S111=255 S112=001
  1111.  S121=000 S130=002 S131:001
  1112.  S150=000 S151=004 S152=001 S153=001 S154=000 S155=000 S157=000 S158=000
  1113.  S160=010 S161=020 S162=002 S163=003 S164=007 S169=000 S255=000
  1114.  
  1115.  Then, when MNP operation is desired, set the DTE port (via SET SPEED
  1116.  if using TSX's CL handler) to 9600 or 19.2kb if your cpu can keep up
  1117.  with it, then SET MODEM T2500MNP.  This enables MNP only as attempts
  1118.  at a V.42 connection first with some MNP modems appear to leave them
  1119.  in a state where nothing following works.  When an MNP link can't be
  1120.  established operation falls back to the normal mode.
  1121.  
  1122.  V.42 and LAP-M facilities are enabled by setting the modem T2500V.42
  1123.  which operation is just like that of the MNP only above, except V.42
  1124.  is tried first, then MNP, and then normal operation if an error free
  1125.  path can not be established.  Negotiation of these protocols can add
  1126.  considerably to the time needed to connect.
  1127.  
  1128.  All of this should be done on the same  default  profile with which
  1129.  the modem will  automatically  answer  incoming calls to ensure the
  1130.  modem will be properly reset to  its auto-answer state when exiting
  1131.  Kermit-11 to the monitor.  The "enhanced" command mode is suggested
  1132.  because the "conventional" mode does not allow XOFF flow control in
  1133.  its command mode.  While this is not normally a problem with result
  1134.  messages it does make listing the modem's status impossible at high
  1135.  speeds.
  1136.  
  1137.  Under RT-11 either the T2500MNP to T2500V.42 definitions may be used
  1138.  to work around XL/XC's inability to modify its speed as is necessary
  1139.  for the T2500.  Both will connect normally if error correction isn't
  1140.  supported by the remote system.  The KM handler may also be used.
  1141.  
  1142.  SET PHONE XMODE 3 to enable all possible result messages, or use 14
  1143.  to force display of the carrier speed and protocol in all cases ala
  1144.  a real Hayes modem.
  1145.  
  1146.  If by accident the modem is sent something at an unwanted speed and
  1147.  becomes stuck there, toggle DTR (HANGUP or SET DTR) to reset it.
  1148.  
  1149.  If you are using PEP/MNP/V.42 Telebit's Kermit protocol spoofing is
  1150.  the fastest of all possible options even though it only uses normal
  1151.  94 byte packets between modems.  It is set in the above to run when
  1152.  requested by the other end.  To force it on first SHO LINE to check
  1153.  the DTE speed (if a fallback speed is shown then one must first SET
  1154.  SPEED 9600 or 19200 if using a mode where the DTE speed is locked),
  1155.  then CONNECT and issue the command ATS111=n, when "n" is one of:
  1156.  
  1157.     0    No protocol supported
  1158.     10   Kermit protocol with no parity
  1159.     11   Kermit and odd parity
  1160.     12   Kermit and even parity
  1161.     13   Kermit and mark parity
  1162.     14   Kermit and space parity
  1163.     20   XMODEM/YMODEM protocol
  1164.     255  Use protocol specified by other end
  1165.  
  1166.  Then, disable long packets (SET NOLONG will suffice), so the modems
  1167.  run most efficiently, and proceed with the transaction.
  1168.  
  1169. 3 Telebit-T3000
  1170.  
  1171.  Three Telebit T3000 definitions are provided.  T3000 is for disabling
  1172.  MNP/V.42 error correction.  It checks the modem's connect messages to
  1173.  match the DTE speed to that of the carrier.  T3000V.42 enables V.42 &
  1174.  MNP modes and locks the speed.  Set up the T3000's defaults as listed
  1175.  below.  This definition  (T3000V.42)  is for use with hardware  (RTS)
  1176.  flow control.  This is ONLY available under the KM handler, where you
  1177.  have an option to SET FLOW-CONTROL RTS before setting the modem-type.
  1178.  
  1179.  WorldBlazer - SA - Version LA5.00W- Configuration A
  1180.   B1  E0  L1  M0  Q1  T   V1  X12  Y0
  1181.  &C1 &D2 &G0 &J0 &L0 &Q0 &R3 &S0 &T5 &X0
  1182.  S000=0   S001=0   S002:0   S003=13  S004=10  S005=8   S006=2   S007:255
  1183.  S008=2   S009=6   S010=14  S011=70  S012=50  S018=0   S025=5   S026=1
  1184.  S038=0   S041=0   S045=0   S046=0   S047=4   S048:1   S050=0   S051=255
  1185.  S056=17  S057=19  S058:2   S059:15  S060=0   S061:0   S062=15  S063:1
  1186.  S064=0   S068=255 S069=0   S090=0   S092=0   S093=8   S094=1   S100=0
  1187.  S104=0   S105=1   S111=255 S112=1   S151=4   S155=0   S180=2   S181=1
  1188.  S183=25  S190=1   S191=7   S253=10
  1189.  
  1190.  The T3000 does NOT do XOFF flow control in the command mode even when
  1191.  it's enabled and functioning for data between modems unless S48=0 and
  1192.  this of course kills an 8-bit data path.  A third modem definition is
  1193.  provided (T3000X.42) which enables XOFF rtesraint - Kermit quotes the
  1194.  8-bit counterparts of XOFF and XON so this will only be a problem for
  1195.  binary data transfers using the Xmodem protocol.  This defintion will
  1196.  force S48 to 0 and enable XOFF restraint when initializing the modem.
  1197.  
  1198.  See HELP INSTALL MODEMS Telebit-T2500 for more info on Telebit modems.
  1199.  
  1200. 3 US-Robotics
  1201.  
  1202.  US Robotics "Courier" 2400/2400e:
  1203.  
  1204.    C1  E0  F1  M1  Q1  V1  X6
  1205.    BAUD=02400  PARITY=N  WORDLEN=8
  1206.    DIAL=HUNT   ON HOOK  TIMER
  1207.  
  1208.    &A1  &B0  &H0  &I0  &M0
  1209.    &N0  &R1  &S0  &Y1
  1210.  
  1211.    S00=001  S01=000  S02=043  S03=013
  1212.    S04=010  S05=008  S06=002  S07=030
  1213.    S08=002  S09=006  S10=007  S11=070
  1214.    S12=050  S13=032  S14=252  S15=000
  1215.    S16=000  S17=000  S18=000  S19=000
  1216.    S20=000
  1217.  
  1218.    Configuration switches:
  1219.  
  1220.     1 - UP    DTR controls modem
  1221.     2 - UP    verbal result messages
  1222.     3 - UP    quiet mode, for auto-answer
  1223.     4 - DOWN  don't echo local commands, for auto-answer
  1224.     5 - UP    enable auto-answer, modem answers on the first ring
  1225.     6 - UP    DCD on pin 8 follows action of received carrier
  1226.     7 - as req'd, DOWN for RJ-12/13 busy support
  1227.     8 - UP    to recognize "AT" command set
  1228.     9 - UP    drop phone connection when escape code received
  1229.    10 - UP    load power-on defaults from NVRAM
  1230.    QUAD - as req'd for your system and modem cable..
  1231.  
  1232.  Use the Hayes modem type (SET MODEM HAYES).  Set the "&" registers per
  1233.  the above and save them with AT&W.  The "S" registers aren't preserved
  1234.  so ONTIM and TIMIN must = 60. (TSGEN.MAC)  if incoming calls are being
  1235.  accepted (auto-answer enabled) under TSX-Plus.  If wish to use the MNP
  1236.  version, lock the DTE speed as desired to at least 4800 (AT&B5&W) then
  1237.  SET MODEM Hayes-MNP.
  1238.  
  1239.  US Robotics modems such as the Courier 2400 or 2400e will occasionally
  1240.  glitch when answering the phone and start a TSX port at 19.2kb instead
  1241.  of 2400.  This is more likely to happen when the modem is not properly
  1242.  cooled.  Replacing its rubber feet with some that hold it higher above
  1243.  the surface on which it resides may help.  Setting the modem to answer
  1244.  after the first ring (that is, on the second) may also help.  Starting
  1245.  with TSX V6.5, 2400 is tried first, before 19200, which also may help.
  1246.  
  1247.  SET PHONE XMODE 6 enables all possible result messages from the modem.
  1248.  
  1249. 2 RT-11
  1250.  
  1251.  The RT-11 FB,XB,XM,ZB,ZM monitors must include .SPCPS support if you want
  1252.  ^C to abort anything in the program without actually stopping the program
  1253.  itself.  If KRT is not the only job running it should be FRUNed to ensure
  1254.  it will be able to process incoming data from the remote system.  RT-11SB
  1255.  and SJ must be sysgenned for .mrkt and .twait (TIMER) support.
  1256.  
  1257.  If you are using RT-11 V4, the ONLY monitor which can run KRT is RT-11FB.
  1258.  
  1259.  SET USR SWAP if it is not already there, this program needs the space.
  1260.  
  1261.  RT-11 multi-terminal support has been pulled to keep the size reasonable.
  1262.  Only a handler, or the controlling terminal line, may be used to exchange
  1263.  files with the outside world.  Use XL with RT-11, XC with PRO/RT.  KM may
  1264.  be used with either, it adds speed fallback and support for TSX functions
  1265.  that make life with Kermit more enjoyable.
  1266.  
  1267.  As distributed KRTTSX has just enough buffer to load the KM handler built
  1268.  for a DLV11-E in a PDP-11 system.  This may be altered by the extend size
  1269.  (octal number of bytes) specified in KRTLNK.COM:
  1270.  
  1271.  krttsx,krttsx=krtxm/t/e:3010//    ! APR0, the root   extending HNBUFF
  1272.  
  1273.  WARNING:   Because it's impossible to bomb an outstanding read completion
  1274.  routine once KM/XC/XL has been assigned the link the only way to deassign
  1275.  it is to exit Kermit.
  1276.  
  1277.  WARNING:   Any SET from KMON on KM/XC/XL while its interrupts are enabled
  1278.  will OVERWRITE THE QUEUE and hose any data then in it.
  1279.  
  1280.  Note XC/XL is NOT an eight-bit device thus Kermit's parity will be forced
  1281.  to SPACE under RT-11.  If you have hacked it into handling 8-bits you may
  1282.  SET PARITY NONE either in the init file or from the keyboard after Kermit
  1283.  is running and AFTER you have SET LINE XL or XC.
  1284.  
  1285.  HANGUP (DTR control) isn't available unless XL is from RT-11 V5.2 and up,
  1286.  or the KM handler is used.
  1287.  
  1288.                 = = = = =
  1289.  
  1290.    To operate properly at high speeds (2400 and up) and with Kermits
  1291.    not supporting XOFF flow control the XL or XC device handler MUST
  1292.    be modified to increase the internal buffer size and repress XOFF
  1293.    transmission within a packet.  This is very easy to do.
  1294.  
  1295.    First copy XM.MAC, XL.MAC, XM.ANS, SYSGEN.COM and for the PRO/300
  1296.    series XC.MAC from the RT-11  distribution  to DK, ASSIGN DK SRC,
  1297.    and then in the copy of the file XL.MAC change the line:
  1298.  
  1299.     from:    BUFSIZ    = 64.
  1300.     to:    BUFSIZ    = 256.
  1301.  
  1302.    Then IND SYSGEN and tell it to use the saved answer file XM.ANS.
  1303.    When SYSGEN exits, it  will  have created, among other things, a
  1304.    file called XM.CND which is needed for the driver assembly.  For
  1305.    the PRO/300 series substitute XC for XL in the following command
  1306.    procedure to build the handler:
  1307.  
  1308.     .COPY SY:XLX.SYS SY:XLX.OLD        ! save a copy
  1309.     .REN/NOPRO SY:XLX.SYS SY:XLX.SYS    ! unprotect file
  1310.     .UNLOAD XL                ! unload handler
  1311.     .REMOVE XL                ! and remove it
  1312.     .MACRO/OBJ:XLX (XM,XM.CND,XL)        ! assemble new
  1313.     .LINK/EXE:SY:XLX.SYS XLX        ! RT V4, handler on SY
  1314.     .LINK/NOBIT/EXE:SY:XLX.SYS XLX        ! if RT V5, do this
  1315.     .INSTALL XL                ! install it and
  1316.     .LOAD XL                ! load into memory
  1317.  
  1318.                 = = = = =
  1319.  
  1320.  To use a handler, you must have an DL-11/DLV-11 interface (in addition to
  1321.  the console interface).  The XL handler supports two DCL commands:
  1322.  
  1323.         .SET XL CSR=n
  1324.         .SET XL VECTOR=m
  1325.  
  1326.  Where "n" is the address of the CSR (control status register)  and "m" is
  1327.  the  interrupt  vector address.  The defaults are 176500 for the CSR, and
  1328.  300 for the interrupt vector.  The DLV-11 speed is set with wire wrapping
  1329.  and it's not settable on the XL handler.  If you have a DLV-11E XL may be
  1330.  built with XL$DVE=1 and the speed set from KMON as with XC.
  1331.  
  1332.  The XC handler is a special version of XL for the PRO/300 series, its CSR
  1333.  is 173300 and vector is 210(8).  You must SET XC SPEED=nn from KMON prior
  1334.  to running  Kermit  to  change XC's 1200 baud default.  You may also need
  1335.  to UNLOAD XC before Kermit can be FRUN:
  1336.  
  1337.     .UNLOAD XC
  1338.     .FRUN KRTTSX.SAV/PAUSE
  1339.     .LOAD XC=KRTTSX
  1340.     .RESUME
  1341.  
  1342.  Also, when running in the foreground
  1343.  
  1344.         Kermit-11>SET TT QUIET
  1345.  
  1346.  allows one to work in the background during file transfers.
  1347.  
  1348.  Last, but not least, if there is no way to get an  additional  interface
  1349.  into your system (perhaps you have a four slot Q-bus backplane), you can
  1350.  force Kermit to use the console.  This implies, of course, that it won't
  1351.  be possible to dial out from the RT-11 system - it may only be used with
  1352.  the remote Kermit connected via the console port.  Kermit-11 defaults to
  1353.  TT as its link device and sets the packet length to 60 bytes.  Otherwise
  1354.  the command
  1355.  
  1356.         Kermit-11>SET LINE TT
  1357.  
  1358.  does the same thing.  You may increase the packet size if larger packets
  1359.  will work, or modify RT-11's default SPACE parity, AFTER the SET LINE is
  1360.  done.
  1361.  
  1362. 2 TSX-Plus
  1363.  
  1364.  One may communicate via TT when calling in,  and  use CL0 to CL7, KM or XL
  1365.  when calling out.  The CL handler is suggested as it's more efficient with
  1366.  TSX-Plus.  See HELP SET CL for details.   On PRO-300 series systems Kermit
  1367.  will try to assign CL0 or CL1 to TSX Line #3 at startup.
  1368.  
  1369.  If there is any chance of swapping on your system use TSX's MEMLOCK option
  1370.  when running the program.  This is easily done via the INSTALL facility.
  1371.  
  1372.  WARNING:  If you build XL with XL$DVE (set speed) enabled be advised under
  1373.    TSX-Plus (as of V6.5) the KMON command SET XL SPEED=nnnn will modify the
  1374.    hardware port which XL is serving instead of the handler itself and thus
  1375.    fail to produce the expected result.  And regardless, if you must use XL
  1376.    see HELP INSTALL RT-11 regarding this handler's limitations.  Mapping it
  1377.    is recommended to save low memory.
  1378.  
  1379.  KRTTSX uses  217.  blocks  in the  TSX  PLAS  swap file.  The TSGEN/TSXMOD
  1380.  parameter  determining  its size is SEGBLK.  If modified, TSX must then be
  1381.  restarted to create the new swap file.
  1382.  
  1383.  In the CONNECT mode 11.  activation  characters  are declared so the TSGEN
  1384.  parameter MXSPAC must be => 11.
  1385.  
  1386.  Under TSX one must SET IO ABORT so errors won't cause waits for the I/O to
  1387.  rundown.  In  TSGEN  this may be accomplished by making IOABT = 1.  It may
  1388.  also be done as a keyboard command.
  1389.  
  1390.  XOFF operation without dropping characters in the CONNECT mode at 2400 and
  1391.  up may require enlarging TSX's silo and input buffer on lines to which the
  1392.  CL units are attached.
  1393.  
  1394.     BUFSIZ    1024.,1024.
  1395.     SILO    255.,64.,16.
  1396.  
  1397.  in the LINDEF does the job though this is a bit big if 2400 is the fastest
  1398.  speed used.  Kermit also can raise its priority when actually talking to a
  1399.  CL unit so as not to drop chars at high speeds, see HELP SET CL.
  1400.  
  1401.  The above also applies to file transfers via the controlling terminal line
  1402.  (TT).   When sending to a TSX system you may also need to set its priority
  1403.  below any other interactive job and use TSX's /HIGHEFF switch when running
  1404.  Kermit-11 to avoid excessive degradation of response time for other users.
  1405.  This is due to the overhead involved in processing input by TSX's terminal
  1406.  handler, and is not a problem when sending output from a TSX system.  Note
  1407.  this only concerns I/O via TT - comm handlers (CL, XL, etc) are no problem
  1408.  in either direction.
  1409.  
  1410.  Binary file transfers  via  TT  might require you to SET TT 8BIT.  You may
  1411.  also need to SET TT BITS=8 but this is a hardware function and thus should
  1412.  ONLY be done from a primary line first, before any subprocess that may run
  1413.  Kermit is spawned.  Setting this via a subprocess may write garbage in the
  1414.  line-parameters word.
  1415.  
  1416.  TERMINAL privilege is required to assign a CL unit to a time-sharing line.
  1417.  
  1418.                 = = = = =
  1419.  
  1420.  Modem control is an extremely significant system security issue under TSX.
  1421.  The problem is if a dial-in user's phone connection fails that job must be
  1422.  killed before a following call can be answered and connected to it, and to
  1423.  the still-logged-on session of the previous caller.
  1424.  
  1425.  Beginning with V6.4 TSX was given improved modem control, with which these
  1426.  "tailgating" incidents are easily prevented.  The following parameters are
  1427.  suggested for MNP/V.42 auto-answer operation (modem time-out = 40 secs):
  1428.  
  1429.  .SH MODEM
  1430.  PHONE=1    Other modem control parameters (in 0.5 sec):
  1431.   ONTIM=80 OFFTIM=1 TIMIN=80 TIMLOC=1 TIMOUT=1
  1432.  
  1433.  When no error correction is in use, ONTIM and TIMIN may be halved, and the
  1434.  modem's wait time for carrier (S7 register in Hayes-style units) set to 20
  1435.  seconds.  If the modem's wait time is not settable such that it's restored
  1436.  when reset (ala ATZ), then ONTIM and TIMIN must be set to match the modem.
  1437.  OFFTIM, TIMLOC and TIMOUT must = 1 (the minimum, don't use zero) to ensure
  1438.  the job is logged off immediately.  The $PHONE flag must be defined in the
  1439.  LINDEF (in TSGEN.MAC) for any line connected to an auto-answer modem.  And
  1440.  above all, the modem MUST be configured to hang up when DTR is dropped for
  1441.  any of this to be effective.
  1442.  
  1443.  One then includes this in the start-up command files for "phone" lines:
  1444.  
  1445.  SET ERROR FATAL
  1446.  !ACCESS SY:CLEAR.COM/READ        ! add if other access limited here
  1447.  SET LOGOFF FILE=SY:CLEAR.COM        ! add this..
  1448.  SET TT 8BIT,BITS=8            ! ..and this for Kermit
  1449.  ...                    ! other necessary items
  1450.  R LOGON
  1451.  
  1452.  and CLEAR.COM contains:
  1453.  
  1454.  SET ERROR NONE
  1455.  SET PRIO 70                ! be sure this runs before next call
  1456.  SET TT NOPAGE,NODTR,PHONE,AUTO,XON
  1457.  ...                    ! anything else needed should follow
  1458.  
  1459.  This may seem a bit extreme on the SET TT end of things, but it definitely
  1460.  gets the job done, even after in and out buffers are overflowed, XOFF'd in
  1461.  both directions (deadlocked) and the caller has to hang up.  The rationale
  1462.  for the various options used above is:
  1463.  
  1464.     NOPAGE    ensures possible noise induced XOFF on DTR drop is harmless
  1465.     NODTR    resets the modem
  1466.     PHONE    ensures port is not in local mode, just in case..
  1467.     AUTO    ensures port not stuck at any particular speed
  1468.     XON    resets any XOFF which may have snuck through..
  1469.  
  1470.  Note that TERMINAL privilege is required for the above to drop DTR.  As of
  1471.  TSX V6.5 installing a .COM file with TERM privilege doesn't work, the user
  1472.  must be given it or DTR will not be dropped and the phone line may not get
  1473.  hung up.
  1474.  
  1475.  If your version of TSX-Plus is earlier than 6.4 and you must allow dial-in
  1476.  operation there is a program named NOTAIL which runs as a detached job and
  1477.  provides the same protection against tailgating.  See KRTAIL.MAC, included
  1478.  with this Kermit's distribution.
  1479.  
  1480.  It's also a good idea when using a Hayes-style modem to disable its escape
  1481.  character means of invoking the modem's command mode.  If one phones in to
  1482.  a TSX system and then uses another line on it to call out or talks to some
  1483.  one such that the other person's data are going into the modem (the one at
  1484.  the TSX system, to which your local system is connected) via its DCE port,
  1485.  there's no other way to prevent someone from using the escape sequence and
  1486.  taking control of that modem, after which they've got your phone line..
  1487.  
  1488. 1 Introduction
  1489.  
  1490.  The Kermit file transfer protocol is  intended  for  use  in  an
  1491.  environment where there may be a diverse mixture of computers --
  1492.  micros, personal computers, workstations, laboratory  computers,
  1493.  timesharing  systems  --  from  a variety of manufacturers.  All
  1494.  these systems need have in common is the ability to  communicate
  1495.  in ASCII over ordinary serial telecommunication lines.
  1496.  
  1497.  Kermit was originally designed at Columbia  University  to  meet
  1498.  the need for  file  transfer  between their DECSYSTEM-20 and IBM
  1499.  370-series mainframes and various microcomputers.  It turned out
  1500.  that the diverse characteristics of these three kinds of systems
  1501.  resulted in a design that was general enough to fit  almost  any
  1502.  system.   The  IBM mainframe, in particular, strains most common
  1503.  assumptions about how computers communicate.
  1504.  
  1505.  The   Kermit   protocol    is    specifically    designed    for
  1506.  character-oriented  transmission  over  serial telecommunication
  1507.  lines.  The design allows for the restrictions and peculiarities
  1508.  of the medium and the requirements of diverse operating environ-
  1509.  ments -- buffering, duplex, parity, character set, file  organi-
  1510.  zation,  etc.  The protocol is carried out by Kermit programs on
  1511.  each end of the serial connection  sending  "packets"  back  and
  1512.  forth:  the  sender  transmits file names, contents, and control
  1513.  information and the receiver acknowledges (either positively  or
  1514.  negatively) each packet.
  1515.  
  1516.  The packets have a layered design, in keeping with the ANSI  and
  1517.  ISO  philosophies,  with  the  outermost fields used by the data
  1518.  link layer to verify data integrity, the  next  by  the  session
  1519.  layer  to verify continuity, and the data itself at the applica-
  1520.  tion level.
  1521.  
  1522.  Connections between systems  are  established  by  the  ordinary
  1523.  user.    In   a   typical  case,  the  user  runs  Kermit  on  a
  1524.  microcomputer, enters a terminal emulation, connects to a remote
  1525.  host  computer  (perhaps by dialing it), logs in, runs Kermit on
  1526.  the remote host, and then issues  commands  to  that  Kermit  to
  1527.  start  a  file transfer, "escapes" back to the micro, and issues
  1528.  commands to that Kermit to start its side of the file  transfer.
  1529.  Files may be transferred individually or in groups.
  1530.  
  1531.  Basic Kermit provides only file transfer, and that  is  provided
  1532.  for sequential files only, though the protocol attempts to allow
  1533.  for various types of sequential files.  Microcomputer  implemen-
  1534.  tations  of  Kermit are also expected to provide terminal emula-
  1535.  tion, to facilitate the initial connection.
  1536.  
  1537.  More advanced implementations simplify the user interface  some-
  1538.  what  by  allowing  the  Kermit  on  the remote host to run as a
  1539.  "server," which can transfer  files  in  either  direction  upon
  1540.  command from  the  local  "client"  Kermit.  The server can also
  1541.  provide  additional  functionality,  such  as  file  management,
  1542.  messages,  mail,  and  so  forth.   Other optional features also
  1543.  exist, including a variety of block check types, a mechanism for
  1544.  passing  8-bit data through a 7-bit communication path, a way to
  1545.  compress a sequence of repeated characters, and so forth.
  1546.  
  1547.  As local area networks become  more  popular,  inexpensive,  and
  1548.  standardized,  the  demand  for Kermit and similar protocols may
  1549.  dwindle, but will never wither away entirely.  Unlike  hardwired
  1550.  networks,  Kermit gives the ordinary user the power to establish
  1551.  reliable error-free connections between any two computers.  This
  1552.  may always be necessary for one-shot or long-haul connections.
  1553.  
  1554.  Recommended reading:
  1555.  
  1556.  "Kermit, A File Transfer Protocol"  by Frank da Cruz, 1987
  1557.  Digital Press, order number: EY-6705E-DP  (in USA phone: 800 343-8321)
  1558.  DP ISBN 0-932376-88-6, PH ISBN 0-13-514753-0
  1559.  
  1560. 1 Local-vs-Remote
  1561.  
  1562.  Kermit-11 by default assumes that all file transfers will be done over
  1563.  the terminal line you are currently logged in on (TT).  This is called
  1564.  the  REMOTE  mode (the PDP-11 is the remote system) and is the desired
  1565.  case if you are running Kermit on a microcomputer and using the PDP-11
  1566.  through it.  However, if you want to call out from the PDP-11, perhaps
  1567.  on an auto-dial modem, you'll need something besides TT to communicate
  1568.  with the modem.  This is called the LOCAL mode since the PDP-11 is now
  1569.  the local system.  The link device with which Kermit talks to the out-
  1570.  side world is modified with the SET LINE command.
  1571.  
  1572.  An implicit SET LINE CL will be done on the PRO-series under TSX-Plus
  1573.  if the handler is found when Kermit is started.
  1574.  
  1575.      Under TSX-Plus attaching a CL unit to a line requires TERMINAL
  1576.      privilege, and ALLOCATE privilege is necessary for use of a CL
  1577.      line in any case.  You may have to talk to your system manager
  1578.      to get access to an outgoing terminal line.
  1579.  
  1580.      Once you're connected to another system by a modem, some means
  1581.      must exist for the phone connection to be broken if the remote
  1582.      doesn't drop it when logging out.  If your line provides modem
  1583.      control (DLV-11E, DZV-11, etc) the HANGUP command may be used,
  1584.      otherwise your connection may not be hung up, and could run up
  1585.      a tidy phone bill.
  1586.  
  1587. 1 LOGFILE
  1588.  
  1589.  Creates the debug and session logging file.  One may optionally specify
  1590.  a debug mode as an additional argument following the desired file name,
  1591.  or must later select something to be written into the file, such as SET
  1592.  DEBUG CONSOLE to log a session with a remote system.  When a logfile is
  1593.  closed all disk based debug modes are reset (turned off).  If file size
  1594.  is a consideration it may be specified via SET FILE CREATE-SIZE or with
  1595.  the syntax FILENAME[siz] where "siz" is the desired size expressed as a
  1596.  decimal number of blocks.
  1597.  
  1598.     Kermit-11>LOG TMP CON     ; default type is .LOG, logs CONNECT
  1599.     Kermit-11>LOG ABC[99] CON ; ABC.LOG will be 99 blocks
  1600.     Kermit-11>LOG LP: ALL     ; LP MUST be spooled, or very fast..
  1601.     Kermit-11>LOG             ; close file, off disk based debugging
  1602.  
  1603.  Check HELP Debug for a brief list or HELP SET DEBUG for detailed
  1604.  descriptions of debugging modes.  See HELP PRINT for info on use
  1605.  of other print devices.
  1606.  
  1607. 1 LOGOUT
  1608.  
  1609.  Tells a remote server to log out your process on the remote system.
  1610.  If the remote doesn't hang up the phone the HANGUP command will, if
  1611.  the interface permits, cause the line to be dropped.
  1612.  
  1613. 1 Long-Packets
  1614.  
  1615.  Kermit-11 supports the use of packet lengths greater than 94.  This is
  1616.  particularly useful in file transfers over links with delays exceeding
  1617.  one second,  or whenever transmission errors are sufficiently low that
  1618.  time saved in ACK packets (as opposed to time lost in resending longer
  1619.  data packets) improves efficiency.  The main restriction on the packet
  1620.  size is the link, a given circuit may not pass a given number of chars
  1621.  in a single packet.  Also, BOTH Kermits must support this extension to
  1622.  the protocol, it is always negotiated before any file transfer.
  1623.  
  1624.  Long packets are enabled by setting the  receive  packet length on the
  1625.  Kermit which will be receiving the transfer:
  1626.  
  1627.     Kermit>SET RECEIVE PACKET-LENGTH nnnn    ; use max packets
  1628.     Kermit>SET BLO 3            ; CRC error checking
  1629.  
  1630.  Here the above may also be accomplished in one command with:
  1631.  
  1632.     Kermit-11>SET LONG ON        ; max packets, CRC error tests
  1633.  
  1634.  It is highly recommended you use the CRC block check,  as the default
  1635.  type one checksum is inadequate for such packet lengths.  Please note
  1636.  it may be necessary to preset this on both sides, before invoking the
  1637.  server.  The maximum packet size possible here may be determined with
  1638.  SHOW PARAMETERS.
  1639.  
  1640.  You may disable long packets at this end via SET NOLONG.
  1641.  
  1642.  When talking to VMS Kermit or C-Kermit you will probably need to
  1643.  also SET SEN PAC nnnn on them before long packets will function.
  1644.  
  1645. 1 MILNET-TAC
  1646.  
  1647.  The following conditions must be met to successfully use Kermit-11 on
  1648.  a MILNET Terminal Access Controller.
  1649.  
  1650. 2 Binary-Files
  1651.  
  1652.  The TAC (which implements the DDN Telnet Protocol) normally provides
  1653.  just a 7-bit path.  To pass 8-bit data enable the binary mode in the
  1654.  TAC:
  1655.  
  1656.     @Binary Input Start    (@b i s)
  1657.     @Binary Output Start   (@b o s)
  1658.  
  1659.  Some hosts allow engaging the binary mode from the host.  The binary
  1660.  mode has the side effects of disabling the intercept character means
  1661.  of controlling the TAC, and XOFF flow control.  Refer to HELP MILNET
  1662.  Flow-Control for additional info.
  1663.  
  1664.  Eight-bit prefixing in Kermit may also be used to move 8-bit data in
  1665.  a 7-bit path.  This is enabled via SET PARITY SPACE on both Kermits.
  1666.  
  1667. 2 Flow-Control
  1668.  
  1669.  The buffer size (a configurable parameter) for a terminal port on a TAC
  1670.  is typically about 64 bytes.  Since the default packet length in Kermit
  1671.  is usually 94 bytes it is quite likely that buffer overflow will occur.
  1672.  There are two possible solutions.
  1673.  
  1674.  1.  Enable flow control on the TAC by giving it these commands:
  1675.  
  1676.     @Flow Input Start      (@f i s)
  1677.     @Flow Output Start     (@f o s)
  1678.  
  1679.  Note flow control isn't compatible with binary mode.  It is possible to
  1680.  set binary mode in only one direction.  For example you can set Inbound
  1681.  binary and retain flow control in the opposite direction.  You probably
  1682.  won't need Outbound (input to Kermit-11) flow control at 2400 or below.
  1683.  
  1684.  2.  Make the Kermit packet length small enough to not overflow the TAC:
  1685.  
  1686.     Kermit-11>SET REC PAC 60
  1687.  
  1688.  You will  probably  get  the best throughput for ASCII files by keeping
  1689.  the packet size as large as possible and using flow control.
  1690.  
  1691.  This Kermit also provides a means to wake up the TAC by sending two ^Qs
  1692.  to it when the CONNECT command is given:
  1693.  
  1694.     Kermit-11>SET CONSOLE [NO]MILNET
  1695.  
  1696. 2 Intercept-Character
  1697.  
  1698.  The default TAC intercept character is "@", which is also used by Kermit,
  1699.  so one of the following must be done or Kermit packets won't pass through
  1700.  the TAC.
  1701.  
  1702.  1. Change the TAC's intercept character:
  1703.  
  1704.     @Intercept <decimal-ASCII-value>
  1705.  
  1706.  For example, "@I 6" sets the intercept character to ^F.
  1707.  
  1708.  2.  Use the TAC's Binary mode, which has the side effect of disabling the
  1709.  intercept character.
  1710.  
  1711. 2 Time-Outs
  1712.  
  1713.  When going through satellite hops or multiple gateways the occasional very
  1714.  long delay may result in Kermit timing out waiting for a packet.  See HELP
  1715.  SET REC TIME-OUT or HELP SET SEND TIME-OUT as appropriate.
  1716.  
  1717. 1 Modems
  1718.  
  1719.  Check HELP SET MODEM for pre-defined modem types and HELP SET DIAL
  1720.  for information about entering your own USER-DEFINED modem type.
  1721.  
  1722.  SET MODEM ? provides a brief list of pre-defined modems.  See HELP
  1723.  Install Modems for hardware and cabling information.
  1724.  
  1725. 1 MOUNT
  1726.  
  1727.  Logical disks are used to partition a physical device into smaller
  1728.  units which can  themselves  be  treated  as  directory structured
  1729.  devices.  To access the contents of a logical disk, one must first
  1730.  mount it:
  1731.  
  1732.     Kermit-11>MOU LDn file       ; .DSK,.DEV are default types
  1733.     Kermit-11>MOU LDn dev:file   ; file is not on DK (default)
  1734.     Kermit-11>MOU LDn file DK    ; makes LDn the default disk
  1735.  
  1736.  It's then referred to by its logical name LDn: where n=unit number.
  1737.  Up to eight (LD0-LD7) logical disks may be mounted at any one time.
  1738.  Any new mount overwrites an existing mount for any particular unit.
  1739.  Nested logical disks can  only  be mounted in ascending unit number
  1740.  order.  The only logical assignment supported is DK (default disk).
  1741.  
  1742.  MOUNT within Kermit is only available under TSX-Plus V6.2 and up.
  1743.  
  1744. 1 Parity
  1745.  
  1746.  Sometimes what appears to be valid packet is constantly rejected.
  1747.  This usually happens when the requesting Kermit asks a server for
  1748.  a file and then rejects the server's first packet until the retry
  1749.  limit is reached.  This may  be caused by parity being introduced
  1750.  somewhere, as when a modem is generating parity,  or by a private
  1751.  or public net.  If the  communications  link is at fault a simple
  1752.  fix is to SET PARITY SPACE on each Kermit, forcing removal of bit
  1753.  seven from the incoming data.  Normally this will not stop binary
  1754.  transfers since most Kermits can do eight bit prefixing, a method
  1755.  of sending  eight  bit  data over a seven bit link.  You MUST use
  1756.  parity (even if MARK or SPACE)  when using Kermit-11 with the IBM
  1757.  CMS Series/1 or 7171 3270 emulator.  See HELP SET PARITY for info
  1758.  about specific options.
  1759.  
  1760.  If you are calling into a TSX+ system, you may need to:
  1761.  
  1762.     .SET TT 8BIT
  1763.  
  1764.  to be able to transfer binary files to your local system  without
  1765.  incurring the overhead of the Kermit protocol known as  eight bit
  1766.  prefixing.  You may also need to SET TT BITS=8, however this is a
  1767.  hardware function and should  ONLY  be  done from a primary line,
  1768.  otherwise garbage might be written into the line-parameters word,
  1769.  rendering it useless.
  1770.  
  1771.  If this isn't a solution because something in the path or the far
  1772.  end requires parity, then SET PARITY SPACE on both Kermits.
  1773.  
  1774.  Under RT-11 parity will default to SPACE.  If need be you may SET
  1775.  PARITY NONE in the init file or from the keyboard after Kermit is
  1776.  running and AFTER a link device has been set.
  1777.  
  1778. 1 PRINT
  1779.  
  1780.  Copies a single (non-wildcarded) file to LP.  This device name is
  1781.  hard-coded in Kermit, but you may assign anythng you'd like as LP
  1782.  from the monitor before starting Kermit.  Attempting to print via
  1783.  any other device direct (such as LS) may cause Kermit to hang, so
  1784.  you should ASSIGN xxx LP (where xxx is the desired print handler)
  1785.  from RT-11 or TSX first.  LP is the only print device name Kermit
  1786.  supports.
  1787.  
  1788. 1 PWD
  1789.  
  1790.  Displays the current default device (DK), home directory and, if
  1791.  running under TSX-Plus V6.2 or above, mounted logical disks.
  1792.  
  1793. 1 QUIT
  1794.  
  1795.  Synonym for EXIT.
  1796.  
  1797. 1 RECEIVE
  1798.  
  1799.  The RECEIVE command tells Kermit-11 to receive a file  or  file  group
  1800.  from  the  other  system.  File names are taken from the incoming file
  1801.  headers - that is, files to be sent are specified  on the other system
  1802.  with its SEND command (wildcarding may be used if sender supports it):
  1803.  
  1804.     Kermit>SEND afile    ; a single file
  1805.     Kermit>SEND *.MAC    ; all .MAC files
  1806.  
  1807.  Then one escapes back to one's local machine and initiates receive:
  1808.  
  1809.     Kermit-11>RECEIVE    ; note no file name argument is used
  1810.  
  1811.  As files are created, their names will be displayed on your screen.
  1812.  
  1813.  If a file arrives that you don't really want, you can try to cancel it
  1814.  by typing Ctrl-X which sends the request to the remote Kermit.  If the
  1815.  remote understands it (some Kermits may not) it will comply, otherwise
  1816.  it will continue to send.  If a file group is being sent, you can bomb
  1817.  the entire group by typing Ctrl-Z.  These control chars are checked at
  1818.  the end of each DATA packet.  Use Ctrl-C to abort when the need arises
  1819.  before receiving the beginning of the first file.
  1820.  
  1821.  If the first file arrives too soon, use SET DELAY on the sending side.
  1822.  
  1823.  If an incoming file has the same name as an existing file Kermit-11 by
  1824.  default will create a new file.  To preserve existing files check HELP
  1825.  SET FILE PROTECT.
  1826.  
  1827.  When receiving text files from a non RT-11 system this Kermit will add
  1828.  25% to the received file size as record terminators are often excluded
  1829.  from what is reported, or are of a different size (Unix).  Files close
  1830.  to the maximum free space may be accommodated by SET FILE CREATE-SIZE,
  1831.  which overrides any passed size attribute.
  1832.  
  1833.  If you are trying to receive binary files from a Kermit which does not
  1834.  support attribute transmission SET FILE TYPE FIXED and SET BLOCK-CHECK
  1835.  on BOTH ends first, or the transmission may appear fine while all high
  1836.  bits are actually being tossed.
  1837.  
  1838.  Normally it is much easier to run the remote Kermit as a SERVER.  When
  1839.  that isn't possible, the RECEIVE command is useful.
  1840.  
  1841. 1 REDIAL
  1842.  
  1843.  After having dialed a number, if the phone you're calling is busy,
  1844.  doesn't answer or whatever the problem, you may REDIAL n where "n"
  1845.  is the number of retries desired, up to 65,535 - which is also the
  1846.  default when "n" is omitted.  When the call succeeds your terminal
  1847.  will be connected to the remote system automatically.  REDIAL only
  1848.  acts on the last phone number DIALed.  This number may be seen via
  1849.  SHOW PHONE (if it exists).
  1850.  
  1851.  Dialing may be aborted by striking  any  key after the process has
  1852.  begun, as long as that's before actually connecting to the remote.
  1853.  
  1854.  SET DIAL TIME-OUT n (in seconds) determines the time spent waiting
  1855.  for a response before assuming the call has failed.  It is usually
  1856.  set 30 to 45 seconds in the modem definition.  On modems which can
  1857.  detect a busy signal, retries will occur as fast as it's reported.
  1858.  
  1859.  The generic Hayes modem definition here supports extended response
  1860.  modes, see HELP SET PHONE XMODE.   Please  note these are the only
  1861.  parameters  settable for pre-defined modem types (those selectable
  1862.  by SET MODEM as opposed to SET DIAL) as well as the USER-DEFINED.
  1863.  
  1864. 1 Release-Notes
  1865.  
  1866.  Kermit-11 for RT-11/TSX-Plus  V03.63  27-Sep-1997
  1867.  
  1868.  The following work was done primarily to support the use of Kermit-11 on
  1869.  a public bulletin board system under TSX-Plus, and then expanded to make
  1870.  a reliable, general purpose comm program.  Numerous bugs have been fixed
  1871.  and several new routines added.  All major differences between this work
  1872.  and Kermit-11 V3.62 are listed by module in the following extracts, from
  1873.  the edit history in KRTCMD.MAC.  Check HELP Binary-Files for information
  1874.  regarding compatibility with previous Kermit-11s and other Kermits.  See
  1875.  KRTHIS.DOC for an in-depth narrative of modifications made.
  1876.  
  1877. 2 KRTCDF.MAC
  1878.  
  1879.  modify optional prompt arg to use address of prompt string
  1880.  allows longer strings to be used and eliminates redundancy
  1881.  drop $CMGLOBAL
  1882.  
  1883. 2 KRTCMD.MAC
  1884.  
  1885.  convert "-" to "_" in getcm0
  1886.  move most of SHO VER here so the server can call it too..
  1887.  call INCSTA on ^C abort of file xfr so stats don't blow up
  1888.  
  1889. 2 KRTCM1.MAC
  1890.  
  1891.  moved sph$xmode after set$modem so it will prevail..
  1892.  fixed problem caused by using errtxt buffer to store desired xmode
  1893.  where a "?" in a error message acted like SET PHONE XMODE ?
  1894.  
  1895. 2 KRTCOM.MAC
  1896.  
  1897.  consolidate local data..
  1898.  add DAYTIME
  1899.  allow CD, CWD and REMOTE CD, CWD to operate without an argument
  1900.  
  1901. 2 KRTCON.MAC
  1902.  
  1903.  marktime (scheduler) completion routines are now more efficient
  1904.  fix SET CON 8 test for emulator command chars
  1905.  
  1906. 2 KRTCVT.MAC
  1907.  
  1908.  fixfil now fixes unix leading dot ".file" names, also ".x.", etc.
  1909.  cleaned up chkext
  1910.  move unfmts to KRTSUB so KRTMDM can use this overlay ...
  1911.  
  1912. 2 KRTDAT.MAC
  1913.  
  1914.  add rem.ack
  1915.  dpmumber conformed to its current 16-bit max value
  1916.  
  1917. 2 KRTDIA.MAC
  1918.  
  1919.  use opentt in place of ttyini to set linksts flag
  1920.  move the modem definitions to a separate module KRTMDM.MAC
  1921.  SET$DTR and SET$MODEM back here from KRTDSP
  1922.  
  1923. 2 KRTDIR.MAC
  1924.  
  1925.  buffil back to root (KRTPAK), for speed and room now available
  1926.  add support for SET WILDCARDS
  1927.  
  1928. 2 KRTEDI.MAC
  1929.  
  1930.  fixed all possible sign extension problems now the LN$MAX > 127.
  1931.  but keep it under 255. or you'll have to fix some other stuff!
  1932.  
  1933. 2 KRTERM.MAC
  1934.  
  1935.  use hi-efficiency print emt in T.BINWRITE under TSX
  1936.  
  1937. 2 KRTERR.MAC
  1938.  
  1939.  strip trailing blank from prompt string when making error message
  1940.  add er$wpe (write past EOF), er$dna (bad device name)
  1941.  
  1942. 2 KRTHLP.MAC
  1943.  
  1944.  translate "_" to "-" which searching for topics
  1945.  move index data to separate file KRTIDX.MAC solving a size problem
  1946.  increase text line and terminal input buffers to 132. bytes
  1947.  
  1948. 2 KRTIDX.MAC
  1949.  
  1950.  moved help index into a module of its own as KRTHLP was > 4096. words
  1951.  
  1952. 2 KRTKM.MAC
  1953.  
  1954.  Add SPFUNs to support Xmodem compatibly with the TSX CL handler:
  1955.  
  1956.     CLSET    <250>    Set CL options (binin and binout only)
  1957.     CLRSET    <251>    Clear CL options (binin and binout only)
  1958.     CLIPND    <261>    Get number of input chars pending
  1959.     CLWBYT    <263>    Write with byte count
  1960.     CLCHAR    <266>    Get CL characteristics (options flags only)
  1961.  
  1962.  Enabling binin or binout does not in itself bypass XOFF flow control
  1963.  processing in the input or output routines here, one must explicitly
  1964.  set RTS/CTS flow control as well, or uncomment the appropriate lines
  1965.  in the kiint (binin) and kmint/koint (binout) routines.
  1966.  
  1967.  This driver does not currrently support "no flow control" -- RTS/CTS
  1968.  must be enabled when binin or binout is used.  Flow control may then
  1969.  be ignored if desired by using a cable that doesn't connect pins 4 &
  1970.  5.
  1971.  
  1972.  Added .br macro for clarity.
  1973.  
  1974. 2 KRTMAC.MAC
  1975.  
  1976.  add support for SET ATTRIBUTES
  1977.  add flag to suspend logging to a disk file
  1978.  make $LN$MAX 132. bytes for EIS assembly
  1979.  pulled message macro, no longer used..
  1980.  
  1981. 2 KRTMDM.MAC
  1982.  
  1983.  created this module as KRTDIA had become too large
  1984.  there are now 1793. words free in which more modems may be defined
  1985.  defined T3000X.42 modem (it's the T3000V.42 but with XOFF restraint)
  1986.  convert T3000 (DTE falls back to DCE) definition to XOFF flow control
  1987.  
  1988. 2 KRTOSI.MAC
  1989.  
  1990.  fix test for running LTC to accomodate QED's fast PDP-11s
  1991.  
  1992. 2 KRTPAK.MAC
  1993.  
  1994.  make .TOGO = 16, fixing a (harmless) typo (was 26)..
  1995.  dump ^A = restart a packet for SET CONTROL UNPREFIX 1 operation
  1996.  BUFFIL back to root (KRTPAK), for speed and room now available
  1997.  ERROR: now sends error packet when link is open and xfr in progress
  1998.  modify BUFFIL to do BUFPAK too, for repeated char encoding
  1999.  
  2000. 2 KRTREC.MAC
  2001.  
  2002.  support gets to LP
  2003.  display file size in "created file" messages
  2004.  fix unpopped stack on error exit from bufemp
  2005.  display file type in file create message
  2006.  display file name sent back by remote Kermit
  2007.  
  2008. 2 KRTRMS.MAC
  2009.  
  2010.  add support for SET WILDCARDS
  2011.  add support for specifying file size as in "file.nam[siz]"
  2012.  use er$wpe (write past EOF) instead of er$eof for .writw error reporting
  2013.  move getnxt, getcr0, tgetcr here from KRTPAK
  2014.  add REWIND routine
  2015.  
  2016. 2 KRTSEN.MAC
  2017.  
  2018.  sdat$$ now rewinds instead of close/reopen to get back to top of file
  2019.  undo repeated char encoding before dispaying remote ACK packet
  2020.  display file size and type in "sending file" messages
  2021.  display contents of SEND FILE ACK packet, if any..
  2022.  redo data packet at sdat$$ when resizing due to first one failing
  2023.  so the next retry is actually done with the smaller sized packet
  2024.  
  2025. 2 KRTSER.MAC
  2026.  
  2027.  disallow gets to TT
  2028.  gen.h now displays the real version data ala SHO VER
  2029.  clean up remote command response code, display reasons for retries
  2030.  move C$BYE and REMFIN into now improved REMOTE command processor
  2031.  on error resend REMOTE command packet before listening again
  2032.  dump BUFPAK, use BUFFIL instead for repeated char encoding
  2033.  
  2034. 2 KRTSHO.MAC
  2035.  
  2036.  enhanced SHOW CL
  2037.  individually display attributes, ala C-Kermit
  2038.  add SHOW CONTROL-CHARACTER
  2039.  add SHOW WILDCARDS
  2040.  moved SHO VERSION to KRTCMD so the server can also call it..
  2041.  add SHO DAYTIME
  2042.  SHO ALL now shows all, moved to KRTCMD so it can call everything
  2043.  
  2044. 2 KRTSTD.MAC
  2045.  
  2046.  consolidate local data..
  2047.  add SET WILDCARDS
  2048.  
  2049. 2 KRTST0.MAC
  2050.  
  2051.  add SET CONTROL-CHARACTER
  2052.  consolidate local data..
  2053.  add file name to when logging to LP so later OS versions are happy
  2054.  
  2055. 2 KRTST1.MAC
  2056.  
  2057.  allow attributes to be individually set, ala C-Kermit
  2058.  modify SET FLOW XON to force quoting of XOFF and XON chars
  2059.  consolidate local data..
  2060.  add SET FILE WILDCARDS
  2061.  cd with no arg defaults to home dir, shows default after executing
  2062.  
  2063.  /E64/    05-May-96  John Santos
  2064.  
  2065.  Fix bug in SET TERM which always set NOSCOPE
  2066.  
  2067. 2 KRTSUB.MAC
  2068.  
  2069.  move unfmts here so KRTMDM can live in KRTCVT's overlay ...
  2070.  
  2071. 2 KRTXMO.MAC
  2072.  
  2073.  disallow sends from TT (not supported, makes Kermit hang)..
  2074.  
  2075. 1 REMOTE
  2076.  
  2077.  Send the specified command to a Kermit server.  If the server can not
  2078.  execute the command (these are all optional features of Kermit) it'll
  2079.  reply with a error message, otherwise the returned data are displayed
  2080.  on your screen.
  2081.  
  2082.  Note that any arguments given will be converted to upper case or left
  2083.  as input according to the state of SET FILE NAMING [NO]LOWER-CASE.
  2084.  
  2085.     Kermit-11>REM command [argument(s)]
  2086.  
  2087. 2 CD
  2088.  
  2089.  Makes the specified directory the default for the remote server.
  2090.  If no device/directory is given some Kermits, including this one
  2091.  and C-Kermit, will default to the home (login) directory.
  2092.  
  2093. 2 COPY
  2094.  
  2095.  The server is asked to make a copy of the specified file within its
  2096.  own system.  Both file specs must be correct for the remote system.
  2097.  Kermit-11 doesn't parse or validate the file names.  Leading spaces
  2098.  will be stripped.  Case conversion is controlled by SET FILE NAMING
  2099.  [NO]LOWER-CASE.  Wildcards are unsupported under RT-11 or TSX-Plus.
  2100.  
  2101.  Note this command  simply  provides  for  copying a file within the
  2102.  server's system - it does not cause a file to be transferred.
  2103.  
  2104.     Kermit-11>REM COPY filespec newfilespec
  2105.  
  2106. 2 CWD
  2107.  
  2108.  Synonym for REMOTE CD.
  2109.  
  2110. 2 DELETE
  2111.  
  2112.  Tells the server to delete the specified file.
  2113.  The entire command name "DELETE" must be given
  2114.  as some small protection against accidents.
  2115.  
  2116. 2 DIRECTORY
  2117.  
  2118.  The names of the files that match a given file specification
  2119.  will be displayed on your screen, perhaps with size and date
  2120.  info for each.   If no file specification is given all files
  2121.  in the current directory will be listed.
  2122.  
  2123.     Kermit-11>REM DIR *.MAC
  2124.  
  2125. 2 HELP
  2126.  
  2127.  List commands the server can execute.
  2128.  
  2129. 2 HOST
  2130.  
  2131.  Pass the given command to the server's  host  command  processor,
  2132.  and  display the resulting output on your screen.  Not all Kermit
  2133.  servers support this function.  In the case of Kermit-11 only the
  2134.  RSTS/E server can execute a REMOTE HOST command.
  2135.  
  2136. 2 LOGIN
  2137.  
  2138.  Ask a remote server to log into a different account or username.
  2139.  The support  for  this  command  is  rarely  implemented as many
  2140.  systems layer  login/logout  support over the executive.  Of the
  2141.  various PDP-11 operating systems only RSTS/E V9.0 or above makes
  2142.  the necessary system calls available.
  2143.  
  2144.     Kermit-11>REM LOG username [optional-password]
  2145.  
  2146. 2 RENAME
  2147.  
  2148.  Renames a file on the remote system.  Both file specifications
  2149.  must be valid on the remote system, they are not checked here.
  2150.  
  2151.     Kermit-11>REM RENAME oldname newname
  2152.  
  2153. 2 SPACE
  2154.  
  2155.  Returns a summary of the amounts of space available and in use
  2156.  on the remote host.  A device or files argument is optional.
  2157.  
  2158. 2 TYPE
  2159.  
  2160.  Types a file from a remote Kermit server.  This Kermit doesn't
  2161.  support wildcards for this method of typing files.
  2162.  
  2163.     Kermit-11>REM TY FUBAR.MAC
  2164.  
  2165. 2 WHO
  2166.  
  2167.  Returns a list of who's logged on the remote system.  Arguments
  2168.  are passed to the remote and may be used if the remote supports
  2169.  them.
  2170.  
  2171. 1 RENAME
  2172.  
  2173.  Renames a single, local (only) file.
  2174.  
  2175.     Kermit-11>RENAME oldname newname
  2176.  
  2177. 1 SEND
  2178.  
  2179.  Sends a file or group of files to the other system.   Wildcards may be
  2180.  used, in which case files are sent in order of their directory entries
  2181.  in the device containing them.  If you're SENDing on Kermit-11 running
  2182.  in its remote mode,  SET DELAY governs the time allowed to escape back
  2183.  to one's local Kermit to initiate the RECEIVE mode (default = 6 secs).
  2184.  If you miss the first packet Kermit will retry it after timing out.
  2185.  
  2186.  If you're running Kermit-11 locally, for instance dialing out from the
  2187.  PDP-11 to another system, you must first run Kermit on the remote then
  2188.  issue either a RECEIVE or SERVER command and escape back to Kermit-11.
  2189.  Once you give the SEND command the name of each file will be displayed
  2190.  on your screen as its transfer begins.  As  the transaction progresses
  2191.  packet statistics are updated and displayed.  See the SET TERMINAL and
  2192.  SET UPDATE commands for more information.
  2193.  
  2194.  Once the actual data transfer has begun, you may type Ctrl-X to cancel
  2195.  the current file, Ctrl-Z to  bomb  the  whole file group, or Ctrl-E to
  2196.  abort the transfer by sending an  "error"  packet to the other Kermit.
  2197.  If you have a problem BEFORE the first data packet can be sent, Ctrl-C
  2198.  is the only abort possible.
  2199.  
  2200.  If the automatic binary file select is on (SET FILE AUTO, the default)
  2201.  the transmission mode is determined by searching the binary types list
  2202.  for each file.   If it is not possible to exchange attributes you will
  2203.  need to SET FILE TYPE  and  SET BLOCK-CHECK  as required on both sides
  2204.  before starting.
  2205.  
  2206.  If parity is in use (see HELP SET PARITY) Kermit-11 will ask the other
  2207.  Kermit to use a special kind of "prefixing" notation for binary files.
  2208.  This is an advanced feature and not all Kermits have it.  If the other
  2209.  Kermit can't accommodate this feature,  binary  files  can not be sent
  2210.  correctly.  This includes executable programs, object modules, and any
  2211.  text file containing characters with the high bit set.
  2212.  
  2213.  Kermit-11 will also check the other side for a special prefix encoding
  2214.  for repeated characters.  If supported, files with long strings of the
  2215.  same character will be transmitted very  efficiently.   Columnar data,
  2216.  highly indented text and binary files are the primary beneficiaries of
  2217.  this technique.
  2218.  
  2219.             SEND Command Summary:
  2220.  
  2221.     Sends files to another Kermit.  If that Kermit isn't a server the
  2222.     transmission begins after the number of seconds  specified by SET
  2223.     DELAY.  This allows  time to escape back to your local Kermit and
  2224.     issue a receive command.  The server is far easier to use, unless
  2225.     your Kermit can't do remote commands.  Wildcarded renaming is not
  2226.     supported, except an optional output device (only) may be used to
  2227.     place a single file where desired.
  2228.  
  2229.     Kermit-11>SEND *.MAC
  2230.     Kermit-11>SEND afile dev:    ; put afile on dev:
  2231.     Kermit-11>SEND afile asfile    ; rename to asfile
  2232.     Kermit-11>SEND afile,b*,cfile    ; comma delimits file names
  2233.  
  2234. 1 SERVER
  2235.  
  2236.  The SERVER command puts a remote Kermit into a server mode, so that it
  2237.  expects further commands as packets from your own local client Kermit,
  2238.  allowing various things to be done at the remote without the bother of
  2239.  first connecting back to it.  This Kermit-11 when run as a server will
  2240.  handle these commands:  BYE, CD, COPY, DELETE, DIRECTORY, FINISH, GET,
  2241.  HELP, RENAME, SEND, SPACE and TYPE.
  2242.  
  2243.  If Kermit-11 is in the local mode, the server will connect to the comm
  2244.  handler.  The speed will be the last used, including possible fallback
  2245.  to accommodate a called system.  However, Kermit-11 doesn't attempt to
  2246.  determine if such a session remains active before starting the server.
  2247.  If the speed reported is not what you need you must exit and reset it.
  2248.  Upon exiting, the server returns control to the terminal which ran it.
  2249.  Under TSX-Plus access and privileges will be those of the job starting
  2250.  Kermit-11.  The normal logon security is NOT present, and care must be
  2251.  taken regarding who can access the other end of the line.
  2252.  
  2253.  Kermit-11 will use the client's block check scheme,  packet length and
  2254.  such as long as nothing affecting any of that has been shut off before
  2255.  invoking the server.  The BINARY-TYPE list will be used to select text
  2256.  or image mode when sending unless specific file type has been set.  If
  2257.  your local Kermit doesn't support exchanging attributes, SET FILE TYPE
  2258.  and SET BLOCK-CHECK as needed on BOTH ends before running the server.
  2259.  
  2260.  When running in local mode, Kermit-11 allows you to send a broad range
  2261.  of commands to a remote Kermit server.  There is no guarantee that the
  2262.  remote server can process them, since they are all  optional  features
  2263.  of the protocol.  Commands for servers include the standard SEND, GET,
  2264.  BYE and FINISH as well as REMOTE versions of many local commands.  See
  2265.  HELP REMOTE for details.
  2266.  
  2267.         SERVER Command Summary:
  2268.  
  2269.     BYE        Logs  off  the  system
  2270.     REMOTE COPY    Copy a file to another
  2271.     REMOTE CWD    Changes server default
  2272.     REMOTE DELETE    Erases specified  file
  2273.     REMOTE DIR    Prints   a   directory
  2274.     FINISH        Exit server, reconnect
  2275.     GET        Send file(s) to remote
  2276.     REMOTE HELP    Prints this  help text
  2277.     REMOTE RENAME    Rename old file to new
  2278.     SEND        Send file(s) to server
  2279.     REMOTE SPACE    Shows blocks used/free
  2280.     REMOTE TYPE    Types a specified file
  2281.  
  2282. 1 SET
  2283.  
  2284.  The SET command is used to modify various parameters in Kermit.
  2285.  Multiple arguments, including spaces between them, for the same
  2286.  parameter may be delimited with commas.
  2287.  
  2288.     Kermit-11>SET parameter keyword[, key words-1, keyword-2, ..]
  2289.  
  2290. 2 ATTRIBUTES
  2291.  
  2292.  Part of the  Kermit  protocol  is  the  support  of  file  attributes.
  2293.  Connected Kermits that support this can send information to each other
  2294.  about size, date/time of creation, protection and other useful things.
  2295.  
  2296.  Due to potential problems with incompatible implementations attributes
  2297.  may be disabled.  In this case, Kermit will not send them, even though
  2298.  the receiver may have indicated that it supports them.  The default is
  2299.  attributes enabled.
  2300.  
  2301.     Kermit-11>SET ATTR OFF
  2302.     Kermit-11>SET ATTR ON
  2303.  
  2304.  You may also exercise control over each attribute individually, all of
  2305.  which are documented in the following subtopics.  For example:
  2306.  
  2307.     Kermit-11>SET ATTR TYPE OFF
  2308.     Kermit-11>SET ATTR TYPE ON
  2309.  
  2310.  ATTRIBUTES (overall control) must be set ON (the default), regardless
  2311.  of their individual settings, before anything is actually processed.
  2312.  
  2313.  Note the determination of whether to send a file in the image mode is
  2314.  by the state of SET FILE, and it may be necessary to select something
  2315.  specific (besides AUTO, which defaults to text) for it when disabling
  2316.  ATTRIBUTES processing.
  2317.  
  2318.  When receiving text files from a non RT-11 system this Kermit will add
  2319.  25% to the received file size as record terminators are often excluded
  2320.  from what is reported, or are of a different size (Unix).  Files close
  2321.  to the maximum free space may be accommodated by SET FILE CREATE-SIZE,
  2322.  which overrides any passed size attribute.
  2323.  
  2324. 3 ALL
  2325.  
  2326.  Provides simultaneous control of the DATE, EXACT-LENGTH, LENGTH,
  2327.  PROTECTION, SYSTEM-ID, SYSTEM-INFO and TYPE attributes.
  2328.  
  2329. 3 DATE
  2330.  
  2331.  The "#" (oct 43) date attribute.  Creation dates from 1972 to 2099 only.
  2332.  Versions of RT-11 prior to V5.5 limit the maximum date to 2034, or 1999.
  2333.  Under TSX the time is included, which is truncated to TSX's three second
  2334.  resolution.
  2335.  
  2336. 3 EXACT-LENGTH
  2337.  
  2338.  The "1" (oct 61) exact file length in bytes attribute.  Useful to move
  2339.  a file of an odd number of blocks length in a hole of exactly the same
  2340.  size.
  2341.  
  2342. 3 LENGTH
  2343.  
  2344.  The "!" (oct 41) file length in 1kb blocks attribute.
  2345.  
  2346. 3 OFF
  2347.  
  2348.  Disables all attribute processing regardless of each's individual status.
  2349.  Does not alter the state of any individual attribute control flag.
  2350.  
  2351. 3 ON
  2352.  
  2353.  Enables attribute processing for those which have been individually selected.
  2354.  Does not alter the state of any individual attribute control flag.
  2355.  
  2356. 3 PROTECTION
  2357.  
  2358.  The "-" (oct 55) file protection attribute.  Used here within RT-11's
  2359.  limits.  That is, a file is considered protected when it has no write,
  2360.  append or delete access.
  2361.  
  2362. 3 SYSTEM-ID
  2363.  
  2364.  The "." (oct 56) machine and operating system of origin attribute.
  2365.  
  2366. 3 SYSTEM-INFO
  2367.  
  2368.  The "0" (oct 60) special system-dependent parameters attribute.
  2369.  Here this carries the '"' (oct 42) file type attribute extended
  2370.  to include DEC-Multinational (8-bit text) files.
  2371.  
  2372. 3 TYPE
  2373.  
  2374.  The '"' (oct 42) file type (ASCII, Binary, Image) attribute.
  2375.  
  2376. 2 BAUD
  2377.  
  2378.  Synonym for SET SPEED.
  2379.  
  2380. 2 BINARY-TYPE
  2381.  
  2382.  Kermit-11 maintains a list of file types that's scanned to decide
  2383.  if a file should be sent in the binary mode.   This list includes
  2384.  commonly used binary file types, may be displayed with SHO BINARY
  2385.  and appended up to 31 total types, one type per command line.
  2386.  
  2387.     Kermit-11>SET BIN xyz
  2388.  
  2389.  The state of SET FILE determines whether the binary list test will
  2390.  be used to control the transmission mode for files.  Use SHOW FILE
  2391.  to display it.
  2392.  
  2393. 2 BLOCK-CHECK-TYPE
  2394.  
  2395.  Determines the block checking scheme to be used during transmission to
  2396.  to detect errors.  There are three types available:  the one character
  2397.  checksum (default), the two character checksum and the three character
  2398.  CRC (cyclic redundancy check).   Both Kermits involved in the transfer
  2399.  must agree on the block check type.   Kermit-11 will request the block
  2400.  check set by this command be used for a transfer.  If the other Kermit
  2401.  can't recover this from the init packet then the block check type must
  2402.  be manually set on BOTH sides, otherwise the single character checksum
  2403.  will be used.  Binary files should be sent with CRC block checking.
  2404.  
  2405.     Kermit-11>SET BLO 1    ; one char checksum
  2406.     Kermit-11>SET BLO 2    ; two char checksum
  2407.     Kermit-11>SET BLO 3    ; three char CRC
  2408.  
  2409. 2 CL:
  2410.  
  2411.  You may attach a CL unit to a port known to TSX-Plus using the
  2412.  same syntax as when doing it from the monitor:
  2413.  
  2414.     Kermit-11>SET CL1 LINE 12
  2415.  
  2416.  Here this also allocates the device and assigns it as the link
  2417.  used for file transfers (as if you SET LINE CL1).  If the line
  2418.  has an auto-answer modem on it, one should SET SPEED if needed
  2419.  and SET MODEM immediately afterwards  to make sure an incoming
  2420.  call is not answered when TSX can't respond.  The CL handler's
  2421.  default speed is 9600.
  2422.  
  2423.  Under TSX when data are actually passing though the CL handler
  2424.  priority may be raised to avoid dropping chars by performing a
  2425.  SET CL PRIORITY nn command from within Kermit.  This is better
  2426.  than from the monitor as priority is only elevated when really
  2427.  necessary, and is otherwise restored to its original value.  A
  2428.  suggested starting point is 71 for 9600 on a moderately loaded
  2429.  system.  Be aware placing Kermit into the real-time mode isn't
  2430.  nice to other users, nor should it ever be needed (80 or above
  2431.  when using TSX's defaults).
  2432.  
  2433.  The cross-connection may be released, the TSX line restored to
  2434.  its normal state and the CL unit deallocated by:
  2435.  
  2436.     Kermit-11>SET CL1 LINE 0
  2437.  
  2438.  This includes placing the modem on said port back in its idle,
  2439.  auto-answer state if you had SET MODEM earlier (taking it off-
  2440.  line) in the session.  After assigning a CL unit to a TSX line
  2441.  the above and SET LINE TT are functionally equivalent, and any
  2442.  other line assignment made from within Kermit resets any prior
  2443.  arrangement if it's successful, with the exception that if you
  2444.  did not attach to a TSX port from Kermit then that will not be
  2445.  dropped.  The device is deallocated in all cases.
  2446.  
  2447.  Under TSX on a PRO/3xx Kermit-11 will try to assign CL0 or CL1
  2448.  to Line 3.  On other hardware you may define lists of CL units
  2449.  and ports then have Kermit scan through them seeking the first
  2450.  available combination:
  2451.  
  2452.     Kermit-11>SET CL PORTS 11 9 8 7 6
  2453.     Kermit-11>SET CL UNITS 0 1 2
  2454.     Kermit-11>SET CL LINE *        ; assign from the above
  2455.  
  2456.  Placing it all on the same command line is more efficient when
  2457.  doing this from the initialization (KRT.INI) file:
  2458.  
  2459.     Kermit-11>SET CL POR 11 9 8 7 6,UNI 0 1 2,LIN *
  2460.  
  2461.  Port (TSX time-sharing and/or CL line) numbers may be 2 to 40.
  2462.  Only CL units 0 to 7 are supported here.
  2463.  
  2464.  Additionally, one may specify a SPEED, MODEM-TYPE and XMODE to
  2465.  be set for each port, should one be successfully acquired:
  2466.  
  2467.     Example>> SET CL PORTS TSX-LINE#/SPEED/MODEM-TYPE/XMODE
  2468.     Kermit-11>SET CL PORTS 9/19200/T25/3 11/2400/H/6,UNI ..
  2469.  
  2470.  Here as parameters are nested, each requires everything before
  2471.  it, though everything after any particular item (to its right)
  2472.  may be omitted.   The "/" is used as a parameter delimiter and
  2473.  space separates the individual argument for each port.  Speeds
  2474.  and Hayes-style extended result code option (XMODE, the number
  2475.  following "X" in its command string) values must be entered in
  2476.  full.  Modems need specify only the minimum chars necessary to
  2477.  render the string non-ambiguous.  See HELP SET MODEM, HELP SET
  2478.  PHONE XMODE and HELP SET SPEED for detailed info about exactly
  2479.  what is currently supported by this Kermit.
  2480.  
  2481.  This is best done in a system-wide init file, allowing several
  2482.  users to access modems without any worry about details such as
  2483.  which  are  currently  in use.  If KRT.INI can't be shared the
  2484.  individual initialization files may include the above.  With a
  2485.  rotary (hunt group) the PORTS are usually best done in reverse
  2486.  order of how incoming calls are handled, and dialing done from
  2487.  a TAKE file wherein the line is set just before dialing.  This
  2488.  minimizes  the potential for an incoming call arriving between
  2489.  grabbing the port and actually going off-hook.
  2490.  
  2491.  Ports and units are tried in the order specified.  Up to eight
  2492.  CL units and 128 bytes of PORTS data may be defined.  SHOW  CL
  2493.  displays the current contents of these strings.
  2494.  
  2495.  A complete reset of everything engaged from within Kermit will
  2496.  be done when exiting the program, except the CL unit is always
  2497.  deallocated regardless of how or when it was allocated.
  2498.  
  2499.  SHOW LINE displays the current status of CL, when it's in use.
  2500.  
  2501. 2 CONSOLE
  2502.  
  2503.  This pertains to Kermit's terminal emulator (the CONNECT mode).
  2504.  Use SET TERMINAL to alter your terminal parameters.
  2505.  
  2506.  SHOW CONSOLE to display the status of all these except priority,
  2507.  which is part of SHOW LINE.
  2508.  
  2509. 3 7-BIT
  2510.  
  2511.  The default mode is 7-bit unless the terminal is detected or set
  2512.  as a VT-200, in which case one may need to set the 7-bit mode to
  2513.  avoid displaying extraneous hi-bit data.
  2514.  
  2515.     Kermit-11>SET CON 7    ; strips hi bits
  2516.  
  2517. 3 8-BIT
  2518.  
  2519.  Useful only under TSX-Plus or with the KM handler.
  2520.  
  2521.     Kermit-11>SET CON 8    ; pass data with hi bits intact
  2522.  
  2523. 3 BREAK
  2524.  
  2525.  Break length may be set SHORT (.283 sec, the default) or LONG (3 secs).
  2526.  
  2527. 3 MILNET
  2528.  
  2529.  If you are working with a MILNET Terminal Access Controller or
  2530.  other device which needs XONs to wake it up, Kermit may be set
  2531.  to send a couple automatically when CONNECTing:
  2532.  
  2533.     Kermit-11>SET CON MILNET  ; send wakeup XONs
  2534.     Kermit-11>SET CON NOMIL   ; don't XON, the default
  2535.  
  2536. 3 PRIORITY
  2537.  
  2538.  Under TSX when data are actually passing though a non-multiplexed
  2539.  serial line interface (one which generates an interrupt for every
  2540.  character) priority may be raised to avoid dropping characters by
  2541.  using KRT's SET CONSOLE PRIORITY nn command.  This is better than
  2542.  doing it from the keyboard monitor as KRT's priority will only be
  2543.  elevated when actually necessary and otherwise is returned to its
  2544.  original value.
  2545.  
  2546.  A suggested starting point is 65 for 9600 and a moderately loaded
  2547.  system (if the normal priority remains the default 50).  Be aware
  2548.  placing Kermit into the real-time mode isn't nice to other users,
  2549.  nor is it ever necessary for this type of problem.
  2550.  
  2551. 2 CONTROL-CHARACTER
  2552.  
  2553.  The purpose of the SET CONTROL UNPREFIX command is to UNILATERALLY configure
  2554.  Kermit  to  skip  prefixing  and  printable  encoding  of  selected  control
  2555.  characters to achieve  higher  performance when sending files.  This feature
  2556.  takes advantage of the fact that  most  Kermit programs  will accept control
  2557.  characters within packet data-fields literally, provided they get through at
  2558.  all, and provided they don't have a special meaning to the receiving Kermit.
  2559.  
  2560.  There is no automatic negotiation between Kermits to determine a safe set of
  2561.  control characters because often some of the info needed won't be available.
  2562.  For example, there might be a terminal server or PAD between  them  that  is
  2563.  sensitive to a particular control character, even though the two Kermits are
  2564.  not.
  2565.  
  2566.  If you SET CONTROL UNPREFIXED one or more control characters that are unsafe
  2567.  any of several things may happen:
  2568.  
  2569.   1. Transfer of any file containing these characters will fail.
  2570.  
  2571.   2. The receiving Kermit program might be interrupted or halted.
  2572.  
  2573.   3. Your connection might become hung, stuck or broken.  For instance
  2574.      a particular control character might cause a PAD, terminal server
  2575.      or similar device to go from its on-line mode to a command mode.
  2576.  
  2577.  The set of safe control characters depends on the two Kermit programs,  their
  2578.  settings,  the  host  operating systems and their settings, communication and
  2579.  flow control methods, and all the devices,  drivers,  and  protocols that lie
  2580.  between  the  two  Kermit  programs.  The optimal safe set must be determined
  2581.  experimentally.  Create a short file containing  all  256  possible  bytes in
  2582.  in sequence and also in pairs,  as well as several text strings surrounded by
  2583.  CR-LF pairs - for example, run the following BASIC program:
  2584.  
  2585.  1 OPEN "DK:KRTTST.DAT" FOR OUTPUT AS FILE #1
  2586.  2 PRINT #1,"256-byte singles test pattern:"
  2587.  3 FOR X=0 TO 255 \ PRINT #1,CHR$(X); \ NEXT X
  2588.  4 PRINT #1,"256-byte doubles test pattern:"
  2589.  5 FOR X=0 TO 255 \ PRINT #1,CHR$(X)+CHR$(X); \ NEXT X
  2590.  6 PRINT #1,"End of test patterns" \ CLOSE #1
  2591.  
  2592.  To send the test file to MS-DOS Kermit from KRT the following chars are the
  2593.  minimum requiring prefixing - you may need to add to this:
  2594.  
  2595.     Kermit-11>SET CONT UNP ALL   ; Off all prefixing but NULL, XOFF/XON
  2596.     Kermit-11>SET CONT PRE 1     ; Turn it back on for packet-start char
  2597.     Kermit-11>SET CONT PRE 129   ; and 8-bit version thereof
  2598.  
  2599.  Or to send the test file to KRT Kermit, the other Kermit must at least:
  2600.  
  2601.     Kermit>SET CON U ALL         ; Turn prefixing off for all chars
  2602.     Kermit>SET CON P 0           ; If NUL was off'd, turn it back on
  2603.     Kermit>SET CON P 3           ; and for Ctrl-C
  2604.     Kermit>SET CON P 131         ; as well as Ctrl-C + parity bit
  2605.  
  2606.   Note well that all character values for the SET CONTROL-CHAR command must
  2607.   be specified as DECIMAL numbers (delimited by spaces) or the word ALL may
  2608.   be used to specify the entire range of values (1-31, 127-159, 255).
  2609.  
  2610.  Try to send the test file in the BINARY mode.  If it works, fine.  If not try
  2611.  prefixing some of the other likely control characters (see below).  Some care
  2612.  is necessary if you are running the KRT server from an RT-11 system's console
  2613.  port, as it is not possible to disable special character processing, but this
  2614.  is no problem under TSX-Plus.   Once you've found the minimum set of prefixed
  2615.  control characters for the test file, it's likely they will also work for any
  2616.  other file.  Try sending a large binary file to confirm all is well.
  2617.  
  2618.  If the mininum set doesn't work, this list of control characters and problems
  2619.  they are apt to cause may help to more efficiently determine what's possible:
  2620.  
  2621.  set con p 0   ; Ctrl-@ = NUL, internal string terminator in Kermit
  2622.                ;          Also, often discarded as padding
  2623.  set con p 1   ; Ctrl-A = Packet-start character
  2624.  set con p 3   ; Ctrl-C = Packet breakout for remote-mode C-Kermit, MS-Kermit
  2625.                ;          and above all, for KRT Kermit too!
  2626.  set con p 13  ; Ctrl-M = Carriage return, always prefix on TELNET connections
  2627.  set con p 14  ; Ctrl-N = Shift Out of graphics mode
  2628.  set con p 15  ; Ctrl-O = Shift In to graphics mode, or abort TT output
  2629.  set con p 16  ; Ctrl-P = Commonly-used X.25/X.3 PAD escape character
  2630.  set con p 17  ; Ctrl-Q = XON   ) must prefix with
  2631.  set con p 19  ; Ctrl-S = XOFF  ) XOFF flow control
  2632.  set con p 27  ; Ctrl-[ = ESC, prefix if transiting some kind of ANSI device
  2633.  set con p 28  ; Ctrl-\ = CONNECT-mode escape for KRT Kermit
  2634.  set con p 29  ; Ctrl-] = CONNECT-mode escape for Unix TELNET
  2635.  set con p 30  ; Ctrl-^ = Cisco terminal server escape, MultiNet telnet escape
  2636.  set con p 127 ; Ctrl-? = DEL, often discarded as padding
  2637.                ;          Also becomes TELNET IAC if parity bit is added
  2638.  set con p 128 ; NUL    + 128  }
  2639.  set con p 129 ; Ctrl-A + 128  } these four should track
  2640.  set con p 131 ; Ctrl-C + 128  } their 7-bit counterparts
  2641.  set con p 141 ; CR     + 128  }
  2642.  set con p 145 ; XON    + 128  ) must prefix with
  2643.  set con p 147 ; XOFF   + 128  ) XOFF flow control
  2644.  set con p 255 ; TELNET IAC, prefix on TCP/IP TELNET connections
  2645.  
  2646.  NOTES:  1 and 129 need not be prefixed when sending files to KRT Kermit,  but
  2647.  must be prefixed when sending files to MS-DOS Kermit.  13 normally needn't be
  2648.  prefixed when sending files to either C-Kermit or MS-DOS Kermit,  except on a
  2649.  TELNET connection (because TELNET servers are likely to change CR-LF into CR)
  2650.  or with VMS where C-Kermit can not be made to ignore CR as the EOL character.
  2651.  
  2652.  Kermit  will  not  let you unprefix  XON (17),  XOFF (19),  XON+128 (145), or
  2653.  XOFF+128 (147)  if  its  FLOW-CONTROL  setting  is  XOFF/XON.  If you want to
  2654.  unprefix these, make sure  *both*  Kermits have been told to SET FLOW RTS/CTS
  2655.  (or NONE) and  that  XOFF  flow  control  is not in effect anywhere along the
  2656.  communication path between the two Kermits.  NUL (0) should always prefixed.
  2657.  
  2658.  When sending files to C-Kermit,  you should normally SET CONTROL PREFIX 3 131
  2659.  because C-Kermit (by default) takes two Ctrl-Cs in a row as a cancellation of
  2660.  packet-mode.  You can  UNPREFIX  these if the files to be sent do not contain
  2661.  two Ctrl-Cs in a row.  Or, you may tell C-Kermit to SET TRANSFER CANCELLATION
  2662.  OFF,  or SET TRANSFER CANCELLATION ON <char> <numb> when you know that <numb>
  2663.  copies of <char> do not occur in a row in the data.
  2664.  
  2665. 3 PREFIXED
  2666.  
  2667.  Use to restore prefixing for the control characters specified or the argument
  2668.  ALL may be used.  Multiple arguments must be delimited by spaces.  By default
  2669.  all control characters (0-31, 127-159, and 255) are prefixed.
  2670.  
  2671.  See HELP SET CONTROL-CHARACTER for detailed information.
  2672.  
  2673. 3 UNPREFIXED
  2674.  
  2675.  Causes Kermit to transmit the specified control characters literally, without
  2676.  the usual prefixing and translation to a printable value.  Characters must be
  2677.  speficied as decimal numbers separated by spaces (1-31, 127-159, 255 or ALL).
  2678.  
  2679.     Kermit-11>SET CONTROL UNPREFIXED ALL
  2680.     Kermit-11>SET CONTROL UNPREFIXED 2 4 5 18 20
  2681.  
  2682.  See HELP SET CONTROL-CHARACTER for detailed instructions and information.
  2683.  
  2684. 2 DEBUG
  2685.  
  2686.  Used to specify the type and level of debugging written to a disk
  2687.  file, which must first have been created via the LOGFILE command,
  2688.  or may be optionally specified as an additional argument for this
  2689.  command.  There are also options to display debugging data on the
  2690.  terminal with or without writing to a disk file.   When a logfile
  2691.  is closed all disk based debug modes are reset (turned off).
  2692.  
  2693.     Kermit-11>SET DEBUG mode [logfile]
  2694.  
  2695. 3 ALL
  2696.  
  2697.  Synonym for SET DEBUG ON.
  2698.  
  2699. 3 CONSOLE
  2700.  
  2701.  Turns on logging for input received from the remote in the
  2702.  CONNECT mode to the disk file specified by LOGFILE.  While
  2703.  you're actually CONNECTed logging may be controlled by the
  2704.  escape character followed by Q to suspend, or R to enable.
  2705.  Cancels any other disk based debug option(s) then in use.
  2706.  
  2707. 3 CONNECT
  2708.  
  2709.  Synonym for SET DEBUG CONSOLE.
  2710.  
  2711. 3 NONE
  2712.  
  2713.  Turns off ALL debugging, including TT, RPACK and disk based,
  2714.  and closes the logfile.   Individual items are controlled by
  2715.  SET DEBUG ON, CONSOLE, PACKET, RAW, OFF, [NO]RPACK, [NO]TT.
  2716.  
  2717. 3 NORPACK
  2718.  
  2719.  Turns off the display of received packet chars on the terminal.
  2720.  Note this is a completely separate function from DEBUG's PACKET
  2721.  routine, which delivers a similar display but with headers.  It
  2722.  is also independent of SET DEBUG TT.
  2723.  
  2724. 3 NOTERMINAL
  2725.  
  2726.  Turns off debugging display on the terminal.  This is completely
  2727.  separate from any disk based logging, as well as received packet
  2728.  data displayed via the RPACK option.
  2729.  
  2730. 3 NOTT:
  2731.  
  2732.  Synonym for SET DEBUG NOTERMINAL.
  2733.  
  2734. 3 OFF
  2735.  
  2736.  Turns off all disk based debugging,  and closes the logfile.
  2737.  To turn off RPACK logging SET DEBUG NORPACK.  Debugging sent
  2738.  to TT may be offed via SET DEBUG NOTT.   The entire world of
  2739.  debugging may be dumped with SET DEBUG NONE.
  2740.  
  2741. 3 ON
  2742.  
  2743.  Enables CONSOLE and PACKET logging to the disk file specified
  2744.  by the LOGFILE command.
  2745.  
  2746. 3 PACKET
  2747.  
  2748.  Logs all packets sent and received to the file specified with LOGFILE
  2749.  using headers indicating packet number, type and length.  An asterisk
  2750.  "*" displayed as the packet type indicates a received checksum error.
  2751.  If the type itself is bad (not A-Z) a "?" is substituted.  The packet
  2752.  data are saved to the logfile as-is, that is for binary files or when
  2753.  control chars are unprefixed a text editor may be more convenient for
  2754.  viewing the result.
  2755.  
  2756.  REC.SW = STA.DAT  Data
  2757.  <<< RPACK - Paknum  54    Type  *    Length    82
  2758.      40!100!200>,curatr; hose bits 0,2,5 and unused biuc 6,7#M#J#Ibeq#I10$#M#
  2759.      J#Iclr#Ipr
  2760.  BAD Checksum: RCV,CALC =  24670,  3312
  2761.  >>> SPACK - Paknum  54    Type  N    Length     0
  2762.  TOD 18:53:07.05  60Hz   Elapsed-Time: 00:00:00.33
  2763.  
  2764.  Numeric overflow is indicated by a "*" (in the most significant digit's
  2765.  column) preceding the remainder of the value,  which is also displayed.
  2766.  Received and calculated values of bad checksums are displayed following
  2767.  any data present in the packet.  The current time of day along with the
  2768.  time used to process the packet is included at the end of the entry for
  2769.  each in hours, minutes, seconds and ticks.
  2770.  
  2771.  Severe telephone line noise and/or retraining of modems may cause a bad
  2772.  packet length value, in which case data logged are truncated to fit the
  2773.  maximum available ($ALLSIZ-2) buffer space.
  2774.  
  2775.  Selecting this option cancels any other disk based debug option(s) then
  2776.  in use.
  2777.  
  2778. 3 RAW
  2779.  
  2780.  Logs all packet chars received and sent as 8-bit data to a binary logfile.
  2781.  This option is mutually exclusive of all other disk based debug functions.
  2782.  
  2783. 3 RPACK
  2784.  
  2785.  Dumps each received packet character to the local terminal,
  2786.  independently of all other debug functions.  May be enabled
  2787.  while anything or even everything else is selected but it's
  2788.  best used on its own.  All chars except the current SOH and
  2789.  EOL (and TSLICH if running TSX+) are passed directly to the
  2790.  terminal.  TIMOUTs are also displayed as they occur.
  2791.  
  2792.  SET DEBUG NORPACK turns this off.
  2793.  
  2794.  Note that SET DEBUG TT is a different routine, if both are
  2795.  used at the same time packets will be displayed twice.
  2796.  
  2797.  RPACK types out each character to your terminal immediately
  2798.  as received.  PACKET decodes the SEQ, TYP and LEN then adds
  2799.  a newline after each 72. bytes of packet data displayed.
  2800.  
  2801. 3 TERMINAL
  2802.  
  2803.  Enables display on the terminal of the PACKET option.  It  is
  2804.  not necessary to open a logfile first unless one wishes these
  2805.  same data saved in one, in which case it'll also be necessary
  2806.  to SET DEBUG PACKET.
  2807.  
  2808.   SET DEB NOTERM to turn off this debugging display.  This is
  2809.   completely separate from any disk based logging, as well as
  2810.   received packet data displayed via the RPACK option.
  2811.  
  2812. 3 TT:
  2813.  
  2814.  Synonym for SET DEBUG TERMINAL.
  2815.  
  2816. 2 DEFAULT
  2817.  
  2818.  Makes the specified device the default disk, directing to it
  2819.  file operations for which no device is explicitly specified.
  2820.  
  2821. 2 DELAY
  2822.  
  2823.  Sets the number of seconds to wait before beginning sending a file
  2824.  while in the remote mode.  This is the time allowed to escape back
  2825.  to your local Kermit and issue a RECEIVE command.
  2826.  
  2827.     Kermit-11>SET DELAY number-of-seconds
  2828.  
  2829. 2 DIAL
  2830.  
  2831.  Kermit-11 contains operating parameters for several of the more common
  2832.  auto-dial modems.  To find out if your modem is directly supported use
  2833.  the SET MODEM ? command.  If it is not, you'll need to use SET DIAL to
  2834.  load the data used to control the modem and implement the various DIAL
  2835.  routines.  These involve formatting commands to the modem, and what to
  2836.  expect in the way of modem responses.  As an example the Vadic VA212PA
  2837.  modem is awakened from an idle state by the character sequence (octal)
  2838.  
  2839.     005 015
  2840.  
  2841.  which is Ctrl-E followed by carriage return.  The modem responds with
  2842.  
  2843.     HELLO: I'M READY
  2844.     *
  2845.  
  2846.  Thus Kermit needs to know when it sends the wakeup sequence it should
  2847.  wait for the asterisk to be returned by the modem, after which it may
  2848.  presumed the modem is awaiting further commands, such as that to dial
  2849.  a phone number.
  2850.  
  2851.  Suppose we had to tell Kermit about the Racal Vadic VA212PA (though in
  2852.  reality Kermit already knows this modem).  Checking the owner's manual
  2853.  for it, we find that:
  2854.  
  2855.      To wake the modem up, we type a Ctrl-E followed by a return.
  2856.  
  2857.      To dial a number, we type the letter D  followed by a return.  At
  2858.      this point, the modem prints a NUMBER? prompt and we then type in
  2859.      the desired number.  The number  is  then reprinted and the modem
  2860.      waits for a return from us to confirm it's correct.
  2861.  
  2862.      When it completes dialing it will print "ON LINE" or "ONLINE" for
  2863.      a successful call, otherwise it may return "BUSY", "FAILED CALL",
  2864.      "NO DIAL",  "VOICE"  or  "TIME OUT".  While it is waiting for its
  2865.      call to be answered it may print the line "RINGING" several times
  2866.      to tell you it's working on the call.
  2867.  
  2868.  The Kermit commands required would be:
  2869.  
  2870.     Kermit-11>SET DIAL WAKE-STRING \005\015
  2871.     Kermit-11>SET DIAL ECHO
  2872.     Kermit-11>SET DIAL WAKE-ACK *
  2873.     Kermit-11>SET DIAL INITIATE D\015
  2874.     Kermit-11>SET DIAL FORMAT %P%S\015
  2875.     Kermit-11>SET DIAL DIAL-PAUSE 9K
  2876.     Kermit-11>SET DIAL CONFIRM \015
  2877.     Kermit-11>SET DIAL SUCCESS ONLINE
  2878.     Kermit-11>SET DIAL SUCCESS ON LINE
  2879.     Kermit-11>SET DIAL RINGING RINGING
  2880.     Kermit-11>SET DIAL FAILURE BUSY
  2881.     Kermit-11>SET DIAL FAILURE FAILED CALL
  2882.     Kermit-11>SET DIAL FAILURE NO DIAL
  2883.     Kermit-11>SET DIAL FAILURE TIME OUT
  2884.     Kermit-11>SET DIAL FAILURE VOICE
  2885.  
  2886.  The notation "\005\015" indicates a Ctrl-E followed by a return.  5 is
  2887.  octal for Ctrl-E,  15 is octal for return.   Octal numbers may also be
  2888.  specified by placing the value inside of  inequality  characters as in
  2889.  SET DIAL WAKE <005><015> though the former is preferred.  Octal values
  2890.  may be obtained from HELP ASCII.  If for any reason you need to pass a
  2891.  "\" or "<" to your modem, simply prefix the character with another "\"
  2892.  or "<" as in "\\" or "<<".
  2893.  
  2894.  "%P%S\015" indicates the phone number from the  DIAL  command is to be
  2895.  followed by a return.  "%S" is  a format effector for the phone number
  2896.  string itself,  which causes it to be inserted in the dial string sent
  2897.  to the modem.   "%P" inserts the dial pause string, as in this case we
  2898.  need to dial 9 and wait for a second dial tone.  The "K" is the  Racal
  2899.  Vadic  code to get the modem to pause.  If you are dialing on a direct
  2900.  line or your modem supports pausing via something embedded in the dial
  2901.  string itself, the DIAL-PAUSE command is unneeded.
  2902.  
  2903.  Many modems require only WAKEUP, WAKE-ACK, FORMAT and result strings.
  2904.  The Digital DF112 is a good example.  Its definition would look like:
  2905.  
  2906.     Kermit-11>SET DIAL WAKEUP \002
  2907.     Kermit-11>SET DIAL WAKE-ACK READY
  2908.     Kermit-11>SET DIAL FORMAT %S#
  2909.     Kermit-11>SET DIAL SUCCESS ATTACHED
  2910.     Kermit-11>SET DIAL FAILURE BUSY
  2911.     Kermit-11>SET DIAL FAILURE DISCONNECTED
  2912.     Kermit-11>SET DIAL FAILURE ERROR
  2913.     Kermit-11>SET DIAL FAILURE NO ANSWER
  2914.  
  2915.  Any undefined result string is considered informational only thus this
  2916.  class of response does not need to be expressly defined.
  2917.  
  2918.  If you are using a "Hayes" style modem, its extended response mode may
  2919.  be set by using the %X format effector in the WAKE-STRING.  The number
  2920.  desired is then specified by SET PHONE XMODE n, where n is 0 to 14, or
  2921.  "OFF" to disable it.  %X may also be used in the FORMAT (dial) string,
  2922.  allowing modification without re-initializing the modem.
  2923.  
  2924.  Here's a sample Hayes definition:
  2925.  
  2926.     Kermit-11>SET PHONE TONE,XMODE 4
  2927.     Kermit-11>SET DIAL COMMENT Generic Hayes Command Set
  2928.     Kermit-11>SET DIAL TIME-OUT 45
  2929.     Kermit-11>SET DIAL WAKE-ACK OK
  2930.     Kermit-11>SET DIAL WAKE-STRING AT E1 Q0 V1 S0=0 S7=255 %X \015
  2931.     Kermit-11>SET DIAL ECHO
  2932.     Kermit-11>SET DIAL INIT-ONCE
  2933.     Kermit-11>SET DIAL FORMAT AT %X %A D%M %S \015
  2934.     Kermit-11>SET DIAL ABORT \015
  2935.     Kermit-11>SET DIAL CON19200 CONNECT 19200
  2936.     Kermit-11>SET DIAL CON19200 CONNECT 14400
  2937.     Kermit-11>SET DIAL CON9600 CONNECT 9600    ; fallback only works with
  2938.     Kermit-11>SET DIAL CON4800 CONNECT 4800    ; the CL or KM handlers..
  2939.     Kermit-11>SET DIAL CON2400 CONNECT 2400
  2940.     Kermit-11>SET DIAL CON1200 CONNECT 1200
  2941.     Kermit-11>SET DIAL CON9600 CONNECT FAST
  2942.     Kermit-11>SET DIAL CON300 CONNECT       ; embedded, must be last!
  2943.     Kermit-11>SET DIAL FAILURE BUSY
  2944.     Kermit-11>SET DIAL FAILURE ERROR
  2945.     Kermit-11>SET DIAL FAILURE NO ANSWER
  2946.     Kermit-11>SET DIAL FAILURE NO CARRIER
  2947.     Kermit-11>SET DIAL FAILURE NO DIALTONE
  2948.     Kermit-11>SET DIAL FAILURE NO DIAL TONE
  2949.     Kermit-11>SET DIAL FAILURE VOICE
  2950.     Kermit-11>SET DIAL RINGING RING        ; includes RINGING
  2951.     Kermit-11>SET DIAL RINGING RRING    ; Telebit style..
  2952.     Kermit-11>SET DIAL PULSE P
  2953.     Kermit-11>SET DIAL TONE T
  2954.     Kermit-11>SET DIAL ANSWER S0=1
  2955.     Kermit-11>SET DIAL NOANSWER S0=0
  2956.     Kermit-11>SET DIAL IDLE AT Z \015
  2957.  
  2958.  Some modems are unable to accept data at the line speed, in which case
  2959.  one must employ SET DIAL WAKERATE and SET DIAL DIAL-RATE.   These two
  2960.  functions accept a delay time in clock ticks,  which  are 1/50 or 1/60
  2961.  second units depending on where in the world this program is running.
  2962.  
  2963.  If your modem has a settable timer it should be either disabled or set
  2964.  to the maximum possible (example: the Hayes wakeup string contains S7=
  2965.  255) to allow Kermit-11's internal TIME-OUT to prevail.
  2966.  
  2967.  If your modem hangs, see HELP SET DIAL SETTLE-TIME.  This and TIME-OUT
  2968.  are two special parameters here in that they are global, and used even
  2969.  with Kermit's internal modem definitions.  However, default values are
  2970.  loaded by SET MODEM, thus these must be altered AFTERWARDS, except for
  2971.  the USER-DEFINED modem where what is set BECOMES the default.  This is
  2972.  also the case for SET PHONE XMODE.
  2973.  
  2974.  NOTE:  This program toggles DTR to reset the modem thus the modem must
  2975.  have this option enabled in its default configuration.
  2976.  
  2977.  If the modem echoes command strings sent to it SET DIAL ECHO to enable
  2978.  display of anything output by it.
  2979.  
  2980.  Once all pertinent data have been entered, it is then necessary to SET
  2981.  Kermit's modem-type:
  2982.  
  2983.     Kermit-11>SET MODEM USER-DEFINED
  2984.  
  2985.  If a line (and speed if necessary) has been previously set this causes
  2986.  Kermit to try initializing the modem, the result of which is reported.
  2987.  If successful, you may then use the DIAL command to call out.
  2988.  
  2989. 3 ABORT
  2990.  
  2991.  Defines a string to force the modem to stop dialing.  This is passed
  2992.  to the modem by the strike-any-key abort function of Kermit-11 while
  2993.  waiting for a dialed  call  to complete.  Non-printing chars must be
  2994.  specified in octal notation.
  2995.  
  2996.     Kermit-11>SET DIAL ABORT \003    ; use ^C to stop modem
  2997.  
  2998. 3 ANSWER
  2999.  
  3000.  Defines a string the %A format effector will insert in the dial FORMAT
  3001.  string when it contains said %A effector and you have SET PHONE ANSWER
  3002.  to allow answering a call back from a security modem requiring it.
  3003.  
  3004.     Kermit-11>SET DIAL ANSWER S0=1    ; Hayes does it thusly
  3005.  
  3006.  SHOW MODEM to display its current setting and status.
  3007.  
  3008. 3 BINARY-RESPONSE
  3009.  
  3010.  If your modem responds with single character result messages (sans any
  3011.  terminator ala a return) set this so Kermit will as well.  The default
  3012.  may be restored with SET DIAL NOBINARY-RESPONSE, which enables testing
  3013.  of strings of more than one character.
  3014.  
  3015. 3 BLIND
  3016.  
  3017.  Defines a string to force the modem to dial regardless of its detecting
  3018.  a dial tone or recognizing tone dialing capability on the line.  Actual
  3019.  use of this string in dialing is enabled by SET PHONE BLIND.
  3020.  
  3021.     Kermit-11>SET DIAL BLIND string
  3022.  
  3023. 3 COMMENT
  3024.  
  3025.  Specifies a brief description of the modem definition which is included
  3026.  in the SHOW MODEM display.  Embedded blanks are ok, but multiple spaces
  3027.  will be reduced to a single blank.
  3028.  
  3029.     Kermit-11>SET DIAL COMMENT Hayes-MNP with DTE speed locked
  3030.  
  3031. 3 CON300
  3032.  
  3033.  Define a message from the modem which, as a result of a dialed call
  3034.  will cause Kermit-11 to set its DCE port (ONLY when using the CL or
  3035.  KM handler) to 300 baud and then CONNECT to it:
  3036.  
  3037.     Kermit-11>SET DIAL CON300 CONNECT  ; Hayes defaults to 300
  3038.  
  3039. 3 CON1200
  3040.  
  3041.  Define a message from the modem which, as a result of a dialed call
  3042.  will cause Kermit-11 to set its DCE port (ONLY when using the CL or
  3043.  KM handler) to 1200 baud and then CONNECT to it:
  3044.  
  3045.     Kermit-11>SET DIAL CON1200 CONNECT 1200
  3046.  
  3047. 3 CON2400
  3048.  
  3049.  Define a message from the modem which, as a result of a dialed call
  3050.  will cause Kermit-11 to set its DCE port (ONLY when using the CL or
  3051.  KM handler) to 2400 baud and then CONNECT to it:
  3052.  
  3053.     Kermit-11>SET DIAL CON2400 CONNECT 2400
  3054.  
  3055. 3 CON4800
  3056.  
  3057.  Define a message from the modem which, as a result of a dialed call
  3058.  will cause Kermit-11 to set its DCE port (ONLY when using the CL or
  3059.  KM handler) to 4800 baud and then CONNECT to it:
  3060.  
  3061.     Kermit-11>SET DIAL CON4800 CONNECT 4800
  3062.  
  3063. 3 CON9600
  3064.  
  3065.  Define a message from the modem which, as a result of a dialed call
  3066.  will cause Kermit-11 to set its DCE port (ONLY when using the CL or
  3067.  KM handler) to 9600 baud and then CONNECT to it:
  3068.  
  3069.     Kermit-11>SET DIAL CON9600 CONNECT 9600    ; Hayes
  3070.     Kermit-11>SET DIAL CON9600 CONNECT FAST    ; Telebit
  3071.  
  3072. 3 CON19200
  3073.  
  3074.  Define a message from the modem which, as a result of a dialed call
  3075.  will cause Kermit-11 to set its DCE port (ONLY when using the CL or
  3076.  KM handler) to 19,200 baud and then CONNECT to it:
  3077.  
  3078.     Kermit-11>SET DIAL CON19200 CONNECT 19200
  3079.     Kermit-11>SET DIAL CON19200 CONNECT 14400
  3080.  
  3081. 3 CON38400
  3082.  
  3083.  Define a message from the modem which, as a result of a dialed call
  3084.  will cause Kermit-11 to set its DCE port (ONLY when using the CL or
  3085.  KM handler) to 38,400 baud and then CONNECT to it:
  3086.  
  3087.     Kermit-11>SET DIAL CON38400 CONNECT 38400
  3088.  
  3089. 3 CONFIRM
  3090.  
  3091.  Some modems use a command syntax wherein the number to be dialed is
  3092.  echoed back to the user, after which the user must confirm it is ok
  3093.  by returning an appropriate string:
  3094.  
  3095.     Kermit-11>SET DIAL CONFIRM \015   ; usually just a return
  3096.  
  3097. 3 CONFIRM-ACKNOWLEDGE
  3098.  
  3099.  If your modem issues some sort of confirmation to the DIAL CONFIRM
  3100.  sent to it, and there is  some  reason  to  test that in fact said
  3101.  confirmation has actually been received by Kermit, you may specify
  3102.  what to expect thusly:
  3103.  
  3104.     Kermit-11>SET DIAL CONFIRM-ACK string
  3105.  
  3106.  For example, older Vadic modems would say "DIALING" here.
  3107.  
  3108. 3 DIAL-ACKNOWLEDGE
  3109.  
  3110.  Specifies a string issued by the modem to acknowledge it is dialing.
  3111.  Use of this may be  required  for  error  detection  with some older
  3112.  modems, but it's normally not necessary.
  3113.  
  3114.     Kermit-11>SET DIAL DIAL-ACK \015   ; usually just a return
  3115.  
  3116. 3 DIAL-PAUSE
  3117.  
  3118.  Defines the string for dial tone pause, which string is passed to the
  3119.  modem by placing the %P format effector in the actual dialing string,
  3120.  which in turn is defined with the SET DIAL FORMAT command.
  3121.  
  3122.     Kermit-11>SET DIAL DIAL-PAUSE string
  3123.  
  3124.  If you are dialing on a direct line or your modem supports pausing via
  3125.  something embedded in the dial string itself the DIAL-PAUSE command is
  3126.  unnecessary.  As long as the first char is numeric, commas and similar
  3127.  tokens will be passed to the modem as part of the number from the DIAL
  3128.  command.
  3129.  
  3130. 3 DIAL-RATE
  3131.  
  3132.  Allows pacing of chars in the dial string sent to the modem.  There is
  3133.  an inherent wait of one clock tick (1/50 or 1/60 second, per your LTC)
  3134.  to ensure an echo is not missed.  If this remains too fast for a modem
  3135.  additional delay between each char may be specified in ticks:
  3136.  
  3137.     Kermit-11>SET DIAL DIAL-RATE 3
  3138.  
  3139. 3 ECHO
  3140.  
  3141.  If the modem echoes command strings, SET DIAL ECHO causes the display
  3142.  during DIALing to be driven directly from the modem's output.  If the
  3143.  modem doesn't support this, SET DIAL NOECHO forces display of what is
  3144.  sent, regardless of what may be received from the modem.
  3145.  
  3146. 3 FAILURE
  3147.  
  3148.  Define a message from the modem which, as a result of a dialed call,
  3149.  indicates failure to complete the connection.  More than one message
  3150.  may be defined if necessary to include all possibilities.
  3151.  
  3152.     Kermit-11>SET DIAL FAILURE BUSY
  3153.     Kermit-11>SET DIAL FAILURE NO ANSWER
  3154.  
  3155. 3 FORMAT
  3156.  
  3157.  This defines the actual DIAL string sent to the modem.  In  addition
  3158.  to specifying the entire thing verbatim several format effectors are
  3159.  provided to make life easier.  Most notable of these is %S, which is
  3160.  the number to dial taken from the argument to the DIAL command.  See
  3161.  HELP SET DIAL Format-effectors for detailed info.
  3162.  
  3163.     Kermit-11>SET DIAL FORMAT %P%S\015
  3164.     Kermit-11>SET DIAL FORMAT AT %X D%M %S \015
  3165.  
  3166.  Most modems will require %S be the last item in the list (other than
  3167.  the return as an input terminator), as otherwise a following command
  3168.  will be taken as a request to abort dialing.  If blanks are embedded
  3169.  they will be passed to the modem, although contiguous blanks will be
  3170.  reduced to a single space.
  3171.  
  3172. 3 Format-effectors
  3173.  
  3174.  FORMAT (dialing) string format effectors supported:
  3175.  
  3176.     %A - SET PHONE [NO]ANSWER string
  3177.     %B - Dial blind
  3178.     %M - Mode, pulse or tone
  3179.     %P - Insert pause string
  3180.     %S - Phone number string, passed by DIAL command
  3181.     %X - Insert Hayes xmode string, unless set off
  3182.  
  3183.  WAKE-STRING (initialization) string format effector supported:
  3184.  
  3185.     %X - Insert Hayes xmode string, unless set off
  3186.  
  3187.  See  HELP SET DIAL ANSWER, NOANSWER PULSE, TONE  and  HELP SET PHONE *
  3188.  for info concerning exactly what each of these does.
  3189.  
  3190.  If you are using a "Hayes" style modem, its extended response mode may
  3191.  be set into the init string via SET PHONE XMODE n, where n is a number
  3192.  between 0 and 14, or the word "OFF".  The  format  effector  for XMODE
  3193.  is %X.  It may also be used in the dial string, allowing modifications
  3194.  without re-initializing the modem.
  3195.  
  3196.  Strings to be inserted will be displayed in SHOW MODEM when the format
  3197.  effectors (SET PH BLIND,PULSE,TONE,XMODE) for them are enabled, except
  3198.  for the phone number string, which is not built until DIALing.
  3199.  
  3200. 3 IDLE
  3201.  
  3202.  Defines the string used to return the modem to idle state, which is
  3203.  sent to the modem upon exiting Kermit-11 or dropping the connection
  3204.  (ala SET LINE) to it.  If the modem was preset to auto-answer, this
  3205.  restores it to that state.
  3206.  
  3207.     Kermit-11>SET DIAL IDLE ATZ \015
  3208.  
  3209. 3 Important-Notes!
  3210.  
  3211.  The SUCCESS, CONnnnn, RINGING  and  FAILURE fields are built as linked
  3212.  lists thus you can have as many as necessary.  At least one SUCCESS or
  3213.  CONnnnn message must be defined or any call is going to fail!
  3214.  
  3215.  NOTE: Where a modem response string (SUCCESS, CONN, FAILURE) is a sub-
  3216.  string of another response string the substring MUST FOLLOW the string
  3217.  containing it as the comparison scheme used here ignores the return at
  3218.  the end of the result string from the modem.  Thus, when you are using
  3219.  CONNECT 1200 and CONNECT, "CONNECT 1200" MUST be defined first, BEFORE
  3220.  "CONNECT" on its own.  All tests are done without respect to case.
  3221.  
  3222.  Use of CONNECT messages to conform the speed of the DCE port (the one
  3223.  on the PDP-11) to that of the modem (DTE port) is only possible using
  3224.  the CL (TSX-Plus) or KM (RT-11/TSX-Plus) handlers.  These are for use
  3225.  with modems which alter the speed of their data port to the connected
  3226.  (telephone port) speed.  The old speed will be restored when the next
  3227.  call is placed, unless SET otherwise first.  See HELP SET DIAL CONnn,
  3228.  where nn=300 ,1200 ,2400 ,4800 ,9600 ,19200 or 38400.
  3229.  
  3230.  Once you have  established  a  working set of parameters for your user
  3231.  defined modem,  you  may  include  them  in  KRT.INI, Kermit's startup
  3232.  initialization command file.  If memory runs out before everything you
  3233.  need can be entered, increase the value of ALSIZE in KRTMAC.MAC.  This
  3234.  same buffer is used to store phone numbers.  Also note malloc as it is
  3235.  here does not deallocate anything, thus while re-entering data updates
  3236.  pointers to them the superseded data's memory is NOT recovered.
  3237.  
  3238.  The following pseudo code was extracted from the dialer source module,
  3239.  with the hope of clarifying the functions of and relationships between
  3240.  the seemingly excessive number of parameters available here.  Anything
  3241.  that can modified by SET DIAL is shown in UPPER CASE.  Items listed as
  3242.  optional should only be used when really necessary, or performance may
  3243.  not remain as fast as it could be.
  3244.  
  3245.  format_dial_string        ; build the modem's dial_command_string
  3246.    using FORMAT string and
  3247.      %B BLIND dial string    ; if set phone blind has also been done
  3248.      %M PULSE or TONE string    ; set phone pulse,tone selects which
  3249.      %P DIAL-PAUSE string    ; used if defined
  3250.      %S the_phone_number    ; as passed by the dial command
  3251.      %X XMODE            ; depending on set phone xmode
  3252.  
  3253.  call tty_initialize        ; open the link device
  3254.  call fix_speed            ; restore set speed (b4speed) if need be
  3255.  
  3256.  test INIT-ONCE            ; need to re-init modem?
  3257.    if <>, goto do_dial
  3258.     send WAKE-STRING    ; ya, send it an init string
  3259.     pace WAKE-RATE ticks    ; pause between chars if <>
  3260.     call check_abort    ; check strike any key to abort loop
  3261.     wait_for WAKE-PROMPT    ; now wait 2 secs for an ack
  3262.      on error, loop a maximum of three times then give up
  3263.  
  3264.  do_dial:            ; try to dial a number
  3265.     ; these two are optional and only for modems which need them
  3266.     send INITIATE        ; dump the string to initiate dialing out
  3267.     wait_for INITIATE-PROMPT; if defined, wait up to 4 secs for a response
  3268.    send dial_command_string    ; this is from FORMAT, et.al. above
  3269.    pace DIAL-RATE ticks        ; pause between chars if not zero
  3270.    test DIAL-ECHO        ; does it echo?  if not, Kermit will do it
  3271.    call check_abort        ; strike any key to abort loop
  3272.     ; these three are optional and only for modems which need them
  3273.     wait_for DIAL-ACK    ; wait up to 4 secs for numb to echo perhaps
  3274.     send CONFIRM        ; stuff a confirm
  3275.     wait_for CONFIRM-ACK    ; if defined, wait up to 5 secs for the string
  3276.  
  3277.  get_response:            ; get the modem's response
  3278.    wait_for SUCCESS ,RINGING ,FAILED ,CON300..CON19200
  3279.    test BINARY-RESPONSE        ; exit loop on a single character?
  3280.    call check_abort        ; strike any key to abort loop
  3281.    wait_until TIME-OUT secs
  3282.  
  3283.  call_fails_or_was_aborted:
  3284.    send ABORT            ; get the modem to STOP
  3285.    wait SETTLE            ; let modem recover from abort!
  3286.  
  3287.  call_succeeds:
  3288.     ; if under TSX-Plus with CL handler and a CONnnnn result message
  3289.     call b4speed        ; save speed before fallback..
  3290.     call set_speed        ; then set it to what modem wants it to be
  3291.    jump c$connect        ; and connect automatically..
  3292.  
  3293. 3 INITIATE
  3294.  
  3295.  Some modems use a command syntax wherein the number to be dialed must be
  3296.  preceded by a command to first initiate the dial mode itself.   Normally
  3297.  these modems will also require using a DIAL CONFIRM string after sending
  3298.  the number string.
  3299.  
  3300.     Kermit-11>SET DIAL INITIATE D\015
  3301.  
  3302. 3 INITIATE-PROMPT
  3303.  
  3304.  If after use of the DIAL INITIATE option for some obscure reason you
  3305.  find it necessary to check for proper response to it from your modem
  3306.  the desired string may be specified thusly:
  3307.  
  3308.     Kermit-11>SET DIAL INITIATE-PROMPT string
  3309.  
  3310. 3 INIT-ONCE
  3311.  
  3312.  If once initialized your modem remains in that state (some such as the
  3313.  Concord 224 will time out and return to an idle mode) you may skip any
  3314.  further unnecessary and time consuming inits by calling this function.
  3315.  This is tested when dialing, and will speed up the redial looping time
  3316.  if your modem allows its use.
  3317.  
  3318.     Kermit-11>SET DIAL INIT-ONCE
  3319.  
  3320.  To restore Kermit-11's default operation where the modem is re-initted
  3321.  before trying anything and everything else SET DIAL NOINIT-ONCE.
  3322.  
  3323. 3 NOANSWER
  3324.  
  3325.  Defines a string the %A format effector will insert in the dial FORMAT
  3326.  string when it contains said %A effector and you've SET PHONE NOANSWER
  3327.  to disable the modem from answering an incomming call.
  3328.  
  3329.     Kermit-11>SET DIAL NOANSWER S0=0  ; Hayes does it thusly
  3330.  
  3331.  SHOW MODEM to display its current setting and status.
  3332.  
  3333. 3 NOBINARY-RESPONSE
  3334.  
  3335.  Enables testing modem result messages consisting of strings greater than
  3336.  one character.  If your modem responds via single character result codes
  3337.  SET DIAL BINARY-RESPONSE so Kermit will as well.
  3338.  
  3339. 3 NOECHO
  3340.  
  3341.  If the modem echoes command strings, SET DIAL ECHO causes the display
  3342.  during DIALing to be driven directly from the modem's output.  If the
  3343.  modem doesn't echo, SET DIAL NOECHO will force Kermit to display what
  3344.  is sent to the modem in place of what would be echoed back.
  3345.  
  3346. 3 NOINIT-ONCE
  3347.  
  3348.  If your modem, once initialized for dialing out, doesn't remain in such
  3349.  a state, particularly after a dial out call fails, SET DIAL NOINIT-ONCE
  3350.  will force Kermit-11 to re-initialize the modem before each dial/redial
  3351.  attempt.  This is the default operation.
  3352.  
  3353. 3 PULSE
  3354.  
  3355.  Defines a string to force the modem to use pulse dialing regardless of its
  3356.  recognizing tone dialing capability on the line.  This string is passed to
  3357.  the modem by the %M format effector (which must in the DIAL FORMAT string)
  3358.  when one has SET PHONE PULSE to enable it.
  3359.  
  3360.     Kermit-11>SET DIAL PULSE P    ; "Hayes" uses this
  3361.  
  3362. 3 RINGING
  3363.  
  3364.  Defines a ring response, as returned by the modem to report the status of
  3365.  a call in progress.  Kermit-11 maintains a count of received RINGS, after
  3366.  seven of which the call will be considered failed due to no reply.
  3367.  
  3368.     Kermit-11>SET DIAL RINGING RING   ; "RING" includes "RINGING"
  3369.     Kermit-11>SET DIAL RINGING RRING  ; Telebit style..
  3370.  
  3371.  Multiple messages may be defined as required to cover all possibilities.
  3372.  
  3373. 3 SETTLE-TIME
  3374.  
  3375.  Allows modifying the delay between sending a reset string to a modem and
  3376.  dumping the handler connected to it, which also drops DTR.  If the modem
  3377.  doesn't recover in time to resume its auto-answer mode, increase this to
  3378.  something beyond the 20 tick default by setting a new value as a decimal
  3379.  number of ticks.  One tick is 1/50 or 1/60 second (hardware dependent).
  3380.  
  3381.     Kermit-11>SET DIAL SETTLE 30
  3382.  
  3383.  IMPORTANT NOTE:  This is a global function effective for ANY modem type,
  3384.  not just USER-DEFINED, but for KRT's built-in modem types this will only
  3385.  prevail when this is done AFTER setting the MODEM-TYPE.
  3386.  
  3387. 3 SUCCESS
  3388.  
  3389.  Define a message from the modem which, as a result of a dialed call,
  3390.  indicates successful completion and a data path has been established
  3391.  between modems, and which will force Kermit to CONNECT your terminal
  3392.  to it.  More than one message may be defined if necessary to include
  3393.  all possible responses.
  3394.  
  3395.     Kermit-11>SET DIAL SUCCESS CONNECT
  3396.     Kermit-11>SET DIAL SUCCESS ON LINE
  3397.  
  3398.   NOTE:  This particular function neither checks nor changes speed.
  3399.   If this is something you need, see HELP SET DIAL Important-Notes.
  3400.  
  3401. 3 TIME-OUT
  3402.  
  3403.  Defines the period in seconds after which if there is no conclusive
  3404.  response (excluding informational messages) from the modem the call
  3405.  will be considered to have failed.
  3406.  
  3407.     Kermit-11>SET DIAL TIME-OUT 60    ; for overseas calling..
  3408.  
  3409.  IMPORTANT NOTE:  This is a global function effective for ANY modem type,
  3410.  not just USER-DEFINED, but for KRT's built-in modem types this will only
  3411.  prevail when done AFTER setting the MODEM-TYPE, and the modem's internal
  3412.  time out is set to something greater than the desired time period here.
  3413.  
  3414. 3 TONE
  3415.  
  3416.  Defines a string to enable the modem to use tone dialing regardless of its
  3417.  recognizing tone dialing capability on the line.  This string is passed to
  3418.  the modem by the %M format effector (which must in the DIAL FORMAT string)
  3419.  when one has SET PHONE TONE to enable it.
  3420.  
  3421.     Kermit-11>SET DIAL TONE T    ; "Hayes" uses this
  3422.  
  3423. 3 WAKE-ACKNOWLEDGE
  3424.  
  3425.  Defines the expected response to the WAKE-STRING (initialization to dial
  3426.  out) sent to the modem.  This is tested three times over a period of six
  3427.  seconds, after which the init will be considered to have failed.
  3428.  
  3429.     Kermit-11>SET DIAL WAKE-ACK *
  3430.     Kermit-11>SET DIAL WAKE-ACK OK
  3431.  
  3432. 3 WAKE-RATE
  3433.  
  3434.  Allows pacing of chars in the init string sent to the modem.  There is
  3435.  an inherent wait of one clock tick (1/50 or 1/60 second, per your LTC)
  3436.  to ensure an echo is not missed.  If this remains too fast for a modem
  3437.  additional delay between each char may be specified in ticks:
  3438.  
  3439.     Kermit-11>SET DIAL WAKE-RATE 5
  3440.  
  3441. 3 WAKE-STRING
  3442.  
  3443.  Defines the wakeup (initialization) string sent to the modem to place
  3444.  it in the ready-to-dial-out state:
  3445.  
  3446.     Kermit-11>SET DIAL WAKE-STRING \005\015
  3447.     Kermit-11>SET DIAL WAKE-STRING AT E1 Q0 S0=0 S7=255 V1 %X \015
  3448.  
  3449. 2 DTR
  3450.  
  3451.  Synonym for HANGUP.  May also be used to raise DTR.
  3452.  
  3453. 2 DUPLEX
  3454.  
  3455.  Permits local echo in the CONNECT mode, which is useful when the system
  3456.  to which you're connected doesn't return what's typed at it (not likely
  3457.  in the present era).  The options here are HALF (local echo on) or FULL
  3458.  (echo from the remote, the default).  SHOW CONSOLE displays its status.
  3459.  
  3460. 2 END-OF-LINE
  3461.  
  3462.  The END-OF-LINE parameter is the ASCII character used as a
  3463.  line terminator for all packets sent to and  received from
  3464.  the other Kermit.  This is normally not changed.  See HELP
  3465.  ASCII for octal values.
  3466.  
  3467.     Kermit-11>SET END octal-value-of-char
  3468.  
  3469. 2 EOF
  3470.  
  3471.  Determines action taken at the end of a command file, or when an error
  3472.  occurs after Kermit-11 has been run with UCL.  SET EOF EXIT terminates
  3473.  Kermit-11 and exits to the monitor, and NOEXIT (the default) keeps the
  3474.  program active.  SET EOF is ignored for the init (KRT.INI) file.
  3475.  
  3476. 2 ESCAPE
  3477.  
  3478.  This sets the escape character used to prefix commands while in the
  3479.  CONNECT mode.  The default is Ctrl-\ (octal 34).  It is a good idea
  3480.  to set this to something which is not used (at least not very much)
  3481.  on the system to which you'll be connecting.  Check  HELP ASCII for
  3482.  a list of octal values.
  3483.  
  3484.     Kermit-11>SET ESC octal-value-of-char
  3485.  
  3486. 2 FILE-TYPE
  3487.  
  3488.  When it's started Kermit-11 defaults to automatically getting a file
  3489.  type from the BINARY-TYPE list when sending  or  incoming attributes
  3490.  if receiving.   Some Kermits may not accommodate this, in which case
  3491.  it's necessary to manually SET a particular FILE-TYPE, and match the
  3492.  BLOCK-CHECK as well, on both Kermits before continuing.
  3493.  
  3494.  The file type ASCII should be used to for text files which are to be
  3495.  used as text files.  The file type BINARY should  be used for binary
  3496.  files, such as save images, in which bit 7 must not be stripped when
  3497.  transferred.  The file type  DEC-Multinational  may be used for text
  3498.  files containing 8-bit chars if it is supported on the other end.
  3499.  
  3500.  RT-11 text uses the <cr><lf> line terminator which makes it possible
  3501.  to set the binary mode on KRT and text mode on the foreign Kermit so
  3502.  8-bit text may be exchanged.  A file with unexpected 8-bit data will
  3503.  make itself known when the first packet containing it is NAKed until
  3504.  the transfer fails.
  3505.  
  3506.  HELP Binary-Files contains additional useful info of a more general
  3507.  nature.
  3508.  
  3509.  Once a FILE-TYPE is SET that aspect of exchanging file attributes is
  3510.  superseded by the designated type  regardless of whatever remains on
  3511.  with the rest of attribute processing.  SET FILE AUTO to restore the
  3512.  default.  SHOW FILE displays the current type.
  3513.  
  3514.     Kermit-11>SET FILE ASCII
  3515.     Kermit-11>SET FILE BINARY
  3516.     Kermit-11>SET FILE DEC-MULTINATIONAL
  3517.     Kermit-11>SET FILE AUTO
  3518.  
  3519. 3 ASCII
  3520.  
  3521.  Force the file type to ASCII, for 7-bit text files.  For
  3522.  text files containing 8-bit chars use DEC-MULTINATIONAL,
  3523.  if supported by the other Kermit, or if not, use BINARY.
  3524.  You must explicitly set the text mode on the other end.
  3525.  
  3526.  SET FILE AUTO restores automatic ASCII/Binary selection.
  3527.  
  3528. 3 AUTO
  3529.  
  3530.  Decide if a file should be sent in the binary mode as determined
  3531.  from an internal list of binary file types and use any type data
  3532.  found in an incoming file's attributes.
  3533.  
  3534.  Setting the FILE-TYPE to any particular value overrides both the
  3535.  send and receive automatic type selection.
  3536.  
  3537. 3 BINARY
  3538.  
  3539.  Force the file type to BINARY, for non-text files.  If parity is set to
  3540.  anything besides NONE, the other Kermit must support eight bit quoting.
  3541.  
  3542.  SET FILE AUTO restores automatic ASCII/Binary selection.
  3543.  
  3544. 3 CREATE-SIZE
  3545.  
  3546.  The largest file RT-11 can open without specifying a particular size
  3547.  is half the biggest piece of contiguous free space.  When talking to
  3548.  a Kermit that doesn't support passing the file size with attributes,
  3549.  SET CREATE-SIZE may be used to get a file that otherwise wouldn't be
  3550.  possible.  If your largest free space is 3000 blocks and you need to
  3551.  get a 2499 block file:
  3552.  
  3553.     Kermit-11>SET FIL CRE 2499
  3554.  
  3555.  Note that a SET size supersedes a received attribute value.
  3556.  
  3557.     Kermit-11>SET FIL CRE 0    ; default, restores size attribute
  3558.  
  3559.  This parameter is cleared (reset to its default) after the next open
  3560.  (.enter) of ANY kind, and thus may also be used to set the size of a
  3561.  log file.  Conversely, if meant to be used otherwise it shouldn't be
  3562.  be set until AFTER a log file has been opened.
  3563.  
  3564.  One may also explicitly specify a size via the FILENAME[size] syntax
  3565.  where "size" is expressed as a decimal number of blocks.  This takes
  3566.  precedence over a SET FILE CREATE value, which will still be cleared
  3567.  on the next open regardless if it is then ignored because the CSISPC
  3568.  parameter was passed and used instead.
  3569.  
  3570.     Kermit-11>LOG TST[77] PACK   ; allocates 77 blocks to TST.LOG
  3571.  
  3572. 3 CSI-PARSING
  3573.  
  3574.  Determines whether multiple file specs provided to the local GET and
  3575.  SEND commands delimited by commas are parsed by the real CSISPC call
  3576.  (limit is six arguments) or by a software emulation (limited only by
  3577.  command line length) useful when the other Kermit chokes on commas.
  3578.  
  3579.     Kermit-11>SET FILE CSI EMULATED
  3580.     Kermit-11>SET FILE CSI REAL    ; the default
  3581.  
  3582.  Directory listings and remote file name strings are always parsed by
  3583.  the real RT-11 Command String Interpreter.
  3584.  
  3585. 3 DEC-MULTINATIONAL
  3586.  
  3587.  Under RT-11 this is functionally the same as the BINARY type, and is
  3588.  provided here for compatibility with other systems where it serves a
  3589.  useful purpose.  DEC-Multinational is for text files (using carriage
  3590.  control) with 8-bit records.
  3591.  
  3592.  SET FILE AUTO restores automatic ASCII/Binary selection.
  3593.  
  3594. 3 FIXED
  3595.  
  3596.  Synonym for SET FILE BINARY.
  3597.  
  3598. 3 IMAGE
  3599.  
  3600.  Synonym for SET FILE BINARY under RT-11.
  3601.  
  3602. 3 NAMING
  3603.  
  3604.  Determines the action taken on received and sent file names with
  3605.  respect to node names, devices and directories contained in them.
  3606.  This includes upper case conversion for REMOTE command arguments.
  3607.  
  3608. 4 CONVERTED
  3609.  
  3610.  Allows removal of node names, devices and directories from file names
  3611.  so as not to bomb when receiving files from VMS, Unix, networks, etc,
  3612.  and also strips the same from a name sent.  This is the default.
  3613.  
  3614. 4 FULL
  3615.  
  3616.  Pass entire file specification, including node names and directories.
  3617.  It's not a good idea to use this mode when connected to a VMS or Unix
  3618.  system due to the relatively limited nature of RT-11 file names.
  3619.  
  3620. 4 LOWER-CASE
  3621.  
  3622.  Pass file names to the remote system exactly as typed, sans conversion
  3623.  of alphabetic characters to upper case only, including  REMOTE command
  3624.  arguments.  This is most useful when it's Unix on the other end.
  3625.  
  3626. 4 NOLOWER-CASE
  3627.  
  3628.  Convert all alphabetic characters in file names passed to the called
  3629.  system to upper case (the default).  This is provided to restore the
  3630.  default operation after having SET FILE NAMING LOWER-CASE.  Includes
  3631.  arguments to REMOTE commands.
  3632.  
  3633. 3 NOPROTECT
  3634.  
  3635.  Allows Kermit-11 to accept files regardless if the file then exists
  3636.  on the receiving system, the default.  See HELP SET FILE PROTECT if
  3637.  you wish to retain existing files.  In no case will Kermit ever zap
  3638.  a file protected via PIP (rename/protect).
  3639.  
  3640. 3 NOREPLACE
  3641.  
  3642.  Synonym for SET FILE PROTECT.
  3643.  
  3644. 3 NOVOLUME-VERIFY
  3645.  
  3646.  Normally Kermit-11 checks the directory header of a disk to verify it
  3647.  most likely contains a valid file structure before trying to read the
  3648.  directory.  If for some reason your disk doesn't contain the standard
  3649.  data at offset 760 in the header, Kermit will not read the directory.
  3650.  SET FILE NOVOL bypasses this test.
  3651.  
  3652. 3 PROTECT
  3653.  
  3654.  Forces Kermit-11 to bomb a incoming file  when one of the same name
  3655.  then exists.   The main use of this is to resume getting a group of
  3656.  files (as in KRT*.*) having lost the connection  after transferring
  3657.  some of them.  If protection is set, any files already gotten won't
  3658.  be again.  This assumes the sending Kermit can reject a single file
  3659.  in a possible group.  When using long packets be advised the create
  3660.  is not attempted until the first data packet has been received, and
  3661.  this may take several seconds at slower speeds.  Files protected by
  3662.  PIP (ren/prot) can not be deleted by Kermit.
  3663.  
  3664.  SHOW FILE displays the status of Kermit's file protection.
  3665.  
  3666. 3 REPLACE
  3667.  
  3668.  Synonym for SET FILE NOPROTECT.
  3669.  
  3670. 3 TEXT
  3671.  
  3672.  Synonym for SET FILE ASCII.
  3673.  
  3674. 3 TYPE
  3675.  
  3676.  SET FILE TYPE xxx is the same as the SET FILE xxx, the keyword TYPE
  3677.  is ignored but provides compatibility with other implementations of
  3678.  Kermit.
  3679.  
  3680. 3 VOLUME-VERIFY
  3681.  
  3682.  Check the directory header of a disk to verify that it contains a
  3683.  valid RT-11 file structure before trying to read it (the default).
  3684.  DECRT11 and DECVMSEX are acceptable headers, otherwise you may SET
  3685.  FILE NOVOL to disable this check (for "foreign" floppies).
  3686.  
  3687. 3 WILDCARDS
  3688.  
  3689.  This does not alter the operating system parameter of the same name,
  3690.  but does control how Kermit evaluates file names, and is provided to
  3691.  allow getting files having names with a leading dot as are common in
  3692.  Unix.  In particular this permits renaming such files, by specifying
  3693.  an output file name in the GET command.  Example -
  3694.  
  3695.     Kermit-11>GET .bash_profile bash.pro
  3696.     ?KERMIT-11-E-Multiple files or wildcarding not supported here
  3697.     ?KERMIT-11-E-Syntax is GET file.typ [dev:][asfile.new]
  3698.     Kermit-11>SET WILDCARDS EXPLICIT
  3699.     Kermit-11>GET .bash_profile bash.pro
  3700.     Kermit: X.BASH_PROFILE renamed to BASH.PRO
  3701.     [...]
  3702.     Kermit-11>SET WILDCARDS IMPLICIT  ; restore the default
  3703.  
  3704. 2 FLOW-CONTROL
  3705.  
  3706.  Ordinarily RT-11 does not support hardware flow control, however it
  3707.  has been added to (and is available ONLY with) the KM handler.  You
  3708.  then have two choices:
  3709.  
  3710.     Kermit-11>SET FLOW-CONTROL RTS/CTS    ; do it in hardware
  3711.     Kermit-11>SET FLOW-CONTROL XOFF        ; do it in software
  3712.     Kermit-11>SHOW LINE            ; display what it is
  3713.  
  3714.  Selecting software flow control forces on control character quoting
  3715.  for ^Q, ^S and their 8-bit counterparts.
  3716.  
  3717.  Note: Your modem, port and cable must all accommodate AND be set up
  3718.  to actually use which ever type of flow control is selected.
  3719.  
  3720. 2 HANDSHAKE
  3721.  
  3722.  One may use a quoted literal character, as in SET HAN '?
  3723.  or SET HAN "?,  or select one of the following options.
  3724.  
  3725.  See HELP SEND XON if you need to prefix outgoing packets
  3726.  with a ^Q.
  3727.  
  3728. 3 CR
  3729.  
  3730.  Use the carriage return as the handshaking character.
  3731.  
  3732. 3 NONE
  3733.  
  3734.  Cancels any active handshaking.
  3735.  
  3736. 2 HOME
  3737.  
  3738.  Modifies the home directory name to the specified device.
  3739.  
  3740. 2 INCOMPLETE-FILE-DISPOSITION
  3741.  
  3742.  Allows determination of what is done with a file that is not completely
  3743.  received.  If the disposition is KEEP, all files received will be kept,
  3744.  even if only some fraction of the file is received.  If the disposition
  3745.  is DISCARD (the default) anything not completely received is discarded.
  3746.  If the other Kermit supports the  "D"  (discard)  byte in the "Z" (EOF)
  3747.  packet, a file skipped or aborted when sending from this Kermit will be
  3748.  treated according to this parameter as SET on the OTHER Kermit.
  3749.  
  3750.     Kermit-11>SET INCOMPLETE-FILE-DISPOSITION action
  3751.  
  3752.  Where 'action' is either DISCARD or KEEP.
  3753.  
  3754. 2 LD:
  3755.  
  3756.  The only option available is SET LD EMPTY, which dismounts all
  3757.  mounted logical disks, under TSX-Plus V6.3 and above only.
  3758.  
  3759. 2 LINE
  3760.  
  3761.  Selects a default device for transfers and CONNECT.  SET LINE TT
  3762.  places Kermit-11 in its Remote Mode where packet I/O will be via
  3763.  the controlling terminal line.
  3764.  
  3765.  Besides TT only the following physical devices or an assigned or
  3766.  equivalent logical name, such as CL vs. CL0, are supported:
  3767.  
  3768.   CL0, CL1, CL2, CL3, CL4, CL5, CL6, CL7, KM, XC, XL
  3769.  
  3770.  Under RT-11 you should LOAD the handler before running Kermit.
  3771.  
  3772.  WARNING:  It is impossible to bomb a KM, XC or XL read completion
  3773.  routine, so once it has been assigned as the link the only way to
  3774.  deassign KM, XC or XL is to exit Kermit.
  3775.  
  3776.  The PRO/3xx with TSX-Plus attempts to attach CL0 or CL1 to Line 3
  3777.  when Kermit is started.
  3778.  
  3779.  Check HELP SET CL for a detailed description of using CL units on
  3780.  other hardware, particularly in a multi-user environment.
  3781.  
  3782.  If you intend to use a modem on the line you should SET SPEED and
  3783.  SET MODEM immediately afterwards so as to init the modem and stop
  3784.  it from answering a possible incoming call.   It will be restored
  3785.  to its idle state when exiting Kermit or modifying the line.
  3786.  
  3787. 2 LOCAL-ECHO
  3788.  
  3789.  Synonym for SET DUPLEX.  You may SET LOCAL-ECHO ON if the
  3790.  remote system won't echo what you type while CONNECTed to
  3791.  it.  SET LOCAL-ECHO OFF restores the default operation.
  3792.  
  3793. 2 LOGFILE
  3794.  
  3795.  Synonym for the LOGFILE command.
  3796.  
  3797. 2 LONG-PACKETS
  3798.  
  3799.  Options are ON, OFF, or you may SET NOLONG-PACKETS.  This  may be used
  3800.  to disable use of long packets regardless of packet length set locally
  3801.  or received  from  a remote system.  Setting the packet length greater
  3802.  than 94 on this end restores long packet operation if set off via this
  3803.  command.
  3804.  
  3805.  In the past, SET LONG ON merely restored use of long packets if they'd
  3806.  first been enabled by SET REC PAC nnn, and wouldn't in itself actually
  3807.  alter the packet length.  Here, it has been enhanced to accomplish and
  3808.  is equivalent to this:
  3809.  
  3810.     Kermit-11>SET BLOCK-CHECK-TYPE 3
  3811.     You may need to SET BLO 3 on the other Kermit
  3812.     Kermit-11>SET RECEIVE PACKET-LENGTH max-possible
  3813.  
  3814.  See HELP Long-Packets for more info.  SHOW PACKET to check the maximum
  3815.  available buffer length.
  3816.  
  3817. 2 MODEM-TYPE
  3818.  
  3819.  The SET MODEM command is used to establish the type of modem you are
  3820.  using for the DIAL command.  Enter SET MODEM ? for a current list of
  3821.  of pre-defined modem types.  See HELP SET DIAL for information about
  3822.  entering a USER-DEFINED modem structure.
  3823.  
  3824.  If a link device has been set first Kermit-11 will try to initialize
  3825.  the modem, taking it out of the auto-answer mode so it remains ready
  3826.  for calling out whilst Kermit is running.  This may involve a slight
  3827.  delay if the init string is long and/or the speed is slow, up to six
  3828.  seconds spanning three retries after which it times out.  If for any
  3829.  reason DTR is dropped while a modem is on-line Kermit-11 will reinit
  3830.  the modem immediately afterwards (except in the CONNECT mode when it
  3831.  waits until exiting) to preclude answering a possible incoming call.
  3832.  
  3833. 2 NOATTRIBUTES
  3834.  
  3835.  Disables automatic exchange of file attributes during transfers.
  3836.  Does not alter the state of any individual attribute control flag.
  3837.  
  3838. 2 NODEBUG
  3839.  
  3840.  Turns off all disk based debugging,  and closes the logfile.
  3841.  To turn off RPACK logging SET DEBUG NORPACK.  Debugging sent
  3842.  to TT may be offed via SET DEBUG NOTT.
  3843.  
  3844.  SET DEBUG NONE dumps ALL debugging.
  3845.  
  3846. 2 NOLONG-PACKETS
  3847.  
  3848.  Disables use of packets longer than 94 bytes.
  3849.  
  3850. 2 NOREPEAT-QUOTING
  3851.  
  3852.  Disables compression of repeated characters during file transfers.
  3853.  
  3854. 2 NOUPDATE
  3855.  
  3856.  Disables displaying packet statistics during transfers.  You'll
  3857.  need to do this if you've FRUNed Kermit and want do to any work
  3858.  in the background during file transfers.
  3859.  
  3860. 2 PARITY
  3861.  
  3862.  Specifies the type of parity on the remote link.  It  defaults to
  3863.  NONE and can also be ODD, EVEN, MARK or SPACE.  Parity generation
  3864.  is  done  via  software,  no  special hardware is used.  Software
  3865.  parity generation is restricted to 8-bit links only.  The format,
  3866.  if parity is set to anything besides NONE, will be 7 bits of data
  3867.  with the high bit set or cleared per the parity scheme in use.
  3868.  
  3869.  SPACE parity is essentially nothing in the hi bit and thus may be
  3870.  used to work around bottlenecks such as XL (a 7-bit handler).
  3871.  
  3872.  When parity (other than NONE) is used Kermit-11 will be forced to
  3873.  use 8-bit prefixing for binary files,  which  increases  transfer
  3874.  time.  This modified Kermit checks the need to prefix before each
  3875.  transaction, so one need not exit the program to turn it off.
  3876.  
  3877.  See HELP Parity for application info.
  3878.  
  3879. 2 PAUSE
  3880.  
  3881.  Specifies number of seconds to wait before each packet is sent.
  3882.  This may be useful under situations of heavy system load.
  3883.  
  3884. 2 PHONE
  3885.  
  3886.  Sets various parameters concerning dialing out via a modem.
  3887.  SHOW MODEM to display parameters other than phone numbers.
  3888.  
  3889. 3 ANSWER
  3890.  
  3891.  Causes the %A format effector to insert in the dial FORMAT string
  3892.  the command string to cause the modem to answer an incomming call
  3893.  as is required when call back security is in use at the remote.
  3894.  
  3895.  %A is included in the Hayes and Telebit modem definitions and may
  3896.  be used in the USER-DEFINED modem along with SET DIAL [NO]ANSWER.
  3897.  The other pre-defined modems here either revert to the idle state
  3898.  when carrier is lost, or the idle command must be issued manually
  3899.  from the terminal emulator (it can't be preset).
  3900.  
  3901.  When done SET PHONE NOASNWER will restore the default and prevent
  3902.  Kermit from inadvertently answering an incomming call.
  3903.  
  3904. 3 BLIND
  3905.  
  3906.  May be used if an appropriate dial formatting string and character
  3907.  sequence for selecting BLIND dialing are present in the definition
  3908.  for the modem in use.  The format effector for BLIND is %B.  Check
  3909.  SHOW MODEM to see if it's present.  This is cleared when the modem
  3910.  type is set, and thus must be (re-)enabled AFTERWARDS.
  3911.  
  3912. 3 NOANSWER
  3913.  
  3914.  Causes the %A format effector to insert in the dial FORMAT string
  3915.  a command string to prevent the modem from answering an incomming
  3916.  call.  Use to restore this default after having SET PHONE ANSWER.
  3917.  
  3918.  If you have a modem on-line when issuing this command Kermit will
  3919.  then re-initialize the modem so it actually becomes effective.
  3920.  
  3921. 3 NUMBER
  3922.  
  3923.  The SET PHONE NUMBER command allows you to associate a phone number
  3924.  with a symbolic name  for  later  use with the DIAL command.  These
  3925.  definitions may be placed in KRT.INI, and then referenced later:
  3926.  
  3927.     Kermit-11>SET PHONE NUMBER WORK 537-4411
  3928.  
  3929.  This allows Kermit to associate a tag name with a phone number for
  3930.  the DIAL command, as in the above example:
  3931.  
  3932.     Kermit-11>DIAL WORK
  3933.  
  3934.  This would cause Kermit to translate WORK to 537-4411, then dial it.
  3935.  Tag names must not begin with a 0 to 9 digit.  The  number buffer is
  3936.  shared with the USER-DEFINED modem.   If memory is insufficient, the
  3937.  value of ALSIZE in KRTMAC.MAC may be increased.
  3938.  
  3939.  SHOW PHONE displays a list of numbers set with this command.
  3940.  
  3941. 3 PULSE
  3942.  
  3943.  May be used if the required dial formatting effector and character
  3944.  sequence for selecting PULSE dialing are present in the definition
  3945.  for the modem in use.  The  format effector  for PULSE/TONE is %M.
  3946.  Check SHOW MODEM to determine its status.  SET MODEM-TYPE will NOT
  3947.  alter this (as it's expected this depends on the site) but it must
  3948.  be also included in the modem's definition or for the USER-DEFINED
  3949.  specified via SET DIAL PULSE <string>.
  3950.  
  3951. 3 TONE
  3952.  
  3953.  May be used if the required dial formatting effector and character
  3954.  sequence for selecting TONE dialing are  present in the definition
  3955.  for the modem in use.  The  format effector  for PULSE/TONE is %M.
  3956.  Check SHOW MODEM to determine its status.  SET MODEM-TYPE will NOT
  3957.  alter this (as it's expected this depends on the site) but it must
  3958.  be also included in the modem's definition or for the USER-DEFINED
  3959.  specified via SET DIAL TONE <string>.
  3960.  
  3961. 3 XMODE
  3962.  
  3963.  If you are using a "Hayes" style modem, its extended response mode may
  3964.  be altered or disabled via SET PHONE XMODE n, where n is a number from
  3965.  0 to 14 (or the word OFF), corresponding to the extended mode desired.
  3966.  The format effector for XMODE is %X.  SHOW  MODEM displays its current
  3967.  status if enabled.
  3968.  
  3969.  IMPORTANT NOTE:  This is a global function effective for ANY modem type
  3970.  but for the built-in modem types (as opposed to USER-DEFINED) this will
  3971.  only prevail when done AFTER setting the MODEM-TYPE.
  3972.  
  3973. 2 PROMPT
  3974.  
  3975.  Useful if you are using two Kermit-11s to talk to each other.
  3976.  By using the SET PROMPT command, you can change the prompt on
  3977.  either or both Kermits to something indicative of the systems
  3978.  in use.  The prompt string also prefixes error messages, sans
  3979.  the last byte if it is a ">".  Prompts may be up to 30 chars.
  3980.  
  3981.  A trailing space may be embedded by quoting the prompt string.
  3982.  
  3983.     Kermit-11>SET PROMPT "Kermit-11> "
  3984.  
  3985. 2 RANDOM
  3986.  
  3987.  Allows Kermit-11 to randomly generate checksum errors for testing
  3988.  error recovery of an attached Kermit.  SET SEED value  is used to
  3989.  start  the  pseudo  random number generator at a different point.
  3990.  This is used for debugging only.
  3991.  
  3992.     Kermit-11>SET SEED 1234
  3993.     Kermit-11>SET RANDOM ON
  3994.     Kermit-11>SET RANDOM OFF
  3995.  
  3996. 2 RECEIVE
  3997.  
  3998.  Alters various parameters concerning receiving packets.
  3999.  
  4000.     Kermit-11>SET REC parameter value
  4001.  
  4002. 3 PACKET-LENGTH
  4003.  
  4004.  This serves two purposes.  The first is to reduce incoming packet length
  4005.  in the event normal sized Kermit packets can  not  be passed through the
  4006.  communications circuit.  There could be, perhaps, some "black box" some-
  4007.  where in the link that has a very small buffer size.  This command would
  4008.  be used to reduce the size that the SENDING Kermit will use.
  4009.  
  4010.  Long-packets are also enabled by setting the receive packet length.  See
  4011.  HELP LONG-PACKETS for specific operational information.
  4012.  
  4013. 3 START-OF-PACKET
  4014.  
  4015.  Modifies the character used for the RECEIVE (only) start of packet
  4016.  to the specified octal-value from the default Ctrl-A.  Both  sides
  4017.  must support the new value as it can't be negotiated in transfers.
  4018.  
  4019.  The only reasons this should ever be changed are some piece of gear
  4020.  somewhere between the two Kermit programs will not pass through the
  4021.  Ctrl-A, or something similarly placed is echoing its input.  In the
  4022.  latter case, the  recipient  can  change the packet outbound packet
  4023.  prefix to be different from that of arriving  packets  so  the echo
  4024.  will be ignored.  See HELP ASCII for octal values.
  4025.  
  4026. 3 TIME-OUT
  4027.  
  4028.  This is the wait in seconds for a packet from the other Kermit, after
  4029.  which it will be considered missing and appropriate action taken.  If
  4030.  system loads are high or you are using a MNP protocol you may need to
  4031.  increase this (and the SEND TIME-OUT on the other Kermit).
  4032.  
  4033.  To disable SET RECEIVE TIME-OUT 0 (actually 65535. ticks).
  4034.  
  4035. 2 REPEAT-QUOTING
  4036.  
  4037.  One may SET REPEAT OFF or ON (default) to control character compression
  4038.  during packet transmission.  This might be necessary with older Kermits
  4039.  that do not support this part of the protocol.
  4040.  
  4041. 2 RETRY
  4042.  
  4043.  Sets the maximum number of times Kermit will try to send specific
  4044.  packets.  There are  two  retry  parameters,  one for the initial
  4045.  connection (the SEND-INIT or REC-INIT), the other comes into play
  4046.  after this init succeeds, governing all further data packets.
  4047.  
  4048.  The default value for the initial connection is 5, and 16 for all
  4049.  other packets.
  4050.  
  4051.     Kermit-11>SET RETRY type nn
  4052.  
  4053.  Where "type" is either INITIAL-CONNECTION (for initial connection
  4054.  packet) or PACKET (for all other packets), and "nn" is the number
  4055.  of retries (decimal) to attempt.  Legal values are 3 to 30.  SHOW
  4056.  RETRY to check the current settings.
  4057.  
  4058. 2 SEED
  4059.  
  4060.  Seeds a random number generator used to create packet errors for debugging.
  4061.  
  4062.     Kermit-11>SET SEED 4321  ; decimal number from 1 to 32767
  4063.  
  4064. 2 SEND
  4065.  
  4066.  Alter various parameters concerning packets sent.
  4067.  
  4068.     Kermit-11>SET SEND parameter value
  4069.  
  4070. 3 NOXON
  4071.  
  4072.  Disables prefixing packets with a ^Q (the default).
  4073.  
  4074. 3 PACKET-LENGTH
  4075.  
  4076.  This command may be used to reduce packet lengths in the event that
  4077.  normal sized Kermit packets will not pass through the data circuit.
  4078.  When Kermit-11 is started it defaults to the maximum possible size.
  4079.  Once set, it limits sent packets to the specified length regardless
  4080.  of what the other Kermit may request.  SHOW PACKET displays its SET
  4081.  or default value.
  4082.  
  4083.  LONG-PACKET operation is a completely separate function and must be
  4084.  enabled at and requested by the receiving Kermit.  More information
  4085.  is available via HELP LONG-PACKETS.
  4086.  
  4087. 3 PADCHARACTER
  4088.  
  4089.  The character used to delay the beginning of actual packet data.
  4090.  See also SET SEND PADDING.  See HELP ASCII for octal values.
  4091.  
  4092.     Kermit-11>SET SEN PADCHAR <octal-value>
  4093.  
  4094. 3 PADDING
  4095.  
  4096.  The number of pad characters used to delay the beginning of each
  4097.  packet sent.  One must first SET SEN PADCHAR <octal-value>.
  4098.  
  4099.     Kermit-11>SET SEN PADDING <decimal-#-of-pad-chars>
  4100.  
  4101. 3 START-OF-PACKET
  4102.  
  4103.  Modifies the character used for the SEND (only) start of packet to
  4104.  the specified  octal-value  from the default Ctrl-A.  Both Kermits
  4105.  must support the new value as it can't be negotiated in transfers.
  4106.  
  4107.  The only reasons this should ever be changed are some piece of gear
  4108.  somewhere between the two Kermit programs will not pass through the
  4109.  Ctrl-A, or something similarly placed is echoing its input.  In the
  4110.  latter case, the  recipient  can  change the packet outbound packet
  4111.  prefix to be different from that of arriving  packets  so  the echo
  4112.  will be ignored.  See HELP ASCII for octal values.
  4113.  
  4114. 3 TIME-OUT
  4115.  
  4116.  This is the wait in seconds for a result from the other Kermit, after
  4117.  which it will be considered missing and appropriate action taken.  If
  4118.  system loads are high or you are using a MNP protocol you may need to
  4119.  increase this (and the RECEIVE TIME-OUT on the other Kermit).  When a
  4120.  slow speed and long packets are in use be aware that the timer starts
  4121.  after the write is queued, which may be a few seconds before the last
  4122.  byte of data is actually shipped out.  A longer time-out value should
  4123.  be used if this presents a problem.
  4124.  
  4125.  To disable SET SEND TIME-OUT 0 (actually 65535. ticks).
  4126.  
  4127. 3 XON
  4128.  
  4129.  Prefixes packets with ^Q.  SET SEN NOXON returns to non-prefixed operation.
  4130.  
  4131. 2 SERVER
  4132.  
  4133.  Controls the period at which an idle server times out and sends a NAK.
  4134.  
  4135.     Kermit-11>SET SER TIME-OUT secs    ; default is 60 secs, max is 1092
  4136.     Kermit-11>SET SER NOTIME-OUT    ; the max, 21.8/18.2 mins at 50/60Hz
  4137.  
  4138. 2 SL
  4139.  
  4140.  Allows control of the Single-Line Editor:
  4141.  
  4142.     Kermit-11>SET SL ON,KED    ; turns SL on, enables Keypad mode
  4143.     Kermit-11>SET SL NOKED    ; offs Keypad mode
  4144.     Kermit-11>SET SL OFF    ; turns SL off
  4145.  
  4146.  See HELP SL-Editor for operational details.
  4147.  
  4148. 2 SPEED
  4149.  
  4150.  Sets the line speed for the device specified with the SET LINE command if
  4151.  the hardware allows it, but is supported only via the CL and KM handlers.
  4152.  If a modem is on-line when the speed is altered,  Kermit will then try to
  4153.  re-initialize the modem at the new speed, unless a carrier is present, in
  4154.  which case no further action is taken.
  4155.  
  4156.  Supported speeds (hardware dependent): 75, 110, 134 ,150, 300 ,600, 1200,
  4157.  1800, 2000, 2400, 3600, 4800, 7200, 9600, 19200, 38400.
  4158.  
  4159.     Kermit-11>SET SPEED 2400
  4160.  
  4161. 2 START-OF-PACKET
  4162.  
  4163.  Modifies the start-of-packet to the specified octal-value from the
  4164.  default Ctrl-A for BOTH send and receive operations.  Both Kermits
  4165.  must support the new value as it can't be negotiated in transfers.
  4166.  Send and receive SOHs may also be SET individually.
  4167.  
  4168. 2 TERMINAL
  4169.  
  4170.  Controls display formatting.  Kermit checks RT-11 for its SET TT
  4171.  [NO]SCOPE status or TSX-Plus for a terminal type and uses it for
  4172.  the default terminal.  This may be changed from Kermit's command
  4173.  line:
  4174.  
  4175.     Kermit-11>SET TT NOSCOPE  ; printing terminal
  4176.     Kermit-11>SET TT TTY      ; tube terminal, but not a VT-xxx
  4177.     Kermit-11>SET TT VT100      ; itself
  4178.     Kermit-11>SET TT SCOPE      ; here same as VT100
  4179.     Kermit-11>SET TT VT200      ; itself
  4180.  
  4181.  SET CONSOLE alters terminal emulator (the CONNECT mode) parameters.
  4182.  
  4183.  Informational messages may be offed by SET TERM QUIET.  The default
  4184.  is NOQUIET, allowing everything to be displayed.  See also HELP SET
  4185.  UPDATE.
  4186.  
  4187.  An init file is not usually echoed.  Check HELP INSTALL if you wish
  4188.  to change this.
  4189.  
  4190. 2 TT:
  4191.  
  4192.  Synonym for SET TERMINAL.
  4193.  
  4194. 2 UPDATE
  4195.  
  4196.  Controls the frequency at which the packet count display is updated.
  4197.  The default is 1, displaying each packet.  SET UPDATE 0 will disable
  4198.  all packet count logging, whereas  SET UPDATE n  updates the display
  4199.  every "n" packets.  SET NOUPDATE is a synonym for SET UPDATE 0.  Use
  4200.  this when Kermit is FRUNed and you want to work in the background.
  4201.  
  4202. 2 VLSWCH
  4203.  
  4204.  Determines the operation of ^W during the CONNECT mode under TSX-Plus.
  4205.  SET VLSWCH LOCAL to control one's own machine (the default), or REMOTE
  4206.  to pass ^W as a normal character, and suspend local window processing.
  4207.  The TSX-Plus print window key (^B) will track the operation of ^W.
  4208.  
  4209. 1 SHOW
  4210.  
  4211.  The SHOW command will display the parameters Kermit uses to interpret
  4212.  and process commands and data, some of which are modifiable with SET.
  4213.  
  4214.     Kermit-11>SHOW parameter
  4215.     Kermit-11>SHOW        ; defaults to "SHOW ASSIGNS"
  4216.  
  4217. 2 ALL
  4218.  
  4219.  As the name implies, displays everything that can be shown.
  4220.  
  4221. 2 ASSIGNS
  4222.  
  4223.  Displays the current home directory and default device.
  4224.  
  4225. 2 ATTRIBUTES
  4226.  
  4227.  Displays the current status of attribute packet processing.
  4228.  Note that ATTRIBUTES must be set ON (default) regardless of
  4229.  the individual status of each before they will be processed
  4230.  by this program, including their display here.
  4231.  
  4232. 2 BAUD
  4233.  
  4234.  Synonym for SHOW LINE, which includes the baud rate when available.
  4235.  
  4236. 2 BINARY-TYPE
  4237.  
  4238.  Lists file types which are considered to be binary (8-bit).
  4239.  
  4240. 2 BLOCK-CHECK-TYPE
  4241.  
  4242.  Displays the type of checksum in use.
  4243.  
  4244. 2 CL:
  4245.  
  4246.  Displays current contents of PORTS and UNITS strings.
  4247.  SHOW LINE displays the current status of CL, if it is
  4248.  then in use.
  4249.  
  4250. 2 CONSOLE
  4251.  
  4252.  Displays parameters asscoiated with Kermit's terminal emulator
  4253.  (the CONNECT mode).  Use  SHOW  TERMINAL  to see your terminal
  4254.  parameters.
  4255.  
  4256. 2 CONTROL-PREFIXING
  4257.  
  4258.  Displays the current control prefix and a table of all control-character
  4259.  values showing 1 for each that will be prefixed and 0 for each that will
  4260.  not.
  4261.  
  4262. 2 DATE
  4263.  
  4264.  Displays today's date.  This program supports dates through 31-Dec-2099.
  4265.  
  4266. 2 DAYTIME
  4267.  
  4268.  Displays the current date and time.
  4269.  
  4270. 2 DEBUG
  4271.  
  4272.  Shows debugging and logging status, and random error generation parameters.
  4273.  
  4274. 2 DEFAULT
  4275.  
  4276.  Displays the default disk device.
  4277.  
  4278. 2 DELAY
  4279.  
  4280.  Displays the number of seconds delay before
  4281.  SEND begins when invoked in the remote mode.
  4282.  
  4283. 2 DIAL
  4284.  
  4285.  Displays the modem type selected and its associated parameters.
  4286.  Unused or unset options aren't listed which renders the display
  4287.  easier to behold.
  4288.  
  4289.  Dial or wakeup string format effectors may be included, current
  4290.  strings for which (if enabled) are displayable via SHO MODEM:
  4291.  
  4292.     %A - SET PHONE [NO]ANSWER string
  4293.     %B - Dial blind
  4294.     %M - Mode, pulse or tone
  4295.     %P - Insert pause string
  4296.     %S - Phone number string, passed by DIAL command
  4297.     %X - Insert Hayes xmode string, unless set off
  4298.  
  4299. 2 DTR
  4300.  
  4301.  Synonym for SHOW LINE, which includes DTR status when available.
  4302.  
  4303. 2 DUPLEX
  4304.  
  4305.  Synonym for SHOW CONSOLE, which includes local echo status.
  4306.  
  4307. 2 END-OF-LINE
  4308.  
  4309.  Synonym for SHOW PARAMETERS, which includes the EOL chars.
  4310.  
  4311. 2 EOF
  4312.  
  4313.  Displays action taken at the end of a command file, or when an error
  4314.  occurs after Kermit-11 has been run with UCL.  HELP SET EOF explains
  4315.  the available options.
  4316.  
  4317. 2 ESCAPE
  4318.  
  4319.  Shows the escape character used to prefix commands when in the CONNECT mode.
  4320.  
  4321. 2 FILE-TYPE
  4322.  
  4323.  Show the current file mode (ASCII, AUTO or BINARY) and various file options.
  4324.  
  4325. 2 FLOW-CONTROL
  4326.  
  4327.  Synonym for SHOW LINE, which includes the flow control type when available.
  4328.  
  4329. 2 HANDSHAKE
  4330.  
  4331.  Displays the current handshaking character.
  4332.  
  4333. 2 HOME
  4334.  
  4335.  Synonym for SHOW DEFAULTS, which includes the home disk.
  4336.  
  4337. 2 INCOMPLETE-FILE-DISPOSITION
  4338.  
  4339.  Shows what will be done with an arriving file when the transfer fails
  4340.  before finishing.  When this Kermit is the remote your  local  Kermit
  4341.  must support the "D" (discard) byte in the "Z" (EOF) packet if a file
  4342.  skipped or aborted there is to be actually discarded when this is set
  4343.  to discard here.
  4344.  
  4345. 2 LD:
  4346.  
  4347.  Synonym for SHOW SUBMOUNTS (TSX-Plus V6.2 and up only).
  4348.  
  4349. 2 LINE
  4350.  
  4351.  Displays operating parameters for the current link device.
  4352.  If the current SET speed has been modified (as might occur
  4353.  via fallback) it's listed as CURRENT/SET, as in 2400/9600.
  4354.  The SET speed is restored if another call is initiated.
  4355.  
  4356. 2 LOCAL-ECHO
  4357.  
  4358.  Synonym for SHOW CONSOLE, which includes the local echo status.
  4359.  
  4360. 2 LOGFILE
  4361.  
  4362.  Synonym for SHOW DEBUG, which includes the log file status.
  4363.  
  4364. 2 LONG-PACKETS
  4365.  
  4366.  Synonym for SHOW PACKETS, which includes long packets parameters.
  4367.  
  4368. 2 MEMORY
  4369.  
  4370.  Display amount of memory free to load handlers under RT-11.
  4371.  
  4372. 2 MODEM-TYPE
  4373.  
  4374.  Synonym for SHOW DIAL.  Note that SET DIAL is for a USER-DEFINED
  4375.  modem type, and SET MODEM selects from a pre-defined database.
  4376.  
  4377. 2 PACKETS
  4378.  
  4379.  Displays current SOH, EOL and packet lengths.
  4380.  
  4381. 2 PARAMETERS
  4382.  
  4383.  Displays various send, receive and packet parameters.
  4384.  
  4385. 2 PARITY
  4386.  
  4387.  Shows the software parity scheme in use.
  4388.  
  4389. 2 PAUSE
  4390.  
  4391.  Displays the pause time before sending each packet.
  4392.  
  4393. 2 PHONE
  4394.  
  4395.  Displays the current list of numbers entered via SET PHONE NUMBER,
  4396.  and the last number dialed (if one exists).
  4397.  
  4398.  Other SET PHONE parameters may be displayed via SHOW DIAL, as they
  4399.  are all modem-related.
  4400.  
  4401. 2 RANDOM
  4402.  
  4403.  Synonym for SHOW DEBUG, which includes the random error generator status.
  4404.  
  4405. 2 RECEIVE
  4406.  
  4407.  Synonym for SHOW PARAMETERS, which includes receive data.
  4408.  
  4409. 2 REPEAT-QUOTING
  4410.  
  4411.  Displays the current status of repeated character quoting.
  4412.  
  4413. 2 RETRY
  4414.  
  4415.  Lists the current INITIAL-CONNECTION and PACKET retry limits.
  4416.  
  4417. 2 SEED
  4418.  
  4419.  Synonym for SHOW DEBUG, which includes the 16-bit seed.
  4420.  
  4421. 2 SEND
  4422.  
  4423.  Synonym for SHOW PARAMETERS, which includes send data.
  4424.  
  4425. 2 SERVER
  4426.  
  4427.  Displays the current server time-out.
  4428.  
  4429. 2 SL
  4430.  
  4431.  Displays the SL (Single Line, the command line) editor status.
  4432.  
  4433. 2 SPEED
  4434.  
  4435.  Synonym for SHOW LINE, which includes the speed when available.
  4436.  
  4437. 2 START-OF-PACKET
  4438.  
  4439.  Displays the current SOH (start-of-packet) character.
  4440.  
  4441. 2 SUBMOUNTS
  4442.  
  4443.  Lists currently mounted logical devices, under TSX-Plus V6.2 and up only.
  4444.  
  4445. 2 TERMINAL
  4446.  
  4447.  Displays the current Kermit terminal type and associated parameters.
  4448.  Use SHOW CONSOLE for terminal emulator (CONNECT mode) details.
  4449.  
  4450. 2 TIME
  4451.  
  4452.  Displays the current time of day as hours, minutes, seconds and ticks past
  4453.  midnight.  This program supports either 50Hz or 60Hz clock rates, and will
  4454.  include which it thinks is in use immediately following the time.
  4455.  
  4456. 2 TIME-OUTS
  4457.  
  4458.  Displays the current packet time-out in seconds.
  4459.  
  4460. 2 TT:
  4461.  
  4462.  Synonym for SHOW TERMINAL.
  4463.  
  4464. 2 UPDATE
  4465.  
  4466.  Displays number of packets between display updates of counts of same.
  4467.  
  4468. 2 VERSION
  4469.  
  4470.  Displays current version and edit of this program.
  4471.  
  4472. 2 VLSWCH
  4473.  
  4474.  Displays the operation of ^W during the CONNECT mode under TSX-Plus.
  4475.  See HELP SET VLSWCH for details of its use.
  4476.  
  4477. 1 SL-Editor
  4478.  
  4479.  A basic Single Line Editor is available at the command line.  Most
  4480.  operations require a VT-100 terminal, although  SL  may be enabled
  4481.  regardless of terminal type.
  4482.  
  4483.     Kermit-11>SET SL ON,KED    ; turns SL on, enables Keypad mode
  4484.     Kermit-11>SET SL NOKED    ; offs Keypad mode
  4485.     Kermit-11>SET SL OFF    ; turns SL off
  4486.  
  4487.  The last 10 command lines are stored.  This editor flips direction
  4488.  when hitting either end of the line.  Note the  undelete-word  and
  4489.  undelete-line routines share a common buffer, and with the non-EIS
  4490.  assembly the number of stored commands is limited to 3.
  4491.  
  4492.  A list of currently defined function keys is available at any time
  4493.  during entry of a command via  the  PF2  key,  and the contents of
  4494.  your command line buffer will be restored and retyped afterwards.
  4495.  
  4496. 2 Function-Keys
  4497.  
  4498.     Left arrow   =    cursor left
  4499.     Right arrow  =    cursor right
  4500.     Up arrow     =    recall previous command lines
  4501.     Down arrow   =    move back after up arrow use
  4502.     Delete         =    delete char to left of cursor
  4503.     Line Feed    =  delete word to left of cursor
  4504.     PF1          =  prefix to undelete char, word, or line
  4505.     PF2          =  prints this list then retypes command line
  4506.     PF4          =  delete line, from cursor to end
  4507.     Ctrl-A       =  toggle insert mode off/on
  4508.     Ctrl-B       =  recall previous command lines
  4509.     Ctrl-C         =    cancel command
  4510.     Ctrl-D       =  cursor left
  4511.     Ctrl-E       =  recall previous command lines
  4512.     Ctrl-F       =  cursor right
  4513.     Ctrl-R         =    retype line
  4514.     Ctrl-U         =    delete line, from top to char left of cursor
  4515.     Ctrl-V       =  move back after up arrow/^B/^E use
  4516.     Ctrl-W       =  retype line
  4517.  
  4518. 2 KED-Mode-Functions
  4519.  
  4520.     Left arrow   =    cursor left
  4521.     Right arrow  =    cursor right
  4522.     Up arrow     =    recall previous command lines
  4523.     Down arrow   =    move back after up arrow use
  4524.     Tab         =    toggle insert mode off/on
  4525.     Backspace    =    delete char to left of cursor
  4526.     Delete         =    delete char to left of cursor
  4527.     Keypad Enter =    return
  4528.     Keypad 0     =    goto start of line
  4529.     Keypad 1     =  move one word
  4530.     Keypad 2     =    goto end of line
  4531.     Keypad 3     =  move one char
  4532.     Keypad 4     =  set ADVANCE mode
  4533.     Keypad 5     =  set BACKUP mode (default)
  4534.     Keypad ,     =  delete char
  4535.     Keypad -     =  delete word starting from cursor
  4536.     Line Feed    =  delete word to left of cursor
  4537.     PF1          =  prefix to undelete char, word, or line
  4538.     PF2          =  prints this list then retypes command line
  4539.     PF4          =  delete line, from cursor to end
  4540.     Ctrl-C         =    resets recall pointer
  4541.     Ctrl-R         =    retype line
  4542.     Ctrl-U         =    delete line, from top to char left of cursor
  4543.  
  4544. 1 SPACE
  4545.  
  4546.  Shows a summary of used and free disk space available.
  4547.  A device or files argument is optional.
  4548.  
  4549. 1 STATUS
  4550.  
  4551.  Displays packet transaction statistics.  Packet types are -
  4552.  
  4553.  A = Attributes                     K = Kermit (remote) command
  4554.  B = Break transmission (EOT)       N = Negative acknowledgment (NAK)
  4555.  C = Host (remote) command          R = Receive file init
  4556.  D = Data packet                    S = Send file init
  4557.  E = Error                          T = Time out (internal)
  4558.  F = File header (name)             X = Extended reply
  4559.  G = Generic (remote) command       Y = Acknowledgment (ACK)
  4560.  I = Server init                    Z = End of file (EOF)
  4561.  
  4562. 1 TAKE
  4563.  
  4564.  The TAKE command tells Kermit-11 to execute commands from the specified
  4565.  file.  The RT-11 syntax "@file" may also be used:
  4566.  
  4567.     Kermit-11>TAKE file
  4568.     Kermit-11>@file
  4569.  
  4570.  "File" is any normal RT-11 file specification.  The default type is .COM
  4571.  and if no device is given the logicals TAK, KRT, DK and SY will be tried
  4572.  in that order.  "!" or ";" may prefix comments in Kermit TAKE files, and
  4573.  all commands except control characters are supported.   Maximum  command
  4574.  line length is 132. bytes.
  4575.  
  4576. 1 TIME
  4577.  
  4578.  Displays the current time of day as hours, minutes, seconds and ticks past
  4579.  midnight.  This program supports either 50Hz or 60Hz clock rates, and will
  4580.  include which it thinks is in use immediately following the time.
  4581.  
  4582. 1 TRANSMIT
  4583.  
  4584.  Sends a file sans any protocol byte by byte, and echoes response to each.
  4585.  Speed is locked at 1 byte/tick.  This is useful to upload text files into
  4586.  a called  system's  message  editor.  Line feeds (which cause an unwanted
  4587.  newline as most systems append one to a return) are not sent.  When done,
  4588.  if the file was successfully transmitted Kermit reconnects to the remote,
  4589.  at which time the bell sounds but CONNECT's sign-on message is suppressed
  4590.  in order to leave the display and cursor position intact.
  4591.  
  4592. 1 TYPE
  4593.  
  4594.  Types files to your terminal.  Switches (/opt) are not implemented.
  4595.  When typing a binary file most non-printing characters are filtered
  4596.  to prevent  possible  interference  with one's terminal attributes.
  4597.  If the terminal type is VT100 or lower, the hi bit will be stripped
  4598.  from everything typed.  Use VT200 to see all eight bits.
  4599.  
  4600.     Kermit-11>TY GUIDE   ; default type is .LST
  4601.     Kermit-11>TY .MAC    ; type all .MAC files
  4602.     Kermit-11>TY *         ; type all .LST files
  4603.     Kermit-11>TY *.*     ; types the world..
  4604.  
  4605. 1 Upgrades
  4606.  
  4607.  This special version of Kermit-11 (for RT-11 and TSX-Plus) may be from
  4608.  time to time updated/upgraded, or various bugs may be found and fixed.
  4609.  New versions may be obtained from kermit.columbia.edu by anonymous ftp
  4610.  (kermit/b/krt*.*) or by calling the system on which the work is done:
  4611.  
  4612.     Host:             Billy's Place, Culver City, California, USA
  4613.     Available:        24 hours, 3 lines, immediate access
  4614.     Phone:            +1.310.837.0892
  4615.     Logon (username): 1000
  4616.     Password:         moving_target
  4617.     Modem speeds:     9600 (V.32) and down, or PEP (modems are T-2500s)
  4618.     Protocols:        Kermit, VTCOM/TRANSF, Xmodem
  4619.  
  4620.  Access is free other than whatever it costs to place the call.  Any bug
  4621.  found will be fixed, send mail to billy@MIX.COM detailing your problem.
  4622.  Also on-line here are the complete Kermit-11 T3.60 sources along with a
  4623.  massive amount of RT-11 SIG and other public domain/gratis software.  
  4624.  
  4625. 1 XMODEM
  4626.  
  4627.  Xmodem here supports either checksum or CRC error detection, however it
  4628.  only does so one file at a time, using 128 byte blocks, under TSX-Plus.
  4629.  Transmission is presently only on the controlling terminal (this Kermit
  4630.  must be the remote system) and is also SEND-only from here to the other
  4631.  system, because the TSX-Plus terminal handler does not pass nulls (zero
  4632.  bytes) to a running program.
  4633.  
  4634.  The Xmodem protocol requires an 8-bit path.  If this isn't the system's
  4635.  default, you must from KMON issue the command SET TT 8BIT,BITS=8 before
  4636.  running Kermit.  "BITS=8" is a hardware parameter and must be done on a
  4637.  primary line only.  Setting it on a subprocess may write garbage in the
  4638.  line-parameters word, rendering the line useless.
  4639.  
  4640.  Xmodem doesn't work under RT-11 because RT strips all terminal I/O data
  4641.  of the high order (parity) bit, thus preventing an 8-bit data path from
  4642.  being used.
  4643.  
  4644.