home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR10 / MSK31301.ZIP / MSKERM01.BWR < prev    next >
Text File  |  1993-09-14  |  113KB  |  2,298 lines

  1. File MSKERM.BWR           MS-DOS KERMIT 3.13 "BEWARE FILE"        September 1993
  2.  
  3.                BUGS, LIMITATIONS, HINTS & TIPS
  4.  
  5. Last update: Tue Sep 14 14:05:14 1993
  6.  
  7. This file discusses common problems installing or using MS-DOS Kermit and
  8. presents solutions or workarounds in many cases.  It applies to version 3.13
  9. of MS-DOS Kermit for the IBM PC family and compatibles.  See KERMIT.HLP
  10. (MSKERM.HLP) for copyright information, terms and conditions, and a summary of
  11. MS-DOS Kermit commands.
  12.  
  13. Major sections of this file are marked by an equal sign (=) on the left margin.
  14.  
  15. The user manual for MS-DOS Kermit 3.13 is the book "Using MS-DOS Kermit",
  16. Second Edition, by Christine M. Gianone, published by Digital Press, Bedford,
  17. MA (1992), order number EY-H893E-DP.  Call 1-800-344-4825 (toll free, USA) to
  18. order, or order from Columbia University.  Changes since the book was
  19. published are described in KERMIT.UPD (MSKERM.UPD).
  20.  
  21. Please consult "Using MS-DOS Kermit" and this file before contacting Kermit
  22. technical support staff.  Report problems via e-mail to kermit@columbia.edu on
  23. the Internet or to KERMIT@CUVMA.BITNET, or call +1 212 854-5126, or by Fax to
  24. +1 212 663-8202, or write to Kermit Distribution, Columbia University Academic
  25. Information Systems, 612 West 115th Street, New York, NY 10025, USA.
  26.  
  27. = PATCHES
  28.  
  29. The following patches correct problems noted since Version 3.13 was released:
  30.  
  31.  1. OPTIONAL: Specify 132-column video mode for Orchid Designer Professional.
  32.  2. Make SHOW PROTOCOL display handshake correctly;
  33.     fix \KdgC3 and \KdgC4 verbs.
  34.  3. Correct insert/delete character when at right margin.
  35.  4. Correct CONNECT-mode status line to stay off if SET to OFF.
  36.  5. Correct invocation of DEC-MCS character set.
  37.  6. Correct selective-erase-in-line.
  38.  7. Correct two graphics mode errors.
  39.  8. Make ENQ response immediate on network connections.
  40.  9. OPTIONAL: Permit trying 132-column text display in Microsoft Windows.
  41.     Remove semicolon in left margin after Patch 9 comment to enable this patch.
  42.     If Windows blows up with this patch enabled, put the semicolon back.  In
  43.     many observed cases, Windows becomes deeply disturbed when the application
  44.     attempts to change video modes, but in others it works OK.  It depends on
  45.     whether the particular video adapter hardware is supported and fully
  46.     understood by the Windows video driver.
  47. 10. Allow TCP/IP domain server reply to come from a different address than the
  48.     one to which the request was sent.
  49. 11. Avoid creating a long packet when long packets have not been negotiated
  50.     and the last packet character is prefixed control code.
  51. 12. In Data General transparent printing, recognize binary and ASCII forms of
  52.     '2' and '3' in command arguments.
  53.  
  54. Other problems corrected since original 3.13 release:
  55.  
  56.  1. Patch-file-finding test in MSKERMIT.INI was wrong.
  57.  2. KERMIT.PIF file internally referred to MSTIBM.EXE rather than KERMIT.EXE.
  58.  3. USR Sportster dialing script (SPORT.SCR) contained a syntax error
  59.     ("W1" should not be in the initialization string).
  60.  4. COLS80.BAT included an invocation of a specific SVGA driver, rather than
  61.     the normal instructive ECHO commands.
  62.  
  63. = INCOMPATIBILITIES BETWEEN MS-DOS KERMIT 3.13 AND EARLIER VERSIONS:
  64.  
  65.  1. The TERMINALR/S macro capability is replaced by host-initiated change
  66.     of screen writing direction (details in KERMIT.UPD).  As a consequence
  67.     of this, host-based WordPerfect won't be able to load your key settings
  68.     (see next section).  Any other host software that sent the TERMINALR/S
  69.     sequences will also need to be converted in similar fashion.  See the
  70.     APC section in KERMIT.UPD (MSKERM.UPD) for further details.
  71.  
  72.  2. STATUS command removed.  There is no longer any way to display all of
  73.     MS-DOS Kermit's settings on a single screen.  Now use the SHOW command to
  74.     display categories of settings: SHOW TERMINAL, SHOW COMMUNICATIONS, SHOW
  75.     PROTOCOL, etc.
  76.  
  77.  3. STATISTICS, which displays file transfer statistics, has been added as a
  78.     top-level command, for compatibility with C-Kermit.     So if you were used
  79.     to typing "stat" to get a screenful of settings values, now you will get
  80.     file transfer statistics instead.
  81.  
  82.  4. Alt-n was previously bound by default to the \Knethold verb.  It is now
  83.     bound to the new \Knextsession verb.  \Knethold (used on TES, EBIOS, 
  84.     NASI/NACS, and various other PC networks or asynchronous communication
  85.     servers) has been moved to Alt-z.
  86.  
  87. = WORDPERFECT
  88.  
  89. To make host-based UNIX WordPerfect work with MS-DOS Kermit 3.13, follow these
  90. directions (courtesy of Chris Thompson at Vanderbilt University; presumably
  91. similar steps can be followed for the VMS version):
  92.  
  93. . Go into the directory where the terminal definitions are stored (in my case
  94.   of WP 5.1 for AIX, it was /usr/wp51/shlib), and execute "wpterm" (it usually
  95.   requires you to be super-user).
  96.  
  97. . A screen containing all the terminal definitions will appear.  Highlight the
  98.   current Kermit terminal definition and hit Create.
  99.  
  100. . It will ask "Model new definition after Kermit?"  Answer yes.
  101.  
  102. . It will then ask for a new name for your new terminal definition.  Call it
  103.   something like KERMIT313.
  104.    
  105. . At the bottom of the screen, several options will appear.  Choose the option
  106.   for Terminal Control Characters.  It will then bring up a screen with the
  107.   different initialization strings and their values.  The first four items are
  108.   the ones that need altering (Terminal Initialization, Terminal Reset, Quick
  109.   Initialization, and Quick Reset).  Just delete "[27][?34h" or "[27][?34l"
  110.   (for initialization and reset, respectively) from the string and replace it
  111.   with "[27]_take \kermit\wpunix.ini[27]\" or "[27]_set key clear[27]\",
  112.   leaving the rest of the string intact.
  113.    
  114. . Be sure to change your WPTERM environment variable if you decided to create
  115.   a definition with a different name.
  116.  
  117. = TROUBLESHOOTING MS-DOS KERMIT SERIAL PORT AND MODEM PROBLEMS
  118.  
  119.   "Why can't MS-DOS Kermit find my COM3 or COM4 port?"
  120.   "Why can Kermit send characters to my COM port, but not read them?"
  121.   "Why doesn't Kermit work with my internal modem?"
  122.  
  123. Rule out the obvious: Is everything connected and turned on?  Did you
  124. give a SET PORT command for the right device, and did you give it BEFORE any
  125. other device-related commands, such as SET SPEED and SET PARITY?  Remember,
  126. port-related settings apply to the port that was selected in the most recent
  127. SET PORT command, so a proper sequence might be:
  128.  
  129.   SET PORT COM2          ; First select the port
  130.   SET SPEED 19200     ; Then set its speed
  131.   SET PARITY EVEN     ; and other parameters for this port...
  132.   SET FLOW RTS/CTS
  133.   SET LOCAL-ECHO ON
  134.  
  135. Each of these parameters is remembered for each port, so switching ports (e.g.
  136. SET PORT COM1 after you have given the above sequence of commands) changes
  137. all these parameters to their previous (or default) values for the port you
  138. have switched to.  To see communication parameters for the current port:
  139.  
  140.   SHOW COMMUNICATIONS
  141.  
  142. Check them carefully to be sure they are what you intended.
  143.  
  144.   The following discussion is detailed and technical, but most of it boils
  145.   down to (a) telling Kermit two numbers, the port address and IRQ value; and
  146.   (b) fiddling with your modem.     Keep that in mind as you read more about PC
  147.   hardware than you ever wanted to know.
  148.  
  149. HOW A PHYSICAL COMMUNICATION PORT IS ASSOCIATED WITH A DOS COMn DEVICE
  150.  
  151. DOS PCs come with full support for two communication ports, COM1 and COM2, and
  152. with provisions for two more, COM3 and COM4.  COM3 and COM4 are not well (or
  153. consistently) supported in most types of PCs, as are COM1 and COM2 which
  154. rarely (by themselves) cause any problems.  This discussion considers only
  155. COM1-COM4, since higher-numbered COM ports are rare, and in any case not
  156. supported by MS-DOS Kermit.
  157.  
  158. The digit in the port name (like the "2" in COM2) is an index into an area in
  159. memory that contains the address of the serial port hardware.  The PC's Basic
  160. Input/Ouput System (BIOS) has four words starting at segment 40 (hexadecimal),
  161. word 0, for the addresses of the first four COM ports.  Word 0 is for COM1,
  162. word 2 (two bytes per word) for COM2, word 4 COM3, and word 6 COM4.  To view
  163. these addresses:
  164.  
  165.   C:\> debug         (start the debug program)
  166.   -d 40:0         (display segment 40)
  167.   -q             (quit the debug program)
  168.  
  169. ("C:\>" is the DOS prompt, "-" is the debug prompt.)  Here are the results
  170. on a PS/2 with 3 COM ports:
  171.  
  172.   0040:0000  F8 03 F8 02 20 32 00 00-BC 03 00 00 00 00 60 03  .... 2........`.
  173.              ^^^^^ ^^^^^ ^^^^^ ^^^^^
  174.              COM1  COM2  COM3  COM4
  175.  
  176. The first line (like the one above) contains the COM port information (ignore
  177. the other lines, as well as the characters on the right).  "F8 03" is the
  178. 2-byte COM1 address, expressed in hexadecimal (base 16) with the low byte
  179. first.  Thus the actual COM1 address is 03F8 hex, expressed in Kermit commands
  180. as \x3f8.  The COM2 address is 02F8, the COM3 address is 3220, and (since
  181. there is no COM4) the COM4 address is 0000.  That is how both DOS and the BIOS
  182. understand which ports are defined and where to find them.
  183.  
  184. When your PC is powered up, the BIOS startup code checks for serial port
  185. hardware (that is, a Universal Asynchronous Receiver/Transmitter, or UART) at
  186. the two port addresses 03F8 and 02F8.  If it finds a UART at the first address
  187. then that address is placed in word 40:0 and declared to be COM1.  Then the
  188. BIOS tries the second address and if successful this address goes into the
  189. first available word at that time, typically 40:2 as the address of COM2.
  190. Thus if you remove a COM1 device then a previously COM2 device will appear in
  191. the COM1 BIOS storage area as COM1 to DOS and Kermit.  What happens to the
  192. other two words depends on the PC model and BIOS.  The IBM PS/2 BIOS fills in
  193. all four words on startup, but most others handle only the first two because
  194. that's how IBM did it with the original PCs.
  195.  
  196.   So... just setting switches or jumpers on a serial port board or internal
  197.   modem does NOT necessarily define the board to be a particular COM port.
  198.  
  199. So why do some communication programs work with COM3 and COM4 without any
  200. special fiddling?  These programs ASSUME certain COM3 and COM4 addresses, even
  201. when there are no entries in the BIOS communication-port area.  Some of these
  202. programs show you their assumptions in a menu (and might allow you to change
  203. them), others do not.  The assumed values are usually as follows:
  204.  
  205.   Port     Assumed Address (hexadecimal)
  206.   COM1          03F8
  207.   COM2          02F8
  208.   COM3          03E8
  209.   COM4          02E8
  210.  
  211.   NOTE: PS/2s use different addresses for COM3 and COM4 -- 3220 and 3228,
  212.   respectively.  Well-behaved communication software (like Kermit) will use
  213.   these addresses rather than the defaults listed above.  Ill-behaved software
  214.   ignores the segment-40 addresses and erroneously attempt to use its own
  215.   values, right or wrong.
  216.  
  217. Unchecked use of an assumed port address is DANGEROUS if the device is not
  218. really where the software expects, especially if some other kind of device,
  219. say a network adapter, is at the given address.  It can also produce unwanted
  220. conflicts under Windows, OS/2, and DesqView, whose drivers often set the
  221. port's segment-40 word to 0 when they want to use the port exclusively and
  222. without interference, and then restore the real address when done, and similar
  223. unwanted interference with Int 14H redirectors that allow serial-port
  224. communication software to be used on network connections.
  225.  
  226. Unlike most other PC communication software, Kermit does NOT attempt to use a
  227. communications port unless:
  228.  
  229.   (a) It finds its address in the BIOS comm-port area, segment 40, or:
  230.   (b) You specify the address yourself.
  231.  
  232. AND:
  233.  
  234.   The device at the given address passes certain tests, in which registers
  235.   must contain certain values that are legitimate for a UART.
  236.  
  237. In other words, KERMIT IS MORE CAREFUL than most other communication software,
  238. because does not want to risk disrupting normal operation of your PC.
  239.  
  240. SPECIFYING THE PORT ADDRESS
  241.  
  242. If you tell MS-DOS Kermit to SET PORT COMn (where n is 1, 2, 3, or 4), and
  243. Kermit responds:
  244.  
  245.   Warning, no hardware for this serial port.
  246.   This port will be operated through the BIOS as BIOSn
  247.  
  248. it means that Kermit did not find an address for the port in the BIOS area or
  249. it did find one but the hardware at that address did not look like a UART.  If
  250. the cause of the message is a missing address, you can tell MS-DOS Kermit the
  251. address of the port by issuing the following command:
  252.  
  253.   SET COMn \xhhhh
  254.  
  255. where n is 1, 2, 3, or 4, and hhhh are four hexadecimal digits (0-9, A-F)
  256. representing the 16-bit address.  This command not only informs Kermit of the
  257. address, but also inserts the address into the BIOS so other programs can find
  258. the port (if they follow the rules), and so you don't have to give this
  259. command to Kermit again until after the next time you reboot.
  260.  
  261. After giving the SET COMn command, give a SET PORT COMn command for the same
  262. port, e.g.:
  263.  
  264.   set com3 \x3f8   ; FIRST specify the address of COM3 
  265.   set port com3       ; THEN select COM3
  266.  
  267. How do you know what addresses to give?     If have purchased an internal modem
  268. or an add-on serial port, the installation instructions should tell you.  The
  269. device must be configured -- generally by setting little switches or
  270. installing or removing jumpers.     You have to make sure that the address that
  271. you have chosen agrees with the address that Kermit will use.
  272.  
  273. Although it is not recommended that you guess at address values, sometimes it
  274. is the only way (as often with inherited equipment), for which occasions here
  275. is a list of the addresses commonly used for serial ports and internal modems:
  276.  
  277.   Port     Likely Addresses (hexadecimal)
  278.   COM1         03F8
  279.   COM2         02F8
  280.   COM3         03E8, 3220 (PS/2)
  281.   COM4         02E8, 3228 (PS/2), 02E0
  282.  
  283. You probably won't find a serial port at any address not listed above, but you
  284. might find a port at another port's expected address.  The use of these
  285. addresses in SET COMn commands should be relatively harmless (provided you
  286. don't also specify an interrupt, explained later); if there is no error
  287. message, Kermit found a possibly usable port. If there is an error message, no
  288. harm should have been done.
  289.  
  290. Now let's look at the other cause for the "This port will be operated through
  291. the BIOS" message, namely that an address was found in segment 40, but the
  292. device at that address does not appear to be a genuine serial port.
  293. Explanations might include:
  294.  
  295.  1. The device is at a different address.  Check your device's configuration
  296.     again, or else your SET COMn command.
  297.  
  298.  2. Your device is indeed at the given address, but its registers do not
  299.     contain values expected of a true PC serial port.  In that case, BIOS
  300.     operation is the only alternative.
  301.  
  302.  3. Your device is at the given address, but there is a conflict with another
  303.     device at that address or the machine's bus speed (not CPU speed) is set 
  304.     so high that the hardware test gave confusing results.
  305.  
  306. When Kermit operates a port through the BIOS, rather than directly, it will be
  307. MUCH slower and might not work at all because the BIOS requires the CD, CTS,
  308. and DSR modem signals to be asserted by the device connected to the port (and
  309. the CD signal is normally NOT asserted by a modem before it has made a
  310. connection to another modem).  In that case, you will have to configure the
  311. device (e.g. modem) to assert DSR, CTS, and CD always, or wire your modem
  312. cable to fake these signals (e.g. by connecting CD and DSR together).
  313.  
  314. Assuming you have found the right address for your COM3 or COM4 port (or
  315. nonstandard address for COM1 or COM2), and you want these addresses to be set
  316. correctly for Kermit at all times, even if it doesn't read its initialization
  317. file, you can put a command like the following in your AUTOEXEC.BAT file:
  318.  
  319.   set kermit=com3 \x3e8; com4 \x2e8;
  320.  
  321. INTERRUPTS
  322.  
  323.   "I can send characters to the modem, but I never see any on my screen."
  324.  
  325. This complaint (often arising from the user's observation of the modem lights
  326. and speaker), also known as "can-talk-but-not-listen syndrome", usually means
  327. that the communication device was found at the expected address, but Kermit's
  328. idea of its interrupt is wrong.     What's an interrupt?
  329.  
  330. To achieve high-speed communication without impacting other applications,
  331. Kermit reads characters from a serial device using "interrupts".  Whenever a
  332. character arrives at the serial device, the device sends a signal, called an
  333. interrupt, that can be "caught" by application software like Kermit, leaving
  334. the application free to do other work in the meantime without having to
  335. constantly look at the serial port to see if any characters have arrived (an
  336. operation called "polling", which is used by some other communications
  337. programs).  Communications programs that use polling are not sensitive to
  338. interrupts being set improperly and might therefore work with improperly-
  339. configured machines where Kermit will not (until you give it the required
  340. information), but they also tend to take over the entire computer.
  341.  
  342. In contrast to polling programs, Kermit is normally waiting for input from the
  343. keyboard, and is therefore idle if you are not typing and no characters are
  344. arriving at the communication port.  In multi-tasking environments such as
  345. Windows or OS/2, this allows other applications the largest possible share of
  346. the CPU while Kermit is running.
  347.  
  348. When a character arrives at the port, an interrupt signals Kermit to wake up
  349. from its keyboard-wait state and read the character from the port.  But Kermit
  350. needs a way of knowing which device the interrupt came from, so it will not
  351. erroneously read characters from the wrong one.  The device is identified by
  352. an Interrupt Request (IRQ) number, a small number like 3 or 4.  The BIOS does
  353. not record the IRQ number used by a serial port because the BIOS uses polling
  354. rather than interrupts.  The communications software has to know which IRQ to
  355. use.  By convention from the original IBM PC, COM1 uses IRQ 4 and COM2 uses
  356. IRQ 3.  There is no standard for COM3 and above, but certain conventions are
  357. normally followed:
  358.  
  359.   Port     PS/2  Others
  360.   COM3     IRQ3    IRQ4
  361.   COM4     IRQ3    IRQ3
  362.  
  363.   WARNING: Certain serial port cards and internal modems allow
  364.   themselves to be configured with different IRQ numbers (such as 9),
  365.   even on COM1 or COM2.     Check your device's installation instructions.
  366.  
  367. Some types of PCs (PS/2s, for example) allow sharing of IRQ numbers, provided
  368. each application has its own interrupt service routine and each such routine
  369. is built to "chain" interrupts properly (i.e. pass them along to other
  370. applications if they have arrived at the wrong place).  This works, for
  371. example, with Kermit on a PS/2; you can run two copies of Kermit under
  372. Windows, one using COM2/IRQ3 and the other using COM3/IRQ3 (i.e. two ports,
  373. same IRQ), both doing input and output simultaneously with no confusion.  But
  374. on most types of PCs, IRQs can NOT be shared, so each device must have a
  375. unique IRQ number. This caution applies especially when you have a serial
  376. mouse on IRQ 3 or 4.
  377.  
  378. Once Kermit knows the COM port's address, it tests to see which IRQ number, 3
  379. or 4, the device uses.  This is a safe test and doesn't cause any modem
  380. signaling or communication to take place.  The PC architecture has a limited
  381. range of IRQ numbers available, and so (usually) there can not be a unique IRQ
  382. number for each serial port when there are more than two, so in most cases no
  383. more than two serial ports can be active at once.
  384.  
  385. MS-DOS Kermit tests first for IRQ4, and then if there is no response, IRQ3.
  386. If both tests fail, a default value is used (on PS/2s, the default is IRQ4 for
  387. COM1 and IRQ3 for COM2-4; on others it is IRQ4 for COM1 and COM3, IRQ3 for
  388. COM2 and COM4).  No error message is given in this case, but
  389. "can-talk-but-not-listen syndrome" is a likely result.
  390.  
  391. Some add-on communication boards or internal modems are set up to use IRQ
  392. numbers other than 3 or 4 in order to avoid conflicts with COM1 or COM2 and/or
  393. to allow more than two COM ports to be active at once. But this can be
  394. dangerous -- for example, IRQ 5 (which is often used for this purpose) is also
  395. used by the hard disk controller on the PC/XT.  IRQ 7 is often used by network
  396. boards.  For this reason, Kermit does not automatically test any IRQ numbers
  397. other than 3 or 4, and does not use any other IRQ number by default.
  398.  
  399. But it is sometimes necessary, particularly on ISA (Industry Standard
  400. Architecture) bus machines (PC/ATs and compatibles) and earlier (such as PCs
  401. and XTs) to use an IRQ other than 3 or 4, for example when when an internal
  402. modem is installed as COM3 on IRQ4, and then use of COM1 prevents COM3 from
  403. working, and vice versa.  This problem can often be solved by reconfiguring
  404. the board to use an otherwise unused unique IRQ number.  Ideally this would be
  405. a normally free IRQ such as 10 or 11, but unfortunately most communication
  406. boards are not configurable for IRQs higher than 7.  Here is a brief, and
  407. definitely not comprehensive, guide to the low IRQ numbers (with IRQ numbers
  408. expressed in decimal):
  409.  
  410.      2    Normally available, but some video boards use it to obey an obsolete
  411.     standard for indicating vertical refresh.  Adjust video board jumpers
  412.     to not do this.     On 286's and above, IRQ 2 is also known as IRQ 9:
  413.     same IRQ, alternate number.  Windows 3.0 had difficulty with devices
  414.     using IRQ 2, but Windows 3.1 is better.
  415.  
  416.      3    Normally COM2 and COM4.     PS/2's use IRQ 3 for all serial ports above
  417.     COM1.  IRQ3 is also a favorite "factory default" of many local area
  418.     network (LAN) adapters.
  419.  
  420.      4    Normally COM1 and informally COM3 (except on PS/2s).
  421.  
  422.      5    Secondary parallel port.  Parallel ports are rarely interrupt-driven
  423.     (except for Novell RPRINTER users) so this wire becomes free if
  424.     you unjumper the IRQ on the parallel port board.  LAN adapters are
  425.     frequently placed on IRQ 5.  PC/XTs use IRQ 5 for the hard disk.  Be
  426.     careful with this one.
  427.  
  428.      6    Floppy disk drives. Leave it alone!
  429.  
  430.      7    Primary parallel port.    Remove as described for IRQ 5.    Be careful,
  431.     LAN adapters are frequently placed here.
  432.  
  433. NOTE: IRQs higher than 7 are not available on original PCs or PC/XTs.
  434.  
  435.      9    Alias for IRQ 2.
  436.  
  437.     10    Usually free.
  438.  
  439.     11    Usually free.
  440.  
  441.     12    Used by the IBM bus mouse, otherwise usually free.
  442.  
  443.     13    Math coprocessor errors are trapped here, otherwise frequently free.
  444.  
  445.     14    Used by hard disk on 286 and above.  Leave alone!
  446.  
  447.     15    Some SCSI controllers use this.     Usually free.
  448.     
  449. If your communication board uses an IRQ other than 3 or 4, you will experience
  450. the "can talk but not listen" syndrome when using Kermit.  To fix it, simply
  451. inform Kermit of the device's IRQ number.  This is done in the SET COMn
  452. command, after the address:
  453.  
  454.   SET COMn <address> <irq>
  455.  
  456. for example:
  457.  
  458.   SET COM3 \x03e8 5
  459.  
  460. When you include a number (like 3, 4, 5, 6, or 7) after the port address
  461. (separated by a space), Kermit skips its IRQ test and uses the IRQ number you
  462. specified the next time you give a SET PORT command for that port.
  463.  
  464.   AVOID address and IRQ conflicts; these items MUST NOT overlap existing
  465.   equipment. SERIOUS DAMAGE can result if, for example, the IRQ number you
  466.   give is the same as the one used by your disk controller or network
  467.   adapter.  Incorrect operation can result if the interrupt is in use by a
  468.   less critical device, such as a mouse.
  469.  
  470. It is necessary to specify the IRQ number in either of these two situations:
  471.  
  472.   1. The communication device uses an IRQ number other than 3 or 4.
  473.  
  474.   2. Kermit's IRQ test interferes with Windows or a similar environment.
  475.  
  476. Check your PC's configuration carefully before specifying an IRQ number.
  477. Before starting Kermit, you can use certain public domain or commercial
  478. utilities, such as MAPMEM, Northgate QAPLUS, Quarterdeck MFT, or the MSD
  479. utility shipped with Windows 3.1 to get an idea of which IRQ numbers are
  480. already in use (these utilities are, of course, not foolproof -- for example,
  481. they can't tell what IRQs are used by programs that are not presently loaded).
  482. (NOTE: Run these programs under DOS, not Windows, if possible, since Windows
  483. tends to hide the true nature of your PC's serial port structure.)
  484.  
  485. If, even after establishing the device's interrupt, Kermit still fails to
  486. operate correctly (or reliably), check to see whether:
  487.  
  488.   1. Some other device (such as a mouse or LAN adapter) is generating the 
  489.      same interrupt.
  490.  
  491.   2. Some other software (such as a mouse or video driver) is catching the 
  492.      same interrupt.
  493.  
  494. If you find a conflict, you'll have to resolve it: remove the offending device
  495. driver or TSR from your CONFIG.SYS or AUTOEXEC.BAT file or turn it off
  496. temporarily (e.g. with the MOUSE OFF command for certain mouse drivers); or,
  497. if possible, reconfigure one of the conflicting devices to use a different
  498. interrupt.
  499.  
  500. Example: A PC (not PS/2) is delivered with a serial mouse on COM1 and with
  501. COM2 as a free serial port.  COM2 can be used with an external modem, but you
  502. can't put an internal modem on COM3 because its IRQ conflicts with the mouse
  503. and the COM4 address clashes with an 8514/A video adapter (such as the ATI
  504. Ultra+).  Neither the mouse interrupt nor the video board address can be
  505. changed.  So to install an internal modem, you must remove the serial mouse
  506. and driver and, if you need a mouse, replace it with a bus mouse.
  507.  
  508. PROBLEMS WITH MODEMS
  509.  
  510.   "I just bought and installed an XYZ V-Dot-Everything internal modem, and
  511.   it works with <name-deleted> communication package, but not with Kermit".
  512.  
  513. This has long been a common complaint about internal modems.  The same
  514. complaint is also now being heard with alarming frequency about some of the
  515. newer external modems.  With internal modems, particularly when they are
  516. installed on COM3 or COM4, the most common problems are:
  517.  
  518.  1. Kermit doesn't know the modem's address, or the device is using an IRQ
  519.     number other than 3 or 4.  These problems can be fixed by giving the
  520.     appropriate SET COMn command to Kermit.
  521.  
  522.  2. The internal modem is installed incorrectly, with an address or IRQ that
  523.     conflicts with one already in use on your PC.
  524.  
  525.  3. The internal modem does not correctly emulate a real IBM PC serial port,
  526.     and therefore fails Kermit's hardware test, and therefore can only be
  527.     used through the BIOS.
  528.  
  529.  4. The device is in a laptop, notebook, or palmtop computer, and power to 
  530.     the internal modem or serial port has been disabled in the CMOS setup,
  531.     or has been turned off automatically when the cover is closed or the
  532.     machine shut down.
  533.  
  534. In mid-1992, a new generation of low-cost, high-speed modems, both internal
  535. and external, began to appear on the market.  These modems typically offer a
  536. wide range of features: V.32 and V.32bis modulation, V.42 and MNP error
  537. correction, V.42bis and MNP data compression, etc.  Unfortunately, many of
  538. these modems suffer from bugs not found in earlier modems.  The problems are
  539. generally related to initialization of the modem and interaction with its
  540. command processor.  Some common complaints:
  541.  
  542.  1. "The modem won't dial or respond to commands".  Or the modem ignores
  543.     commands when Kermit's PARITY is set to a particular value, like EVEN.  Or
  544.     commands are not processed correctly above a certain interface speed.
  545.  
  546.  2. "I can dial successfully, and in general send characters to and through
  547.     the modem, but I never get any characters back."  This looks suspiciously
  548.     like the "talk-but-not-listen" problem, but in some cases it is a bug in,
  549.     or a configuration problem with, the modem, having nothing to do with
  550.     Kermit: the modem is simply not sending any characters to the PC.
  551.  
  552.  3. "After using the modem with <name-omitted> communication software, it
  553.     also works with Kermit, but it won't work with Kermit unless I run
  554.     <name-omitted> first."
  555.  
  556.  4. "I can communicate in command-mode with the modem, up until I give it
  557.     an ATZ command, at which point it seems to die."
  558.  
  559.  5. The modem does not pass the BREAK signal.
  560.  
  561.  6. The DSR signal goes off after successful dialing.
  562.  
  563. And so on.  All of these are modem, not Kermit, problems.  Some suggestions
  564. for overcoming them:
  565.  
  566.  1. Before giving a DIAL command, which invokes a macro containing OUTPUT
  567.     commands for the modem's command processor, give the command:
  568.  
  569.     SET OUTPUT PACING <milliseconds>
  570.  
  571.     For example:
  572.  
  573.     SET OUTPUT PACING 100
  574.     OUTPUT AT Q0 E1 V1 &F\13
  575.  
  576.  2. External modems only: Check that your modem cable has wires for (at least)
  577.     the TD, RD, SG, CTS, RTS, DSR, CD, and DTR RS-232 signals.    If it does
  578.     not, replace the cable with a real modem cable, or (temporarily) configure
  579.     your modem to compensate for the missing signals.
  580.  
  581.  3. Read your modem manual and check your modem's configuration.  Perhaps its
  582.     interface speed is locked to a different speed than the one Kermit is
  583.     using.  Perhaps Kermit is set to use RTS/CTS flow control, but the modem
  584.     is not asserting CTS.  Also, check its factory and/or saved settings, and
  585.     under what conditions they are restored (for example, are they restored
  586.     when the PC drops DTR?).  How are you selecting saved settings -- read
  587.     your modem manual about (e.g.) the difference between AT&F and AT&F2.  Be
  588.     aware that the AT&Fn commands might not restore all S-registers, so double
  589.     check them.  Be particularly sensitive to the registers that control
  590.     interface speed, modulation technique, error correction, data compression,
  591.     negotiation, and fallback, and note that each modem maker probably uses
  592.     different registers and commands to control each of these features.
  593.  
  594.  4. Try the following sequence to initialize the port (using COM3 in this
  595.     example):
  596.  
  597.     SET COM3 <address> <irq>    ; (if necessary)
  598.     SET PORT 3            ; Select port 3
  599.     HANGUP                ; Drop DTR on port 3
  600.     SET PORT 3            ; Re-initialize port 3
  601.  
  602.  5. SET PARITY NONE when talking to the modem, and then set parity to whatever
  603.     the remote host or service requires after making the connection.  (NOTE:
  604.     MS-DOS Kermit might set its parity to some other value automatically as a
  605.     result of automatic parity detection during file transfer.)
  606.  
  607.  6. Ensure your PC bus speed is 8MHz.  Some PCs (not PS/2s) come with a BIOS
  608.     SETUP facility that lets you change the PC's bus speed, memory wait
  609.     states, etc.  In general, it is dangerous to deviate from the defaults,
  610.     particularly from the 8MHz bus speed, a standard for add-on devices; it
  611.     might be required by your communication board or internal modem.
  612.  
  613.  7. Dial at a lower speed.  Make your interface speed match the modulation
  614.     speed -- e.g. use 9600 for V.32, 2400 for V.22bis, etc.  Turn off modem
  615.     error correction and compression.  etc etc.  NOTE: connection problems
  616.     between the two modems have nothing to do with Kermit and are beyond the
  617.     scope of this document.  If a modem appears to dial correctly, gets
  618.     connection tones, and then hangs up, it is a problem between the two
  619.     modems (involving one or both modems and/or the phone company), and
  620.     indicates a modem configuration problem, a bug, or a basic incompatibility
  621.     between the calling and answering modems.
  622.  
  623.  8. The ATZ problem.  If the modem doesn't work after an ATZ command, HANGUP
  624.     and the SET LINE again.  If that doesn't do it, power the modem off and on.
  625.  
  626.  9. If the modem can't be configured to pass the BREAK signal, but it does
  627.     correctly implement a command for sending BREAK, such as AT\B9, define
  628.     an MS-DOS Kermit macro, SBREAK, to send a BREAK as follows:
  629.  
  630.       define sbreak pause 1, output +++, pause 1, output ATB\{92}9\13, -
  631.     pause 1, output ATO\13, connect
  632.     
  633.     and assign it to the key of your choice, for example F1:
  634.  
  635.       set key \315 {\Ksbreak}
  636.  
  637. 10. Call your modem maker's technical support number.  Ask if they have
  638.     replacement chips to fix bugs in your modem.
  639.  
  640. = DISK INTERRUPT CONFLICTS
  641.  
  642. On certain PCs, Kermit file transfers (or terminal sessions that are being
  643. logged to disk) through serial communication devices (COM1 thru 4) can suffer
  644. from data loss during disk read/write operations.  This is apparently because,
  645. on these PCs, the entire interrupt mechanism is TURNED OFF during disk reads
  646. or writes.  Thus, while the disk driver is active, no interrupts are generated
  647. by incoming characters, and therefore they are likely to be lost (particularly
  648. if the UART does not have its own buffer).
  649.  
  650. If you experience data loss during uploads (watch the "Retries" counter), try
  651. sending the same file from a RAM disk; if the retries go away, your PC has
  652. this problem.  If downloads to disk have lots of retries, try downloading the
  653. same file to the NUL device (tell MS-DOS Kermit to RECEIVE NUL); same deal.
  654.  
  655. On some PC's, it has been observed that the disk-interrupt conflict occurs
  656. when using a certain COM port, but not a different one.  For example, on a
  657. PS/2 Model 70 A20, conflicts occur on COM2 but not COM1.
  658.  
  659. = MS-DOS 5.0 AND 6.0
  660.  
  661. You should not use MS-DOS Kermit (or other communications software) under
  662. DOSSHELL.  Unlike Windows, DesqView, OS/2, etc, DOSSHELL is NOT a multitasking
  663. environment.
  664.  
  665. = MICROSOFT WINDOWS, DESQVIEW, OS/2, ETC.
  666.  
  667. Although MS-DOS Kermit can work in these environments, and even takes advantage
  668. of many of their features, it does not have a "graphical user interface".  You
  669. still have to type commands to the MS-Kermit> prompt or execute them from
  670. command files with the TAKE command.
  671.  
  672. OS/2 1.x...
  673.  
  674. NOTE: The recommended communications software for OS/2 (any version) is
  675. C-Kermit 5A(188) or later, which is a native OS/2 application.
  676.  
  677. Under OS/2 1.3 and earlier, MS-DOS Kermit only runs in full-screen mode.
  678. Under 1.x of OS/2, the serial port must first be conditioned by the command:
  679.  
  680.   SETCOM40 COM1=ON
  681.  
  682. OS/2 2.0 and 2.1...
  683.  
  684. MS-DOS Kermit can run in a window of OS/2 2.x and, of course, also in a full
  685. screen.  Kermit's flow control has no effect because OS/2 itself is
  686. controlling the device.  You can configure OS/2 to handle flow control itself
  687. by adding a command like the following to your STARTUP.CMD file:
  688.  
  689.     MODE COM1 XON=ON          (for XON/XOFF software flow control) 
  690. or:
  691.     MODE COM1 RTS=HS OCTS=ON  (for RTS/CTS hardware flow control)
  692.  
  693. If your PC's communication port is a 16550A[FN] UART serial communication
  694. adapter (as is standard on the PS/2), it has a built-in buffer to improve
  695. performance.  To enable use of the 16550's buffering capability, add BUFFER=ON
  696. to your MODE command:
  697.  
  698.     MODE COM1 XON=ON BUFFER=ON           (for XON/XOFF software flow control) 
  699. or:
  700.     MODE COM1 RTS=HS OCTS=ON BUFFER=ON (for RTS/CTS hardware flow control)
  701.  
  702. If you don't have a buffered UART, MS-DOS Kermit will lose characters galore
  703. at high transmission speeds.
  704.  
  705. IDLE_SENSITIVITY should be set to 0 and IDLE_DETECTION_TIME should be 100 to
  706. reduce the jerkiness of DOS sessions.
  707.  
  708. Reportedly, MS-DOS Kermit runs quite well under OS/2 (in a DOS window, or
  709. fullscreen) if you load the shareware SIO.SYS or VSIO.SYS driver in place of
  710. OS/2's regular serial port driver.  If you do not have a buffered UART, tell
  711. SIO.SYS to simulate one, e.g. "(COM1,3F8,IRQ4,,F)".
  712.  
  713. TCP/IP (and presumably other networks supported by MS-DOS Kermit) cannot be
  714. used with OS/2.  OS/2's network interface is totally different from the
  715. methods (such as Packet Drivers) used by DOS.  (You can, however, run MS-DOS
  716. Kermit over packet drivers, etc, if you boot a suitably-equipped DOS from your
  717. A: disk in a DOS window.)
  718.  
  719. MICROSOFT WINDOWS...
  720.  
  721. MS-DOS Kermit operates under Microsoft Windows 3.0 and 3.1 in fullscreen mode
  722. on all machines, and in a window on 386-class or higher machines that have
  723. enough memory for Windows to operate in Enhanced Mode (3-4 megabytes are
  724. required).  Be sure to install the KERMIT.PIF file so Windows can can set
  725. things up correctly for Kermit operation.  See the instructions in MSKERM.HLP.
  726.  
  727. Under Windows 3.x Real or Standard mode, you can use still use MS-DOS Kermit
  728. as a full-screen DOS application.  Kermit works in a window on all PCs (if
  729. they have enough memory) under Windows 2.0.
  730.  
  731. Memory-management setups accomplished under DOS (e.g. by EMM386) in CONFIG.SYS
  732. are undone by Windows.  If successful operation of Kermit or other
  733. applications depends on some special memory configuration (such as eXclude=
  734. and frame= clauses to protect portions of video memory, etc), you must
  735. duplicate this configuration in the [Enhanced] section of the Windows
  736. SYSTEM.INI file.  Note that segments A000 and B000 remain owned by the video
  737. display system and not by memory managers.
  738.  
  739. The use of COM3 and COM4 under Windows is problematic, but most users report
  740. success after finding the right "SET COMx <address> <irq>" command.
  741.  
  742. When running Kermit in two windows at once, one on COM1, one on COM2, Windows
  743. complains that both applications want to access COM1.  To make sure that COM1's
  744. IRQ 4 is not touched when starting COM2 (part of the "find the IRQ" test),
  745. specify the COM2 port parameters explicitly as SET COM2 \x2f8 3 (standard port
  746. address and IRQ for COM2) to make Kermit skip the test.
  747.  
  748. Similarly, if you have a serial mouse on COM1, and you want Kermit to use (for
  749. example) COM2 for communication, add the following to your MSCUSTOM.INI
  750. file to prevent Kermit from touching COM1 and interfering with your mouse:
  751.  
  752.   SET COM2 \x2f8 3 ; (substitute appropriate values)
  753.   SET PORT COM2
  754.  
  755. Kermit's performance under Windows depends on the BIOS, the machine
  756. architecture, the serial port hardware, which drivers and TSRs are loaded, the
  757. system load, and Windows settings.  A 16550A UART is particularly important
  758. under Windows, as is an effective flow control method. For further tuning,
  759. look at the Windows files SYSIN*.TXT for information about SYSTEM.INI settings
  760. related to communication ports, particularly COMxBuffer and COMBoostTime.
  761.  
  762. When running MS-DOS Kermit under Windows, specifying a ",P" at the end of a
  763. serial port setting in WIN.INI or in a MODE command can cause loss of
  764. characters from the serial port.  Remove the ",P" from the setting.
  765.  
  766. See KERMIT.HLP for instructions on using Kermit's TCP/IP support under Windows.
  767.  
  768. DESQVIEW and DESQVIEW/X ...
  769.  
  770. Users of DESQview set "Optimize Communications" in the Advanced menu to "No".
  771.  
  772. DESQview/X reportedly requires that the serial port be configured to
  773. "optimize" to prevent Kermit from losing characters.  Network connections
  774. (TCP/IP over a packet driver or ODI) within an X window of DESQview/X
  775. apparently do not work.
  776.  
  777. = VIDEO PROBLEMS
  778.  
  779. Kermit does not mix well with NNANSI.SYS, a public domain (or shareware?)
  780. console driver that replaces ANSI.SYS, and which implements "hardware
  781. scrolling", a case of two non-cooperating programs directly manipulating
  782. the video adapter at the same time!  Similar comments apply to other console
  783. drivers that access the screen directly, including ANSI.COM (from PC Magazine,
  784. circa 1988).
  785.  
  786. To turn off NNANSI.SYS's direct screen access, put the following commands in
  787. your MSCUSTOM.INI file:
  788.  
  789.   echo \27[=98l                  ; Reset "fast mode"
  790.   define on_exit echo \27[=98h   ; Set "fast mode"
  791.  
  792. = SERIAL COMMUNICATIONS
  793.  
  794. ANSI.COM, mentioned above in connection with video problems, also interferes
  795. with serial communications.  Solution: unload it, use ANSI.SYS instead.
  796.  
  797. On PCs with high-quality buffered UARTs, Kermit can be used at speeds up to
  798. 57600 bps under DOS (under Windows or DesqView, the maximum speed is probably
  799. lower).     115200 bps works only with a very short shielded cable, and the async
  800. adapters of the two machines in perfect tune.  Some VAX serial port interfaces
  801. are out of tolerance at 19,200 bps and faster.    Some of the new high-speed PCs
  802. (486s like, for example, the IBM PS/VP or the Gateway 2000) come with
  803. unbuffered UARTs.  Despite the speed of the CPUs, these new machines perform
  804. serial communications less reliably than older machines that run at 1/4 the
  805. speed or less, but that have buffered UARTs (like the PS/2-70).
  806.  
  807. MS-DOS Kermit will tell you whether you have a buffered UART:
  808.  
  809.   SET PORT 2
  810.   SHOW COMMUNICATIONS
  811.   ...
  812.   COM1 Address: Port \xf38, IRQ 4, 16550A UART FIFO
  813.  
  814. 16550A UART means you have the good kind, FIFO means it has a "First-In
  815. First-Out" buffer.  If Kermit does not say you have a 1655A UART FIFO, and you
  816. are suffering from performance or data loss problems, replace it (if
  817. possible!)  with a 16550A.
  818.  
  819. SHOW COMMUNICATIONS might incorrectly display the UART type after you switch
  820. ports (e.g. from COM1 to COM2).  After using the new port (e.g. in CONNECT
  821. mode), the display will be correct again.
  822.  
  823. If your speed is set too high, the symptom might be lost or garbled characters
  824. or graphics images on the screen, or data-overrun beeps.  Normally flow control
  825. prevents these problems so use it if you can.  Printing while in CONNECT mode
  826. needs flow control to be active.
  827.  
  828. Even with flow control, however, there can be no guarantee that incoming
  829. characters will not be lost at high communication speeds on very slow PCs,
  830. such as original 4.77MHz PCs or PC/XTs.  In such cases, the only recourse is
  831. to use a slower communication speed.
  832.  
  833. MS-DOS Kermit does not monitor the communication line for carrier loss during
  834. terminal emulation or file transfer.  You can SHOW MODEM or SHOW COMMUNICATIONS
  835. to inquire about CD, DSR, and CTS.  The script command WAIT permits sensing
  836. carrier presence in a script program.
  837.  
  838. The SHOW MODEM and WAIT commands work right only if your modem or other
  839. communication device is configured to raise and lower the DSR, CTS, and CD
  840. signals appropriately, and the cable that connects your PC to the modem passes
  841. these signals through.    For some modems, the factory setting is to always keep
  842. CD on, even if there is no connection.    Consult your modem manual.
  843.  
  844. For serial devices, the HANGUP command (and Ctrl-]H in CONNECT mode) works
  845. only if the cable that connects your PC to the communication device passes the
  846. DTR signal through, and if the communication device itself is configured to
  847. hang up or otherwise terminate the connection when the DTR signal is lowered
  848. by the PC.  For some modems, the factory setting is to ignore DTR transitions.
  849. Consult your modem manual (for example, tell a Hayes modem to "AT&D2").     NOTE:
  850. in version 3.11, the HANGUP command turned off DTR for about 1/2 second and
  851. then turned it back on again.  In version 3.12 and later, the HANGUP command
  852. turns off DTR until the next time you issue a command that accesses the serial
  853. port.  If you can't make the HANGUP command work, define a macro to send a
  854. hangup command to the modem, for example (for Hayes modems):
  855.  
  856.   DEFINE MYHANGUP PAUSE 1, OUTPUT +++, PAUSE 1, OUTPUT ATH0\13
  857.  
  858. and then use this macro in place of the regular HANGUP command.  You can also
  859. assign this macro to a "hot key", for example:
  860.  
  861.   SET KEY \2339 {\Kmyhangup} ; Assign MYHANGUP to Alt-h.
  862.  
  863. = TERMINAL EMULATION
  864.  
  865. Kermit's VT320/340 emulator lacks the following features:
  866.  
  867.  . Smooth scroll
  868.  . Downloadable soft fonts
  869.  . ReGis graphics (VT340/330)
  870.  . Dual sessions in split screens (VT340/330)
  871.  . Local screen editing and block transmission (for security reasons)
  872.  . True double height/width characters (these are simulated)
  873.  . Selective erasure (as a character attribute, a formatted screen item)
  874.  . Some of the exotic and rarely-used features of the DEC VT340/330 series:
  875.    formatted screen and graphics operations highly specialized to DEC hardware.
  876.  
  877. MS-DOS Kermit does not include "ANSI" or "PCTERM" emulation.  If you need
  878. this, as when logging in to a PC-based BBS, tell MS-DOS Kermit to:
  879.  
  880.   SET TERMINAL TYPE VT320  ; This is the default
  881.   SET PARITY NONE          ; This is the default
  882.   SET TERMINAL BYTESIZE 8
  883.   SET TERMINAL CHARACTER-SET TRANSPARENT
  884.  
  885. and make sure your PC's code page agrees with what the BBS thinks it is,
  886. otherwise box-drawing characters might come out looking like accented
  887. letters.  If that doesn't work, then use your ANSI console driver instead of
  888. Kermit's built-in VT terminal emulation: make sure you have the ANSI.SYS (part
  889. of DOS) console driver loaded in your CONFIG.SYS, and SET TERMINAL TYPE NONE
  890. (rather than VT320); note that when your terminal type is NONE, the mode line,
  891. screen rollback, similar features are not available.
  892.  
  893. On certain "national keyboards", like the German one, Kermit's normal escape
  894. character, Ctrl-] (Control-Rightbracket) does not seem work.  This is because
  895. certain control characters are typed differently on these keyboards.  On the
  896. German keyboard, Ctrl-] is produced by holding down the Ctrl (Strg) key and
  897. pressing the + (plus) key.  MS-DOS Kermit has no way of knowing this, and
  898. continues to display the escape character as "^]" in the mode-line help text.
  899.  
  900. Kermit does not work with certain Swedish keyboard drivers because of a bug in
  901. the keyboard driver.  Workaround: use a different keyboard driver.  Reportedy
  902. there are several different Swedish keyboard drivers available.
  903.  
  904. Do not attempt to plug an "enhanced" (101) keyboard into a PC/XT or earlier.
  905. The BIOS on early PCs does not support the newer keyboards, even if you
  906. install the corresponding keyboard driver.
  907.  
  908. If VAX/VMS thinks you have a VT220 or VT320, it sends 8-bit control sequences.
  909. Kermit does not understand them unless you SET TERMINAL BYTESIZE 8.  The
  910. symptom is the appearance of fragments of escape sequences on the screen and
  911. wrong cursor positioning, and possibly fractured tab settings, particularly
  912. during EVE sessions.  You can prevent VMS from sending 8-bit control sequences
  913. (if you really do not have an 8-bit connection) by giving the VMS command SET
  914. TERMINAL /NOEIGHT.  For VAX/VMS, you should also use Xon/Xoff flow control in
  915. both directions (SET TERM /TTSYNC /HOSTSYNC on VMS).
  916.  
  917. In VT100/200/300 emulation on the IBM PC family, receipt of ESC [ 4 m (turn on
  918. underscore) results in a color change rather than underscore on IBM CGA, EGA
  919. and other color displays.  IBM color display adapters have one less attribute
  920. than DEC terminals, and in addition the two systems intensify dots differently
  921. (IBM does foreground/character dots only, whereas DEC can intensify any
  922. dot).  The color chosen for underscore simulation is derived from the normal
  923. fore- and background colors in a way that ensures it is different from both.
  924. There is presently no way for the user to choose the color used for underscore
  925. simulation.
  926.  
  927. Receipt of ESC [ 0 m does not affect the fore- and background colors, in
  928. compliance with the definition of this function for real DEC VT terminals.
  929. Fore- and background colors can only be changed by the host only by sending
  930. explicit  ESC [ 3x/4x m escape sequences.
  931.  
  932. SET TERMINAL COLOR 1 [3xx 4xx] (used to make the foreground color bright), if
  933. issued when SET TERMINAL SCREEN REVERSE is in effect, reverts to normal video.
  934.  
  935. Similary, if SET TERMINAL COLOR 1 is in effect, the effects of the host-
  936. generated escape sequences CSI 1 m and CSI 0 m are reversed.
  937.  
  938. If certain incomplete escape sequences (e.g. Operating System Command) are
  939. received during terminal emulation, Kermit can hang waiting for the string
  940. terminator that never comes, usually because of noise on the communication
  941. line.  Reset the terminal emulator by pressing Alt-= (Alt-equals), the default
  942. key for \Kreset.
  943.  
  944. Kermit assumes 25 screen lines but can adapt to other lengths if it knows how
  945. to get this information from the video adapter.     There still might be some
  946. confusion about screen length when switching between text and graphics modes,
  947. or between 80 and 132 column mode, or escaping back from CONNECT mode, due
  948. primarily to lack of reliable or consistent information from the many different
  949. kinds of video adapters.
  950.  
  951. To get properly formatted screens during terminal emulation, be sure to inform
  952. the remote host of your screen width and length.  On some UNIX systems, this
  953. can be done by:
  954.  
  955.   `eval resize`
  956.  
  957. which asks the terminal for its dimensions (Kermit responds correctly) and
  958. puts these values in your UNIX environment.
  959.  
  960. So that key translation and macros can work on both IBM and non-IBM compatible
  961. PCs, Kermit uses the system BIOS to obtain key scan codes.  But the IBM BIOS
  962. does not produce scan codes at all for certain keys, and may produce duplicate
  963. scan codes for others.    Num Lock, Print Screen, Scroll Lock, and Pause are
  964. examples.
  965.  
  966. Although MS-DOS Kermit has verbs for DEC function keys (\KdecF6-F20) and it
  967. also supports the DEC User-Defined Key (UDK) feature, it does not support both
  968. of these simultaneously.  If the host sends a UDK-defining sequence for a
  969. given function key, it will overwrite the normal definition of that key.  This
  970. behavior differs from a real DEC terminal, which preserves the normal F-key
  971. function, and assigns the user-defined value to the shifted version of the
  972. function key.  Workaround: Use the \KdecF6-20 verbs for UDKs but *not* for
  973. DEC F-keys.  Since the values sent by DEC F-keys are constant, assign these
  974. values, rather than the corresponding verbs, to the desired keys.  The values
  975. are listed in "Using MS-DOS Kermit", Table II-5, page 294.  Example:
  976.  
  977.   set key \2413 \27[17~  ; Assign DEC F6 value to PC Alt-F6
  978.   set key \857 \KdecF6   ; Assign DEC Shift-F6 (UDK) to PC Shift-F6
  979.  
  980. When you PUSH to DOS (including when you use Kermit's RUN command), and you
  981. have XON/XOFF flow control enabled, Kermit sends an XOFF (Ctrl-S) to the host
  982. when you leave, and XON (Ctrl-Q) when you return (if you have RTS/CTS flow
  983. control enabled, Kermit turns off RTS).     This prevents data transmitted by the
  984. host from being lost.  However, if you are using Xon/Xoff and you do this
  985. while using the EMACS text editor on the host, the Ctrl-S will be interpreted
  986. as a Search command, and the Ctrl-Q as a Quote command.     When you return to
  987. EMACS, type several Ctrl-G's to get back to normal.
  988.  
  989. Similar comments about sending Xoff and Xon apply when Kermit is commanded
  990. to change its screen size between 80 and 132 columns.
  991.  
  992. Session logging can be turned on using the LOG SESSION command, and it can
  993. be toggled on and off during terminal emulation by using whatever keys are
  994. associated with the verbs \Klogoff and \Klogon.     One user stated the
  995. requirement to enable a session log, but to have it initially turned off.
  996. This can be done as follows (using the F1 and F2 keys as examples):
  997.  
  998.   SET KEY \315 {\Kloginit}  ; F1 to turn on log
  999.   SET KEY \316 \klogoff        ; F2 to turn log off
  1000.   DEFINE loginit log session, set key \315 \klogon, define loginit, connect
  1001.  
  1002. To log your session to a printer, add the word PRN after "log session" in
  1003. the third line above.
  1004.  
  1005. The session log is written to disk by DOS.  The frequency with which DOS
  1006. updates this file is governed by the BUFFERS= line in your CONFIG.SYS file (see
  1007. your DOS manual).  If you allocate a large number of buffers in CONFIG.SYS,
  1008. disk operations occur infrequently and this improves performance.  If you need
  1009. to have the session log updated more frequently to minimize the loss of data
  1010. when there is a power failure, you can do this (at the expense of efficiency)
  1011. by allocating a smaller number of buffers in CONFIG.SYS.
  1012.  
  1013. 132-COLUMN MODE
  1014.  
  1015. If you have a monitor with fixed horizontal frequency but a video adapter that
  1016. Kermit knows how to switch into 132 column mode, you will see only garbage on
  1017. your screen whenever Kermit switches to 132 columns.  There is no way to tell
  1018. Kermit to ignore "switch to 132 columns" commands.  If you buy a
  1019. 132-column-capable video adapter, be sure you have a compatible monitor.  See
  1020. KERMIT.UPD for further information on 132-column mode.
  1021.  
  1022. GRAPHICS TERMINAL EMULATION
  1023.  
  1024. In earlier releases, MS-DOS Kermit responded to ESC 1 and ESC 2 for
  1025. automatically switching into and out of Tektronix graphics mode, for the
  1026. benefit of some long-forgotten host-based graphics software.  This feature
  1027. has been discontinued because these escape sequences mean something entirely
  1028. different, namely "switch character size" in VT340 Tek mode.
  1029.  
  1030. PS/2 Model 25 and 30 MCGA adapter is used in low-resolution CGA mode by
  1031. default; images may be elongated or truncated.    Hi-resolution graphics can be
  1032. done (as of version 3.11) via SET TERM GRAPHICS VGA, but these slow PC models
  1033. might not be able to keep up at speeds above 9600 bps.
  1034.  
  1035. When you type the escape character (normally Ctrl-]) while in Tektronix
  1036. graphics mode, the screen goes back to text memory.  Then when you type the
  1037. argument character, the graphics screen reappears (unless the argument was C or
  1038. P).  Ctrl-]F will not file the graphics screen, but rather the text screen,
  1039. because that's the screen that's showing after type the Ctrl-] key.  To file
  1040. the graphics screen (in TIFF format), use \Kdump (normally on Ctrl-Keypad-End).
  1041.  
  1042. You can't dump the Tektronix screen while the GIN-mode crosshair cursor is
  1043. active; Kermit's keyboard translator is not active.  Key strokes (of regular
  1044. typewriter keys) or mouse actions are used to transmit the crosshair
  1045. coordinates.  If you press a non-typewriter key, Kermit just beeps.
  1046.  
  1047. Kermit does not emulate a particular kind of color graphics terminal, such as a
  1048. DEC ReGIS display or a Tektronix 41xx or 42xx series.  However, it can be used
  1049. for color graphics by mixing ANSI color-setting escape sequences with Tektronix
  1050. or Sixel commands.  This requires graphics software vendors adding support for
  1051. MS-DOS Kermit graphics to their packages (so far, WordPerfect Corp has done
  1052. this for their host-resident products).  There is at least one ReGis-to-Sixel
  1053. converter on the market: RETOS, a DEC product for VAX/VMS.
  1054.  
  1055. Problems may occur when using Kermit with host-resident (VAX/VMS) versions of
  1056. WordPerfect because the color palette report sent upon request of WordPerfect
  1057. is very long. If the host is not configured properly, parts of the report will
  1058. be lost because of overruns on the VMS side.  SET TERM /HOSTSYNC and /TTSYNC
  1059. are required for WP/VMS.  Even then intervening communication boxes (e.g.
  1060. terminal servers) can become overloaded with the 200++ byte response.
  1061.  
  1062. = PRINTER SUPPORT
  1063.  
  1064. Kermit uses DOS services for printing. There is no knowledge of particular
  1065. printer types in Kermit.  Kermit determines whether the printer is ready, or
  1066. whether there has been a printing error, via DOS's return code.  If DOS tells
  1067. Kermit the printer is not ready, Kermit changes the printer device name to NUL
  1068. so subsequent print operations won't block.  To reenable printing operations
  1069. (e.g. after turning on the printer, adding paper, etc), use a SET PRINTER
  1070. command such as SET PRINTER PRN or SET PRINTER LPT1.
  1071.  
  1072. When printing a file that contains a Ctrl-Z character, DOS will "close" the
  1073. printer as soon as it sees the Ctrl-Z, and when subsequent characters are sent
  1074. to the printer, DOS reports a printer error and Kermit reports "Printer error,
  1075. discard or retry?".  This is a feature of DOS.
  1076.  
  1077. The Print Screen and Shift-PrintScreen keys are never seen by Kermit.  They
  1078. are intercepted and acted upon by the BIOS.  Thus Kermit has no control over
  1079. the format of the printed output.  For example, a formfeed is not added to the
  1080. end to force a page eject.  If you want to print the current screen with a
  1081. formfeed at the end, use the following procedure:
  1082.  
  1083.   SET DUMP PRN    ; Specify that screen dumps go to the printer
  1084.  
  1085. and then use the \Kdump keyboard verb to accomplish the screen dump.  This
  1086. verb is assigned by default to the keypad Ctrl-End key, but you can assign it
  1087. to another key of your choice (but not Print Screen), for example:
  1088.  
  1089.   SET KEY \315 \Kdump  ; Assign screen dump to F1
  1090.  
  1091. Alternatively, you define a key (this time we use the F2 key) to send a
  1092. formfeed (ASCII 12) to the printer:
  1093.  
  1094.   DEFINE FFPRINT run echo \12 >PRN
  1095.   SET KEY \316 {\Kffprint}
  1096.  
  1097. Or you can redefine your host printing procedure to include a formfeed:
  1098.  
  1099.   1. Send ESC [ 5 i
  1100.   2. "type" the file
  1101.   3. Send formfeed (ASCII 12)
  1102.   4. Send ESC [ 4 i
  1103.  
  1104. (Shift-)Printscreen can cause the PC to hang if there is no attached printer.
  1105. This is a BIOS feature, Kermit never receives the command.  If this happens
  1106. during terminal emulation, try pressing Alt-= (hold down Alt and press the "="
  1107. key) several times to reset the terminal emulator.
  1108.  
  1109. Serial printers are not well supported by DOS, and since Kermit does all its
  1110. printing through DOS, Kermit's printing features might not work well with
  1111. serial printers.  To use a serial printer effectively, you must have a driver
  1112. for it that takes care of flow control, such as MSPSPD, available on the
  1113. MS-DOS Kermit Utilities and Technical Documentation diskette.
  1114.  
  1115. Transparent printing starts when the host sends the sequence ESC [ 4 i and
  1116. stops when the host sends ESC [ 5 i.  All characters, including escape
  1117. sequences, that arrive at the port are passed directly to the printer without
  1118. translation (but the parity bit is stripped if Kermit's parity is not NONE).
  1119. If character translation is desired, or it is desired not pass screen-control
  1120. escape sequences to the printer, use Autoprint rather than Transparent print
  1121. (ESC [ 0 i, ESC [ ? 4 i, ESC [ ? 5 i).    In that case, characters are translated
  1122. to the current IBM code page.  If your printer doesn't support your IBM code
  1123. page, you need an external utility to translate from the PC code page to the
  1124. printer's character set.  You can use SET PRINTER xxxx to capture Transparent
  1125. print or Autoprint data into a file.
  1126.  
  1127. Under PATHWORKS, reportedly, transparent print operations to a network printer
  1128. do not cause printing to actually occur until the user escapes back to the
  1129. MS-Kermit prompt and forces the printer to be closed (and reopened) with a SET
  1130. PRINTER PRN command.
  1131.  
  1132.  
  1133. = INTERNATIONAL CHARACTER SETS
  1134.  
  1135. MS-DOS Kermit does not directly support Cyrillic terminal sets; that is, you
  1136. can't set your TERMINAL CHARACTER-SET to a Cyrillic set.  However, you can
  1137. still have a Cyrillic terminal session if you have a Cyrillic code page loaded
  1138. and you have issued the appropriate collection of SET KEY and SET TRANSLATE
  1139. INPUT commands (see the CYRILLIC directory on the distribution diskette).
  1140.  
  1141. MS-DOS Kermit does not support Japanese Kanji character-set translation during
  1142. terminal emulation.  However, version 3.13 does support the Kanji video mode
  1143. used on IBM-compatible DOS/V PCs, which allows Kanji terminal emulation if
  1144. the remote character set happens to be Shift-JIS (CP982).
  1145.  
  1146. Character-set translation during terminal emulation is done between the remote
  1147. TERMINAL CHARACTER-SET and the PC's current code page. During file transfer,
  1148. it's between the TRANSFER CHARACTER-SET and the PC's code page.  At startup,
  1149. MS-DOS Kermit asks DOS to report the current code page, and it sets your FILE
  1150. CHARACTER-SET and your TERMINAL CODE-PAGE to this value.  But DOS often lies
  1151. about the code page, so in most cases when your actual code page is anything
  1152. but 437 (or maybe 850), you, yourself, will have to tell MS-DOS Kermit what
  1153. your code page *really* is, using the following two commands:
  1154.  
  1155.   SET TERMINAL CODE-PAGE CPnnn ; Your actual current code page.
  1156.   SET FILE CHARACTER-SET CPnnn ; The code page for incoming text files.
  1157.  
  1158. The two would normally be the same, but MS-DOS Kermit lets you set them
  1159. differently if you want to, for example if you have a Hebrew code page loaded
  1160. for display purposes, but you want to download a Russian file that you will
  1161. display later, after loading a Cyrillic code page.
  1162.  
  1163. MS-DOS Kermit does not allow all possible combinations of FILE and TRANSFER
  1164. character sets.     The Hebrew code page (CP862) forces the Hebrew transfer
  1165. character set, and vice-versa.    Similarly for Cyrillic and Latin-2, etc.
  1166. Latin-1, however, can be used with many code pages: 437, 850, 861, 863, 865.
  1167.  
  1168. Some of the ISO 2022 or DEC-specific character-set designation escape
  1169. sequences, which *do* work correctly, nevertheless fail to have an effect on
  1170. the character-set field of the SHOW TERMINAL display.
  1171.  
  1172. LOG SESSION records characters that arrive at the serial port, before
  1173. translation by either Kermit's built-in terminal character set translation
  1174. tables or by user-specified SET TRANSLATION INPUT commands.  This allows
  1175. REPLAY to work correctly but it prevents special characters from being logged
  1176. after translation to the PC's own character set.  Screen dump (Ctrl-End or
  1177. Ctrl-]F) and autoprint, however, record the translated characters.
  1178.  
  1179. SET TERMINAL CHARACTER SET is effective only for text screens, not for
  1180. graphics screens.  This is because the fonts for all the special characters
  1181. have not been designed yet (and may never be, and even if they are, they would
  1182. require a lot of memory).
  1183.  
  1184. International characters in macro names are not case independent.
  1185.  
  1186. Case-independent string matching operations (e.g. SET INPUT CASE IGNORE,
  1187. IF EQUAL xxx yyy) won't necessarily work with international characters.
  1188.  
  1189. = COMMAND PROCESSING
  1190.  
  1191. Kermit's backslash-code processing will produce unexpected results when you
  1192. have a file or directory name that starts with a digit.  For example, if
  1193. Kermit's command processor sees the string "C:\4DOS", it translates the "\4"
  1194. into a Control-D character and will not find the 4DOS directory.  At present,
  1195. the only workaround for this situation is to avoid starting directory or
  1196. filenames with digits.
  1197.  
  1198. When a command field begins with the @ (at-sign) character, the following
  1199. characters are interpreted as a filename that contains the rest of the
  1200. command.  If you need to type a command field that actually starts with @, or
  1201. respond to an ASK or ASKQ query with text that starts with an atsign, you have
  1202. to encode the atsign as \64 or \{64}.
  1203.  
  1204. \B in an OUTPUT command tells Kermit to send a BREAK.  \L Tells Kermit to
  1205. send a Long BREAK.  If you need to output \B or \L literally, use two OUTPUT
  1206. statements, e.g.:
  1207.  
  1208.   define xbreak pause 1, output +++, pause 1, output AT\92, output B, -
  1209.     pause 1, output ATO\13, connect
  1210.   set key <key-of-your-choice> {\Kxbreak}
  1211.  
  1212. Notice that the backslash itself is written as "\92" to output it literally.
  1213.  
  1214. Certain commands, such as RUN, DIRECTORY, TYPE, etc, invoke COMMAND.COM
  1215. "underneath" Kermit, and COMMAND.COM might, in turn, invoke other programs.
  1216. If you get the message "Can't run program" in response to such a command, it
  1217. usually means there is not enough memory.  But you should also check your
  1218. SHELL environment variable.
  1219.  
  1220. If you include the word STAY anywhere on the Kermit command line, e.g.:
  1221.  
  1222.   kermit echo stay
  1223.  
  1224. it is interpreted as a STAY command.
  1225.  
  1226. A command file that contains lines or commands too long for DOS's line buffer
  1227. (usually 128 characters) can hang your PC: a DOS problem, not a Kermit problem.
  1228.  
  1229. Commands in command files can be continued by including "-" as the last
  1230. character on the line, but NOT if the line ends with a trailing comment.  In
  1231. other words, you can't have a trailing comment on a continued line. If you
  1232. need to end a line with a dash, but the dash is part of the command rather
  1233. than a continuation symbol, use \45 instead or add a trailing comment.
  1234.  
  1235. Trailing comments can be used only in command files.  All text starting with
  1236. the first semicolon through the end of line is ignored.     If you need to include
  1237. an actual semicolon in a command, precede it with a backslash (\;).
  1238.  
  1239. The name and password that you specify in SET SERVER LOGIN must be matched
  1240. exactly by the ones in REMOTE LOGIN.  Case matters.  If you need to include
  1241. spaces within the username, password, or account field of the REMOTE LOGIN or
  1242. SET SERVER LOGIN commands, surround the field with {braces}.
  1243.  
  1244. DISABLE ALL is not equivalent to all the other DISABLE commands given
  1245. separately.  For example, DISABLE DELETE restricts REMOTE DELETE commands from
  1246. the client to working only in the MS-DOS Kermit server's current directory,
  1247. while DISABLE ALL prevents all types of modifications to the PC's file system,
  1248. including file deletion and creation.
  1249.  
  1250. = KEY MACROS
  1251.  
  1252. Version 3.13, unlike previous versions, attempts to recognize the difference
  1253. between between Space, Shift-Space, Ctrl-Space, Alt-Space, etc, so that SHOW
  1254. KEY shows different scan codes for each combination of Space with modifier
  1255. keys (a common request was to be able to SET KEY Ctrl-Space to send NUL).  An
  1256. unanticipated side effect of this change was that unmodified Space returns a
  1257. strange scan code when seen through the LK250 driver.  The cure is to add:
  1258.  
  1259.   IF EQ \v(keyboard) 250 IF > \v(version) 312 SET KEY \313 \32
  1260.  
  1261. to your MSKERMIT.INI file (this was added to the standard MSKERMIT.INI file
  1262. on September 9, 1993).
  1263.  
  1264. Key macros are executed while in CONNECT mode.  If you assign the \Khangup verb
  1265. to a key, Kermit remains in CONNECT mode after the hangup takes place.  On a
  1266. serial dialup connection, Kermit turns off the DTR signal, and you should see
  1267. a confirmation message from the modem, such as NO CARRIER, on your screen.  On
  1268. a TCP/IP network connection, however, Kermit does indeed drop the connection,
  1269. but since Kermit is still in CONNECT mode, it is immediately reestablished.
  1270. If you want to terminate a network session by pressing a key, use a method
  1271. that leaves CONNECT mode.  You can do this by defining a macro to hang up, and
  1272. then assigning execution of the macro to the key, e.g. Alt-d:
  1273.  
  1274.   define xxx hangup
  1275.   set key \2336 {\Kxxx}
  1276.  
  1277. This causes Kermit to return from CONNECT mode and execute the macro without
  1278. returning to CONNECT mode.  This technique works for both serial and network
  1279. connections.
  1280.  
  1281. To assign several verbs to a single key, use braces as in this example:
  1282.  
  1283.   set key \315 {\{Kgold}\{KdecF13}}
  1284.  
  1285. or this:
  1286.  
  1287.   set key \315 {\{Kfoo}\{Kdump}\{Kbar}}
  1288.  
  1289. in which "foo" and "bar" are macro names, and \Kdump is Kermit's screen-dump
  1290. verb.
  1291.  
  1292. = FILE TRANSFER
  1293.  
  1294. When using modems that do data compression, be sure to (a) use hardware flow
  1295. control (SET FLOW RTS/CTS), and (b) set your serial port speed higher
  1296. (preferably at least 4 times higher) than the modem's connection speed; for
  1297. example, use SET SPEED 57600 for 14400 bps modems.
  1298.  
  1299. The efficiency reported at the end of a file transfer is relative to the
  1300. serial port speed.  This can be confusing and/or misleading when using a modem
  1301. whose connection speed to the other modem is different from the serial port
  1302. speed, especially when the modems are also doing compression.
  1303.  
  1304. At present, there is no way to disable the "dynamic packet length" feature.
  1305.  
  1306. SET EOF CTRL-Z, when used with text files that actually contain Ctrl-Zs, might
  1307. result in gaps or truncation in the vicinity of the Ctrl-Z.  This is a DOS
  1308. "feature".
  1309.  
  1310. When using Kermit through a terminal server (particularly those that execute
  1311. the TCP/IP Telnet protocol), or directly through a SET PORT TCP connection, it
  1312. is sometimes necessary to SET PARITY SPACE for file transfer. It is sometimes
  1313. impossible to use very long packets with terminal servers.  Try SET RECEIVE
  1314. PACKET-LENGTH 80, working up or down to the longest length that works.
  1315.  
  1316. REMOTE TYPE and other REMOTE commands resulting in an error "Unable to open
  1317. CON": insufficient FILES= in CONFIG.SYS.  FILES= should be at least 20.
  1318.  
  1319. The MS-DOS Kermit command REMOTE SET BLOCK-CHECK will generally have no effect
  1320. upon a remote server unless the SET BLOCK-CHECK is also given locally to
  1321. MS-DOS Kermit.
  1322.  
  1323. The host prompt for TRANSMIT is a single character (SET TRANSMIT PROMPT).  It
  1324. is not possible to specify a multi-character or varying transmit-prompt.
  1325.  
  1326. = SCRIPT PROGRAMMING
  1327.  
  1328. Many users have observed that it is difficult to interrupt the execution of
  1329. a script program, such as MS-DOS Kermit's dialing scripts.  Typing Ctrl-C or
  1330. Ctrl-Break does not have an immediate effect; these are noticed only when
  1331. Kermit asks DOS to read from (or check the status of) the keyboard, and only
  1332. certain Kermit commands do this.  Of these, the most useful is PAUSE, which
  1333. fails if any key is pressed during the PAUSE interval.  So if you want your
  1334. script program to be nicely interruptible, you can include the following two
  1335. commands at key points in the program:
  1336.  
  1337.   PAUSE 1
  1338.   IF FAIL STOP 1 Interrupted
  1339.  
  1340. You can increase the frequency with which DOS checks for Ctrl-C or Ctrl-Break
  1341. by including a BREAK=ON statement in your CONFIG.SYS file.
  1342.  
  1343. The terminal emulator is not active during execution of script commands such
  1344. as INPUT and OUTPUT.  This means:
  1345.  
  1346.  1. If the host sends the escape sequence that tells the terminal to identify
  1347.     itself, it is ignored.  You have to put the appropriate INPUT and OUTPUT
  1348.     commands in your script program.  Here is a macro to set your terminal type
  1349.     in Kermit and to set up the appropriate response string as well as terminal
  1350.     type string:
  1351.  
  1352.     def term if not def \%1 def \%1 vt320,-
  1353.      set term type \%1,-
  1354.      if error end 1,-
  1355.      assign _ttype \%1,-
  1356.      if eq \%1 vt320 assi _tid \27[\{63}63\;1\;2\;4\;8\;9\;15c,-
  1357.      if eq \%1 vt220 assi _tid \27[\{63}62\;1\;2\;4\;8\;9\;15c,-
  1358.      if eq \%1 vt102 assi _tid \27[\63\;6c,-
  1359.      if eq \%1 vt100 assi _tid \27[\63\;1c,-
  1360.      if eq \%1 vt52  assi _tid \27/Z
  1361.  
  1362.     Whenever you switch terminal emulations, do "term vt102" instead of "set
  1363.     term type vt102" (substitute your preferred terminal type).     In any script
  1364.     that responds to ESC Z (or whatever), have it "output \m(_tid)", and any
  1365.     prompt that asks for your terminal type you can "output \m(_ttype)".  And
  1366.     be sure to execute a "term" command in your MSKERMIT.INI file, so your
  1367.     initial terminal type is set.
  1368.  
  1369.  2. A host-generated escape to put the terminal in Tektronix mode has no
  1370.     effect.  Put explicit SET TERMINAL TYPE TEK commands in the appropriate
  1371.     places in your script program.
  1372.  
  1373.  3. Screen formatting escape sequences have no effect.    If you have SET INPUT
  1374.     ECHO ON, they are simply displayed as-is.
  1375.  
  1376. If the remote host is sending ANSI (VTxxx) escape sequences during execution of
  1377. the script program, then users of IBM PCs can use the ANSI.SYS or similar
  1378. console driver to interpret the escape sequences.  This is particularly useful
  1379. when running a script that logs in to a full-screen system, such as an IBM
  1380. mainframe through a protocol converter.     But beware: ANSI.SYS is not totally
  1381. compatible with Kermit's VT emulator, and it may produce unwanted side effects,
  1382. the most annoying of which is suddenly popping your PC into 40-column mode!  If
  1383. you experience difficulties with your screen display while using Kermit script
  1384. programs, use SET INPUT ECHO OFF.  Or remove ANSI.SYS from your CONFIG.SYS file
  1385. and reboot.
  1386.  
  1387. PAUSE, WAIT, and similar commands also cause port input to be echoed to the
  1388. screen if INPUT ECHO is ON.  Use SET INPUT ECHO OFF to defeat this effect.
  1389.  
  1390. If the REINPUT command fails to find the requested text in the INPUT command
  1391. buffer, it will wait (up to the timeout interval) for more characters to
  1392. arrive from the communication channel.
  1393.  
  1394. INPUT / REINPUT combinations will not work if the INPUT buffer is smaller than
  1395. the amount of text that separates the INPUT text from the REINPUT text.  You
  1396. can increase the size of the INPUT buffer by including the desired size in
  1397. your KERMIT=INPUT <size> environment variable.  The default size is 256 bytes.
  1398.  
  1399. Script programming hint: To test whether a readable floppy disk is available
  1400. in drive A:, do this:
  1401.  
  1402.   SPACE A:
  1403.   IF FAILURE ECHO No diskette in drive A:.
  1404.  
  1405. The ON_EXIT macro is intended only for automatic execution when MS-DOS Kermit
  1406. exits.  It only works once, to prevent recursion (as would happen, for
  1407. example, if you put an EXIT command in your ON_EXIT definition).
  1408.  
  1409. = MEMORY MANAGEMENT
  1410.  
  1411. MS-DOS Kermit, like any DOS or Windows program, is likely to misbehave if your
  1412. PC memory is insufficient or is incorrectly configured.  MS-DOS Kermit runs in
  1413. conventional memory (the first 640K) of your PC.  It occupies about 280K
  1414. initially, and then allocates additional memory as needed for rollback
  1415. screens, file-transfer packet buffers, etc.  Kermit uses additional memory to
  1416. execute certain commands such as TYPE and DIRECTORY, for which it invokes a
  1417. second copy of COMMAND.COM (appoximately 30K) in conventional memory, as well
  1418. as RUN, which can invoke not only COMMAND.COM, but an additional program to be
  1419. run by COMMAND.COM, for example "run edit".  If there is insufficient memory,
  1420. these operations will not work; thus it is always best to have as much free
  1421. conventional memory as possible.
  1422.  
  1423. Memory for file-transfer packets is allocated at the time the transfer begins,
  1424. based on the current sliding-window size (SET WINDOW) and packet-length (SET
  1425. RECEIVE PACKET-LENGTH), and is deallocated when the transfer ends.  So SHOW
  1426. MEMORY won't reveal the effect of the packet buffers.  If insufficient memory
  1427. is available for the requested window size and packet length, MS-DOS Kermit
  1428. automatically reduces its RECEIVE PACKET-LENGTH.  For maximum file-transfer
  1429. efficiency, conventional memory is always used for packet buffers. Thus packet
  1430. buffers and RUN/PUSH/TYPE/ DIRECTORY commands "time-share" the same
  1431. conventional memory.
  1432.  
  1433. Memory for graphics screens is taken from your video display adapter.  Storage
  1434. of graphics images in the video adapter's on-board memory allows rapid
  1435. switching between text and graphics screens provided (a) your video has
  1436. sufficient memory, (b) the memory is not "mapped away", and (c) you are not
  1437. running Kermit under Windows.  Video adapter memory is generally in segments
  1438. A000-BFFF.
  1439.  
  1440. Memory for rollback screens is allocated when the CONNECT command is first
  1441. given, i.e. when Kermit first displays its terminal emulation window, and
  1442. remains allocated until you EXIT from Kermit.  This can be demonstrated by
  1443. starting Kermit, giving the command SHOW MEMORY, then giving the CONNECT
  1444. command, then escaping back (Alt-x), and then giving the SHOW MEMORY command
  1445. again -- see how available memory has shrunk.  Approximately 4K is required
  1446. per 24x80 rollback screen (more for bigger screens).  The default number of
  1447. rollback screens is 10, but the number can be set to practically any value at
  1448. all (0 or greater) by giving the following command to DOS before you start
  1449. Kermit (interactively, or in your AUTOEXEC.BAT file):
  1450.  
  1451.   SET KERMIT=ROLLBACK 40
  1452.  
  1453. The smaller the number, the less memory required; the bigger, the more memory.
  1454. In version 3.13, you can also give the new command:
  1455.  
  1456.   SET ROLLBACK <number-of-screens>
  1457.  
  1458. at the MS-Kermit prompt at any time, and the rollback memory will be adjusted
  1459. when you next CONNECT.
  1460.  
  1461. A large number of rollback screens can crowd out other possibilities, like the
  1462. ability to use Kermit's RUN, PUSH, TYPE, DIRECTORY, and other commands that
  1463. run inferior processes.  Version 3.13 of MS-DOS Kermit lets you store your
  1464. rollback screens in Expanded Memory (EMS) if you have more than 1MB of
  1465. physical memory and you have an expanded memory manager for it like
  1466. Quarterdeck QEMM or EMM386 and HIMEM that come with DOS 5.0 and Windows 3.1.
  1467.  
  1468. Using expanded memory for rollback screens frees 40K of conventional memory if
  1469. you are using the default number (10) of rollback screens, and it also allows
  1470. you to have a much larger number of rollback screens.  The following steps are
  1471. required to keep your rollback screens in expanded memory:
  1472.  
  1473. 1. Make sure the desired amount of expanded (EMS) (not "extended", or XMS)
  1474.    memory is available.     The DOS MEM command will tell you this.
  1475.  
  1476. 2. In your AUTOEXEC.BAT file, set the desired number of Kermit rollback
  1477.    screens.  For example, for 250 screens (requiring about 1 megabyte):
  1478.  
  1479.       SET KERMIT=ROLLBACK 250
  1480.  
  1481. 3. Give the following command to MS-DOS Kermit:
  1482.  
  1483.       SET TERMINAL EXPANDED-MEMORY ON
  1484.  
  1485.    If this command fails, Kermit prints an appropriate error message.
  1486.  
  1487. Now start a Kermit session, scroll some text off the screen during CONNECT
  1488. mode, and check the operation of the PageUp/PageDown keys.  If they work,
  1489. you're done.  And as an added benefit, graphics screens will also be stored
  1490. in expanded memory, allowing you to switch between graphics and text screens
  1491. (Alt-minus), even under Windows, without losing the graphics screen.
  1492.  
  1493. If it doesn't work, then welcome to the bewildering world of DOS memory
  1494. management.  The most common symptom of a bad memory configuration is that
  1495. your PC will freeze the first time Kermit tries to scroll a line off the
  1496. screen or the first time it tries to clear the screen.    Now you should begin
  1497. looking at your CONFIG.SYS file.
  1498.  
  1499. First, here is a straightforward DOS 5.0 CONFIG.SYS configuration that sets up
  1500. a PC with 8MB of memory to have 6MB of expanded memory:
  1501.  
  1502.   DEVICE=C:\DOS\HIMEM.SYS
  1503.   DEVICE=C:\DOS\EMM386.EXE 6144 RAM
  1504.   DOS=HIGH,UMB
  1505.   DEVICEHIGH=C:\DOS\ANSI.SYS
  1506.  
  1507. HIMEM.SYS must be loaded first and then EMM386.     With memory management now
  1508. active, DOS is told to use "high memory" (don't ask) and "upper memory blocks"
  1509. (UMB, the space between 640K and 1MB) and then ANSI.SYS is loaded into the
  1510. upper memory area rather than conventional memory.
  1511.  
  1512. EMM386 is asked to take care of 6144K of expanded (EMS) (not extended, XMS)
  1513. memory, and the RAM switch means that it also should manage the upper memory
  1514. blocks.     This configuration works on a PC that has 8MB of memory (6144K =
  1515. 6MB = 1024 x 6), leaving 1MB of extended memory for any process that might need
  1516. it.  If you have less memory than that, adjust as appropriate.
  1517.  
  1518. If you are using RAMDRIVE.SYS, give it the /A switch to use expAnded memory,
  1519. rather than the /E switch for extEnded memory, e.g.:
  1520.  
  1521.   DEVICEHIGH=C:\WINDOWS\RAMDRIVE.SYS 1024 512 64 /A
  1522.  
  1523. After making these changes to CONFIG.SYS, reboot your PC and give a DOS MEM
  1524. command to check that the needed amount of Expanded (EMS) memory is available.
  1525.  
  1526. Now run Kermit and check the expanded-memory rollback feature. Also tell
  1527. Kermit to SHOW MEMORY to see how much conventional memory remains after
  1528. starting Kermit.  If it's not enough for your purposes, look at your
  1529. CONFIG.SYS and AUTOEXEC.BAT files to see if there are any other drivers or
  1530. TSRs that can be removed or loaded high.  Here's another hint: If you access a
  1531. CD-ROM drive via Microsoft CD Extensions, include the /E switch (Expanded)
  1532. when you start it up:
  1533.  
  1534.   C:\BIN\MSCDEX /E /D:MSCD000 /M:10
  1535.  
  1536. In a more complicated configuration, suppose you have a network interface
  1537. board that uses a certain segment of memory (at, for example, segment address
  1538. CC00) which conflicts with DOS's memory management (note: addresses are
  1539. usually written in hexadecimal).  In that case, you have to tell EMM386 to
  1540. "exclude" this segment from its memory managing:
  1541.  
  1542.   DEVICE=C:\DOS\EMM386.EXE 6144 x=cc00-cc7f RAM
  1543.  
  1544. These segment address numbers are obtained from the technical manual for your
  1545. network interface board (or, perhaps more likely, from the board vendor's
  1546. technical support phone number).  Additional "exclude" clauses might be
  1547. needed for other boards or adapters.
  1548.  
  1549. For debugging, get additional information about your PC's memory layout using
  1550. the DOS MEM/C and MEM/P commands, the MSD program that comes with Microsoft
  1551. Windows, or the MFT (Manifest) program that comes with Quarterdeck QEMM.
  1552.  
  1553. If all else fails, tell Kermit to SET TERMINAL EXPANDED-MEMORY OFF (this is
  1554. the default anyway).  NOTE: whenever you switch Kermit's expanded memory
  1555. status from OFF to ON or vice versa, your previous rollback screens are lost.
  1556.  
  1557. Use caution with QEMM v6 "Stealth (ST:M) optimization".     This prevents Kermit
  1558. from accessing your video board's BIOS memory and finding the video board's
  1559. signature, and therefore from determining the appropriate method for switching
  1560. between 80 and 132 columns.  Most boards have a signature string within the
  1561. first 200h bytes of the video BIOS and excluding that much from stealth mode
  1562. should be sufficient to preserve the identification information.
  1563.  
  1564. = INTERACTIONS WITH DOS
  1565.  
  1566. A few users have reported that Kermit crashes with a "divide overflow" error.
  1567. It is believed that this happens when Kermit attempts to calibrate a software
  1568. timing loop that is independent of the speed of the computer by accessing the
  1569. system timer chip.  The speculation is that some external entity, a TSR
  1570. perhaps (maybe a screen saver), is reprogramming the timer chip out from under
  1571. Kermit.
  1572.  
  1573. The limit on your DOS PATH string is 127 characters.  If you add, say,
  1574. C:\KERMIT to the end of you your PATH= statement in AUTOEXEC.BAT, and that
  1575. makes it longer than 127, DOS (and Kermit's TAKE and similar commands) won't
  1576. be able to find your Kermit files.
  1577.  
  1578. A REMOTE HOST or similar command sent to an MS-DOS Kermit server can invoke the
  1579. DOS critical error handler, which issues its familiar "Abort, Ignore, Retry?"
  1580. message on its real screen, and is waiting for a response from its own real
  1581. keyboard, and so the server will no longer respond.  Kermit attempts to catch
  1582. many of these errors before DOS learns learns about them, but some cannot be
  1583. avoided (like disk i/o errors).
  1584.  
  1585. Similarly, a REMOTE DIRECTORY command sent to an MS-DOS Kermit server can
  1586. cause the server to hang if its default directory command pauses after each
  1587. screen (DIRCMD=/P).  In fact, the server will hang any time a subprocess
  1588. invoked by any REMOTE command (watch out, in particular, for REMOTE HOST)
  1589. requests keyboard input.
  1590.  
  1591. MS-DOS Kermit uses the program named in the DOS Environment command line
  1592. starting as SHELL= as a replacement for COMMAND.COM.  Such a line is seen by
  1593. typing SET at the DOS prompt, and it is not associated with the SHELL= line
  1594. appearing in file CONFIG.SYS.
  1595.  
  1596. Interaction between MS-DOS Kermit and various terminate-and-stay-resident
  1597. (TSR) programs is necessarily unpredictable.  Console, mouse, clock, or
  1598. graphics drivers might interfere with file transfer, e.g. the CMOSCLK.SYS
  1599. driver on the PS/2 model 55SX.  If TSR programs are interfering with Kermit
  1600. (e.g. by taking over the timer or serial port interrupts), you should remove
  1601. them all from your AUTOEXEC.BAT or CONFIG.SYS files, and then put them back
  1602. one by one until you have identified the culprit.
  1603.  
  1604. Mouse drivers are particularly notorious in this respect.  Suggestion: don't
  1605. load your mouse driver in CONFIG.SYS or AUTOEXEC.BAT.  Instead, load it
  1606. manually when you need to use the mouse, unload it or turn it off when you are
  1607. finished with the mouse.  Most mouse drivers allow this.
  1608.  
  1609. Use caution when invoking certain TSR programs while PUSHed from Kermit
  1610. (e.g. using the PRINT command for the first time), as not all of these
  1611. programs observe proper etiquette for allocating and freeing memory, and the
  1612. TSRs will be loaded above Kermit into the middle of memory where they may
  1613. prevent large programs from loading later.
  1614.  
  1615. Beware of console drivers other than the real ANSI.SYS that is supplied with
  1616. DOS.  Many of the public domain, shareware, or third-party commercial console
  1617. drivers interfere not only with the screen and keyboard while Kermit is
  1618. active, but some of them also interfere with the communications port.
  1619.  
  1620. = NETWORKS
  1621.  
  1622. When communicating across certain network pathways, the longest burst of
  1623. information tolerated from the PC can be rather short. For example, the LAT
  1624. path with SET PORT DECNET (PATHWORKS) has a limit of 256 bytes and the SET
  1625. PORT TES path has a limit of 512 bytes in a burst (or less, depending on the
  1626. TES release).  Longer bursts can cause the network software on one end or the
  1627. other to drop the connection.  This is most likely in the following situations:
  1628.  
  1629.  1. During file transfer, when sending files from the PC using long packets
  1630.     and/or sliding windows.  The total size of the packets in the window
  1631.     (packet length times the number of window slots) must be less than the
  1632.     burst limit for the network.
  1633.  
  1634.  2. During VT320 terminal emulation, if the host application (such as VMS
  1635.     or UNIX WordPerfect) sends a Terminal State or Color Palette Request
  1636.     escape sequence, DECRQTSR, "ESC [ 2 ; 2 $ u".  The response to this
  1637.     request is more than 200 characters long and has been known to break
  1638.     LAT and TES connections.
  1639.  
  1640. This is not a Kermit problem, but rather a limitation (or bug) in the
  1641. underlying networking method.  Workarounds include:
  1642.  
  1643.  1. If you have a DECnet LAT connection, make a DECnet CTERM connection
  1644.     instead (i.e. unload your LAT.EXE TSR and load the CTERM TSR instead).
  1645.  
  1646.  2. Enable RTS/CTS flow control between MS-DOS Kermit and the device it is
  1647.     most immediately connected to, if possible.     Otherwise, enable Xon/Xoff
  1648.     flow control in MS-DOS Kermit and at the host on the far end (e.g. tell
  1649.     VMS to SET TERM/HOSTSYNC/TTSYNC).
  1650.  
  1651.  3. Use a different networking method, e.g. TCP/IP instead of DECnet.
  1652.  
  1653. DECnet/DOS PATHWORKS LAT.EXE is a protocol stack sitting on the top of the
  1654. DECnet stack and is independent of LAN adapter providing LAT (Local Area
  1655. Transport) service, primarily intended for terminal emulation over Ethernet.
  1656. Different versions of PATHWORKS come with different versions of LAT.EXE, which
  1657. work differently.  If you have trouble with LAT.EXE, make sure it is loaded in
  1658. conventional (not expanded) memory.
  1659.  
  1660. On DEC PATHWORKS LAT connections, it is often necessary to tell the LAT
  1661. control program on the PC to reserve enough memory for all of the local LAT
  1662. host names.  By default, space for 16 names is allocated.  Increase your LAT
  1663. control program's memory allocation if you have more than 16 hosts on your
  1664. DECnet network.  Also, remove ALL permanent LAT names from your database and
  1665. let the network provide them (this can mean waiting a minute or two for all
  1666. broadcasts to be heard).
  1667.  
  1668. To use PATHWORKS and Kermit's built-in TCP/IP support at the same time, use
  1669. the PKTDLL shim, available in Columbia University's packet-driver collection.
  1670.  
  1671. Sending BREAK over network connections via SET PORT BIOS1 + Int 14h
  1672. interceptor may or may not work, depending upon the actual network and drivers
  1673. in use.     Kermit uses the BREAK facility if the driver and network support it.
  1674.  
  1675. Reportedly, when running Kermit on DOS 6.0 client on a Novell 3.11 network 
  1676. with a NASI 3.0 Communications server, Windows 3.1 crashes upon exiting Kermit.
  1677. Reportedly, removing EMM386.EXE from the CONFIG.SYS file fixed the problem.
  1678.  
  1679. Symptom: PC no longer works after installing a network board.  Diagnosis: a
  1680. 16-bit VGA display adapter is running in 16-bit mode.  Cure: Jumper it back to
  1681. 8 bits and all should start working again.
  1682.  
  1683. PC-NFS prevents applications programs such as Kermit from creating a file in
  1684. the root directory of a PC-NFS disk drive.  When the applications program asks
  1685. if a particular file exists in the root, PC-NFS always responds with "volume
  1686. label present", whether or not the actual file is present.
  1687.  
  1688. SET PORT TELAPI performance is good with version 4 of Novell's LAN WorkPlace
  1689. for DOS but it is poor with version 3.5 because that older version sends each
  1690. Kermit byte in an individual packet.  Because the TELAPI interface lacks the
  1691. ability to resolve Internet, names you can use the small Kermit macro below to
  1692. invoke Novell's program TSU to resolve names and set up a session:
  1693.  
  1694.   define telapi run tsu -o \%1 k1,run tsu -a k1 1,set port bios1
  1695.  
  1696. Use as Kermit command "telapi my.favorite.host" followed by CONNECT.  This
  1697. tells TSU to "o"pen a connection to the host named in Kermit variable \%1 and
  1698. give the session a TSU tag of "k1".  Then run TSU again and "a"ttach this
  1699. session to COM"1" meaning Kermit's BIOS1 port.    Four sessions can be started
  1700. by choosing different tags and port numbers, though this macro does not make
  1701. the changes.  An alternative to SET PORT BIOS1 is SET PORT 3COM for much
  1702. faster throughput; an end-of-session signal is not available with this method
  1703. so the user must exit manually.
  1704.  
  1705. You can't run LAN Workplace for DOS (LWP) and make SET PORT TCP/IP connections
  1706. with Kermit at the same time, because only one protocol stack of a given kind
  1707. can run over a single network board.  If you want to make a TCP/IP connection
  1708. with Kermit when LWP is loaded you can either (a) use SET PORT TELAPI rather
  1709. than SET PORT TCP/IP (slower and less flexible), or (b) unload LWP from the
  1710. DOS prompt by typing TCPIP UNLOAD, and then start Kermit.
  1711.  
  1712. The Interconnections TES product, which Kermit fully supports, has a fancy
  1713. menu that pops up if you type the TES "hot key", Alt-LeftShift-T.  Reportedly,
  1714. this pop-up menu interferes with the LK250 driver that is distributed with
  1715. Kermit (it works fine with regular IBM keyboards).  The LK250 driver uses a
  1716. special interrupt, and the TES menu program might not properly chain this
  1717. interrupt.  The workaround is to use TES's text-mode menu, which Kermit brings
  1718. up if you type Alt-Home during terminal emulation.  Version 3.13 of MS-DOS
  1719. Kermit transparently supports both older and the latest TES products.
  1720.  
  1721. Reportedly, when making NETBIOS or 3COM(BAPI) connections under Windows,
  1722. characters from a DOS window can show up in the Kermit window.  Reportedly,
  1723. this can be fixed by setting Kermit's foreground and background priority to
  1724. 150 and setting the priority of the other DOS applications to 5000.
  1725.  
  1726. NETBIOS STATION-TO-STATION CONNECTIONS
  1727.  
  1728. The procedure for establishing a NETBIOS PC-to-PC connection is as follows:
  1729.  
  1730.  1. On the first PC:
  1731.       SET NETBIOS NAME <xxx>
  1732.       SET PORT NETBIOS
  1733.       SERVER
  1734.  
  1735.  2. On the second PC:
  1736.       SET PORT NETBIOS <xxx>.K
  1737.  
  1738. (<xxx> is any name you choose, up to 14 characters long.)
  1739.  
  1740. Now you can initiate file transfer and other Kermit protocol operations from
  1741. the second PC.    If you want the two PCs to "chat" in terminal mode, send a
  1742. FINISH command from the second PC (or type Ctrl-C on the first, server, PC),
  1743. and then give the following commands to both PCs:
  1744.  
  1745.   SET TERMINAL NEWLINE ON
  1746.   SET LOCAL-ECHO ON
  1747.   CONNECT
  1748.  
  1749.  
  1750. TCP/IP SUPPORT
  1751.  
  1752. As of version 3.11, MS-DOS Kermit contains built-in TCP/IP and TELNET protocol
  1753. support.  This allows a PC equipped with an Ethernet or other network board
  1754. that is connected to a TCP/IP network to communicate with any other node on
  1755. the network, without requiring any additional TCP/IP software on your PC.  You
  1756. need an external Ethernet-style (Class 1) packet driver for your network
  1757. interface board, or (as of version 3.12) a SLIP Packet Driver or a Novell ODI
  1758. driver, or (as of version 3.13) the Novell SLIP_PPP ODI driver.     You can also
  1759. use any of various "shims" to sit between Kermit and other kinds of board
  1760. drivers (e.g. NDIS) to make them look to Kermit like Ethernet packet drivers.
  1761.  
  1762. With ODI, Kermit's Telnet operates across Ethernet (many frame kinds), Token
  1763. Ring, Arcnet, and PCnet.  Kermit does not contain built-in network device
  1764. drivers.  Packet drivers are available from network interface manufacturers,
  1765. and via anonymous FTP from Columbia University, host watsun.cc.columbia.edu
  1766. [128.59.39.2], cd packet-drivers, get the READ.ME file, read it, and take it
  1767. from there.  These files, now called the Crynwr packet driver collection, are
  1768. also available from Columbia University via mail order.     ODI drivers are
  1769. available from makers of the LAN adapter and in some cases from Novell.     See
  1770. Novell archive "novlib" on CompuServe and on machines ftp.is.sandy.novell.com
  1771. [137.65.12.2] and mirrors such as netlab2.usu.edu [129.123.1.44] for Novell
  1772. supplied ODI drivers.
  1773.  
  1774. The TCP/IP code in this version of Kermit has been tested successfully with at
  1775. least the following boards and packet drivers (according to reports from
  1776. users):
  1777.  
  1778.   Ungermann-Bass PC/NIC board with Clarkson UBNICPC packet driver 9.1
  1779.   3COM 3C501 with Clarkson 3C501 packet driver 5.0.
  1780.   3COM 3C503 with Clarkson 3C503 packet driver 9.4.0.
  1781.   Western Digital WD8003E with Crynwr (not WD) WD8003E packet driver 9.7.0
  1782.   Cabletron 2000 and 3000 series DNI boards with CSIPD_E 1.0x and later packet
  1783.     drivers on unshielded twisted pair, thin Ethernet, and thick Ethernet,
  1784.     on both PC/AT and Microchannel buses.
  1785.   Micom-Racal NI5210 with NI5210 packet driver.
  1786.   AT&T EN100 with Clarkson AT&T packet driver.
  1787.   IBMTOKEN.COM 3C501 emulation packet driver 1.9 over various Token Ring 
  1788.     boards and drivers.
  1789.   DIS_PKT over NDIS for LAN Manager networks and NDIS-compliant boards
  1790.     including SD8003, 3C503, AT&T 10MB/sec thinwire
  1791.   Harvard ODIPKT over LSL, LANSUP, and IPXODI over Ethernet (but not
  1792.     Token Ring) 
  1793.   Novell NE2000 with Crynwr NE2000 packet driver (not the Novell MLID!)
  1794.  
  1795. Token Ring, Arcnet, and LocalTalk packet drivers are not supported, as they
  1796. are not Ethernet- or SLIP-class Packet drivers.
  1797.  
  1798. The performance of the 3C50x packet drivers is poor, but the operation seems
  1799. correct.  Suggestion from a 3COM 3C503 Ethernet board user: "When installing
  1800. the packet driver for 3Com 503 cards, one has to pay attention that the memory
  1801. option on the card is not disabled.  It was in my case, and the packet-driver
  1802. did not complain.  Since other drivers (e.g.  the DEC PATHWORKS driver) do not
  1803. require the memory enabled, the default is disabled."
  1804.  
  1805. Reportedly, the packet driver supplied by Western Digital with their WD8003E
  1806. and/or Elite network boards cannot be found by Kermit.    The Crynwr WD8003E
  1807. packet driver, however, works correctly with both the WD8003E and Elite boards.
  1808. Same comments apply to WD8003E.SYS shipped with PC-NFS.
  1809.  
  1810. To reconfigure a Novell network (NetWare 3.xx or earlier) for packet drivers
  1811. so Kermit and Novell software can be used concurrently, use software from
  1812. Brigham Young University, available via anonymous ftp from dcsprod.byu.edu.
  1813. For further information, read the Kermit Distribution file MSABYU.HLP.
  1814.  
  1815. An Ethernet-simulation packet driver "shim" is available for systems using the
  1816. NDIS (Network Driver Interface Specification) program.    NDIS is frequently
  1817. used with LAN Manager networks, including AT&T's StarGROUP network and DEC's
  1818. Pathworks for DOS.  The interface program is named DIS_PKT and originated with
  1819. FTP Software Inc.  Their program DIS_PKT.GUP is available by anonymous ftp to
  1820. vax.ftp.com, and a research version DIS_PKT9.ZIP is available from Utah State
  1821. University by anonymous ftp to netlab2.usu.edu.     Instructions for configuring
  1822. Lan Manager to include DIS_PKT are included with the program.  (Also available
  1823. from watsun.cc.columbia.edu, in the packet-drivers.new directory and on the
  1824. MS-DOS Kermit diskette.)
  1825.  
  1826. Here is a setup with which one user reports success in using MS-DOS Kermit's
  1827. built-in TCP/IP support with LAN Manager and a Novell NE2000 Ethernet board:
  1828.  
  1829. CONFIG.SYS
  1830. ---------------------------
  1831. SHELL=C:\COMMAND.COM /P /E:1024
  1832. DEVICE=C:\WINDOWS\HIMEM.SYS
  1833. DEVICE=C:\WINDOWS\EMM386.EXE noems I=B000-B7FF i=e000-efff
  1834. DOS=HIGH,UMB
  1835. COUNTRY=61,,C:\DOS\COUNTRY.SYS
  1836. BUFFERS=13
  1837. FILES=50
  1838. STACKS=0,0
  1839. LASTDRIVE=Z
  1840. DEVICEHIGH=C:\DOS\ANSI.SYS
  1841. DEVICEHIGH=C:\WINDOWS\MOUSE.SYS
  1842. DEVICEHIGH=C:\LANMAN\DRIVERS\PROTMAN\PROTMAN.DOS /i:C:\LANMAN
  1843. DEVICEHIGH=C:\LANMAN\DRIVERS\ETHERNET\NE2000\NE2000.DOS
  1844. DEVICEHIGH=C:\KERMIT\DIS_PKT9.DOS
  1845.  
  1846. PROTOCOL.INI
  1847. ----------------------------
  1848. [PROTMAN]
  1849.   DRIVERNAME = PROTMAN$
  1850.   DYNAMIC = YES
  1851.   PRIORITY = NETBEUI
  1852.  
  1853. [PKTDRV]
  1854. ; This section added for kermit
  1855.   DRIVERNAME = PKTDRV$
  1856.   BINDINGS = NE2000_NIF
  1857.   INTVEC = 0x65
  1858.  
  1859. [NETBEUI_XIF]
  1860.   DRIVERNAME = NETBEUI$
  1861.   SESSIONS = 8
  1862.   NCBS = 12
  1863.   BINDINGS = "NE2000_NIF"
  1864.   LANABASE = 0
  1865.  
  1866. [NE2000_NIF]
  1867. ; protocol.ini section for the Novell NE2000 Card
  1868.   IOBASE = 0x300
  1869.   INTERRUPT = 5
  1870.   DRIVERNAME = MS2000$
  1871.  
  1872. Kermit's TCP/IP support does not work over the Harvard ODIPKT driver on a Token
  1873. Ring network because it requires Kermit to use Token Ring rather than Ethernet
  1874. frames (but it does work with ODIPKT over Ethernet).  Version 3.12 and later
  1875. support ODI directly; ODIPKT is not necessary except when using Windows.
  1876.  
  1877. Direct use of ODI drivers permits Kermit's TCP/IP to run with several kinds of
  1878. Ethernet frames: DIX/Blue-Book/Ethernet_II, 802.2, 802.2 with SNAP, and 802.3,
  1879. as well as with Token Ring, Arcnet, and PCLan broadband.  No extra protocol
  1880. "shim" is needed, but you must have the ODI drivers which come from Novell or
  1881. from your network board vendor.
  1882.  
  1883. The ODI interface will be tried if a Packet Driver is not found, and it can be
  1884. selected in preference to a packet driver by the command:
  1885.  
  1886.    SET TCP/IP PACKET-DRIVER-INTERRUPT ODI
  1887.  
  1888. where "ODI" replaces the interrupt number of a Packet Driver.
  1889.  
  1890. For ODI, the file NET.CFG should have the lines "Protocol IP etc" similar to
  1891. the example below:
  1892.  
  1893.     # File NET.CFG, example
  1894.     PB buffers=10
  1895.     show dots=on
  1896.  
  1897.     Link Support
  1898.         buffers 6 1514
  1899.         MemPool 2048
  1900.  
  1901.     Link Driver SMCPLUS
  1902.         Port  280 20
  1903.         Mem   000CA000 2000/10
  1904.         Int   7
  1905.         frame Ethernet_II
  1906.         Protocol IPX    8137    Ethernet_II
  1907.         Protocol IP    0800    Ethernet_II
  1908.         Protocol ARP    0806    Ethernet_II
  1909.         Protocol RARP    8035    Ethernet_II
  1910.  
  1911. To make TCP/IP connections, Kermit requires three "protocols", IP, ARP, and
  1912. optionally RARP as shown above.     The frame kinds can be anything the board
  1913. will support: Ethernet, Token Ring, Arcnet, all IEEE 802.2-based frames etc.
  1914. ODI will complain if the frame type cannot support these protocols.  Arcnet
  1915. uses different TYPE values, D4 for IP, D5 for ARP, and D6 for RARP, rather
  1916. than 0800 etc, as per RFC-1201.
  1917.  
  1918. Which board Kermit (or IPX or other application) will use if two or more
  1919. boards are available?  Although one would think the board could be selected by
  1920. placing the Protocol IP, etc, lines under the desired Link Driver section,
  1921. such is not really the case; those lines tell LSL the frame kind to associate
  1922. with the protocol (say IP) but not the board.  The frame lines are associated
  1923. with particular boards, however.  The default method for finding a board is
  1924. that the application chooses "the first board" offering a suitable frame,
  1925. regardless of whether or not the Protocol IP, etc, lines are present for that
  1926. board.  "First" refers not to the contents of NET.CFG but to the order in
  1927. which board drivers are loaded at DOS level.  So the indented protocol lines
  1928. tell ODI which frame a protocol needs, and a TYPE to use for recognizing
  1929. packets, but the lines do not identify a particular board.
  1930.  
  1931. To target a particular board a separate main section is used in NET.CFG.  The
  1932. section starts with the word Protocol against the left margin and has Bind
  1933. indented beneath it, like this -
  1934.  
  1935.     Protocol Kermit            Identifies Kermit section of NET.CFG
  1936.         bind SMCPLUS        Bind to SMCPLUS board driver
  1937.  
  1938. When a board name is used more than once then the alternative form is to use
  1939. a board number in place of the name:
  1940.  
  1941.     Protocol Kermit
  1942.         bind #2            bind to the board loaded second
  1943.  
  1944. Kermit considers the text in these sections to be case-insensitive.  The
  1945. #<digit> construction must not have a separation between the number sign (#)
  1946. and the digit.    The #<digit> case is normally used when two or more boards
  1947. share the same driver and thus are not distinguishable by name alone.
  1948.  
  1949. A sample STARTNET.BAT file might look like this:
  1950.  
  1951. @echo off            run quietly
  1952. c:\lsl >nul            LSL is always loaded before boards
  1953. c:\smcplus.com >nul        SMC/WD8003E board, the first
  1954. c:\exos.com >nul        EXOS-205T board, the second
  1955. rem c:\odinsup            Odinsup can coexist with Kermit
  1956. rem c:\odipkt 0 96        Odipkt can coexist with Kermit
  1957. c:\ipxodi >nul            IPX is always loaded after boards
  1958. rem echo Starting network...    may be needed to help some drivers
  1959. c:\bnetx ps=my-preferred-server > nul
  1960. rem (Packet Burst mode)    NETX loads after IPX
  1961. @echo on
  1962.  
  1963. If both EXOS and SMCPLUS boards offer frame Ethernet_II Kermit will choose the
  1964. first loaded board, SMCPLUS, in the absence of a "bind" command.  Putting the
  1965. section "Protocol Kermit, bind <board name or number>" anywhere in NET.CFG
  1966. selects a particular board for Kermit.    A complete NET.CFG file using two
  1967. boards is shown below and applies to both regular NetWare shells and the
  1968. newer VLM shells (but with minor changes to the no-board parts of things).
  1969.  
  1970. # File NET.CFG, an example with two boards
  1971. PB buffers=10
  1972. show dots=on
  1973. # all main sections must start in column 1, indent local material.
  1974.  
  1975. # Protocol "IPX" is for Novell's IPXODI
  1976. Protocol IPX
  1977.     Bind #1
  1978.  
  1979. # Protocol "Kermit" is for MS-DOS Kermit
  1980. Protocol KERMIT
  1981.     Bind EXOS
  1982.  
  1983. Link Support
  1984.     buffers 6 1514
  1985.     MemPool 2048
  1986.  
  1987. Link Driver exos
  1988.     Port  310 20
  1989.     Mem   000D0000 400
  1990.     Int   5
  1991.     frame Ethernet_II
  1992.     Protocol IPX    8137    Ethernet_II
  1993.     Protocol IP    0800    Ethernet_II
  1994.     Protocol ARP    0806    Ethernet_II
  1995.     Protocol RARP    8035    Ethernet_II
  1996.  
  1997. Link Driver SMCPLUS
  1998.     Port  280 20
  1999.     Mem   000CA000 2000/10
  2000.     Int   7
  2001.     frame Ethernet_II
  2002.     frame Ethernet_Snap
  2003.     Protocol IPX    8137    Ethernet_II
  2004.     Protocol IP    0800    Ethernet_II
  2005.     Protocol ARP    0806    Ethernet_II
  2006.     Protocol RARP    8035    Ethernet_II
  2007.  
  2008. # Protocol "TCPIP" is for Novell's Lan WorkPlace for DOS, not Kermit
  2009. Protocol TCPIP
  2010.     ip_address    129.123.1.99
  2011.     ip_router    129.123.1.254
  2012.     ip_netmask    255.255.255.0
  2013.     tcp_sockets    8
  2014.     udp_sockets    8
  2015.     raw_sockets    1
  2016.     nb_sessions    4
  2017.     nb_commands    8
  2018.     nb_adapter    0
  2019.     nb_domain    usu.edu
  2020.  
  2021. Link Driver SLIP_PPP
  2022.     DIRECT    YES
  2023.     BAUD     9600
  2024.     OPEN    ACTIVE
  2025.     PCOMP    YES
  2026.     ACCOMP    YES
  2027.     PORT    3F8
  2028.     INT    4
  2029.     FRAME    SLIP
  2030.     Protocol    IP    0800    SLIP
  2031.  
  2032. MAKING NOVELL SLIP_PPP ODI CONNECTIONS
  2033.  
  2034. Novell's SLIP_PPP ODI driver is a combined serial port SLIP and PPP module
  2035. which is part of the Lan WorkPlace for DOS (LWP) product.  Kermit requires
  2036. the line:
  2037.  
  2038.     Protocol    IP    0800    SLIP
  2039.  
  2040. to be included with the driver.     Note that Kermit can temporarily steal the
  2041. serial port hardware from this driver to dial the telephone and log into a
  2042. host; SLIP/PPP communications should resume normally after Kermit is set to
  2043. the TCP/IP pathway.  Here is a STARTODI.BAT and NET.CFG example with SLIP_PPP
  2044. carrying the TCP/IP traffic.  File STARTODI.BAT:
  2045.  
  2046. @echo off
  2047. REM - Load LSL first
  2048. c:\lsl.com
  2049. REM - Then load your network board driver
  2050. c:\ne2000.com
  2051. REM - Then load the Novell SLIP_PPP driver
  2052. c:\slip_ppp.com
  2053. REM - Then the regular Novell IPX driver and network shell, for example:
  2054. set name=olga
  2055. c:\ipxodi /d
  2056. c:\bnetx.exe ps=name-of-novell-server
  2057. @echo on
  2058.  
  2059. File NET.CFG:
  2060.  
  2061. # File NET.CFG
  2062. PB buffers=6
  2063. show dots=on
  2064. signature level=0
  2065.  
  2066. protocol KERMIT
  2067.     bind SLIP_PPP
  2068. #    bind ne2000
  2069.  
  2070. Link Support
  2071.     Buffers    7 1500
  2072.     MemPool    2048
  2073.  
  2074. Link Driver NE2000
  2075.     Port  360
  2076.     Int   5
  2077.     Frame    Ethernet_II     
  2078.     Protocol    IPX    8137    Ethernet_II     
  2079.     Protocol    IP    0800    Ethernet_II
  2080.     Protocol    ARP    0806    Ethernet_II
  2081.     Protocol    RARP    8035    Ethernet_II
  2082.  
  2083. Link Driver SLIP_PPP
  2084.     DIRECT    YES
  2085.     BAUD     9600
  2086.     OPEN    ACTIVE
  2087. #    TCPIPCOMP    VJ
  2088.     PCOMP    YES
  2089.     ACCOMP    YES
  2090.     PORT    3F8
  2091.     INT    4
  2092.     FRAME    SLIP
  2093. #    FRAME    PPP
  2094.     Protocol    IP    0800    SLIP
  2095.  
  2096. # Below is for Novell's Lan WorkPlace for DOS
  2097. Protocol TCPIP
  2098.     PATH SCRIPT    d:\lwp41\net\SCRIPT
  2099.     PATH PROFILE    d:\lwp41\net\PROFILE
  2100.     PATH LWP_CFG    d:\lwp41\net\HSTACC
  2101.     PATH TCP_CFG    d:\lwp41\net\TCP
  2102.     ip_router    129.123.100.254
  2103.     ip_netmask    255.255.255.0
  2104.     ip_address    129.123.100.5
  2105.     tcp_sockets    16
  2106.     udp_sockets    8
  2107.     raw_sockets    1
  2108. #    nb_sessions    4
  2109. #    nb_commands    8
  2110. #    nb_adapter    0
  2111. #    nb_domain    usu.edu
  2112.     Bind        slip_ppp
  2113.  
  2114. Kermit is told to bind to SLIP_PPP rather than to the active NE2000 board
  2115. because the indented minor clause Bind SLIP_PPP under the Protocol Kermit
  2116. major heading tells Kermit which MLID (board driver) to use.  Link Driver
  2117. SLIP_PPP has indented Kermit line "Protocol IP 0800 SLIP" so Kermit can use
  2118. the driver; ARP and RARP lines could have been added with no effect (no ARP on
  2119. a point-to-point link).     LWP/DOS does not need this protocol line because it
  2120. tends to generate them itself.
  2121.  
  2122. Either SLIP or PPP can be used by setting the Frame Type and using the same
  2123. frame type in the indented protocol line below it.  No NetBios support was
  2124. wanted from LWP/DOS so that section was commented out.
  2125.  
  2126. STARTODI.BAT loads SLIP_PPP but nothing is sent out immediately as there is
  2127. not yet any connection.     To make the connection, start Kermit, SET PORT COM1
  2128. (or whatever), set the desired speed and flow control (but not Xon/Xoff!),
  2129. dial the phone and log into the host or server, then start SLIP or PPP there
  2130. (Novell provides a DIALER program with SLIP_PPP which can set the port speed
  2131. and dial a phone number via rudimentary means; Kermit is much more flexible
  2132. about this).  In all this, Kermit is grabbing the serial port from SLIP_PPP,
  2133. using it, and then returning it when done.  Kermit's TELNET will find an ODI
  2134. driver, SLIP_PPP, adjust itself accordingly, and SLIP-style packets flow back
  2135. and forth.  (If Kermit doesn't find the ODI driver, tell it to SET TCP
  2136. PACKET-DRIVER ODI.)
  2137.  
  2138. ODI-TO-PACKET-DRIVER SHIMS
  2139.  
  2140. Prior to version 3.12, the only way to make TCP/IP connections over ODI with
  2141. MS-DOS Kermit was through the ODIPKT shim, which converts between the ODI
  2142. interface and the packet-driver interface.  ODIPKT is no longer necessary,
  2143. except under Windows (because there is, as yet, no equivalent of WINPKT for
  2144. ODI drivers).
  2145.  
  2146. There is an ODI to Packet Driver shim available for Token Ring cards which can
  2147. work with Kermit (and WINPKT).    The current version is still in Beta as of
  2148. this writing (May 93).    ODITRPKT is available via FTP from Oklahoma State
  2149. University host datacomm.ucc.okstate.edu as pub/oditrpkt/beta9.zip.  A copy is
  2150. also available in packet-drivers/new on watsun.cc.columbia.edu, but it might
  2151. not be as up-to-date as the one at the source.
  2152.  
  2153. Here is a NET.CFG example using ODITRPKT:
  2154.  
  2155. LINK DRIVER TOKEN
  2156.      INT 3
  2157.      FRAME TOKEN-RING
  2158.      FRAME TOKEN-RING_SNAP
  2159.      PROTOCOL IPX  E0    TOKEN-RING
  2160.      Protocol IP   0800 TOKEN-RING_SNAP
  2161.      Protocol ARP  0806 TOKEN-RING_SNAP
  2162.      Protocol RARP 8035 TOKEN-RING_SNAP
  2163.  
  2164. And here is one using Arcnet:
  2165.  
  2166. LINK DRIVER SMCARCWS
  2167.      INT 3
  2168.      PORT 300
  2169.      MEM D0000
  2170.      Frame NOVELL_RX-NET
  2171.      Protocol IPX  FA NOVELL_RX-NET
  2172.      Protocol IP   D4 NOVELL_RX-NET
  2173.      Protocol ARP  D5 NOVELL_RX-NET
  2174.      Protocol RARP D6 NOVELL_RX-NET
  2175.  
  2176. At the moment there is no Windows support for Kermit over ODI.    Instead we
  2177. recommend using shim ODIPKT or ODITRPKT over ODI, followed by WINPKT over that
  2178. to employ a Packet Driver interface into Windows.
  2179.  
  2180. = TCP/IP BUGS AND LIMITATIONS
  2181.  
  2182. Domain name resolution might not work when you give a nickname instead of a
  2183. complete host name in the SET PORT TCP/IP command and Kermit transforms the
  2184. nickname into the desired complete host name by combining it with your TCP/IP
  2185. DOMAIN.  Kermit does not use a special Hosts file to relate nicknames to
  2186. complete host names.  Workarounds: use a complete hostname, an IP host number,
  2187. or set your TCP/IP DOMAIN correctly.  It should be obvious that Domain Name
  2188. Servers are specified by their IP number rather than name.
  2189.  
  2190. Version 3.13 supports multiple gateways on the local network.  Choosing the
  2191. incorrect gateway normally results in that gateway sending an ICMP Redirect
  2192. message to Kermit indicating the preferred gateway, and Kermit displays such
  2193. messages.  Version 3.12 and earlier did not implement ICMP Redirect actions.
  2194.  
  2195. Kermit is not an IP router handling routing traffic broadcast on the wire.  It
  2196. does not listen to RIP or similar.  Instead it depends upon router to do that
  2197. and then tell Kermit what to do.  Kermit computes whether an IP destination is
  2198. on the local network; if it isn't Kermit uses the first IP gateway as the
  2199. local target for ARPing and further relaying.  It is up to that gateway to
  2200. either accept the traffic or to issue an ICMP Redirect packet indicating
  2201. another gateway to use for this particular connection.
  2202.  
  2203. For IBM mainframe linemode TELNET connections, automatic appearance of the
  2204. login banner might not work.  Type a carriage return (Enter) to get the login
  2205. banner.     Local-echo and linemode operation are negotiated automatically.
  2206.  
  2207. BOOTP requests are handled correctly within the local network, and have been
  2208. tested successfully through Novell's BOOTP forwarder NLM and through Cisco
  2209. routers with software version 8.2.7.  In the SET TCP/IP ADDRESS command, the
  2210. words BOOTP and RARP must be spelled out in full.  Version 3.11 and 3.12
  2211. support original RFC951 and 1048 BOOTP protocol, and version 3.13 adds support
  2212. for downloading of the PC's full host (domain) name as specified in RFC1395.
  2213. See MSKERM.HLP (KERMIT.HLP) for details.
  2214.  
  2215. EXIT from Kermit closes your TCP/IP session (just like HANGUP).     PUSHing or
  2216. running DOS commands from Kermit keeps it open.     In version 3.12 and later,
  2217. EXITing while a session is active causes a warning / confirmation message to
  2218. appear so you can change your mind.
  2219.  
  2220. Version 3.11 of MS-DOS Kermit uses only the TELNET port (23) for SET PORT TCP
  2221. connections.  Version 3.12 and later allow you to specify any desired port
  2222. (except 25) in the SET PORT TCP command, after the host name or address.
  2223.  
  2224. MS-DOS Kermit honors TELNET protocol negotiations, including terminal type and
  2225. ECHO/SGA.  Version 3.11 always sends "VT100" as its terminal type; later
  2226. versions send MS-DOS Kermit's active terminal type or allows the user to
  2227. create an override string with command SET TCP/IP TELNET-TERM-TYPE.
  2228.  
  2229. Not supported: FTP, TFTP, automatic setting of PC date/time from network, 3270
  2230. emulation (tn3270), etc.  There is no PING command, but MS-DOS Kermit responds
  2231. when PINGed and when probed by Traceoute.  The keyboard verb \Knethold does
  2232. nothing.  Multiple simultaneous TCP/IP sessions are supported in version 3.13;
  2233. see MSKERM.HLP (KERMIT.HLP) for details.
  2234.  
  2235. For TCP/IP connections to IBM mainframes in full screen 3270 mode, you need an
  2236. intermediate host or device to do the 3270/ASCII terminal conversion.  Typical
  2237. setup is a TCP/IP terminal server with its serial lines connected to a protocol
  2238. converter (e.g. IBM 7171), a UNIX host that has tn3270 available, or a terminal
  2239. server (like Cisco) that does 3270 terminal emulation.    To transfer files with
  2240. an IBM mainframe, you might have to tell MS-DOS Kermit to SET PARITY SPACE.
  2241.  
  2242. Version 3.12 and later support inbound connections to MS-DOS Kermit.  Inbound
  2243. TELNET connections do not copy DOS screens, etc, like Carbon Copy and PC
  2244. Anywhere and the free telnetd program of Erick Engelke; a Kermit-to-Kermit
  2245. connection is made instead.  To configure MS-DOS Kermit to be a TCP/IP server,
  2246. give the following command:
  2247.  
  2248.   SET PORT TCP * [ <port> ]
  2249.   SET SERVER LOGIN <username> [ <password> ]  ; (recommended but not required)
  2250.   SERVER
  2251.  
  2252. Use asterisk instead of an IP name or address, followed optionally by a TCP
  2253. port number (the default is 23 = TELNET), and then enter server mode.  Anybody
  2254. who TELNETs to your PC will see a brief screen message telling them to escape
  2255. back to their local Kermit prompt and issue commands from there, for example:
  2256.  
  2257.   REMOTE LOGIN <usename> <password>
  2258.   REMOTE DIRECTORY
  2259.   GET OOFA.TXT
  2260.  
  2261. Kermit's TCP/IP support cannot be used simultaneously with PC NFS because both
  2262. applications want to register use of ARP and IP with the packet driver, but
  2263. each protocol can only be assigned to one application.  This is only one
  2264. particular case of the more general rule:
  2265.  
  2266.     Only one TCP/IP based application can use a LAN adapter at once.
  2267.  
  2268. which also applies to DesqView/X and other TCP/IP products for the PC.
  2269.  
  2270. (There is a program called PKTMUX that, under some conditions, might allow
  2271. coexistence of multiple TCP/IP applications, but it is risky and not
  2272. recommended.)  To make MS-DOS Kermit work simultaneously with PC-NFS, Kermit
  2273. would have to be linked with the proprietary socket-library routines, which we
  2274. cannot do.  If you need to have NFS active simultaneously with an MS-DOS
  2275. Kermit TCP/IP connection, it is best to use a different NFS package that also
  2276. works with Kermit such as FTP Software, Novell LWP, or Beame and Whiteside.
  2277.  
  2278. The SET TCP/IP and SET PORT TCP/IP commands only return failure codes if there
  2279. is a parse error.  The connection is not opened until the first attempt to
  2280. communicate with the remote host: CONNECT, PAUSE, OUTPUT, etc.    While
  2281. connection establishment is in progress, you can't interrupt the program with
  2282. Ctrl-C.     Use IF SUCCESS / FAILURE after PAUSE 0 to check if the connection
  2283. is open, for example:
  2284.  
  2285.   DEFINE TELNET SET PORT TCP \%1 \%2, PAUSE 0, IF SUCCESS CONNECT
  2286.  
  2287. The second variable above is for the optional TCP port number in version 3.12
  2288. and later.
  2289.  
  2290. TCP/IP performance hints: Set your Kermit packet size to 500 or larger to
  2291. achieve most data sent per network packet. A convenient setting is SET 
  2292. RECEIVE PACKET 1000, SET WINDOW 4, resulting in four 1000-byte packets in a 
  2293. window.     SET FLOW NONE lets TCP/IP do the flow control and eliminates Kermit's
  2294. need to check for Xon/Xoff.  In most situations beyond the local network 
  2295. performance will be limited by the long distance lines rather than by the PC.
  2296.  
  2297. End of MSKERM.BWR / KERMIT.BWR
  2298.