home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / bin / msvibm.3.13.zip / KERMIT.BWR < prev    next >
Text File  |  1993-12-14  |  123KB  |  2,472 lines

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