Part 2Ú@-lÿÿÿþˆ€„&ÿþ@-h‚ËÔ¬Àm @tËÔ2TEXT???? O™`<µ™`<ÝH/+N­ª/+,N­Â/+MACINTOSH KERMIT (Chapter of Kermit User Guide) (Part 2 of 4) 10.3. Remote Commands The Remote menu allows you to send commands to a Kermit server. The response from these commands (if any) is displayed in a special pop-up window. Responses to multiple Remote commands are separated by a dashed line. The response window can be scrolled, sized, and positioned, and can be hidden by clicking the menu item "Hide Response" or the window's go-away box; all text remains intact and will be appended to the next time you do a Remote command; it can also be brought to the foreground by clicking the Show Response menu item. Note that typein to the terminal emulator will not take effect when the response window -- or any other window -- is up front. If the response window gets too full (i.e. fills up the free memory available to the MacKermit application), the program will probably bomb. If the remote Kermit server is in binary mode, its responses to Remote commands may look strange. For instance, a Unix Kermit server in binary mode will send lines of text separated by only linefeeds, rather than CRLFs. A Remote command can be cancelled by taking the Emergency Exit (Command-.). 10.4. Settings You can change File, Communications, and Protocol settings by using the Set- tings pull-down menu. You can save and restore these settings by invoking the appropriate selection in the File menu. If the bundle bit has been correctly set on your version of MacKermit you can double-click on the resulting document to start MacKermit with those settings. The File settings establish the defaults for file transfer: - Mode: text or binary. Used for received files only. When sending, MacKermit tries to figure out an appropriate mode for the file being sent (but then lets you override it the Send File dialog). - Fork: which fork -- data or resource -- to send, or to store an in- coming file into. - Naming: Whether incoming files should supersede existing files of the same name, or a new unique name should be assigned to them. If the latter, the new name is formed by adding a dot and a number to the end. For instance, if a file called FOO exists and a file called FOO arrives, MacKermit will store the arriving file as FOO.1; if FOO.1 exists, then FOO.2, etc. - Attended versus Unattended operation for incoming files. The Communications settings allow you to set the baud rate (anywhere between 300 baud and 57.6K baud), parity (odd, even, mark, space, or none), and duplex (full - remote echo, half - local echo). The Protocol settings allow you to set packet parameters for both incoming and outbound packets. These include the block check type (1 or 2 character check- sum, 3-character 16-bit CRC-CCITT), line turnaround handshake character (for file transfer with half duplex systems), packet start and end characters, pad- ding, packet length, timeout interval, and so forth (Refer to Kermit User Guide). Characters are specified by entering their ASCII value in decimal, e.g. 1 for Control-A, 13 for Control-M (Carriage Return), etc. 10.5. Terminal Emulation MacKermit provides a subset of the features of the DEC VT102 terminal; the VT102 is a VT100 with line and character insert/delete functions added. The functions provided are sufficient to allow MacKermit to act as a terminal for EMACS as it exists on the DEC-20, VAX (CCA EMACS on VMS or UNIX), and for most host-resident display-oriented applications that expect to do cursor position- ing and editing on the VT100 screen. MacKermit does not currently support the following VT100/102 functions: - double height or double width lines - cursor position report - the VT100 graphics character set - autowrap control (this is not an exhaustive list) The keyboard is set up by default as follows: The COMMAND (Fan, Cloverleaf) key is used as the Control key. The CAPS LOCK key forces all alphabetic characters to upper case, and causes keys on the numeric keypad to send VT100 keypad es- cape sequences. The OPTION key is "Control-Meta" (explained below). The ter- minal emulator sends ESC (escape) when the "`" key is pressed unshifted. The character "`" can be sent by typing Control (Command) and the same key. The Backspace key sends a Delete (Rubout) and Control-Backspace sends a Backspace. The Enter key sends a "short" (250ms) BREAK signal. MacKermit (V0.8 and later) comes with a separate key configuration program, CKMKEY, which lets you change the behavior of the keys, define function keys, and so forth. CKMKEY is described in detail below. MacKermit honors your parity communications setting by using built-in functions of the Mac's serial i/o chip. Unfortunately, the chip has an unpleasant quirk -- arriving characters that do not have the specified parity are discarded rather than passed to the requesting application. Thus, if you are connected as a terminal using MacKermit to a device that requires, say, odd parity on characters sent to it, but does not put odd parity on characters it sends to you, then many incoming characters will not appear on your screen. Most VT100 character attributes (bold, underline, inverse) are honored. However, they are not preserved after a window (e.g. the puzzle) has overlaid the screen; the characters will still be there, but without any special at- tributes. To allow useful coexistence of desk accessories and Kermit, the terminal emula- tion may be dragged using the drag bar. A desk accessory that overlays the Kermit window can be clicked upon to move it behind the Kermit window, and then the Kermit window can be dragged to reveal the hidden desk accessory so that it can be restored to the foreground. The same thing can be done with Kermit's own remote response window. Note that Kermit's terminal emulation window does not accept input when any other window is in the foreground. The following features are missing from the MacKermit terminal emulator, and may be added in subsequent releases: - capturing text from the screen (e.g. cutting to clipboard, saving off top) - screen rollback, sizing - modem or dialer control - login scripts - transmission of raw text to host (e.g. pasting to screen) - printer support MacKermit does not use XON/XOFF flow control during terminal emulation or file transfer. The terminal emulator can normally keep up at 9600 baud, but after several continuous scrolling screens at this speed, some characters may be lost. In the present version, when running at high baud rates keep your ter- minal in page mode, or use "more", or view text with a non-scrolling screen editor. Also, don't drag the terminal emulation window while characters are arriving; if you do, the characters will be lost and the display will become confused. 10.6. Installation MacKermit is distributed in source form for building on Unix (or VMS/Eunice) systems that have the Stanford SUMACC Macintosh cross-development tools, in .HQX "binhex" form, and sometimes also as a binary resource file. Those who want to work from the source are referred to the file CKMKER.BLD for instruc- tions. If you have the binary resource file available (its name will be CKMKER.RSRC, ckmker.rsrc, CKMKER.RSR, ckmker.rsr, or some variation on these, depending on what system it's stored on and how it got there), AND if you have "MacPut" on your system and MacTerminal on your Mac, AND if you have an 8-bit-wide (no parity) data path between your Mac and your system, use MacPut to download the binary resource file to MacTerminal's XMODEM option on your Mac. After doing this you must use SetFile on the Mac to set the author to KERM, the type to APPL, and turn on the bundle bit. For CKMKEY, the author should be KERK. If you have an earlier release of Columbia MacKermit, you may use Kermit in place of MacTerminal and MacPut. If you don't have the binary resource file available, you can download the CKMKER.HQX file in the same manner, then run "binhex" (version 4) on it. binary resource file available, you can downloa