home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / pub / win100 / winkerdoc.txt < prev    next >
Text File  |  2020-01-01  |  38KB  |  937 lines

  1.  
  2.  
  3.  
  4.  
  5.               WINH19/WINH19K/WINKER
  6.  
  7.       Emulation of the Heath/Zenith H/Z-19 Terminal
  8.          with the Kermit File Transfer Protocol
  9.  
  10.            Copyright(c), 1988, 1989 by
  11.              William S. Hall
  12.             3665 Benton Street, ##66
  13.               Santa Clara, CA 95051
  14.                All rights reserved
  15.  
  16.  
  17.               INTRODUCTION
  18.  
  19.      Winh19, Winh19k, and Winker are communications programs
  20. running under Microsoft Windows and emulating the Heath/Zenith
  21. H/Z-19 terminal.  The programs provide both Heath and ANSI modes. 
  22. Consequently, the main features of  the Heath/Zenith series
  23. terminals are available in the Windowing environment.
  24.  
  25.      The emulation features a very precise rendering of the
  26. H/Z-19 keypad as well as a font containing the original graphics
  27. characters.  Certain improvements have also been made over the
  28. original design.  In particular, some function keys can be
  29. programmed, default settings can be made from the program, and
  30. the number of lines and columns the terminal has can be preset in
  31. win.ini.
  32.  
  33.      Winh19 contains only the terminal emulator.  At run time, it
  34. uses the least memory of the three programs.  Winh19K and WinKer,
  35. which are functionally equivalent, additionally contain the
  36. Kermit file transfer protocol.  Having most of the basic features
  37. of any Kermit implementation, the user can transfer files and
  38. control the host whenever the latter is also capable of running
  39. Kermit.  The programs are distributed as the pair Winh19/Winh19k
  40. or as WinKer alone.
  41.  
  42.      Since these are  Windows programs, the user can have up to
  43. two transactions in progress simultaneously, and file transfers
  44. can take place while other programs are active.
  45.  
  46.         Only a few features of the H19 are not available.  Later
  47. we discuss the precise differences, but briefly they are: no key
  48. click control, no Enter key emulation on the keypad, and the
  49. special keys on the top row have been relabeled.
  50.  
  51.      The current version also lacks a few standard features of
  52. Windows.  There is no selective copy-to-clipboard function. 
  53. However the entire contents of the video buffer can be slapped to
  54. the clipboard, and text can be pasted into the program.  In
  55. addition some keys do not have a corresponding menu item.
  56.  
  57.  
  58.      UNIX users can specify h19 in their TERM variable to obtain
  59. Heath mode.  If this is not available, vt52 may suffice. 
  60. Alternatively, one can specify h29, h19a, or  ansi.  Depending on
  61. how well the termcap file has been written, such features as
  62. cursor key operation may or may not be recognized.
  63.  
  64.        The programs will run only in Windows 2.03, Windows/286,
  65. or Windows/386.  Windows 1.x is already obsolete.  If you are a
  66. registered owner of Windows, you can receive an upgrade from
  67. Microsoft at a nominal price.
  68.  
  69.      To appreciate fully the features of this terminal, the user
  70. should refer to the original Heathkit documentation.  We have
  71. summarized most of the commands in the Appendix, but the
  72. information is abbreviated.  The best source of detailed
  73. information is in "Heathkit Manual for the Video Terminal, Model
  74. H19, Operation", Part Number 595-2284-01, Heath Company, Benton
  75. Harbor, MI 49022.  
  76.  
  77.  
  78.                TERMINAL OPERATION
  79.  
  80.      The programs are very easy to use.  Simply copy the one you
  81. wish to your Windows directory and run it from Windows.  You will
  82. be asked if the default entries should be added to win.ini.  If
  83. you agree, win.ini will be modified and you can then continue.
  84. Otherwise the program will exit.  If you agree to continue, the
  85. program will try to open the first communications port specified
  86. in win.ini.  If this is not successful, it will try the next one
  87. listed.  If this one also fails, the program will exit with a
  88. message.  We assume only COM1: or COM2: are available.
  89.  
  90.      If a port is opened and successfully initialized, you will
  91. find yourself already on-line and ready to communicate.  Most
  92. communications and terminal parameters may be changed during the
  93. session using the Set Communications and Set Terminal options in
  94. the Emulator menu.  The values you choose can be saved
  95. permanently by checking the 'Save' item in the dialog box.  In
  96. addition, by checking the 'Default' item in the communications
  97. dialog box, the selected port becomes the first port tried when
  98. the program is run.
  99.  
  100.      With the Edit menu you can paste text from the clipboard
  101. when on line, and you can copy the contents of the entire screen
  102. to the clipboard.  No attempt has been made to preserve such
  103. attributes as inverse video or the graphics characters during
  104. copy.
  105.     
  106.     If you plan to use the graphics character set of the H19
  107. terminal, you should install the font Winh19.fon with the Windows
  108. control panel.  Otherwise, you will get the normal Windows
  109. terminal (OEM) font, and if you go into the terminal's graphics
  110. mode, you will see the usual characters supplied by IBM for the
  111. control characters.  You may want to install the extra font at
  112. any rate if you are using a display such as the EGA where the OEM
  113. font is really too small, or the AT&T/Olivetti 640x400 screen
  114. where the OEM font is a bit too large to get the entire H19
  115. window on the screen. Winh19.fon is in the Windows 2.0 format.
  116.  
  117.  
  118.  
  119.              Basic Functions
  120.  
  121.      It is typical of terminals of this type that every operation
  122. is performed by its receiving commands as sequences of characters
  123. prefixed by the escape character.  Such sequences can originate
  124. from the keyboard if the terminal is off-line or can be received
  125. from the host.  Only one setting cannot be changed in this way,
  126. and that is whether the terminal is to run in local-echo mode or
  127. not.  All other operations are obtained via escape sequences.
  128. Typically, however, a user needs to know very few of these
  129. commands; the host computer, if it knows the terminal type, will
  130. perform them as required.  However, most basic operations can be
  131. carried out using the keyboard and/or the menu.
  132.  
  133.      The Off Line/On Line menu item can be used to toggle between
  134. line and local modes.  Either click on the item with the mouse or
  135. simply type ALT-O (Letter O).  In local mode you can explore the
  136. entire range of the terminal's capabilities including the
  137. behavior of the keypad, which has been organized exactly as the
  138. keypad on the H19.  In particular you can make mode and setting
  139. changes by typing the corresponding escape sequence.  For
  140. example, to set the terminal to 300 baud when in Heath mode, go
  141. off-line and type ESC r C.  To set a block cursor,use the
  142. sequence ESC x 4.  See the Appendix for a complete list of such
  143. commands.
  144.  
  145.      Function keys F1 to F5 and F7 to F9 can be programmed to
  146. send user-defined strings if the control, shift, or control-shift
  147. keys are also actuated.  Function key F10, and if you have an
  148. extended keyboard, F11 and F12, can additionally be programmed in
  149. unshifted mode as well.  F6, which plays the role of the ERASE
  150. key on the H19 cannot be altered.  The ability to program the
  151. function keys is NOT part of the standard capabilities of the H19
  152. but is an added feature.  See the win.ini discussion below for
  153. more information on setting these keys.
  154.  
  155.      Some terminal commands are available directly from the
  156. keypad or the function keys.  For example, F6 will clear the
  157. screen from the present cursor position to the end of the screen,
  158. and Shift F6 will clear the entire screen.  If the terminal has
  159. shifted keypad mode set, then the keypad performs editing
  160. functions.  In particular, cursor movement is as expected. 
  161. However, the rest of the keypad may function differently from the
  162. actions marked on the keys as its action in this program is
  163. exactly as on a real H19.  A complete account of keyboard usage
  164. is in the Appendix.
  165.  
  166.  
  167.      Note that all of the editing key actions such as clear
  168. screen, delete a line, move cursor, etc., will not be transmitted
  169. to a host when on-line if the control key is held down.
  170.  
  171.      You can send a break with CTRL-BREAK, or on an extended
  172. keyboard, CTRL-SCROLLOCK.  The break signal is active as long as
  173. the key remains depressed.  CTRL-BACKSPACE will send a DELETE
  174. character to the host.  CTRL-J will send a line feed character. 
  175. The emulator can be reset to its 'power-up' values by using the
  176. Reset selection in the Emulator menu.
  177.  
  178.      Finally, you can use the Scroll Lock key to conveniently
  179. stop and start the display.  Hold screen is also available.
  180. Simply go off line and type the appropriate escape sequence for
  181. the emulation mode in use.  Then when a carriage return is
  182. received on the bottom line, the display will pause until you
  183. strike the Scroll Lock.  This will allow the next line to
  184. display.  You can see the entire screen by holding down the shift
  185. key when depressing Scroll Lock.  To end the hold screen mode,
  186. again go off line and type the correct sequence. 
  187.  
  188. Win.ini Settings
  189.  
  190.      Here is a typical set of values in win.ini along with some comments.
  191.  
  192.        [Winh19]
  193.     port1=COM2:        ; try to open this port first.
  194.     port2=COM1:        ; if unsuccessful, try this one next.
  195.     COM1:=1200,e,7,1    ; set this port to 1200 baud
  196.                 ;    even parity, 7 bit word, and 1 stop bit.
  197.     COM2:=9600,n,8,1    ; set this one at 9600 baud, no parity,
  198.                 ;    8 bit word, and 1 stop bit.
  199.     BlockCursor=0        ; set to 1 for a block, 0 for an underline cursor.
  200.     Keyclick=1        ; currently not implemented.
  201.     WrapAround=1        ; terminal does line wrap if set to 1
  202.     AutoLFonCR=0        ; does LF on receipt of CR if set to 1
  203.     AutoCRonLF=0        ; does CR on receipt of LF if set to 1
  204.     ANSIMode=0        ; Heath mode if 0, ANSI mode if 1
  205.     ShiftedKeypad=1    ; Keypad is shifted if set to 1 (keypad sends
  206.                 ;    edit function commands).
  207.     FullDuplex=1        ; Terminal is in local echo if 0.
  208.     lines=24        ; 24 lines plus status.  Maximum is 40
  209.     columns=80        ; 80 columns.  Maximum is 95
  210.     SF1=ATDT 5555555    ; Shift F1 sends this Hayes-like dialing sequence.
  211.     SF2=whall        ; Shift F2 sends my login command.
  212.     CF1=ats16=5d        ; Control F1 turns on analog loopback on a
  213.                 ;     U. S. Robotics Courier modem.
  214.     CSF2=atz        ; Control Shift F2 resets U. S. Robotics Courier modem.
  215.     CSF3=dir\M        ; Command to display a directory on host.
  216.  
  217.      The settings for COM1 and COM2 are in the format for an
  218. MS-DOS mode command.  In particular, you cannot currently select
  219. either a default parity of mark or space.  However, you can
  220. configure the terminal for such a parity type from within the
  221. program.
  222.  
  223.      The number of lines or columns can only be set by editing
  224. win.ini. You may want to experiment with suitable values.  On an
  225. EGA display, 27 lines works well.  30 lines gives a nice display
  226. on the AT&T/Olivetti 640x400 monitor.  Finally, you can use up to
  227. 36 lines comfortably on the VGA.  95 is the upper limit for the
  228. number of columns.  Don't forget to inform the host computer
  229. about the number of lines on your terminal if you select
  230. non-standard values. 
  231.  
  232.      The keystrings and corresponding keys are as follows:
  233.  
  234.         F10 to F12        F10 to F12
  235.         SF1 to SF12        Shift F1 to Shift F12
  236.         CF1 to CF12        Control F1 to Control F12
  237.         CSF1 to CSF12        Control-shift F1 to Control-shift F12
  238.  
  239. You can change these strings from the program with the Edit
  240. Function Keys menu.  Note that when editing, you have complete
  241. capability to cut, copy, and paste the strings from one selection
  242. to the next.  However, you must use the keyboard interface at
  243. present, although the mouse can be used to select text for a copy
  244. or cut operation, as well as to save the string to win.ini.
  245.  
  246.      Control characters ^@ (NUL) thru ^[ (ESC) can be used in
  247. strings by prefixing with a backslash '\'.  Thus '\M' means a
  248. carriage return and '\[' is an escape.  To place a backslash in a
  249. string use '\\'.
  250.  
  251.      Note that key F6 is currently always grayed and cannot be
  252. selected in the dialog box.
  253.  
  254. Winh19.fon
  255.  
  256.      WINH19.FON is an OEM type font using a Modern typeface. 
  257. Characters are 7x9 with extenders in an 8x10 cell.  Characters 32
  258. to 126 are standard ASCII but are not faithful reproductions of
  259. the original H19 forms because they were found to be too light on
  260. a Windows screen to be easily readable.  However, characters 0 to
  261. 31 and 127, the  graphics characters, are exactly the same as the
  262. original in shape and composition.  In order to see the graphics
  263. characters, the user must first set the terminal to graphics
  264. mode.  Then the lower case letter keys plus some of the
  265. non-alphabetic keys will display the graphics set.  See the Heath
  266. manual for complete information including bitmaps of each
  267. character. 
  268.  
  269. Differences with an actual H19
  270.  
  271.      The following differences exist between our emulation and
  272. the real machine:
  273.  
  274.     1.  Key click cannot be turned on or off.  This is simply
  275. regarded as too hardware-dependent to implement.
  276.  
  277.     2.  An extension has been made to the H19 Scroll key.  When
  278. in hold screen mode, the Scroll Lock key functions just as on the
  279. H19.  However, in normal mode, Scroll Lock can also be used to
  280. stop and start the display if you have XON-XOFF enabled on the
  281. host.  The Scroll Lock key prevents any further reading of the
  282. communications port when toggled on.  The effect is that the
  283. Windows communications driver sends XOFF to the host, effectively
  284. stopping the display.
  285.  
  286.     3.  Since many IBM-style, 83-key keyboards lack a keypad
  287. Enter key, the corresponding H19 functionality is also absent.
  288. Unfortunately, even on an extended (101/102-key) keyboard, it is
  289. impossible to determine in Windows whether the keypad or main
  290. ENTER key has been depressed.
  291.  
  292.     4.  On an extended keyboard, the Break key does not send
  293. a key released signal.  So Windows simply returns both a keydown
  294. and keyup message when the key has been depressed.  So you must
  295. use Control Scrollock to set and reset the communications break
  296. state on an extended keyboard. 
  297.  
  298.     5.  Keyboard correspondence with the 83-key keyboard is
  299. as follows:
  300.  
  301.         HEATH H-19            WinH19
  302.         
  303.     Main keyboard:
  304.         Off Line            ALT-O (menu)
  305.         f1                F1
  306.         f2                F2
  307.         f3                F3
  308.         f4                F4
  309.         f5                F5
  310.         Erase                F6
  311.         Shift Erase            Shift F6
  312.         BLUE                F7
  313.         RED                F8
  314.         WHITE (GRAY)            F9
  315.         Reset                ALT-E-R (menu)
  316.         Break                Control Break (see note 4 above)
  317.         Scroll                Scroll Lock (see note 2 above)
  318.         Line Feed            Control J
  319.         Delete                Control Backspace
  320.  
  321.     Keypad:    
  322.         Insert Character (7)        Home (7)
  323.         Up (8)                Up (8)
  324.         Delete Character (9)        PgUp (9)
  325.         Left (4)                Left (4)
  326.         Home (5)            (5)
  327.         Right (6)            Right (6)
  328.         Insert Line (1)            End (1)
  329.         Down (2)            Down (2)
  330.         Delete Line (3)            PgDn (3)
  331.         Zero (0)                Ins (0)
  332.         Decimal (.)            Del (.)
  333.         Enter                None
  334.  
  335. All other keys are the same.  For more information, see the Appendix.
  336.  
  337.  
  338.             KERMIT OPERATION
  339.  
  340.  
  341.      Winh19k and Winker contain an implementation of the Kermit
  342. protocol developed by the Center for Computing Activities at
  343. Columbia University.  The following information will help you use
  344. Kermit.
  345.  
  346.      The Kermit protocol provides a way to effect an error-free
  347. file transfer files between two, possibly very different
  348. computers provided each is capable of running Kermit.  Kermit
  349. also has several other features which allow one machine to act as
  350. a server while the other computer controls the server's actions
  351. by means of remote commands.
  352.  
  353.      If you are a regular user of Windows, then there are several
  354. advantages to using a version of Kermit directly from Windows.
  355. First, since Windows is multi-tasking, you can run simultaneous
  356. transfers from up to two communications ports (but, see the notes
  357. below) and continue to use other applications.  Secondly,
  358. transfers continue even when the window is iconic.  Finally,
  359. programs written for Windows can be controlled by its memory
  360. management system for optimum memory usage.
  361.  
  362.      Windows Kermit currently can send and receive files and has
  363. a fairly complete set of commands for interacting with a remote
  364. server.  The program cannot act as a server (yet), and, at this
  365. time, only a few file-transfer parameters can be set.  In
  366. addition, file compression is not yet implemented, and only the
  367. standard 1-byte checksum is available.  The eight-bit quoting
  368. mechanism is in place so that binary file transfer over 7-bit
  369. connections is possible.  But, there is no turn-around character
  370. mechanism, so certain IBM mainframe Kermits may not work with
  371. this implementation.
  372.  
  373.      File transfers frequently fail because of incompatible
  374. parity and word size settings between the host and the local
  375. Kermit.  You will usually get your best results by using eight
  376. bits and no parity.  Any other settings will cause binary file
  377. transfers to be slower since the eight-bit quoting mechanism will
  378. go into action.
  379.  
  380.      There are currently no DOS services allowing you to change
  381. directory, display a directory, type a file, etc.  However, you
  382. can easily use the MSDOS.EXE window to show the files in a given
  383. directory.  And, you can take advantage of some features in the
  384. SEND dialog box to help you move to another directory and to list
  385. the files there.  After you are done, just push the CANCEL
  386. button.  For information on using SEND, see below.
  387.  
  388.  
  389. Basic Usage
  390.  
  391.      Kermit is very easy to use.  To send a file from the local
  392. computer (usually the controlling microcomputer) to the remote
  393. (host) machine the steps are:
  394.  
  395.     1.  Run Kermit on the remote.  At the prompt type
  396. 'receive'
  397.  
  398.     2.  Choose the 'send' option on the local machine, select
  399. the files, and confirm the selection.  The transfer will begin
  400. and continue until all files selected have arrived at the host or
  401. the transfer is canceled.
  402.  
  403.      To receive a file:
  404.  
  405.     1.  Run Kermit on the remote machine and select 'send'
  406. along with the target file names.
  407.  
  408.     2.  Select 'receive' on the local machine.  The files
  409. will continue to arrive until the transfer is complete or  is
  410. canceled.
  411.  
  412.      To use remote operations:
  413.  
  414.     1.  Run Kermit on the remote machine and select 'server'.
  415.  
  416.     2.  Issue all commands from the local machine.  Typical
  417. commands are send files, get files, get help, type or delete a
  418. file on the host, etc..
  419.  
  420.     3.  Terminate remote operations by issuing the 'finish',
  421. 'bye', or 'logout' command. 
  422.  
  423.      During a transaction, the terminal display window is removed
  424. from the screen and various items reflecting the state of the
  425. Kermit process are shown.  If a file is being transferred,
  426. statistics about the transfer are displayed.  If a remote command
  427. is being executed, any information is written to the bottom line
  428. of the window and is scrolled upward.  At the end of the
  429. transaction, a dialog box appears announcing success or failure. 
  430. The display may be obscured by the box, but it can always be
  431. moved out of the way.  However, once 'OK' has been pressed, the
  432. terminal display window is restored and the old information is
  433. lost.
  434.  
  435.      Once a file transfer has begun, you can minimize the window
  436. and have the transfer continue 'in the background'.  The icon
  437. will display the packet types and numbers for both the outbound
  438. and inbound packets. 
  439.  
  440. Warnings
  441.  
  442.      File transfers usually fail because of differences between
  443. the local and remote parity and word size.  If you cannot get
  444. even the first packet across, then try changing these parameters.
  445.  
  446.      Windows is multitasking and you can run several instances of
  447. the same program.  If you are running two copies, watch out for
  448. possible file conflicts such as trying to transfer files to the
  449. SAME file from two different remote Kermits.  The DOS file system
  450. does not always protect you from this kind of error. It can
  451. happen that while you are receiving a file from one source, the
  452. same file can be successfully opened for sending. It usually
  453. means disaster for the incoming file.
  454.  
  455.      Similarly, if the target file is a floppy disk, do not
  456. remove the disk until the transfer has completed. 
  457.  
  458. Detailed Information about the Commands
  459.  
  460.      Three menu selections control the operation of the Kermit
  461. protocol.  They are: Protocol, Files, and Remote.  Files handles
  462. send, receive, get, and the various means for canceling the
  463. transfer.  Remote contains all commands which can be issued to a
  464. remote server.  Finally, Protocol allows a limited selection of
  465. options.
  466.  
  467.      All menus are provided with accelerators as indicated by the
  468. underlined character.  Please see your Windows reference manual
  469. for instructions on using accelerator keystrokes.  We have listed
  470. below when applicable the accelerator keystroke sequence for each
  471. command. 
  472.  
  473. The Protocol Menu
  474.  
  475.      Currently you may select the following items:
  476.  
  477.     Timeout on:  If this item is checked, then after a
  478. certain number of seconds have elapsed with no packets received,
  479. a retry will be attempted.  If the number of retries exceed a
  480. given threshold, then the protocol will exit.  Currently the
  481. elapsed time is fixed at 5 seconds and the number of retries is
  482. also 5.  Neither can be varied in the current implementation.
  483.  
  484.     Duplicate filename warning:  If checked, then an incoming
  485. file with the same name as an existing one will be renamed so as
  486. not to overwrite the old one.  The new name appends or replaces
  487. part of the old name with a unique generation number.
  488.  
  489.     Discard incomplete file:  If checked, then any file being
  490. received in which the protocol has been interrupted by an error
  491. condition or by the user will be deleted.
  492.  
  493.     Bell at end of transfer:  If checked, the bell will sound
  494. when a transaction is complete or canceled.
  495.  
  496.      If the 'Save settings' box is also checked, then win.ini
  497. will be modified to reflect the new defaults under [Kermit]. 
  498.  
  499. The Files Menu
  500.  
  501.      Using these selections, you can send or receive a file or a
  502. group of files.  Before a transaction begins, you can select
  503. either of Send, Receive, or Get.  After the transfer has begun,
  504. you may interrupt the transfer in various ways.  Of course, you
  505. should have already set the remote Kermit as described above. 
  506. Thus, before you attempt to receive files you should have already
  507. set the remote Kermit to send them.  Similarly, if you are
  508. sending files to the remote Kermit, you must first command it to
  509. receive or place it into server mode.  Finally, server mode on
  510. the remote host must be active in order to use the Get command.
  511.  
  512.  
  513.     Send (ALT-F-S):  When Send is selected, a dialog box with
  514. several windows appears.  Two are list boxes; the one on the left
  515. contains all files matching the search specification shown in the
  516. edit box at the top.  The right list box contains a list of paths
  517. and disk drives which can be accessed.  The push buttons allow
  518. you to select a list of files based on the search specification,
  519. send the selected files, or cancel the operation.
  520.  
  521.      The basic principle is that a file name must be highlighted
  522. in the list box to be sent.  Thus, you may send several files.
  523. However, you may select only those files from the current
  524. directory.  Hence files from more than one directory cannot be
  525. sent during one transaction.
  526.  
  527.      A file can be selected in several ways.  The usual method is
  528. to click on the name with the mouse.  More than one file can be
  529. highlighted by holding down the shift key during selection.  You
  530. can also deselect one of several highlighted items in the list by
  531. again depressing the shift-key and clicking on the item.  If you
  532. do not hold down the shift key, all items will be deselected
  533. except the one to which the mouse is pointing.
  534.  
  535.      You can also use the keyboard to select files.  Use the tab
  536. key to move to the files list box.  There you can select files by
  537. using the arrow keys to move through the list and the shift key
  538. to highlight contiguous items in the list.
  539.  
  540.      The default search specification is "*.*".  You can choose
  541. another string to limit the files displayed in the list box.  For
  542. example, if you tab to the edit box (or point to it with the
  543. mouse), type "*.txt", and press the RETURN key or the SELECT
  544. pushbutton, then not only will all files having that extension be
  545. displayed, but all will be selected as well.  You can then send
  546. the entire list by activating the SEND button.
  547.  
  548.      At any time, you can deselect all files but one in the list
  549. box by simply pointing and clicking on that file.  You can
  550. deselect all file in the box by deleting the contents of the edit
  551. box and pressing RETURN.
  552.  
  553.      You can move to another drive or directory by typing it into
  554. the edit box and pressing RETURN or double-clicking on the
  555. corresponding item in the right list box.  The current search
  556. specification is appended to the path, the program moves to the
  557. new directory, and all matching files are displayed.  A second
  558. RETURN or a push of the SELECT button then highlights the files
  559. list. 
  560.  
  561.      Finally, at any time, a single file located anywhere in the
  562. system can be selected and sent.  Simply type its name, along
  563. with any required drive and/or path information and hit RETURN.
  564. If the file can be found, then a switch is made to that directory
  565. and the file name is displayed and selected.  If the file cannot
  566. be found,  no action takes place.
  567.  
  568.      You may cancel the operation at any time by pressing the
  569. CANCEL button.  Pushing SEND with no files highlighted has the
  570. same effect.
  571.  
  572.     Receive (ALT-F-R):  If the Receive menu item is chosen,
  573. then the program enters a state where it is awaiting the arrival
  574. of an initialization packet from the sender.
  575.  
  576.     Get (ALT-F-G):  If the remote host is in server mode, you
  577. may use this command to receive files.  A dialog box appears in
  578. which you can type a single file name or a search specification. 
  579. After the OK button has been pressed, the program sends a
  580. initialization packet and then waits for the file(s).
  581.  
  582.     Exclude file (ALT-F-X):  Once a transaction has begun,
  583. you can exclude the file currently being transferred by selecting
  584. this menu item.  The rest of the files will not be affected. Note
  585. that if you have elected to keep partial files, the current file
  586. will NOT be deleted if you are receiving.
  587.  
  588.     Zap batch (ALT-F-Z):  Once the transaction has begun, you
  589. can kill the remaining transaction by making this selection. 
  590. Only the current and remaining files in the list are affected.
  591. The comment about partial files in the paragraph above also
  592. applies.
  593.  
  594.     Error abort (ALT-F-E):  When this item is selected, an
  595. error packet is sent to the remote Kermit and the transaction is
  596. terminated.  Incomplete files are discarded (or saved, if the
  597. partial file flag is set).  Use this method to cleanly terminate
  598. a transaction once the exchange has started.
  599.  
  600.     Cancel protocol (ALT-F-C):  This selection is most useful
  601. as a way to cancel a transaction before any exchange of packets
  602. has begun.  Note that the remote Kermit will attempt to continue
  603. if it has already started and you will may have to use other
  604. means to terminate the remote program, or, you can simply let it
  605. time out. 
  606.  
  607. The Remote Menu
  608.  
  609.      You may control many actions of the remote host by placing
  610. its Kermit into server mode and then using the various commands
  611. available under this menu item.  Many of the commands will
  612. present you with a dialog box, although in some cases, the
  613. information is optional.  In any case, you confirm your selection
  614. by pushing the OK button.  A touch of the space bar is
  615. sufficient.  Press the CANCEL button and the transaction will not
  616. start.  
  617.  
  618.      Some remote commands may return many lines of information.
  619. You can stop the display (for a limited time, as the remote
  620. Kermit may time out) and restart it by toggling the Scroll Lock
  621. key.  Finally, during the transaction, you can use the various
  622. cancel options to abort the operation.
  623.  
  624.     Help (ALT-R-H):  This item will request the host to
  625. display the remote commands available.  Some remote Kermits may
  626. be able to respond to help about a particular subject, and a
  627. dialog box is available to add the additional string.
  628.  
  629.     Host Command (ALT-R-O):  Use this item to have the host
  630. perform a shell command.  An entry in the dialog box is
  631. mandatory.
  632.  
  633.     Finish (ALT-R-F):  Select this item to cause the remote
  634. Kermit to exit the server mode.
  635.  
  636.     Logout (ALT-R-L):  As the name implies, this item is used
  637. to log off the remote machine from server mode.
  638.  
  639.     Bye (ALT-R-B):  This selection logs off the user from the
  640. remote and exits the local Kermit.
  641.  
  642.     Chdir (ALT-R-C):  You can change directory on the remote
  643. server with this command.  A dialog box will appear allowing you
  644. to enter the new directory, and, if needed, password.  The
  645. password will not be displayed.  On some remote Kermits, if you
  646. make no entries, the current directory is returned.
  647.  
  648.     Directory (ALT-R-D):  This item lists the files located
  649. on the remote host.  An optional search specification can be
  650. given. 
  651.  
  652.     Type (ALT-R-T);  You can type a file or group of files
  653. located on the remote host with this command.
  654.  
  655.     Delete (ALT-R-D):  This menu item allows you to delete
  656. files on the remote host.
  657.  
  658.     Who (ALT-R-W):  You can list the users on the system with
  659. this command.  An optional string can also be sent.
  660.  
  661.     Space (ALT-R-U):  This command lists the disk space
  662. available on the host.  An optional string can be sent.
  663.  
  664.  
  665.  
  666.                 APPENDIX
  667.  
  668. SUMMARY OF WINDOWS MAIN KEYBOARD USAGE FOR THE WINDOWS H19 EMULATOR
  669.  
  670. Note:  Keyboards covered include IBM-style 83 and 101-key (extended) 
  671. models.  F10, F11, F12 are available only on 101 key keyboards. 
  672. Other differences are noted below.
  673.  
  674. Key        Heath        ANSI        Terminal action if received
  675. Scroll Lock                    Display pauses
  676. Ctrl Break (Ctrl Scrollock on ext kbd)         Sends break until released
  677. Ctrl Backspace                    Sends delete (127)
  678.  
  679. F1        ESC S        ESC O S        None
  680. F2        ESC T        ESC O T        None
  681. F3        ESC U        ESC O U        None
  682. F4        ESC V        ESC O V        None
  683. F5        ESC W        ESC O W        None
  684. F6        ESC J        ESC [ J        Clear to end of display
  685. F7        ESC P        ESC O P        None
  686. F8        ESC Q        ESC O Q        None
  687. F9        ESC R        ESC [ R        None
  688. F10 to F12    none        none        User defined (1)
  689.  
  690. Shift F1 to F5                     User defined (2)
  691. Shift F6    ESC E        ESC [ 2 J    Clear display and home cursor
  692. Shift F7 to F12                    User defined (2)
  693.  
  694. Ctrl F1 to F5                    User defined (3)
  695. Ctrl F6                        Same as F6 but not transmitted
  696. Ctrl F7 to F12                    User defined (3)
  697.  
  698. Ctrl Shift F1 to F5                User defined (4)
  699. Ctrl Shift F6                    Same as shift F6
  700. Ctrl Shift F7 to F12                User defined (4)
  701.  
  702. (1) Set Fn=string (max of 80 chars) in win.ini under [Winh19].
  703. (1) Set SFn=string (max of 80 chars) in win.ini under [Winh19].
  704. (2) Set CFn=string (max of 80 chars) in win.ini under [Winh19].
  705. (3) Set CSFn=string (max of 80 chars) in win.ini under [Winh19].
  706.  
  707. KEYPAD KEYS
  708.  
  709. Shifted keypad mode OFF, Alternate keypad OFF
  710. Key          Heath        ANSI        Terminal action if received
  711. Ins          0        0        Displays 0
  712. End          1        1        Displays 1
  713. Down Arrow      2        2        Displays 2
  714. PgDn          3        3        Displays 3
  715. Left Arrow      4        4        Displays 4
  716. 5 key          5        5        Displays 5
  717. Right Arrow      6        6        Displays 6
  718. Home          7        7        Displays 7
  719. Up Arrow        8        8        Displays 8
  720. PgUp          9        9        Displays 9
  721. Del          .        .        Displays .
  722. Shift Ins      0        0        Displays 0
  723. Shift End      ESC L        ESC [ L        Insert Line
  724. Shift Down Arrow  ESC B        ESC [ B        Cursor down 1 line
  725. Shift PgDn        ESC M        ESC [ B        Delete Line
  726. Shift Left Arrow  ESC D        ESC [ D        Cursor left 1 character
  727. Shift 5 key      ESC H        ESC [ H        Home cursor
  728. Shift Right Arrow ESC D        ESC [ D        Cursor right 1 character
  729. Shift Home      ESC @        ESC [ 4 h    Enter insert mode (1)
  730.           ESC O        ESC [ 4 l    Exit insert mode (1)
  731. Shift Up Arrow      ESC A        ESC [ A        Cursor up 1 line
  732. Shift PgUp       ESC N        ESC [ P        Delete character
  733. Shift Del      .        .        Displays .
  734.  
  735. Shifted keypad mode ON, Alternate keypad OFF
  736. Key          Heath        ANSI        Terminal action if received
  737. Ins          0        0        Displays 0
  738. End          ESC L        ESC [ L        Insert Line
  739. Down Arrow       ESC B        ESC [ B        Cursor down 1 line
  740. PgDn          ESC M        ESC [ B        Delete Line
  741. Left Arrow        ESC D        ESC [ D        Cursor left 1 character
  742. 5 key            ESC H        ESC [ H        Home cursor
  743. Right Arrow       ESC D        ESC [ D        Cursor right 1 character
  744. Home            ESC @        ESC [ 4 h    Enter insert mode (1)
  745.           ESC O        ESC [ 4 l    Exit insert mode (1)
  746. Up Arrow      ESC A        ESC [ A        Cursor up 1 line
  747. PgUp             ESC N        ESC [ P        Delete character
  748. Del          .        .        Displays .
  749. Shift Ins      0        0        Displays 0
  750. Shift End      1        1        Displays 1
  751. Shift Down Arrow  2        2        Displays 2
  752. Shift PgDn      3        3        Displays 3
  753. Shift Left Arrow  4        4        Displays 4
  754. Shift 5 key      5        5        Displays 5
  755. Shift Right Arrow 6        6        Displays 6
  756. Shift Home      7        7        Displays 7
  757. Shift Up Arrow      8        8        Displays 8
  758. Shift PgUp      9        9        Displays 9
  759. Shift Del      .        .        Displays .
  760.  
  761.  
  762. Shifted keypad mode OFF, Alternate keypad mode ON
  763. Key          Heath        ANSI        Terminal action if received
  764. Ins          ESC ? p    ESC O p        Displays p
  765. End          ESC ? q    ESC O q        Displays q
  766. Down Arrow      ESC ? r    ESC O r        Displays r
  767. PgDn          ESC ? s    ESC O s        Displays s
  768. Left Arrow      ESC ? t    ESC O t        Displays t
  769. 5 key          ESC ? u    ESC O u        Displays u
  770. Right Arrow      ESC ? v    ESC O v        Displays v
  771. Home          ESC ? w    ESC O w        Displays w
  772. Up Arrow      ESC ? x    ESC O x        Displays x
  773. PgUp          ESC ? y    ESC O y        Displays y
  774. Del          ESC ? n    ESC O n        Displays n
  775. Shift Ins      ESC ? p    ESC O p        Displays p
  776. Shift End      ESC L        ESC [ L        Insert Line
  777. Shift Down Arrow  ESC B        ESC [ B        Cursor down 1 line
  778. Shift PgDn      ESC M        ESC [ B        Delete Line
  779. Shift Left Arrow  ESC D        ESC [ D        Cursor left 1 character
  780. Shift 5 key      ESC H        ESC [ H        Home cursor
  781. Shift Right Arrow ESC D        ESC [ D        Cursor right 1 character
  782. Shift Home      ESC @        ESC [ 4 h    Enter insert mode (1)
  783.           ESC O        ESC [ 4 l    Exit insert mode (1)
  784. Shift Up Arrow      ESC A        ESC [ A        Cursor up 1 line
  785. Shift PgUp       ESC N        ESC [ P        Delete character
  786. Shift Del      ESC ? n    ESC O n        none
  787.  
  788. Shifted keypad mode ON, Alternate keypad mode ON
  789. Key          Heath        ANSI        Terminal action if received
  790. Ins          ESC ? p    ESC O p        Displays p
  791. End          ESC L        ESC [ L        Insert Line
  792. Down Arrow        ESC B        ESC [ B        Cursor down 1 line
  793. PgDn          ESC M        ESC [ B        Delete Line
  794. Left Arrow      ESC D        ESC [ D        Cursor left 1 character
  795. 5 key          ESC H        ESC [ H        Home cursor
  796. Right Arrow      ESC D        ESC [ D        Cursor right 1 character
  797. Home          ESC @        ESC [ 4 h    Enter insert mode (1)
  798.           ESC O        ESC [ 4 l    Exit insert mode (1)
  799. Up Arrow      ESC A        ESC [ A        Cursor up 1 line
  800. PgUp           ESC N        ESC [ P        Delete character
  801. Del            ESC ? n    ESC O n        Displays n
  802. Shift Ins      ESC ? p    ESC O p        Displays p
  803. Shift End      ESC ? q    ESC O q        Displays q
  804. Shift Down Arrow  ESC ? r    ESC O r        Displays r
  805. Shift PgDn      ESC ? s    ESC O s        Displays s
  806. Shift Left Arrow  ESC ? t    ESC O t        Displays t
  807. Shift 5 key      ESC ? u    ESC O u        Displays u
  808. Shift Right Arrow ESC ? v    ESC O v        Displays v
  809. Shift Home      ESC ? w    ESC O w        Displays w
  810. Shift Up Arrow      ESC ? x    ESC O x        Displays x
  811. Shift PgUp      ESC ? y    ESC O y        Displays y
  812. Shift Del      ESC ? n    ESC O n        Displays z
  813.  
  814. (1) Sends first sequence shown if not in insert character mode.
  815.     Sends second sequence if in insert mode. 
  816.  
  817.    SUMMARY OF ESCAPE SEQUENCES RECOGNIZED BY THE WINDOWS H19 EMULATOR
  818.  
  819. CURSOR FUNCTIONS            HEATH            ANSI
  820. Cursor home                ESC H            ESC [ H
  821.                                 ESC [ 0;0 H
  822.                                 ESC [ 1;1 H
  823.                                 ESC [ f
  824.                                 ESC [ 0;0 f
  825.                                 ESC [ 1;1 f
  826. Cursor forward 1 character        ESC C            ESC [ C
  827.                                 ESC [ 1 C
  828. Cursor forward n characters        none            ESC [ n C
  829. Cursor backward 1 character        ESC D            ESC [ D
  830.                                 ESC [ 1 D
  831. Cursor backward n characters        none            ESC [ n D
  832. Cursor down one line            ESC B            ESC [ B
  833.                                 ESC [ 1 B
  834. Cursor down n lines            none            ESC [ n B
  835. Cursor up 1 line            ESC A            ESC [ A
  836.                                 ESC [ 1 A
  837. Cursor up n lines            none            ESC [ n A
  838. Reverse line feed            ESC I            ESC M
  839. Cursor position report (1)        ESC n             ESC [ 6 n
  840. Save cursor position            ESC j            ESC [ s
  841. Set to saved postion            ESC k            ESC [ u
  842. Address cursor (2)            ESC Y a b        ESC [ r;c H
  843.                                 ESC [ r;c f
  844.  
  845. (1) Heath mode replies with ESC Y a b, where a and b are characters
  846. whose ASCII values are, respectively, the row and column position of the
  847. cursor plus 31.  ANSI mode replies with ESC [ r;c R where r and c are
  848. character strings of digits for the row and column position of the cursor. 
  849.  
  850. (2) In the Heath mode, a and b are ASCII characters whose values are the
  851. respective row and column postions offset by 31 (if the first row or
  852. column is regarded as 1).  In ANSI mode, r and c are character strings
  853. of digits for the row and column position. 
  854.  
  855. ERASING AND EDITING            HEATH            ANSI
  856. Clear display and home cursor        ESC E            ESC [ 2 J
  857. Erase to top of display            ESC b            ESC [ 1 J
  858. Erase to end of display            ESC J            ESC [ J
  859.                                 ESC [ 0 J
  860. Erase entire line            ESC l            ESC [ 2 K
  861. Erase to beginning of line        ESC o            ESC [ 1 K
  862. Erase to end of line            ESC K            ESC [ K
  863.                                 ESC [ 0 K
  864. Insert one line                ESC L            ESC [ L
  865.                                 ESC [ 1 L
  866. Insert n lines                none            ESC [ n L
  867. Delete line                ESC M            ESC [ M
  868.                                 ESC [ 1 M
  869. Delete n lines                none            ESC [ n M
  870. Delete character            ESC M            ESC [ P
  871.                                 ESC [ 1 P
  872. Delete n characters            none            ESC [ n P
  873. Enter insert character mode        ESC @            ESC [ 4 h
  874. Exit insert character mode        ESC O            ESC [ 4 l
  875.  
  876. CONFIGURATION and MODES            HEATH            ANSI
  877. Reset to Power-up state            ESC z            ESC [ z
  878. Set baud rate (3)            ESC r char        ESC [ r integer
  879. Enable status line            ESC x 1            ESC [ > 1 h
  880. Disable status line            ESC y 1            ESC [ > 1 l
  881. No key click (4)            ESC x 2            ESC [ > 2 h
  882. Key click (4)                ESC y 2            ESC [ > 2 l
  883. Hold screen mode            ESC x 3            ESC [ > 3 h
  884.                     ESC [
  885. Exit hold screen mode            ESC y 3            ESC [ > 3 l
  886.                     ESC \
  887. Block cursor                ESC x 4            ESC [ > 4 h
  888. Underscore cursor            ESC y 4            ESC [ > 4 l
  889. Cursor off                ESC x 5            ESC [ > 5 h
  890. Cursor on                ESC y 5            ESC [ > 5 l
  891. Shifted keypad                ESC x 6            ESC [ > 6 h
  892.                     ESC t
  893. Unshifted keypad            ESC y 6            ESC [ > 6 l
  894.                     ESC u
  895. Alternate keypad mode            ESC x 7            ESC [ > 7 h
  896.                     ESC =            ESC =
  897. Exit alternate keypad mode        ESC y 7            ESC [ > 7 l
  898.                     ESC >            ESC >
  899. Auto LF on CR                ESC x 8            ESC [ > 8 h
  900. Auto CR on LF                ESC x 9            ESC [ > 9 h
  901.                                 ESC [ 20 m
  902. Reverse video mode            ESC p            ESC [ 7 m
  903. Exit reverse video mode            ESC q            ESC [ m
  904.                                 ESC [ 0 m
  905. Graphics mode                ESC F            ESC [ 10 m
  906. Exit graphics mode            ESC G            ESC [ 11 m
  907. Keyboard disabled            ESC }            ESC [ 2 h
  908. Keyboard enabled            ESC {            ESC [ 2 l
  909. Wrap at end of line            ESC v            ESC [ ? 7 h
  910. Discard at end of line            ESC w            ESC [ ? 7 l
  911. Enter ANSI mode                ESC <            none
  912. Enter Heath mode            none            ESC [ ? 2 h
  913.  
  914. (3)     Baud Rate         Heath mode        Ansi Mode
  915.     110            A            1
  916.     150            B            2
  917.     300            C            3
  918.     600            D            4
  919.     1200            E            5
  920.     1800            F            6
  921.     2000            G            7
  922.     2400            H            8
  923.     3600            I            9
  924.     4800            J            10
  925.     7200            K            11
  926.     9600            L            12
  927.     19200            M            13
  928.  
  929. (4) Not yet implemented.
  930.  
  931. MISCELLANEOUS FUNCTIONS            HEATH            ANSI
  932. Identify as VT52 (5)            ESC Z            none
  933. Transmit status line            ESC ]            ESC [ q
  934. Transmit screen                ESC #            ESC [ p
  935.  
  936. (5) Replies with ESC \ Z.
  937.