Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!rutgers!bellcore!faline!thumper!tr From: tr@thumper.bellcore.com (tom reingold) Newsgroups: comp.sys.ibm.pc Subject: Enclosed is MS-Kermit document (part 5 of 7) Message-ID: <897@thumper.bellcore.com> Date: 31 Dec 87 13:15:51 GMT Organization: Bellcore, Morristown, Noo Joizy Lines: 706 @@@@@@@@@@@@@@@@@@@@ Cut and concatenate here. @@@@@@@@@@@@@@@@@@@@ or spaces: 0 Reset the colors to normal intensity white characters on a black background and use the "no-snow" mode on the IBM Color Graphics Adapter (CGA). 1 High intensity foreground 10 Request fast screen updating for use on the IBM Mono, EGA, or PGA (usually sensed and set internally by Kermit), and some non-IBM CGAs. 3x Foreground color 4x Background color where x is a single digit from 0 to 7, which is the sum of the desired colors: 1 Red 2 Green 4 Blue Example: 0, 1, 37, 44 on an IBM CGA would produce bold white characters on a blue field with no snow. The snow removal business has to do with whether the program should synchronize with vertical retrace when up- dating screen memory. This is necessary with certain color adaptors (like the CGA) and unnecessary for others (like the EGA). CURSOR-STYLE {BLOCK, UNDERLINE} Sets the cursor rendition to your preference. Note that on some early IBM PCs and compatibles, the cursor may not be restored correctly after escaping back from CONNECT because of a bug in the early IBM BIOS. KEYCLICK {ON, OFF} Turns electronic keyclick ON or OFF. If your keyboard has a mechanical clicker (as IBM boards do), you may not notice the effect of this com- mand. MARGIN-BELL {ON, OFF} Controls whether the bell should be sounded when the cursor passes column 72 near the right screen margin; wider displays set the bell 8 columns from the right edge. NEWLINE-MODE {ON, OFF} ON sends a carriage-return-linefeed combination (CRLF) when you type carriage return (CR) during terminal emulation. OFF (default) just sends a CR when you type CR. ROLL {ON, OFF} ON unrolls the screen to the bottom before adding new material if the screen had been rolled back, e.g. by Ctrl-PgUp. ROLL OFF (the default) displays new material on the current screen, possibly overwriting old material. SCREEN-BACKGROUND {NORMAL, REVERSE} NORMAL means dark background, light characters. REVERSE means light background, dark characters. TAB {AT n, CLEAR AT n, CLEAR ALL} Sets tab stops or clears one or all tab stops; n is the numeric posi- tion of the tab to be set or cleared. By default, tabs are every 8 spaces, at positions 9, 17, 25, etc. Only meaningful when emulating a terminal that has settable tabs (the VT52 doesn't really but the emulator can set them anyway). More than one tabstop may be specified by separating column numbers with commas, spaces, or tabs. 132 columns are supported. WRAP {ON, OFF} ON automatically breaks screen lines (by inserting a CRLF) when they reach the right margin. OFF disables wrapping -- if a line is too long, the excess characters go off the screen. WRAP is OFF by default, since most hosts format lines to fit on your screen. SET TIMER Syntax: SET TIMER {ON, OFF} This command enables or disables the timer that is used during file transfer to break deadlocks that occur when expected packets do not arrive. By default, the timer is ON. If the other Kermit is providing timeouts, you can safely turn the timer OFF to avoid packet collisions that might occur when two timers go off simultaneously. SET TRANSLATION Syntax: SET TRANSLATION INPUT {ON, OFF, char1 char2} This command provides multi-language support (and perhaps other special effects) during CONNECT, but not during file transfer or at MS-Kermit command level. A character that arrives at the communication port (char1) will be translated to another character (char2) before display on the screen. As many as 256 characters may have translations specified concurrently. But to see characters with ASCII values higher than 127, you must also SET DISPLAY 8 and SET PARITY NONE. Translation has no effect during file transfers. It is ap- plied to the INPUT, OUTPUT, PAUSE, and TRANSMIT script commands. SET TRANSLATION INPUT ON enables translation (the keyword INPUT is required to allow future translation mechanisms). OFF disables the translation and is the default. So even if you have set up a translation table, you must SET TRANS- LATION INPUT ON before it will take effect. SHOW TRANSLATION tells whether translation is OFF or ON, and displays any current table entries. Translation table entries are made by specifying byte pairs in ASCII or numeri- cal backslash form: SET TRANS INPUT \3 \13 converts incoming ASCII ETX characters (decimal 3) to ASCII CR (decimal 13). 8-bit values are allowed, and refer to characters in the "upper half" of the PC's character set, either the ROM characters supplied with the PC or else sub- stitutions provided by a special device driver. A more practical example shows how the user of a German PC could use the SET TRANSLATION and SET KEY commands to make the PC's umlaut-a key (key code 132) send a left curly brace ("{", ASCII 123), and to display incoming curly braces as umlaut-a's: SET KEY \d132 \d123 SET TRANS INP { \d132 (This example applies to the IBM PC German keyboard, and assumes the German keyboard driver, KEYBGR, has been loaded. This is usually done in AUTOEXEC.BAT.) SET WARNING Syntax: SET WARNING {ON, OFF} Specify what to do when an incoming file is about to be stored under the same name as an existing file in the target device and directory. If ON, Kermit will warn you when an incoming file has the same name as an existing file, and automatically rename the incoming file (as indicated in the warning message) so as not to destroy (overwrite) any existing one. If OFF, the pre-existing file is destroyed, even if the incoming file does not arrive completely. WARNING is ON by default as a safety measure. The new name is formed by adding numbers to the part of the name before the dot. For instance, ABC.TXT becomes ABC00001.TXT, ABC00001.TXT becomes ABC00002.TXT, etc. The STATUS Command Syntax: STATUS The STATUS command displays the values of all the current SET options. There are currently no operands for the STATUS command. It always displays all the options, and the display fills the screen. The SHOW Command Syntax: SHOW option Most parameters that may be altered with SET commands are displayed by the STATUS command. The SHOW command is used for displaying macro definitions, key redefinitions, file transfer statistics, and translations. SHOW MACROS displays the definitions of all currently defined macros, as well as the amount of space left for new macro definitions. SHOW KEY allows you to determine a key's identification code and what it will send in CONNECT mode, most useful for obtaining the identification of a key when SET KEY commands will be placed in a TAKE FILE. This command can be done only interactively (use a ? to see all defined keys). Refer to the terminal emulation section for examples. SHOW MODEM displays the status of the modem signals DSR (dataset ready, modem tells the PC that it is turned on and in data mode), CTS (clear to send, modem grants the PC permission to send data), and CD (carrier detect, local modem tells the PC that it is connected to the remote modem). SHOW STATISTICS displays counts of characters sent and received during file transfers, for both the most recent transfer and the entire session, and an es- timate of the average baud rate while sending and listening. SHOW TRANSLATION displays the entries in the 256 byte input translation table. Values are expressed numerically to avoid confusion with different display adapters, and the command shows only entries for which input and output codes differ. 1.7. SCRIPTS A script is a file containing Kermit commands to be executed. It is the same as a TAKE file, in Kermit terminology, but includes INPUT, OUTPUT, PAUSE, ECHO, and CLEAR commands to automatically detect and respond to information flowing though the serial port, actions which otherwise would be performed by the user during CONNECT. The login sequence of a host computer is a classical example. The script commands INPUT, OUTPUT, PAUSE, and ECHO may be terminated by typing Control-C at the keyboard. The CLEAR command Syntax: CLEAR The CLEAR command flushes the buffers of the serial port to forget any earlier material and help the INPUT command with a clean start. (This command was called CLRINP in 2.29B and earlier, and CLEAR was used to erase macro and key definition memory). The INPUT command Syntax: INPUT [timeout] {search-string | @filespec} INPUT is the most powerful of the script commands. It reads characters from the serial port continuously until one of two things occurs: the received characters match the search string or the time limit expires. Matching strings is the normal use, as in Kermit-MS>input 5 Login please: to recognize the phrase "Login please:", or else time out after trying for 5 seconds. A special binary character \255 or \o377 or \xFF stands for the com- bination carriage return and a line feed, in either order, to simplify pattern matching. Be aware of characters arriving with parity set because the pattern matching considers all 8 bits of a byte unless the local parity is other than NONE or SET DISPLAY 7 is active. The INPUT and OUTPUT commands have a special syntax to replace the normal string with text obtained from a file or device: OUTPUT @filespec INPUT @filespec Both forms read one line of text from the file or device and use it as the desired string. A common use is to wait for a password prompt and then read the password from the console keyboard. A string starts with the first non-spacing character and ends at either the end of line or, if executed within a TAKE file, at a semicolon. Indirectly obtained strings, the @filespec form, read the first line of the file up to but not including the explicit carriage return. Note if a trailing carriage return is needed it must be expressed numerically, such as \13 decimal. The behavior of the INPUT command can be controlled by SET INPUT parameters: CASE, TIMEOUT-ACTION, DEFAULT-TIMEOUT, and ECHO. If the TIMEOUT-ACTION is PROCEED then failure to match strings is ignored and the script continues with the next command. Otherwise, QUIT causes the current script file to be exited immediately; the next higher level script file or the Kermit prompt is done next. CASE controls whether upper and lower case letters should be considered the same during matching. DEFAULT-TIMEOUT supplies a different default for how long to wait, in case an explicit value is not given in the INPUT command. Finally, ECHO controls displaying of serial port data during matching and during the other script commands. When a script fails because an INPUT command did not encounter the desired string within the timeout interval, the message is "?Not confirmed". The OUTPUT command Syntax: OUTPUT {string | @filespec} The OUTPUT command writes the indicated character string to the serial port as ordinary text. The string may contain control or other special binary charac- ters by representing them in the backslash numerical form. Carriage Return (CR), for example, is \13 decimal, \o15 octal, or \x0D hexadecimal. The string may use 8-bit characters if the communications parity is type NONE. The OUTPUT string may not contain Kermit CONNECT-mode action verbs, but it does recognize a special code \b or \B, which causes a BREAK signal to be trans- mitted. The string to be transmitted starts with the first non-spacing character after the OUTPUT command and ends at either the end of line or, if executed within a TAKE file, at a semicolon (if you need to output a semicolon from within a TAKE file, use backslash notation, e.g. "\59"). Indirectly obtained strings, the @filespec form, read the first line of the file up to but not including the ex- plicit carriage return. As a convenience, text arriving at the serial port during the OUTPUT command is shown on the screen if SET INPUT-ECHO is ON, and stored in a 128-byte internal buffer for rereading by a following INPUT command. The PAUSE command Syntax: PAUSE [number] PAUSE simply waits one or more seconds before Kermit executes the next script command. Pauses are frequently necessary to avoid overdriving the host and to let a modem proceed through a dialing sequence without interruptions from Ker- mit. The default waiting time is set by SET INPUT DEFAULT-TIMEOUT and is nor- mally one second. The optional integer number selects the number of seconds to pause for this command. An explicit value of zero produces a pause of just a few milliseconds which can be useful in some situations. Text arriving during the PAUSE interval is shown on the screen, if SET INPUT-ECHO is ON, and stored in a 128-byte internal buffer for rereading by a following INPUT command. Script Examples Here's a simple script file that dials a Hayes modem and logs in to a computer, prompting the user for her password, and then connects as a terminal. CLEAR SET SPEED 1200 OUTPUT AT\13 ; Wakeup modem. PAUSE 2 ; Let it get ready. INPUT OK ; Its response. OUTPUT ATDT 9,555-1212\13 ; Dial the phone. INPUT 30 CONNECT ; Wait for connection. PAUSE 2 ; Breathing space for modems. OUTPUT \13 ; Send carriage returns to PAUSE 2 ; awaken host, wait 2 secs OUTPUT \13 ; between them. INPUT 15 Please login: ; Get expected prompt. OUTPUT Sari\13 ; Send username and CR. SET INPUT ECHO OFF ; Privacy, please. INPUT Enter password: ; Quietly wait for this. ECHO Type your password now. ; Make our own prompt. OUTPUT @CON ; Send console keystrokes. OUTPUT \13 ; Add a real carriage return SET INPUT ECHO ON ; Go verbose again. CONNECT ; Start terminal emulation Notice the semicolons used to indicate comments in TAKE files. If these same commands were typed by hand at the Kermit prompt the semicolon material would be considered part of a string! Typing a Control-C will interrupt and ter- minate any of the commands. The MS-Kermit script package maintains a small memory buffer to allow the INPUT command to inspect characters received during the previous few script commands. CLEAR removes them and any others in a lower level main serial port buffer. As with any TAKE file, scripts can be nested by using the TAKE command within a script. If an INPUT command fails to obtain a match and uses the QUIT option or if the script simply finishes normally the TAKE file is exited and control resumes where it left off in the next higher TAKE file or at the Kermit prompt. A slightly more complicated combination of DOS Batch and Kermit Script files is given below (see your DOS manual for an explanation of the batch file syntax). The purpose is to allow a user to say "SEND filename" at the DOS prompt. The DOS batch shell, SEND.BAT, and the login script, KX, are combined to login to a VAX through a data switch, run VMS Kermit in server mode, transfer the file, submit it to VMS Mail, delete the disk file, shut down the server and logout from the VAX, and report the overall transfer status. The user is asked to provide a password interactively. File SEND.BAT, DOS batch program: echo off Rem Kermit, one-line file mailer, by Joe Doupnik. Rem Logon to VAX, run Kermit, Send user's file, Rem post via MAIL, logout from VAX. if ".%2" == "." goto usage if exist %1 goto proceed echo No file to send! :usage echo Usage is SEND filename username goto done :proceed echo Logging onto the Vax ... kermit take kx,send %1,pau,rem host mail %1 %2,rem del %1\;0,pau 2,bye, if errorlevel 3 goto badrem if errorlevel 2 goto badrcv if errorlevel 1 goto badsnd echo File(s) "%1" has been mailed to %2. goto done :badrem echo Mail did not cooperate! :badrcv echo Receive failed! goto done :badsnd echo Send failed! goto done :done echo on File KX, Kermit script: Comment Login script for VAXA via Micom data PBX Switch. set input timeout quit set input echo off set display quiet output \13 comment - The keywords "slowly." and "CLASS" are part of... comment - the switch's prompt string input 10 slowly. input 10 CLASS pause comment - Tell the Switch, very slowly, that we want to connect... comment - to machine vaxa and then look for the beep response. output v output a output x output a output \13 pause input 5 \7 comment - Done with Switch, wake up the VAX and log in. pause output \13 pause input 5 Username: set input timeout proceed output MYNAME\13 input 2 Password: comment - Notice we prompt ourselves and then... comment - read the password from the console. echo Enter password: output @con comment - use spaces to hide the information which DOS echos. echo {\13 } ; this should be enough comment - send a real carriage return at the end of the password. output \13 comment - Expect ESC Z from the VAX's Set Term/Inquire... comment - Respond ESC [ 6 ; 2 c (say we are VT102). comment - An explicit query symbol (decimal 63) would invoke help, comment - even in this comment, and a bare semicolon would comment - make the rest of the response be a comment. input 15 \27Z output \27[\{63}6\;2c comment Look for VMS dollar sign prompt input 15 $ comment Start VMS Kermit and place it in server mode output Kermit\13 pause 2 output server\13 comment - allow server's message to finish, "machine." appears twice. input 10 machine. input 10 machine. pause Scripts are illustrated further in the next section. 1.8. Initialization Files Revisited At Columbia University, we have IBM 370-series mainframes running VM/CMS, DECSYSTEM-20 mainframes running TOPS-20, a VAX 8700 running Unix. All of these systems are accessible through a Gandalf PACX port contention unit. The IBM systems have two different kinds of front ends, a COMTEN 3695 (similar to IBM 3705) for linemode half-duplex connections, and various Series/1-style protocol converters (including the 7171 and 4994) for full-screen, full-duplex 3270 emulation, all of which use various combinations of parity and other settings. The following MSKERMIT.INI file was composed by Vace Kundakci of Columbia to automate the task of switching among all these systems. It illustrates the creative use of macros and scripts. Numerous site- and system-dependent key definitions have been omitted. ; MSKERMIT.INI for IBM PC/AT Kermit 2.30 COMMENT - INPUT command defaults for scripts set inp tim quit set inp echo off set inp case observe COMMENT - Macros for connecting to PACX and selecting various systems def cu20b do pacx,o cu20b\13,do 2065 def cu20d do pacx,o cu20d\13,do 2065 def sima do pacx,o sima\13,do 7171 def simb do pacx,o simb\13,do 4994 def cunixc do pacx,o cunixc\13,do 8700 def cuvma do pacx,o cuvm\13,do 3695,o vma\13,do 3083 def cuvmb do pacx,o cuvm\13,do 3695,o vmb\13,do 3083 COMMENT - Macros for logging in to various systems. def pacx cle,set par e,o \13,i 5 Enter node name =>\32,pau def 3695 i 5 SWITCHING CHARACTERS:\32\32 def 3083 i 5 ONLINE,o L\32,do pwd,do vml,c def 8700 i 5 login:\32,do pwd,do dec,c def 2065 i 5 \13\10\64,o ter vt102\13,do pwd,do dec,c def 7171 pau,cle,o \13,i 5 TERMINAL TYPE:\32,o vt-100\13,do 3270 def 4994 pau,cle,o \13,i 5 terminal type:\32,pau,o vt100\13,do 3270 def 3270 pau,cle,o \13,o L\32,do pwd,do xed,c COMMENT - Macros for communicating with various systems def vml set par m,set k \270 \8,set k \3 \Kbreak,do tty def xed set par e,set k \270 \8,set k \3,do def def dec set par n,set k \270 \127,set k \3,do def def def set tim of,set loc of,set ter wr of,set han non,set flo xon def tty set tim on,set loc on,set ter wr on,set han xon,set flo non COMMENT - Macro for obtaining user ID and password def pwd echo user:,o @con,o \13, do pw2 def pw2 echo Password:\27[8m,o @con,echo \27[0m,o \13 A bit of explanation might clarify some of this. PACX is our port contention unit. Its output appears in even parity. It prompts us to "Enter node name =>", and we respond with the name of one of our systems or front ends, like CU20B or CU20D (DEC-20s), SIMA or SIMB (7171s), CUVMA or CUVMB (IBM mainframes front ended by COMTEN), or CUNIXC (a VAX). To connect to a given system, Vace types "do cu20b" or "do sima" to invoke a "connecting" macro. Each of these, in turn, invokes the PACX macro to navigate through the PACX to the desired system, and then invokes the appropriate macro (3695, 7171, etc) to get past any associated front end (e.g. to tell the COMTEN which IBM mainframe is wanted, or to tell the protocol converter what terminal to emulate), and then to login on the desired system, prompting on the screen for user ID and password. Since Vace has ANSI.SYS loaded, the escape sequences shown in the "pwd" macro disable echoing of the password. Finally, a macro like "vml" (VM linemode), "xed" (XEDIT, i.e. VM full screen), or "dec" (DEC-20 or VAX) is ex- ecuted to set the communication parameters for the system just logged in to. The key definitions that are shown in the "vml", "xed", and "dec" macros assign the host's character deletion code (backspace or rubout) to the AT's backarrow key. 1.9. MS-Kermit Features for Different Systems As noted early on, MS-Kermit was designed primarily for the IBM PC family, and later adapted to various non-IBM-compatible MS-DOS (and even non-MS-DOS) sys- tems. Some of these adaptations provide all the features of the IBM PC ver- sion, others provide only a subset, and still others may include features not available on the IBM family. These features are all of the system-dependent variety; the Kermit file transfer protocol should be implemented identically on all versions of MS-Kermit. The most obvious differences are in the terminal emulation options and the keyboards. Table 1-4 shows the terminal emulation options for the systems presently supported by Kermit-MS, and Table 1-5, shows which keys are used for screen rollback on the various systems supported by MS-Kermit. ------------------------------------------------------------------------------- System EscChar Capabilities Terminal Service ACT Apricot ^] K VT52 ??? DEC Rainbow ^] R P K D VT102 firmware DECmate/DOS ^] K VT100 ??? Generic DOS ^] K Depends on system Grid Compass ^] K ??? HP-110 ^] K Dumb terminal HP-150 ^] R K HP-2623 firmware IBM PC family ^] R M P K D H19,VT52,VT102,Tek emulation Intel 3xx ^] K Uses real terminal NEC APC3 ^] R M P K D H19,VT52,VT102 emulation NEC APC ^] R P K VT100, ADM3A firmware Olivetti M24 ^] R M P K D Same as IBM PC Sanyo MBC55x ^] R M P K D H19,VT52,VT102 emulation Wang PC ^A K Wang firmware TI Pro ^] M P K VT100/Tektronix Victor 9000 Alt-] M P K D H19,VT52,VT102 and/or Tek4010 Zenith Z100 ^] K Heath-19 emulation R=Rollback, M=Modeline, P=Printer control, K=Key redefinition, D=screen Dump Table 1-4: Kermit-MS Terminal Emulation Options ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- System Screen Down Line Down Screen Up Line Up IBM PC PgUp Ctrl-PgUp PgDn Ctrl-PgDn Rainbow PrevScreen Ctrl-PrevScreen NextScreen Ctrl-NextScreen HP-150 Prev Shift-UpArrow Next Shift-DownArrow NEC APC Uparrow Ctrl-UpArrow DownArrow Ctrl-DownArrow NEC APC3 PgUp Ctrl-PgUp PgDn Ctrl-PgDn Sanyo 55x PgUp Ctrl-RtArrow PgDn Ctrl-PgDn The IBM PC also allows use of the Home key to get to the top of its display memory and End key to get to the bottom, and the keypad minus (-) key to toggle the mode line on and off. The Rainbow uses Shift-Next-Screen to get to the bottom of its display memory, but provides no key for moving directly to the top. Table 1-5: Kermit-MS Screen Scroll Keys ------------------------------------------------------------------------------- Another difference is the default communication port, the number of communica- tion ports supported, and the names given to them. For instance, the IBM PC family supports COM1 and COM2, and uses COM1 by default (except the PCjr, which uses COM2 by default unless there is no modem port). MS-Kermit may be per- suaded to support higher-numbered IBM ports using the method outlined in sec- tion 1.16.5. For remote operation, IBM's name for the console is CON, so if you CTTY COM1, you do CTTY CON to put the PC back to normal. The DEC Rainbow The DEC Rainbow version of MS-Kermit 2.30 uses the built-in VT102 terminal firmware and setup modes, and can operate at speeds up to 9600 baud. It has no 25th screen line, and therefore no Kermit mode line during CONNECT. It sup- ports only the Rainbow's single communication port, and not the printer port, so SET PORT for the Rainbow is not implemented (but of course the printer may be used for printing.) The Rainbow may be put in remote mode by CTTY AUX, and returned to normal with CTTY SCRN. The Rainbow supports several SET TERMINAL commands: VT102, VT52, and ROLL. The keypad and cursor keys all work properly in VT102 and VT52 modes and in ap- plication as well as native states (they never had in previous versions). Newline mode is activated for received characters (LF ==> CR/LF). Screen roll back is almost 11 screenfuls. Table 1-6 shows the verb names and default key assignments for the Rainbow. On the main typewriter keyboard the shifted comma and period are converted to special keys available for Set Key assignment with- out impacting the normal unshifted ASCII actions; Shift Lock has no effect on these keys. The DECmate II MS-Kermit for the DECmate II with the XPU option is somewhat similar to Rainbow Kermit. It uses built-in terminal VT100 firmware and setup modes and baud rates up to 9600 on the single communication port. The printer port is not available for communications in this version. There is no mode line, but other connect-mode escapes are supported, including sending BREAK. Disks A through I are supported, and the floppy disk format is compatible with the Rainbow. DEC utilities are available for file conversion between DOS and WPS-8 files. The NEC APC3 The NEC APC3 version of MS-Kermit assumes that the ANSI.SYS driver has been in- stalled and that a color monitor is being used; the color graphics option is not used by Kermit. Although the display should be entirely sensible with a monochrome system, it has not been tested. Differences from the IBM PC version include: SET BAUD: The useful baud rates supported range from 300 to 9600. SET PORT: The available ports are 1, 2, 3, or their equivalents AUX, AUX2, AUX3. SET TERMINAL COLOR: Instead of specifying colors by number, the words BLUE, RED, MAGENTA, GREEN, CYAN, YELLOW, or WHITE are appropriate. This is the color ------------------------------------------------------------------------------- Rainbow Key Verb Name Operation PF1 \Kpf1,\Kgold Keypad function key PF2..PF4 \Kpf2..\Kpf4 Keypad function keys keypad 0..9 \Kkp0..\Kkp9 Keypad digit keys keypad - \Kkpminus Keypad minus key keypad , \Kkpcoma Keypad commma keypad . \Kkpdot Keypad dot (period) key keypad Enter \Kkpenter Keypad Enter key up arrow \Kuparr Cursor keys down arrow \Kdnarr left arrow \Klfarr right arrow \Krtarr shift Prev Screen \Khome Rewind to start of screen buffer shift Next Screen \Kend Unwind to end of screen buffer ntrol Prev screen \Kupone Backup one screen line Control Next screen \Kdnone Advance one screen line Prev screen \Kupscn Backup one screen Next screen \Kdnscn Advance one screen Print Screen \Kprtscr Copy screen to printer Control Print Screen \Ktoggle_prn Toggle echoing screen to printer (printer failure resets toggle) Do \Kdump Copy screen to file (KERMIT.SCN) Break \Kbreak Send a BREAK Shift Break \Klbreak Send a Long BREAK Main Screen \KDOS Push to DOS Help \Khelp Show Connect mode help menu Exit \Kexit Exit Connect mode * \Knull send a null out the serial port * \Khangup hangup phone by dropping DTR & RTS * \Klogon resume logging, if active * \Klogof suspend logging * \Kstatus display status table * (verbs not pre-assigned to keys) Table 1-6: Kermit-MS Verbs for the DEC Rainbow ------------------------------------------------------------------------------- of the text in connect mode; background colors are not available. Monochrome monitors will respond with display changing from most dim to most bright if the colors are specified in the order given. SET TERMINAL KEYCLICK: Not implemented in Kermit; use the NEC provided command. SET TERMINAL SCREEN-BACKGROUND: Not implemented. During terminal emulation, screen scroll is handled by the PgUp and PgDn keys. If used in combination with the Ctrl key, the display moves but one line. If used in combination with the Fnc key, the display scrolls to the end of the buffer. The Fnc-INS combination toggles the mode line on/off. The Fnc-DEL combination toggles the terminal emulation type. The Fnc-Break combination resets the emulator. The Help key pulls down the connect mode menu. The ANSI escape sequence for disable/enable cursor is implemented. 1.10. Compatibility with Older Versions of MS-DOS Kermit The last monolithic (single source file) release of MS-DOS Kermit was 1.20. Meanwhile, implementations based on versions of this vintage will have at least the following incompatibilies from the version described here: - "RECEIVE filespec" is used instead of "GET filespec". There is no GET command in older versions, and no way to specify a new name for an incoming file. @@@@@@@@@@@@@@@@@@@@ Cut and concatenate here. @@@@@@@@@@@@@@@@@@@@ -- Tom Reingold INTERNET: tr@bellcore.bellcore.com Bell Communications Research UUCP: rutgers!bellcore!tr 435 South St room 2L350 SOUNDNET: (201) 829-4622 [work] Morristown, NJ 07960 (201) 287-2345 [home]