home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR31 / KERM313.ZIP / KERMIT.BWR < prev    next >
Text File  |  1993-07-10  |  102KB  |  2,079 lines

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