DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T m

⟦706ecbc5d⟧ TextFile

    Length: 488154 (0x772da)
    Types: TextFile
    Names: »mskerm.ps«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦71044c191⟧ »EurOpenD3/misc/kermit.ms-2.32.tar.Z« 
        └─⟦31f2d420d⟧ 
            └─⟦this⟧ »mskerm.ps« 

TextFile

%!PS-Adobe-1.0
%%Title: mskhdr.mss
%%DocumentFonts: (atend)
%%Creator: Frank da Cruz,718W,0000, and Scribe 6(1600)
%%CreationDate: 16 December 1988 14:30
%%Pages: (atend)
%%EndComments
% PostScript Prelude for Scribe.
/BS {/SV save def 0.0 792.0 translate .01 -.01 scale} bind def
/ES {showpage SV restore} bind def
/SC {setrgbcolor} bind def
/FMTX matrix def
/RDF {WFT SLT 0.0 eq
  {SSZ 0.0 0.0 SSZ neg 0.0 0.0 FMTX astore}
  {SSZ 0.0 SLT neg sin SLT cos div SSZ mul SSZ neg 0.0 0.0 FMTX astore}
  ifelse makefont setfont} bind def
/SLT 0.0 def
/SI { /SLT exch cvr def RDF} bind def
/WFT /Courier findfont def
/SF { /WFT exch findfont def RDF} bind def
/SSZ 1000.0 def
/SS { /SSZ exch 100.0 mul def RDF} bind def
/AF { /WFT exch findfont def /SSZ exch 100.0 mul def RDF} bind def
/MT /moveto load def
/XM {currentpoint exch pop moveto} bind def
/UL {gsave newpath moveto dup 2.0 div 0.0 exch rmoveto
   setlinewidth 0.0 rlineto stroke grestore} bind def
/LH {gsave newpath moveto setlinewidth
   0.0 rlineto
   gsave stroke grestore} bind def
/LV {gsave newpath moveto setlinewidth
   0.0 exch rlineto
   gsave stroke grestore} bind def
/BX {gsave newpath moveto setlinewidth
   exch
   dup 0.0 rlineto
   exch 0.0 exch neg rlineto
   neg 0.0 rlineto
   closepath
   gsave stroke grestore} bind def
/BX1 {grestore} bind def
/BX2 {setlinewidth 1 setgray stroke grestore} bind def
/PB {/PV save def newpath translate
    100.0 -100.0 scale pop /showpage {} def} bind def
/PE {PV restore} bind def
/GB {/PV save def newpath translate rotate
    div dup scale 100.0 -100.0 scale /showpage {} def} bind def
/GE {PV restore} bind def
/FB {dict dup /FontMapDict exch def begin} bind def
/FM {cvn exch cvn exch def} bind def
/FE {end /original-findfont /findfont load def  /findfont
   {dup FontMapDict exch known{FontMapDict exch get} if
   original-findfont} def} bind def
/BC {gsave moveto dup 0 exch rlineto exch 0 rlineto neg 0 exch rlineto closepath clip} bind def
/EC /grestore load def
/SH /show load def
/MX {exch show 0.0 rmoveto} bind def
/W {0 32 4 -1 roll widthshow} bind def
/WX {0 32 5 -1 roll widthshow 0.0 rmoveto} bind def
%%EndProlog
%%Page: 0 1
BS
0 SI
15 /Times-Bold AF
20615 26885 MT
(MS-DOS KERMIT USER GUIDE)SH
13 SS 
12921 30244 MT
(For the IBM PC Family, Compatibles, and Other MS-DOS Systems)SH
28213 33603 MT
(Version 2.32)SH
10 /Times-Roman AF
27055 37682 MT
(C. Gianone, F. da Cruz)SH
20860 40074 MT
(Columbia University Center for Computing Activities)SH
25862 41270 MT
(New York, New York 10027)SH
29027 44858 MT
(J.R. Doupnik)SH
20444 47250 MT
(CASS and EE, Utah State University, Logan, UT 84322)SH
/Times-Italic SF
27750 50838 MT
(December 11, 1988)SH
/Times-Roman SF
26610 55622 MT
(Copyright \050C\051 1981,1988)SH
20111 56818 MT
(Trustees of Columbia University in the City of New York)SH
/Times-Italic SF
18429 59210 MT
(Permission is granted to any individual or institution to use, copy,)SH
18178 60406 MT
(or redistribute this document so long as it is not sold for profit, and)SH
23291 61602 MT
(provided this copyright notice is retained.)SH
ES
%%Page: 1 2
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1. MS-DOS KERMIT)SH
10 /Times-Italic AF
52275 XM
(Page 1)SH
46800 50 8280 5709 UL
16 /Times-Bold AF
8280 8272 MT
(1. MS-DOS KERMIT)SH
10 /Times-Italic AF
8280 10566 MT
(Program:)SH
/Times-Roman SF
16280 XM
(Joe R.)
122 W( Doupnik \050Utah State University\051, with contributions by James Harvey \050Indiana/Purdue)121 W
16280 11671 MT
(University\051, James Sturdevant \050A.C. Nielson Company\051, and many others.)
290 W( Originally)
831 W( by)291 W
16280 12776 MT
(Daphne Tzoar and Jeff Damens \050Columbia University\051.  See History.)SH
/Times-Italic SF
8280 14434 MT
(Language:)SH
/Times-Roman SF
16280 XM
(Microsoft Macro Assembler \050MASM\051)SH
/Times-Italic SF
8280 16092 MT
(Version:)SH
/Courier SF
16280 XM
(2.32)SH
/Times-Italic SF
8280 17750 MT
(Released:)SH
/Times-Roman SF
16280 XM
(December 11, 1988.)SH
/Times-Italic SF
8280 19408 MT
(Documentation:)SH
/Times-Roman SF
16280 XM
(Christine Gianone, Frank da Cruz \050Columbia University\051,)SH
16280 20513 MT
(Joe R. Doupnik \050Utah State University\051)SH
/Times-Italic SF
8280 22171 MT
(Dedicated To:)SH
/Times-Roman SF
16280 XM
(Peppi)SH
12 /Times-Bold AF
8280 24759 MT
(Kermit-MS Capabilities At A Glance:)SH
10 /Times-Roman AF
10440 26550 MT
(Local operation:)SH
33480 XM
(Yes)SH
10440 27655 MT
(Remote operation:)SH
33480 XM
(Yes)SH
10440 28760 MT
(Transfers text files:)SH
33480 XM
(Yes)SH
10440 29865 MT
(Transfers binary files:)SH
33480 XM
(Yes)SH
10440 30970 MT
(Wildcard send:)SH
33480 XM
(Yes)SH
10440 32075 MT
(File transfer interruption:)SH
33480 XM
(Yes)SH
10440 33180 MT
(Filename collision avoidance:)SH
33480 XM
(Yes)SH
10440 34285 MT
(Can time out:)SH
33480 XM
(Yes)SH
10440 35390 MT
(8th-bit prefixing:)SH
33480 XM
(Yes)SH
10440 36495 MT
(Repeat count compression:)SH
33480 XM
(Yes)SH
10440 37600 MT
(Alternate block check types:)SH
33480 XM
(Yes)SH
10440 38705 MT
(Terminal emulation:)SH
33480 XM
(VT102, H19, VT52, Tektronix 4010)SH
10440 39810 MT
(Communication settings:)SH
33480 XM
(Speed, Parity, Flow Control, Echo)SH
10440 40915 MT
(Transmit BREAK:)SH
33480 XM
(Yes \050and Long BREAK\051)SH
10440 42020 MT
(IBM mainframe communication:)SH
33480 XM
(Yes)SH
10440 43125 MT
(Transaction logging:)SH
33480 XM
(Yes)SH
10440 44230 MT
(Session logging \050raw download\051:)SH
33480 XM
(Yes)SH
10440 45335 MT
(Raw upload:)SH
33480 XM
(Yes)SH
10440 46440 MT
(Act as server:)SH
33480 XM
(Yes)SH
10440 47545 MT
(Talk to server:)SH
33480 XM
(Yes)SH
10440 48650 MT
(Advanced server functions:)SH
33480 XM
(Yes)SH
10440 49755 MT
(Advanced commands for servers:)SH
33480 XM
(Yes)SH
10440 50860 MT
(Local file management:)SH
33480 XM
(Yes)SH
10440 51965 MT
(Command/init files:)SH
33480 XM
(Yes)SH
10440 53070 MT
(Command macros:)SH
33480 XM
(Yes)SH
10440 54175 MT
(Extended-length packets:)SH
33480 XM
(Yes)SH
10440 55280 MT
(Local area networks:)SH
33480 XM
(Yes \050NetBIOS and other support\051)SH
10440 56385 MT
(MS-Windows compatibility:)SH
33480 XM
(Yes)SH
10440 57490 MT
(Attribute packets:)SH
33480 XM
(Yes)SH
10440 58595 MT
(Sliding windows:)SH
33480 XM
(No)SH
8280 60987 MT
(MS-DOS Kermit, or "Kermit-MS")
76 W( \050or MS-Kermit\051, is a program that implements the Kermit file transfer protocol)75 W
8280 62183 MT
(for the entire IBM PC family, including the PS/2 series, IBM compatibles, and several other machines based on the)37 W
8280 63379 MT
(Intel 8086 processor series \0508088, 80286, 80386,)
44 W( etc\051 and the DOS operating system family \050PC-DOS or MS-DOS,)43 W
8280 64575 MT
(henceforth referred to collectively as MS-DOS or simply DOS\051.)SH
8280 66967 MT
(It is assumed you are acquainted with your PC and with DOS, and that you are familiar with the general ideas)
86 W( of)87 W
8280 68163 MT
(data communication and Kermit file transfer.  A very brief overview is given here,)
59 W( but for details consult the early)58 W
8280 69359 MT
(chapters of)
160 W( the)161 W
/Times-Italic SF
14899 XM
(Kermit User Guide)161 W
/Times-Roman SF
23298 XM
(\050of which this document is a chapter\051, or the book Kermit, A File Transfer)161 W
9981 50 45099 69559 UL
8280 70555 MT
(Protocol, by Frank da Cruz, Digital Press \0501987\051, order number EY-6705E-DP \050phone 1-800-343-8321\051,)
30 W( which also)29 W
3389 50 8280 70755 UL
8280 71751 MT
(includes background tutorials on computers, file systems, and data communication \050including modems, cabling,)
2 W( etc\051.)3 W
ES
%%Page: 2 3
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 2)SH
12 /Times-Bold AF
31485 XM
(Kermit User Guide: MS-DOS KERMIT 1)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(For further information)
221 W( about Kermit documentation, updates, lists of current available versions, and ordering)220 W
6120 9082 MT
(information, write to:)SH
8120 10692 MT
(Kermit Distribution)SH
8120 11797 MT
(Columbia University Center for Computing Activities)SH
8120 12902 MT
(612 West 115th Street)SH
8120 14007 MT
(New York, NY  10025  \050USA\051)SH
14 /Times-Bold AF
6120 17609 MT
(1.1. System Requirements)SH
10 /Times-Roman AF
6120 19727 MT
(Kermit-MS version 2.32 runs in as little as 100K of memory, but will occupy up to 160K or)
17 W( so if it can be found for)18 W
6120 20923 MT
(extra screen rollback memory, macro definitions, etc.  Versions not using)
70 W( screen rollback memory will not require)69 W
6120 22119 MT
(the additional)
46 W( space.  It will also try to leave 24 Kbytes free for a second copy of)47 W
/Courier SF
39486 XM
(COMMAND.COM)SH
/Times-Roman SF
46383 XM
(which is needed)47 W
6120 23315 MT
(for execution of certain commands.)SH
6120 25707 MT
(On the IBM)
132 W( PC family, Kermit-MS)131 W
/Courier SF
21436 XM
(2.32)SH
/Times-Roman SF
24217 XM
(performs almost complete emulation of the DEC VT-102 and Heath/)131 W
6120 26903 MT
(Zenith-19 terminals at speeds)
13 W( up to 19,200 baud or greater, lacking only the VT102's smooth scrolling and \050on most)14 W
6120 28099 MT
(display boards\051 132 column features.  And as of version 2.30, Kermit-MS)
191 W( also performs Tektronix 4010/4014)190 W
6120 29295 MT
(graphics terminal emulation on IBM PC)
27 W( family systems equipped with CGA, EGA, or other graphics adapters, with)28 W
6120 30491 MT
(either color or monochrome monitors.)SH
6120 32883 MT
(Much of)
36 W( Kermit's speed is accomplished by direct writes to screen memory, but this is done in a "TopView-aware")35 W
6120 34079 MT
(manner to allow successful operation in windowing environments like MS-Windows,)
178 W( DesqView, and TopView)179 W
6120 35275 MT
(itself. Speed)
684 W( is)
217 W( also due to direct access of the serial port 8250  UART \050Universal Asynchronous Receiver/)216 W
6120 36471 MT
(Transmitter\051 chip, with)
147 W( buffered, interrupt-driven receipt of characters and selectable XON/XOFF  flow control.)148 W
6120 37667 MT
(Full speed 9600 baud operation is possible on 4.77Mhz)
5 W( systems without flow control, but flow control is required on)4 W
6120 38863 MT
(these systems for 19,200)
70 W( baud or higher rates.  The IBM PC version should also run on near-clones like the DG/1)71 W
6120 40059 MT
(that differ from true PCs)
94 W( only in their choice of UART; non-8250 UARTs are detected automatically, and slower)93 W
6120 41255 MT
(non-interrupt driven Bios serial port i/o is used, in which case the top speed is in the 1200 baud range.)SH
6120 43647 MT
(Kermit-MS)SH
/Courier SF
10988 XM
(2.32)SH
/Times-Roman SF
13645 XM
(runs on)
7 W( the entire IBM PC family \050the PC, XT, AT, PCjr, Portable PC, PC Convertible, PS/2\051 and)8 W
6120 44843 MT
(compatibles \050Compaq, VAXmate, Z150,)
1 W( etc\051, and there are also specially tailored versions for non-IBM-compatibles)SH
6120 46039 MT
(like the DEC Rainbow, HP-110, HP-150,)
187 W( HP Portable Plus, Grid Compass II, Victor 9000, and others, plus a)188 W
6120 47235 MT
("generic DOS" version that should run \050slowly\051 on any 8086-based)
22 W( MS-DOS machine.  This document concentrates)21 W
6120 48431 MT
(on the IBM version; some of the system-dependent capabilities described here may be lacking in the non-IBM)165 W
6120 49627 MT
(versions. See)
250 W( section 1.11 for features of different systems.)SH
/Courier SF
6120 52019 MT
(KERMIT.EXE)SH
/Times-Roman SF
12395 XM
(for the IBM PC family occupies about 102K of disk storage \050the figure)
25 W( will vary for other versions\051.)24 W
6120 53215 MT
(This can be reduced by about 15K if you run)
48 W( it through EXEPACK.  MS-Kermit is not distributed in packed form,)49 W
6120 54411 MT
(because problems have been reported on certain systems when this is done.  So if you decide to pack it, make)
4 W( sure to)3 W
6120 55607 MT
(keep an unpacked version available to fall back to in case of problems.)SH
14 /Times-Bold AF
6120 59209 MT
(1.2. History)SH
10 /Times-Roman AF
6120 61327 MT
(Over the years, MS-Kermit)
1 W( has grown from a Kermit file transfer program that embodied a simple terminal emulator)2 W
6120 62523 MT
(into a complex and powerful communication program that includes the Kermit file transfer protocol.)
5 W( As)
258 W( a result, the)4 W
6120 63719 MT
(bulk of this manual is devoted to the communication features,)
35 W( rather than Kermit protocol operation.  Skip ahead to)36 W
6120 64915 MT
(the next section if you're not interested in the history of MS-Kermit.)SH
6120 67307 MT
(MS-DOS Kermit \050like the Kermit file transfer protocol itself\051 is a product of the Systems Group of the Columbia)91 W
6120 68503 MT
(University Center for Computing)
84 W( Activities, and it was one of the four original Kermit programs \050with the CP/M,)85 W
6120 69699 MT
(DEC-20, and IBM mainframe versions\051.  It was initially written for the IBM PC with DOS 1.1 by)
39 W( Daphne Tzoar in)38 W
6120 70895 MT
(1981-1982, based largely on Bill Catchings's original CP/M 8080)
74 W( assembler version.  PC-Kermit \050as it was called)75 W
ES
%%Page: 3 4
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.2. History)SH
10 /Times-Italic AF
52275 XM
(Page 3)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(then\051 provided basic Kermit file transfer and VT52 emulation.  Joellen Windsor of the)
38 W( University of Arizona added)37 W
8280 9082 MT
(conditional assembly support for)
293 W( the Heath/Zenith-100 shortly thereafter, and soon after that Dave King of)294 W
8280 10278 MT
(Carnegie-Mellon University added Heath-19 terminal emulation,)
36 W( and some patches to let the program run under the)35 W
8280 11474 MT
(new DOS version, 2.0.  During this era, the program version numbers went from 1.0 to 1.20.)SH
8280 13866 MT
(With the)
94 W( appearance in the marketplace of many new MS-DOS machines that were not compatible with the IBM)95 W
8280 15062 MT
(PC, it became apparent)
236 W( that conditionally assembled code supporting each of these machines within a single)235 W
8280 16258 MT
(monolithic source file was not the best way)
23 W( to organize the program.  Therefore Daphne, along with Jeff Damens of)24 W
8280 17454 MT
(Columbia, undertook to reorganize the program in a)
21 W( modular way, isolating system dependencies into separate files.)20 W
8280 18650 MT
(The result was version 2.26,)
2 W( released in July 1984.  It included support for the DEC Rainbow, the HP-150, the Wang)3 W
8280 19846 MT
(PC, and generic MS-DOS, as well as for the IBM PC family and the H/Z-100.)
40 W( It)
329 W( also included many new features,)39 W
8280 21042 MT
(like 8th-bit prefixing \050code contributed by)
68 W( The Source Telecomputing\051, alternate block check selection, byte-count)69 W
8280 22238 MT
(compression, server/client operation,)
95 W( access to local file and DOS operations, command macros, initialization and)94 W
8280 23434 MT
(command files,)
74 W( screen rollback, key redefinition, and more.  For the 2.26 release, the executable Kermit programs)75 W
8280 24630 MT
(were encoded)
239 W( printably as ``)238 W
/Courier SF
(.BOO)SH
/Times-Roman SF
('' files, designed by Bill Catchings as part of this effort, for network and)238 W
8280 25826 MT
(electronic-mail distribution.)SH
8280 28218 MT
(Release 2.27 was produced by Daphne and Jeff in December 1984.  Unlike 2.26, it ran correctly on)
32 W( the new PC/AT)33 W
8280 29414 MT
(under DOS 3.0, and included support for the NEC APC from)
38 W( Ron Blanford of Seattle, WA, and Ian Gibbons of the)37 W
8280 30610 MT
(University of Hawaii, and for the TI Professional from Joe Smith)
55 W( of the Colorado School of Mines, plus some bug)56 W
8280 31806 MT
(fixes and reorganization.  2.27 is the last version that runs under pre-2.0 versions of DOS.)SH
8280 34198 MT
(Version 2.28 \050Daphne, Jeff, June)
33 W( 1985\051 added dynamic memory allocation to reduce disk storage for the)32 W
/Courier SF
50815 XM
(.EXE)SH
/Times-Roman SF
53497 XM
(file,)SH
8280 35394 MT
(and to allow the program to adjust itself to the)
141 W( PC's memory size, plus the inevitable bug fixes \050many of them)142 W
8280 36590 MT
(contributed by Edgar Butt of the University of Maryland and Gregg Small of the University of California)
219 W( at)218 W
8280 37786 MT
(Berkeley\051. During)
250 W( this period, support for additional MS-DOS systems was added by various people.)SH
8280 40178 MT
(In December 1985, a tape showed up at Columbia)
52 W( sent by Prof.)
53 W( Joe)
SH( R.)
53 W( Doupnik)
SH( of the Center for Atmospheric and)53 W
8280 41374 MT
(Space Studies and EE Department at Utah State University.)
141 W( This)
530 W( tape contained version 2.28 modified to fully)140 W
8280 42570 MT
(support the DOS 2.0 file system, and to which many new)
194 W( features had been added, notably the ability of the)195 W
8280 43766 MT
(MS-DOS Kermit server to process various REMOTE commands \050DIR, CWD, SPACE, etc\051.  And at about)
23 W( the same)22 W
8280 44962 MT
(time, a tape arrived from James)
200 W( Harvey of Indiana/Purdue University, who had changed Kermit's CONNECT)201 W
8280 46158 MT
(command to emulate the popular DEC VT100 terminal.  James's material was sent to Joe, who)
121 W( then laboriously)120 W
8280 47354 MT
(fitted the VT100 emulation into his)
10 W( own code, keeping the VT52 and H19 emulation alive as options, and upgrading)11 W
8280 48550 MT
(the VT100 emulation to VT102 by adding features such as line and character insertion and deletion.  The result was)25 W
8280 49746 MT
(version 2.29, released in May 1986.)SH
8280 52138 MT
(Soon after the release of 2.29, some disks were sent in by)
228 W( James Sturdevant of the A.C. Nielson Company,)229 W
8280 53334 MT
(containing a full implementation of the Kermit script facility, as described in the)
79 W( Kermit book.  This material was)78 W
8280 54530 MT
(sent to Joe, who)
84 W( had by now become keeper of MS-DOS Kermit and had already begun work on version 2.30 by)85 W
8280 55726 MT
(adding support for extended-length packets.  Joe)
285 W( had been carrying on voluminous network correspondence)284 W
8280 56922 MT
(\050Thanks, BITNET!\051 with Columbia and with MS-DOS Kermit)
81 W( users and testers all over the world, giving birth to)82 W
8280 58118 MT
(many new features, including)
5 W( Tektronix graphics terminal emulation, support for operation over local area networks,)4 W
8280 59314 MT
(support for 8-bit ASCII terminal connections and international)
331 W( character sets, ANSI printer control, and a)332 W
8280 60510 MT
(redesigned, more powerful, more portable key redefinition mechanism.)SH
8280 62902 MT
(Version 2.30 was formally released on January 1, 1988, after)
143 W( many "alpha" and "beta" tests.  Among the many)142 W
8280 64098 MT
(contributors to this version were Brian Holley and Joe Smith for the Tektronix emulation, Robert Goeke for)
129 W( the)130 W
8280 65294 MT
(NEC AP3 support, Brian Peterson and Andreas Stumpf for the)
107 W( Victor 9000, Bob Babcock and Joe White for the)106 W
8280 66490 MT
(Sanyos, Christopher Lent for the Wang PC, Jack Bryans for an Intel iRMX version, Jim Noble for)
219 W( the Grid)220 W
8280 67686 MT
(Compass, Geoff Mulligan and others for the Zenith 100, and)
90 W( David Knoell for the special Rainbow edition.  And)89 W
8280 68882 MT
(thanks to Gisbert Selke, Jack Bryans, and others for proofreading drafts)
12 W( of this manual, with apologies to anyone we)13 W
8280 70078 MT
(neglected to mention.)SH
ES
%%Page: 4 5
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 4)SH
12 /Times-Bold AF
30585 XM
(Kermit User Guide: MS-DOS KERMIT 1.2)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(Work on version 2.31 began within weeks of the release of 2.30.  The major new features were an)
186 W( improved)185 W
6120 9082 MT
(command interface, a fully capable)
22 W( script programming language, and inclusion of file attributes packets to send the)23 W
6120 10278 MT
(time, date and size of files along with the data.  Support for Ungermann-Bass Net One LAN was also)
28 W( added, thanks)27 W
6120 11474 MT
(to contributions from Henrik Levkowetz and Renne Rehmann.  These changes led to a fairly)
80 W( thorough revision of)81 W
6120 12670 MT
(the interior while providing the)
160 W( familiar commands and new features.  Meanwhile, Horofumi Fujii and Akihiro)159 W
6120 13866 MT
(Shirahasi of the National Laboratory for High-Energy Physics \050KEK\051 in Japan adapted 2.31 to)
78 W( the NEC PC-9801,)79 W
6120 15062 MT
(and for this machine added support for Japanese Kana and Kanji character sets.)SH
6120 17454 MT
(Version 2.32 was issued by Joe in December 1988.  It included the usual bug fixes, plus several)
218 W( new script)217 W
6120 18650 MT
(programming features, and improved)
61 W( support for international use, allowing for languages like Hebrew and Arabic)62 W
6120 19846 MT
(that print right to left, adapted from)
71 W( work by Baruch Cochavy, IIT, Technion, Haifa, Israel.  Thanks also to Glenn)70 W
6120 21042 MT
(Trewitt, Mark Zinzow, and Ken Ridley for valuable suggestions and contributions to this release.)SH
6120 23434 MT
(Like all Kermit programs, MS-DOS Kermit may be freely copied and shared, so long as it is not done for profit.)SH
14 /Times-Bold AF
6120 27036 MT
(1.3. Using MS-Kermit)SH
10 /Times-Roman AF
6120 29154 MT
(MS-DOS Kermit performs two major functions, terminal emulation and file transfer.)
3 W( File)
257 W( transfer can be done using)4 W
6120 30350 MT
(either the Kermit file transfer protocol, or else \050without error checking\051, ASCII or XON/XOFF capture)
267 W( and)266 W
6120 31546 MT
(transmission methods.  To use Kermit for)
167 W( "raw" uploading or downloading of files, see the descriptions of the)168 W
6120 32742 MT
(TRANSMIT and LOG SESSION commands.)SH
6120 35134 MT
(Before you can transfer files with another system using)
62 W( Kermit protocol, you must first connect to it as a terminal,)61 W
6120 36330 MT
(login if necessary, and start up a Kermit program there.  Kermit's CONNECT command lets you do)
32 W( this by making)33 W
6120 37526 MT
(your PC act like a terminal.  After)
11 W( setting things up on the other computer, you must return to the PC and tell it what)10 W
6120 38722 MT
(to do.  Returning to the PC is accomplished by typing a special sequence of characters, called the "escape sequence.")SH
6120 41114 MT
(The following example shows this process; the other computer is a Unix system, but the method)
83 W( is the same with)84 W
6120 42310 MT
(most others.  The parts you type are underlined \050if this document was printed on a printer that can underline\051,)
71 W( and)70 W
6120 43506 MT
(when you type a command, you terminate it with a carriage return, which)
172 W( you can't see in the example.  The)173 W
6120 44702 MT
(mysterious ``)69 W
/Courier SF
(^]c)SH
/Times-Roman SF
('' is)
69 W( MS-Kermit's escape sequence, which you enter by holding down the Control \050Ctrl\051 key and)68 W
6120 45898 MT
(pressing ``)49 W
/Courier SF
(])SH
/Times-Roman SF
('' \050right square)
49 W( bracket\051, and then typing the letter C. The example assumes the MS-Kermit program is)50 W
6120 47094 MT
(stored on disk as)SH
/Courier SF
13064 XM
(KERMIT.EXE)SH
/Times-Roman SF
(.)SH
/Times-Italic SF
8520 48809 MT
(Program Dialog:)SH
28680 XM
(Explanation:)SH
/Courier SF
8520 50464 MT
(A>kermit)SH
3600 50 9720 50664 UL
8520 51495 MT
(IBM PC Kermit-MS V2.32 11 Dec 1988)SH
/Times-Italic SF
30120 XM
(Program's greeting.)SH
/Courier SF
8520 52526 MT
(Type ? or HELP for help)SH
8520 54241 MT
(Kermit-MS>set speed 1200)SH
/Times-Italic SF
28680 XM
(Set the right baud rate)SH
/Courier SF
(.)SH
8400 50 14520 54441 UL
8520 55272 MT
(Kermit-MS>connect)SH
/Times-Italic SF
28680 XM
(Connect as a terminal.)SH
4200 50 14520 55472 UL
/Courier SF
8520 56303 MT
(ATDT7654321)SH
/Times-Italic SF
28680 XM
(Dial the modem if necessary.)SH
6600 50 8520 56503 UL
/Courier SF
8520 57334 MT
(CONNECT 1200)SH
/Times-Italic SF
28680 XM
(The modem tells you you're connected.)SH
9720 59049 MT
(Now you're talking to the Unix system.)SH
9720 60080 MT
(Type a carriage return to get its attention.)SH
/Courier SF
8520 61795 MT
(Login: max)SH
/Times-Italic SF
28680 XM
(Login to the host.)SH
1800 50 12720 61995 UL
/Courier SF
8520 62826 MT
(password:)SH
/Times-Italic SF
28680 XM
(\050Passwords normally don't echo.\051)SH
3600 50 13920 63026 UL
/Courier SF
8520 63857 MT
(% kermit)SH
/Times-Italic SF
28680 XM
(Run Kermit on the host.)SH
3600 50 9720 64057 UL
/Courier SF
8520 64888 MT
(C-Kermit>receive)SH
/Times-Italic SF
28680 XM
(Tell it to receive a file.)SH
4200 50 13920 65088 UL
/Courier SF
8520 65919 MT
(^]c)SH
/Times-Italic SF
28680 XM
(Escape back to the PC.)SH
1800 50 8520 66119 UL
/Courier SF
8520 66950 MT
(Kermit-MS>send autoexec.bat)SH
/Times-Italic SF
28680 XM
(Send a file.)SH
10200 50 14520 67150 UL
9720 68667 MT
(\050The file is transferred)SH
/Times-Roman SF
18998 XM
(. . .)SH
/Times-Italic SF
20498 XM
(\051)SH
/Courier SF
8520 70382 MT
(Kermit-MS>)SH
/Times-Italic SF
28680 XM
(Transfer complete, prompt reappears.)SH
ES
%%Page: 5 6
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.3. Using MS-Kermit)SH
10 /Times-Italic AF
52275 XM
(Page 5)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(In this example, the user types "kermit", and sees the program's herald and its prompt, ``)15 W
/Courier SF
(Kermit-MS>)SH
/Times-Roman SF
(''. Then)
280 W( she)14 W
8280 9082 MT
(sets the appropriate communication speed \050"baud rate"\051,)
169 W( connects as a terminal, issues a dialing command to a)170 W
8280 10278 MT
(Hayes-like modem \050you would skip this step if you had a direct connection\051, logs in to her)
65 W( ID on the Unix system)64 W
8280 11474 MT
(which she has dialed, starts "C-Kermit" on the Unix system, tells it to receive a file, escapes back to the PC, and)
2 W( tells)3 W
8280 12670 MT
(MS-Kermit to send a file.  After the file is transferred, the user would)
81 W( normally connect back to the Unix system,)80 W
8280 13866 MT
(exit from the Kermit program there, and log out:)SH
/Courier SF
10680 15581 MT
(Kermit-MS>connect)SH
/Times-Italic SF
28680 XM
(Connect again.)SH
4200 50 16680 15781 UL
/Courier SF
10680 16612 MT
(C-Kermit>exit)SH
2400 50 16080 16812 UL
10680 17643 MT
(% ^D)SH
/Times-Italic SF
28680 XM
(Logout from Unix by typing Ctrl-D.)SH
1200 50 11880 17843 UL
/Courier SF
10680 18674 MT
(^]c)SH
/Times-Italic SF
28680 XM
(Escape back to the PC.)SH
1800 50 10680 18874 UL
/Courier SF
10680 19705 MT
(Kermit-MS>exit)SH
/Times-Italic SF
28680 XM
(Return to DOS.)SH
2400 50 16680 19905 UL
/Times-Roman SF
8280 21422 MT
(To transfer a file in the other direction, simply exchange the "send" and "receive" commands above.  That's)
124 W( the)125 W
8280 22618 MT
(easiest and quickest way to use Kermit.  If)
27 W( this simple scenario does not work for you, issue the MS-Kermit SHOW)26 W
8280 23814 MT
(COMMUNICATIONS command and)
138 W( look for any obvious incorrect settings \050port, speed, parity\051, fix them with)139 W
8280 25010 MT
(SET commands \050described in Section 1.6.10\051, and try again.  \050IBM mainframe linemode connections have so many)40 W
8280 26206 MT
("different" settings, there's a)
62 W( special command to do them all at once, "do ibm", which you would type as the first)63 W
8280 27402 MT
(Kermit-MS command above.\051  If that doesn't help, read on.  Many problems can crop)
148 W( up when you attempt to)147 W
8280 28598 MT
(connect two unlike systems over a possibly hostile communication medium.  And if you intend to be a frequent user)16 W
8280 29794 MT
(of Kermit, there are many options)
61 W( you can take advantage of to adapt MS-Kermit to different systems, improve its)60 W
8280 30990 MT
(performance, and automate common tasks.)SH
14 /Times-Bold AF
8280 34592 MT
(1.4. The MS-DOS File System)SH
10 /Times-Roman AF
8280 36710 MT
(The features of)
68 W( the MS-DOS file system of greatest interest to Kermit users are the form of the file specifications,)69 W
8280 37906 MT
(and the formats of the files themselves.)SH
12 /Times-Bold AF
8280 41022 MT
(1.4.1. File Specifications)SH
10 /Times-Roman AF
8280 42964 MT
(MS-DOS file specifications \050in version 2.0 or later of DOS\051 are of the form)SH
/Courier SF
10680 44619 MT
(DEVICE:\134PATHNAME\134NAME.TYPE)SH
/Times-Roman SF
8280 46336 MT
(where the DEVICE is a single character identifier \050for instance, A for the first floppy)
23 W( disk, C for the first fixed disk,)22 W
8280 47532 MT
(D for a RAM disk emulator\051 followed by)
4 W( a colon \050``)5 W
/Courier SF
(:)SH
/Times-Roman SF
(''\051, PATHNAME is up to 63 characters of identifier\050s\051 \050up to 8)5 W
8280 48728 MT
(characters each\051 surrounded by backslashes \050``)102 W
/Courier SF
(\134)SH
/Times-Roman SF
(''\051, NAME)
102 W( is an identifier of up to 8 characters, and TYPE is an)101 W
8280 49924 MT
(identifier of up to 3 characters in length.  Device and pathname may)
5 W( be omitted.  The first backslash in the pathname)6 W
8280 51120 MT
(may be omitted if the specified path is relative to the current directory.  In)
91 W( the path field, ``)90 W
/Courier SF
(.)SH
/Times-Roman SF
('' means the current)90 W
8280 52316 MT
(directory, ``)49 W
/Courier SF
(..)SH
/Times-Roman SF
('' means the parent directory.  Some DOS implementations \050like Wang\051 may)
49 W( use slash \050``)50 W
/Courier SF
(/)SH
/Times-Roman SF
(''\051 rather)50 W
8280 53512 MT
(than backslash as a directory separator.)SH
8280 55904 MT
(Pathname is normally omitted, but can be specified in all Kermit-MS commands \050as of version)35 W
/Courier SF
46968 XM
(2.29)SH
/Times-Roman SF
(\051. Device)
319 W( and)34 W
8280 57100 MT
(directory pathnames, when omitted, default)
24 W( to either the user's current disk and directory, or to the current directory)25 W
8280 58296 MT
(search path as specified in the DOS PATH environment variable, depending on the context in which the file)
65 W( name)64 W
8280 59492 MT
(appears.)SH
10280 61283 MT
(When this document says that)
65 W( a file is searched for "in the current path," it means that Kermit-MS looks)66 W
10280 62388 MT
(on the current disk)
55 W( and directory first, and if the file is not found, then the directories listed in the PATH)54 W
10280 63493 MT
(environment variable are searched.  If the PATH environment variable is empty, Kermit looks only at)
40 W( the)41 W
10280 64598 MT
(current disk and directory.)SH
/Courier SF
8280 66389 MT
(NAME.TYPE)SH
/Times-Roman SF
13975 XM
(is sufficient to specify a file on the current disk and directory, and)
45 W( only this information is sent along)44 W
8280 67585 MT
(by Kermit-MS with an outgoing file.)SH
8280 69977 MT
(The device, path, name, and type fields)
20 W( may contain uppercase letters, digits, and the special characters ``)21 W
/Courier SF
(-)SH
/Times-Roman SF
('' \050dash\051,)21 W
8280 71173 MT
(``)SH
/Courier SF
(_)SH
/Times-Roman SF
('' \050underscore\051, ``)122 W
/Courier SF
($)SH
/Times-Roman SF
('' \050dollar sign\051, ``)122 W
/Courier SF
(&)SH
/Times-Roman SF
('' \050ampersand\051, ``)122 W
/Courier SF
(#)SH
/Times-Roman SF
('' \050number sign\051, ``)122 W
/Courier SF
(@)SH
/Times-Roman SF
('' \050at sign\051,)
122 W( ``)121 W
/Courier SF
(!)SH
/Times-Roman SF
('' \050exclamation)492 W
ES
%%Page: 6 7
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 6)SH
12 /Times-Bold AF
29685 XM
(Kermit User Guide: MS-DOS KERMIT 1.4.1)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(mark\051, ``)50 W
/Courier SF
(')SH
/Times-Roman SF
('' \050single quote\051, ``)50 W
/Courier SF
(\050\051)SH
/Times-Roman SF
('' \050parentheses\051, ``)50 W
/Courier SF
({})SH
/Times-Roman SF
('' \050curly braces\051,)
50 W( ``)51 W
/Courier SF
(^)SH
/Times-Roman SF
('' \050caret or circumflex\051, ``)51 W
/Courier SF
(~)SH
/Times-Roman SF
('' \050tilde\051, and)51 W
6120 9082 MT
(``)SH
/Courier SF
(`)SH
/Times-Roman SF
('' \050accent)
424 W( grave\051.  Normally, you should confine your filenames to letters and digits for maximum)423 W
6120 10278 MT
(transportability to non-DOS systems.  When you type lowercase letters in filenames, they are)
379 W( converted)380 W
6120 11474 MT
(automatically to uppercase.  There are no imbedded or trailing spaces.  Other characters may not be included; there)42 W
6120 12670 MT
(is no mechanism for "quoting")
59 W( otherwise illegal characters in filenames.  The fields of the file specification are set)60 W
6120 13866 MT
(off from one another by the punctuation indicated above.)SH
6120 16258 MT
(The name field is the primary identifier for the file.  The type, also called the extension or suffix, is an)
102 W( indicator)101 W
6120 17454 MT
(which, by convention,)
78 W( tells what kind of file we have.  For instance)79 W
/Courier SF
34308 XM
(FOO.BAS)SH
/Times-Roman SF
38837 XM
(is the source of a BASIC program)79 W
6120 18650 MT
(named FOO;)11 W
/Courier SF
11586 XM
(FOO.OBJ)SH
/Times-Roman SF
16047 XM
(might be the relocatable object module)
11 W( produced by compiling)10 W
/Courier SF
41500 XM
(FOO.BAS)SH
/Times-Roman SF
(;)SH
/Courier SF
46238 XM
(FOO.EXE)SH
/Times-Roman SF
50698 XM
(could)SH
6120 19846 MT
(be an executable program produced)
75 W( by loading)76 W
/Courier SF
25671 XM
(FOO.OBJ)SH
/Times-Roman SF
(, and so forth.)76 W
/Courier SF
36278 XM
(.EXE)SH
/Times-Roman SF
39004 XM
(and)SH
/Courier SF
40774 XM
(.COM)SH
/Times-Roman SF
43500 XM
(are the normal suffixes)76 W
6120 21042 MT
(for executable programs.)SH
6120 23434 MT
(MS-DOS allows a group of files to be specified in a single file specification)
117 W( by including the special "wildcard")116 W
6120 24630 MT
(characters, ``)16 W
/Courier SF
(*)SH
/Times-Roman SF
('' and ``)16 W
/Courier SF
(?)SH
/Times-Roman SF
(''. A)
282 W( ``)16 W
/Courier SF
(*)SH
/Times-Roman SF
('' matches any string of)
16 W( characters from the current position to the end of the field,)17 W
6120 25826 MT
(including no characters at all; a ``)SH
/Courier SF
(?)SH
/Times-Roman SF
('' matches any single character.  Here are some examples:)SH
/Courier SF
7120 27617 MT
(*.BAS)SH
/Times-Roman SF
11120 XM
(All files of type)SH
/Courier SF
17675 XM
(BAS)SH
/Times-Roman SF
19725 XM
(\050BASIC source files\051 in the current directory.)SH
/Courier SF
7120 29275 MT
(FOO.*)SH
/Times-Roman SF
11120 XM
(Files of all types with name)SH
/Courier SF
22453 XM
(FOO)SH
/Times-Roman SF
(.)SH
/Courier SF
7120 30933 MT
(F*.*)SH
/Times-Roman SF
11120 XM
(All files whose names start with F.)SH
/Courier SF
7120 32591 MT
(*.?)SH
/Times-Roman SF
11120 XM
(All files whose types are exactly one character long, or have no type at all.)SH
6120 34983 MT
(Wildcard notation is used on)
16 W( many computer systems in similar ways, and it is the mechanism most commonly used)15 W
6120 36179 MT
(to instruct Kermit to send a group of files.)SH
6120 38571 MT
(Users of Kermit-MS)
53 W( should bear in mind that other \050non-MS-DOS\051 systems may use different wildcard characters.)54 W
6120 39767 MT
(For instance VMS and the DEC-20 use ``)273 W
/Courier SF
(%)SH
/Times-Roman SF
('' instead of ``)273 W
/Courier SF
(?)SH
/Times-Roman SF
('' as the single)
273 W( character wildcard; when using)272 W
6120 40963 MT
(Kermit-MS to request a wildcard file group from a Kermit-20 server, the DOS ``)195 W
/Courier SF
(?)SH
/Times-Roman SF
('' must be replaced by the)196 W
6120 42159 MT
(DEC-20 ``)SH
/Courier SF
(%)SH
/Times-Roman SF
(''.)SH
12 /Times-Bold AF
6120 45275 MT
(1.4.2. File Formats)SH
10 /Times-Roman AF
6120 47217 MT
(MS-DOS systems store files as streams of 8-bit bytes, with no particular distinction among)
41 W( text, program code, and)40 W
6120 48413 MT
(binary files.  ASCII text files)
144 W( consist of lines separated by carriage-return-linefeed sequences \050CRLFs\051, and this)145 W
6120 49609 MT
(conforms exactly to the way Kermit represents)
47 W( text files during transmission, so Kermit-MS has no need for a SET)46 W
6120 50805 MT
(FILE TYPE BINARY command.  But since a)
27 W( non-MS-DOS receiving system might need to make distinctions as to)28 W
6120 52001 MT
(file type, you will probably have to issue SET FILE TYPE commands there if you are sending it non-text)
53 W( files.  In)52 W
6120 53197 MT
(transmitting files between Kermit-MS programs, regardless of file contents, the receiving MS-DOS system is)235 W
6120 54393 MT
(equally capable of)
21 W( processing text, code, and data, and in fact requires no knowledge of how the bytes in the file are)20 W
6120 55589 MT
(to be used.)SH
6120 57981 MT
(MS-DOS \050unlike CP/M\051 knows the exact end of a file because it keeps a byte count)
54 W( in the directory, so one would)55 W
6120 59177 MT
(expect no particular confusion in this)
190 W( regard.  However, certain MS-DOS programs continue to use the CP/M)189 W
6120 60373 MT
(convention of terminating a)
41 W( text file with a Control-Z character, and won't operate correctly unless this terminating)42 W
6120 61569 MT
(byte is present.  Therefore, you should be aware of a)
20 W( special SET EOF option for both incoming and outbound files,)19 W
6120 62765 MT
(described later.)SH
6120 65157 MT
(Non-MS-DOS systems may be confused by nonstandard ASCII files sent by Kermit-MS:)SH
/Symbol SF
7910 67062 MT
(\267)SH
/Times-Roman SF
8620 XM
(Files containing any of the)
82 W( 8-bit "extended ASCII" characters may need conversion \050or translation\051 to)83 W
8620 68167 MT
(7-bit ASCII.)SH
/Symbol SF
7910 70156 MT
(\267)SH
/Times-Roman SF
8620 XM
(Files produced by word processing programs like Word Perfect)
197 W( or Word Star may contain special)196 W
8620 71261 MT
(binary formatting codes, and could need conversion to conventional 7-bit ASCII format prior)
267 W( to)268 W
ES
%%Page: 7 8
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.4.2. File Formats)SH
10 /Times-Italic AF
52275 XM
(Page 7)SH
46800 50 8280 5709 UL
/Times-Roman SF
10780 7886 MT
(transmission, using an "export" procedure.)SH
/Symbol SF
10070 9875 MT
(\267)SH
/Times-Roman SF
10780 XM
(Files created by word processors that store formatting data at the end of)
19 W( the file, after the Control-Z and)18 W
10780 10980 MT
(before physical end, may require special processing via SET EOF)
43 W( to strip the formatting data, lest they)44 W
10780 12085 MT
(confuse non-MS-DOS recipients.)SH
/Symbol SF
10070 14074 MT
(\267)SH
/Times-Roman SF
10780 XM
(Spreadsheet or database files usually need special formatting to be meaningful to non-MS-DOS)294 W
10780 15179 MT
(recipients \050though they can be transmitted between MS-DOS systems with Kermit-MS\051.)
333 W( Such)918 W
10780 16284 MT
(programs usually come with an "export" procedure to convert their files to plain ASCII text.)SH
/Symbol SF
10070 18273 MT
(\267)SH
/Times-Roman SF
10780 XM
(BASIC programs are normally saved in a binary "tokenized")
42 W( form.  Use BASIC's ``)41 W
/Courier SF
(,a)SH
/Times-Roman SF
('' SAVE option)41 W
10780 19378 MT
(to save them as regular ASCII text, as in)SH
/Courier SF
13180 21033 MT
(save"foofa",a)SH
/Times-Roman SF
8280 22824 MT
(In general,)
58 W( when attempting to transfer non-text files between MS-DOS and a different kind of system, consult the)59 W
8280 24020 MT
(Kermit manual for that system.)SH
14 /Times-Bold AF
8280 27622 MT
(1.5. Program Setup and Invocation)SH
10 /Times-Roman AF
8280 29740 MT
(The MS-DOS Kermit program can)
78 W( be run from any disk without any special installation procedure.  On hard disk)77 W
8280 30936 MT
(systems, it is convenient to store the program in one of the directories listed in your DOS PATH, and it is often)111 W
8280 32132 MT
(desirable to customize Kermit's operation to your communications and computing environment by)
201 W( creating an)200 W
8280 33328 MT
(initialization file.)SH
8280 35720 MT
(Kermit-MS can be run interactively, from a batch file, as an "external" DOS command, or)
42 W( from redirected standard)43 W
8280 36916 MT
(input. Commands)
250 W( consist of one or more fields, separated by "whitespace" -- one or more spaces or tabs.)SH
8280 39308 MT
(Upon initial startup, the program executes any commands found in the file)31 W
/Courier SF
38676 XM
(MSKERMIT.INI)SH
/Times-Roman SF
46156 XM
(on the current disk, or)30 W
8280 40504 MT
(\050if not found on the current disk\051 in the first directory containing a file by that name, from the list)
116 W( in your DOS)117 W
8280 41700 MT
(PATH environment variable.  The Kermit initialization file may contain command macro definitions,)
77 W( communica-)76 W
8280 42896 MT
(tions settings for one or more ports, or any)
23 W( other Kermit-MS commands, and you may create it using any text editor)24 W
8280 44092 MT
(capable of saving files in plain ASCII text format.  Here is a sample:)SH
/Courier SF
10680 45747 MT
(comment -- MSKERMIT.INI, MS-DOS Kermit initialization file)SH
10680 47402 MT
(comment -- Don't overwrite my files!)SH
11280 48433 MT
(set warning on)SH
10680 50088 MT
(comment -- Define macros for the systems I use...)SH
11280 51119 MT
(define unix set local-echo off,set par non,set flow xon,set timer off)SH
11280 52150 MT
(def ibm set par odd,set loc on,set hands xon,set flo none,set tim on)SH
11280 53181 MT
(def modem set port 2, set speed 1200)SH
10680 54836 MT
(comment -- Define macros for quickly adapting to varying)SH
11280 55867 MT
(def noisy  set block-check 3, set receive packet 40, set retry 20)SH
11280 56898 MT
(def normal set block-check 1, set rec pack 94, set retry 5)SH
11280 57929 MT
(def clean  set block-check 2, set rec pack 500, set retry 5)SH
10680 59584 MT
(comment -- I always start out by connecting to my UNIX system...)SH
11280 60615 MT
(set port 1)SH
11280 61646 MT
(set speed 4800)SH
11280 62677 MT
(do unix)SH
11280 63708 MT
(connect)SH
/Times-Roman SF
8280 65425 MT
(A different file may be substituted for)SH
/Courier SF
23694 XM
(MSKERMIT.INI)SH
/Times-Roman SF
31144 XM
(by using ")SH
/Courier SF
(-f)SH
/Times-Italic SF
37019 XM
(filename)SH
/Times-Roman SF
(" on the DOS command line, e.g.)SH
/Courier SF
10680 67080 MT
(kermit -f monday.ini)SH
/Times-Roman SF
8280 69472 MT
(The meanings of these commands will emerge below.  For now, just note how you can use)
123 W( command files \050and)122 W
8280 70668 MT
("macro definitions"\051 to easily adapt MS-Kermit to widely differing communication environments.)
1 W( A)
254 W( more advanced)2 W
8280 71864 MT
(initialization file is shown in section 1.9.)SH
ES
%%Page: 8 9
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 8)SH
12 /Times-Bold AF
30585 XM
(Kermit User Guide: MS-DOS KERMIT 1.5)SH
46800 50 6120 5709 UL
6120 8004 MT
(Interactive Operation:)SH
10 /Times-Roman AF
6120 9418 MT
(To run Kermit-MS interactively, invoke the program from DOS command)
204 W( level by typing its name, normally)203 W
6120 10614 MT
("kermit" \050this means the)
60 W( program should be stored in your path with the name)61 W
/Courier SF
38395 XM
(KERMIT.EXE)SH
/Times-Roman SF
(\051. When)
372 W( you see the)61 W
6120 11810 MT
(program's prompt,)SH
/Courier SF
8520 13465 MT
(Kermit-MS>)SH
/Times-Roman SF
6120 15182 MT
(you may type Kermit)
112 W( commands repeatedly until you are ready to exit the program, as in the following example)111 W
6120 16378 MT
(\050which assumes there's already a Kermit "server" set up on the other end\051:)SH
/Courier SF
8520 18033 MT
(A>)SH
8520 19064 MT
(A>kermit)SH
3600 50 9720 19264 UL
8520 20719 MT
(IBM PC Kermit-MS V2.32  11 Dec 1988)SH
8520 21750 MT
(Type ? or HELP for help)SH
8520 23405 MT
(Kermit-MS>set speed 19200)SH
9000 50 14520 23605 UL
8520 24436 MT
(Kermit-MS>send foo.*)SH
6000 50 14520 24636 UL
/Times-Italic SF
9720 26151 MT
(The files are sent.)SH
/Courier SF
8520 27806 MT
(Kermit-MS>get fot.*)SH
5400 50 14520 28006 UL
/Times-Italic SF
9720 29521 MT
(The requested files are received.)SH
/Courier SF
8520 31176 MT
(Kermit-MS>exit)SH
2400 50 14520 31376 UL
8520 32207 MT
(A>)SH
/Times-Roman SF
6120 33924 MT
(Interactive commands are described in Section 1.6.)SH
12 /Times-Bold AF
6120 36512 MT
(Command Line Invocation:)SH
10 /Times-Roman AF
6120 37926 MT
(Kermit-MS may be invoked with command line arguments from DOS command level, for instance:)SH
/Courier SF
8520 39581 MT
(A>kermit send peter.amy)SH
12600 50 9720 39781 UL
/Times-Roman SF
6120 40883 MT
(or)SH
/Courier SF
8520 42123 MT
(A>kermit set port 1, set speed 9600, connect)SH
25200 50 9720 42323 UL
/Times-Roman SF
6120 44515 MT
(In this case, help and completion  are not available \050because the program)
114 W( that provides them won't start running)115 W
6120 45711 MT
(until after you type the entire command line\051, and Kermit-MS)
53 W( will exit back to DOS after completing the specified)52 W
6120 46907 MT
(command or commands.  Therefore, when invoked with command line)
76 W( arguments, Kermit-MS will behave as if it)77 W
6120 48103 MT
(were an)
106 W( external DOS command, like MODE.  Note that several commands may be given on the command line,)105 W
6120 49299 MT
(separated by commas.  This can't be done interactively or from TAKE command files.)SH
6120 51691 MT
(Two special Kermit commands can be given on the DOS command line.  First)
7 W( is the keyword STAY which prevents)8 W
6120 52887 MT
(Kermit from exiting naturally when the last)
40 W( command has completed \050unless, of course, EXIT or QUIT was among)39 W
6120 54083 MT
(the commands\051.  The second command is)SH
/Courier SF
8520 55798 MT
(-F)SH
/Times-Italic SF
10320 XM
(filename)SH
/Times-Roman SF
6120 57515 MT
(This means use the indicated)
110 W( filename as the initialization file rather than)111 W
/Courier SF
36999 XM
(MSKERMIT.INI)SH
/Times-Roman SF
(. The)
472 W( PATH will be)111 W
6120 58711 MT
(searched for this file, if necessary.  A space or)
24 W( tab must separate -F from the filename, and the F may be in upper or)23 W
6120 59907 MT
(lower case.  Example:)SH
/Courier SF
8520 61562 MT
(kermit -f tuesday.ini, set port 2, do ibm, stay)SH
/Times-Roman SF
6120 63279 MT
(You can run Kermit with no initialization file at all by using the command)SH
/Courier SF
8520 64934 MT
(kermit -f nul)SH
/Times-Roman SF
6120 66651 MT
(If)SH
/Courier SF
7036 XM
(-F)SH
/Times-Roman SF
8486 XM
(is the only command line option, STAY is implied.)SH
ES
%%Page: 9 10
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.5. Program Setup and Invocation)SH
10 /Times-Italic AF
52275 XM
(Page 9)SH
46800 50 8280 5709 UL
12 /Times-Bold AF
8280 8004 MT
(Redirected Input and Output)SH
10 /Times-Roman AF
8280 9418 MT
(Kermit-MS also can be operated by redirecting input to it from a file, as in:)SH
/Courier SF
10680 11073 MT
(C>kermit < myscript.txt > myscript.log)SH
21600 50 11880 11273 UL
/Times-Roman SF
8280 12790 MT
(or from a DOS "pipe", as in)SH
/Courier SF
10680 14445 MT
(C>sort < sends.txt | kermit)SH
15000 50 11880 14645 UL
/Times-Roman SF
8280 16162 MT
(The file)11 W
/Courier SF
11690 XM
(MYSCRIPT.TXT)SH
/Times-Roman SF
19151 XM
(contains Kermit commands as if they were typed manually.  The DOS symbol)
11 W( ")12 W
/Courier SF
(<)SH
/Times-Roman SF
(" means)12 W
8280 17358 MT
(that Kermit should read from the following file rather from the keyboard.)SH
8280 19750 MT
(Kermit knows this is occurring and takes special steps to avoid)
35 W( the real keyboard and to quit when the file has been)34 W
8280 20946 MT
(completely examined.  The filename can also be the name of a device, such)
62 W( as COM1, to converse on the same or)63 W
8280 22142 MT
(different line as file transfer)
34 W( traffic.  Information destined for the screen still goes to the screen unless the phrase ")33 W
/Courier SF
(>)SH
/Times-Italic SF
8280 23338 MT
(filespec)SH
/Times-Roman SF
(" is added to the command line above to send the normal)
4 W( screen output to a file or device \050device COM1 also)5 W
8280 24534 MT
(works\051. Note)
250 W( that the terminal emulation screen cannot be redirected.)SH
12 /Times-Bold AF
8280 27122 MT
(Batch Operation:)SH
10 /Times-Roman AF
8280 28536 MT
(Like many other MS-DOS programs,)
23 W( Kermit-MS may be operated under DOS batch with command line arguments.)22 W
8280 29732 MT
(If you invoke it without command line arguments, it will)
95 W( run interactively, reading commands from the keyboard)96 W
8280 30928 MT
(and not the batch file.  When it exits, batch processing will continue to the end of the batch file.)SH
8280 33320 MT
(Kermit-MS returns the "errorlevel" parameter used as program exit status.  Present values are in the range 0 to 7)102 W
8280 34516 MT
(with three areas yielding success or failure reports for the entire Kermit session. The errorlevel values are:)SH
9030 36126 MT
(errorlevel)SH
19800 XM
(Kermit session status)SH
3887 50 9030 36326 UL
8500 50 19800 36326 UL
10280 37231 MT
(0)SH
19800 XM
(entirely successful operation)SH
10280 38336 MT
(1)SH
19800 XM
(a Send command completed unsuccessfully)SH
10280 39441 MT
(2)SH
19800 XM
(a Receive or GET command completed unsuccessfully)SH
10280 40546 MT
(4)SH
19800 XM
(a REMOTE command completed unsuccessfully)SH
9530 41651 MT
(3,5,6,7)SH
19800 XM
(combinations \050addition\051 of the above conditions)SH
8280 44043 MT
(Note that failures are remembered for the whole session and)
23 W( are not canceled by a following successful operation of)24 W
8280 45239 MT
(the same type.)
191 W( Thus, sending several files individually yields an errorlevel of 0 only if all the files were sent)190 W
8280 46435 MT
(successfully. The)
466 W( "errorlevel" parameter also)
108 W( applies to script commands where OUTPUT corresponds to SEND)109 W
8280 47631 MT
(and INPUT to RECEIVE.  An example of Batch invocation of Kermit is shown in Figure 1-4.)SH
8280 50023 MT
(You may also force Kermit to return any desired errorlevel, using the)
56 W( SET ERRORLEVEL command.  DOS batch)55 W
8280 51219 MT
(parameters may be passed along to Kermit; see section 1.7 for details.)SH
12 /Times-Bold AF
8280 53807 MT
(Remote Operation:)SH
10 /Times-Roman AF
8280 55221 MT
(The MS-DOS CTTY command allows an MS-DOS system to be used from a)
359 W( terminal connected to its)360 W
8280 56417 MT
(communication port.  Such)
63 W( sessions must be conducted with great care, since many programs assume that they are)62 W
8280 57613 MT
(running on the real console, and explicitly reference screen memory or the physical)
54 W( keyboard.  Kermit can be used)55 W
8280 58809 MT
(in this manner too, but before you)
1 W( give it any file transfer commands, you must inform it that it is running in "remote)SH
8280 60005 MT
(mode" rather than its normal "local mode."  Use the SET REMOTE ON command for this purpose,)
67 W( to prevent the)68 W
8280 61201 MT
(file transfer display from being sent out the port.)SH
12 /Times-Bold AF
8280 63789 MT
(RAM Disk Operation:)SH
10 /Times-Roman AF
8280 65203 MT
(If you invoke Kermit frequently, and you)
65 W( have sufficient memory on your PC, you may find it convenient to copy)64 W
8280 66399 MT
(Kermit and)
69 W( its initialization file to a RAM disk when you start your system.  This allows Kermit to be started and)70 W
8280 67595 MT
(used quickly and silently, with no mechanical disk operations.)SH
8280 69987 MT
(For instance, if you're using IBM's VDISK facility to create the RAM disk,)
85 W( you might put statements like this in)84 W
8280 71183 MT
(your)SH
/Courier SF
10363 XM
(CONFIG.SYS)SH
/Times-Roman SF
16613 XM
(file:)SH
ES
%%Page: 10 11
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 10)SH
12 /Times-Bold AF
30585 XM
(Kermit User Guide: MS-DOS KERMIT 1.5)SH
46800 50 6120 5709 UL
10 /Courier AF
8520 7824 MT
(DEVICE=VDISK.SYS 384 512 128 /e)SH
/Times-Roman SF
6120 9541 MT
(This assumes you have)
97 W( 384K of extended \050)98 W
/Courier SF
(/e)SH
/Times-Roman SF
(\051 memory installed and)98 W
/Courier SF
35141 XM
(VDISK.SYS)SH
/Times-Roman SF
40889 XM
(is in the root directory of the)98 W
6120 10737 MT
(boot disk.  It creates a 384K RAM disk with 512B sector size and space)
11 W( for 128 directories in the extended memory,)10 W
6120 11933 MT
(assigning it the disk letter of your first unused disk.  And then)
81 W( in your)82 W
/Courier SF
35448 XM
(AUTOEXEC.BAT)SH
/Times-Roman SF
42980 XM
(file \050assuming the RAM)82 W
6120 13129 MT
(disk is disk)SH
/Courier SF
10871 XM
(D:)SH
/Times-Roman SF
(\051 . . .)SH
/Courier SF
8520 14784 MT
(COPY KERMIT.EXE)
SH( D:)
1200 W( >NUL)SH
8520 15815 MT
(COPY MSKERMIT.INI D: >NUL)SH
8520 16846 MT
(COPY COMMAND.COM  D: >NUL)SH
8520 17877 MT
(SET COMSPEC=D:\134COMMAND.COM)SH
8520 18908 MT
(PATH D:\134; ...)SH
/Times-Roman SF
6120 20625 MT
(The PATH command allows)
530 W( DOS to find)529 W
/Courier SF
26686 XM
(KERMIT.EXE)SH
/Times-Roman SF
(, and Kermit to find)529 W
/Courier SF
43497 XM
(MSKERMIT.INI)SH
/Times-Roman SF
51476 XM
(and)SH
/Courier SF
6120 21821 MT
(COMMAND.COM)SH
/Times-Roman SF
(, on the RAM disk.  If you use Kermit transfer)
SH( files to your RAM disk, remember to copy those files)1 W
6120 23017 MT
(to a real disk before you turn off the system.)SH
12 /Times-Bold AF
6120 25605 MT
(Use of MS-Kermit in Windowing and Multiprocessing Environments:)SH
10 /Times-Roman AF
6120 27019 MT
(Kermit-MS can operate within windowing)
84 W( environments like such as TopView, DESqview, and MS-Windows.  It)83 W
6120 28215 MT
(runs in an active window under MS-Windows, accepts cut and)
1 W( paste material, talks with mice, and shrinks to an icon)2 W
6120 29411 MT
(\050a boxed "KER"\051.  An MS-Windows)17 W
/Courier SF
21175 XM
(.PIF)SH
/Times-Roman SF
23842 XM
(file can be constructed for Kermit using)
17 W( the PIFEDIT program, supplied)16 W
6120 30607 MT
(with Windows.  Memory requirements)
154 W( should be listed as 102 to 160KB.  It should state that Kermit does not)155 W
6120 31803 MT
(modify the screen, keyboard, memory, COM1, or COM2 \050not true but it satisfies Windows\051.)
77 W( Program)
402 W( switch and)76 W
6120 32999 MT
(exchange should be marked as Text, and Close Window on Exit should be checked.)
29 W( This)
309 W( configuration will let you)30 W
6120 34195 MT
(run Kermit with all the Windows features, but slowly.  To run at full)
145 W( speed under Windows, tell PIFEDIT that)144 W
6120 35391 MT
(Kermit modifies the screen.  Then you lose the Windows)
86 W( features \050cutting, pasting, running the clock at the same)87 W
6120 36587 MT
(time, etc\051, but you still get back to the Windows interface when you EXIT Kermit.)SH
6120 38979 MT
(MS-Kermit has)
173 W( also been reported to operate successfully under Concurrent DOS.  However, since it does not)172 W
6120 40175 MT
(interact explicitly with the Concurrent DOS time-slice scheduler, Kermit will tend use a lot of CPU cycles.)SH
12 /Times-Bold AF
6120 42763 MT
(Local Area Network Operation:)SH
10 /Times-Roman AF
6120 44177 MT
(MS-Kermit is capable of using)
141 W( a serial port on another local area network \050LAN\051 node, so long as that node is)142 W
6120 45373 MT
(running an asynchronous)
50 W( communication server and you have installed a device driver on your own PC that makes)49 W
6120 46569 MT
(COM1 or other communication port i/o use the network server.  This type of connection works)
31 W( because MS-Kermit)32 W
6120 47765 MT
(2.30 and)
123 W( later releases on IBM PCs check the selected port to see if it's a real 8250 UART chip, and if it isn't,)122 W
6120 48961 MT
(Kermit uses only Bios calls for port i/o, and the network routes these through your network)
13 W( device driver.  It may be)14 W
6120 50157 MT
(desirable to give the command SET PORT BIOS)27 W
/Times-Italic SF
(n)SH
/Times-Roman SF
26724 XM
(\050)SH
/Times-Italic SF
(n)SH
/Times-Roman SF
27834 XM
(is a digit)
27 W( 1-4\051 to actively select the Bios port rather than a real)26 W
6120 51353 MT
(hardware device.  This style of operation)
22 W( should be transparent to Kermit, but not all asynchronous communications)23 W
6120 52549 MT
(servers utilize this technique.)SH
6120 54941 MT
(As of version 2.30, the IBM PC version of Kermit can also communicate directly)
74 W( with another PC on a local area)73 W
6120 56137 MT
(network through the IBM NetBIOS emulator distributed with the LAN.)
127 W( In)
505 W( essence, the LAN substitutes for the)128 W
6120 57333 MT
(serial port, modem, and other wiring.  Kermit)
81 W( running on one user machine can transfer files with another Kermit)80 W
6120 58529 MT
(also on the network much as if they were connected by modems, and Kermit can talk with some larger machines)
14 W( the)15 W
6120 59725 MT
(same way.  The important network command is)SH
/Courier SF
8520 61440 MT
(SET PORT NETBIOS)SH
/Times-Italic SF
18720 XM
(nodename)SH
/Times-Roman SF
6120 63157 MT
(for NetBios, or)SH
/Courier SF
8520 64872 MT
(SET PORT UB-NET1)SH
/Times-Italic SF
18720 XM
(nodename)SH
/Times-Roman SF
6120 66589 MT
(for Ungermann-Bass Net-One NETCI.)
39 W( For)
326 W( details, see the description of the SET PORT and SERVER commands,)38 W
6120 67785 MT
(and \050if you're interested\051 Section 1.18.1 for a technical description.)SH
6120 70177 MT
(Kermit can even)
171 W( communicate with some other computers, such as Unix systems, which accept logins via this)172 W
6120 71373 MT
(remote pathway.  The initial startup is the same as calling a mainframe and logging in except the)
101 W( command SET)100 W
ES
%%Page: 11 12
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.5. Program Setup and Invocation)SH
10 /Times-Italic AF
51775 XM
(Page 11)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(PORT NET)72 W
/Times-Italic SF
13424 XM
(nodename)SH
/Times-Roman SF
17856 XM
(is used instead of SET PORT COM1.  A connection is established with the first use)
72 W( of the)73 W
8280 9082 MT
(communications circuit, such as CONNECT, REMOTE DIR, SEND, or other file transfer command, and terminated)8 W
8280 10278 MT
(with the HANGUP command.)SH
14 /Times-Bold AF
8280 13880 MT
(1.6. Kermit-MS Commands)SH
10 /Times-Roman AF
8280 15998 MT
(MS-DOS Kermit has the following commands:)SH
/Courier SF
16124 18932 MT
(-)SH
/Times-Roman SF
(F)SH
17780 XM
(specify alternate init file name on DOS command line.)SH
15280 20037 MT
(ASK)SH
17780 XM
(user to type text, in response to a prompt.)SH
13669 21142 MT
(ASSIGN)SH
17780 XM
(the value of one variable to another.)SH
15280 22247 MT
(BYE)SH
17780 XM
(to remote server, exit from MS-Kermit.)SH
14002 23352 MT
(CLEAR)SH
17780 XM
(serial port buffer.)SH
14113 24457 MT
(CLOSE)SH
17780 XM
(log files and stop logging remote session.)SH
12169 25562 MT
(COMMENT)SH
17780 XM
(For including comments in command files.)SH
12558 26667 MT
(CONNECT)SH
17780 XM
(as terminal to remote system \050C\051.)SH
12225 27772 MT
(CWD or CD)SH
17780 XM
(change local working directory.)SH
13725 28877 MT
(DEFINE)SH
17780 XM
(a macro of Kermit-MS commands.)SH
13503 29982 MT
(DELETE)SH
17780 XM
(local files.)SH
11558 31087 MT
(DIRECTORY)SH
17780 XM
(listing of local files.)SH
13058 32192 MT
(DISABLE)SH
17780 XM
(server recognition of selected commands.)SH
15836 33297 MT
(DO)SH
17780 XM
(a command macro.)SH
14558 34402 MT
(ECHO)SH
17780 XM
(a line of text on the screen.)SH
13336 35507 MT
(ENABLE)SH
17780 XM
(server recognition of selected commands.)SH
15003 36612 MT
(EXIT)SH
17780 XM
(from Kermit-MS.)SH
14058 37717 MT
(FINISH)SH
17780 XM
(Shut down a remote Kermit server.)SH
15336 38822 MT
(GET)SH
17780 XM
(remote files from server.)SH
14503 39927 MT
(GOTO)SH
17780 XM
(jump to labeled line in script file.)SH
13114 41032 MT
(HANGUP)SH
17780 XM
(the phone or network connection.)SH
14780 42137 MT
(HELP)SH
17780 XM
(about Kermit-MS.)SH
16391 43242 MT
(IF)SH
17780 XM
(decision-making in Take or Macro scripts.)SH
14336 44347 MT
(INPUT)SH
17780 XM
(specified string from serial port, for scripts.)SH
15225 45452 MT
(LOG)SH
17780 XM
(remote terminal session, transactions, or packets.)SH
13170 46557 MT
(LOGOUT)SH
17780 XM
(remote server, don't exit from Kermit-MS.)SH
14725 47662 MT
(MAIL)SH
17780 XM
(send file to remote Mailer via Kermit.)SH
13336 48767 MT
(OUTPUT)SH
17780 XM
(string out serial port, for scripts.)SH
14113 49872 MT
(PAUSE)SH
17780 XM
(between commands.)SH
15446 50977 MT
(POP)SH
17780 XM
(exit Take file or Macro.)SH
14724 52082 MT
(PUSH)SH
17780 XM
(to MS-DOS command level.)SH
14892 53187 MT
(QUIT)SH
17780 XM
(from Kermit-MS \050same as EXIT\051.)SH
13058 54292 MT
(RECEIVE)SH
17780 XM
(files from remote Kermit \050R\051.)SH
13058 55397 MT
(REINPUT)SH
17780 XM
(reread script Input buffer.)SH
13169 56502 MT
(REMOTE)SH
17780 XM
(Prefix for remote file management commands.)SH
15169 57607 MT
(RUN)SH
17780 XM
(an MS-DOS program or command.)SH
14669 58712 MT
(SEND)SH
17780 XM
(files to remote Kermit \050S\051.)SH
13446 59817 MT
(SERVER)SH
17780 XM
(mode of remote operation.)SH
15502 60922 MT
(SET)SH
17780 XM
(various parameters.)SH
14336 62027 MT
(SHOW)SH
17780 XM
(various parameters.)SH
14168 63132 MT
(SPACE)SH
17780 XM
(inquiry \050about disk space\051.)SH
13502 64237 MT
(STATUS)SH
17780 XM
(inquiry \050about settings\051.)SH
14669 65342 MT
(STAY)SH
17780 XM
(stay within Kermit after DOS command line invocation.)SH
14835 66447 MT
(STOP)SH
17780 XM
(exit all Take files or Macros.)SH
14614 67552 MT
(TAKE)SH
17780 XM
(commands from a file.)SH
12169 68657 MT
(TRANSMIT)SH
17780 XM
(a file "raw" \050no error checking\051.)SH
14780 69762 MT
(TYPE)SH
17780 XM
(a local file on the screen.)SH
12947 70867 MT
(VERSION)SH
17780 XM
(display Kermit-MS program version number.)SH
14670 71972 MT
(WAIT)SH
17780 XM
(for the specified modem signal to appear.)SH
ES
%%Page: 12 13
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 12)SH
12 /Times-Bold AF
30585 XM
(Kermit User Guide: MS-DOS KERMIT 1.6)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(Not all of these commands are necessarily)
21 W( available on all MS-DOS systems, and some of the commands may work)22 W
6120 9082 MT
(somewhat differently between DOS versions.)SH
6120 11474 MT
(A command keyword, such as SEND, RECEIVE, HELP, etc, may be abbreviated, so long)
5 W( as you have typed enough)4 W
6120 12670 MT
(letters to distinguish it from other keywords that are)
134 W( valid in that position.  For instance, you can type CLE for)135 W
6120 13866 MT
(CLEAR and CLO for CLOSE.  Several common commands also have special non-unique abbreviations,)
54 W( like C for)53 W
6120 15062 MT
(CONNECT, S for SEND, and R for RECEIVE. Kermit will notify you if you have typed a word)
147 W( with too few)148 W
6120 16258 MT
(letters.)SH
6120 18650 MT
(During interactive operation, you may edit the command you're currently)
80 W( typing using BACKSPACE to erase the)79 W
6120 19846 MT
(character most recently typed, Ctrl-W to delete the most recent field, or Ctrl-U to delete the entire command.)
63 W( The)377 W
6120 21042 MT
(editing characters may be used in any combination until the command is finally entered by typing)
217 W( RETURN)216 W
6120 22238 MT
(\050Carriage Return, Enter\051 or Ctrl-L.)SH
6120 24630 MT
(You may use the)
66 W( help \050``)67 W
/Courier SF
(?)SH
/Times-Roman SF
(''\051 and keyword completion  \050ESC\051 features freely while typing Kermit-MS commands.)67 W
6120 25826 MT
(A question mark typed at almost)
180 W( any point in a command produces a brief description, or "menu", of what is)179 W
6120 27022 MT
(expected or possible at that)
27 W( point.  ESC typed at any point, except in a local filename, will cause the current field to)28 W
6120 28218 MT
(be filled out if what you)
47 W( have typed so far is sufficient to identify it, and will leave you in position to type the next)46 W
6120 29414 MT
(field \050or to type a ``)42 W
/Courier SF
(?)SH
/Times-Roman SF
('' to find out what the next field is\051; otherwise, the program will beep at)
42 W( you and wait for you)43 W
6120 30610 MT
(to type more characters.)SH
6120 33002 MT
(As of version)
13 W( 2.31, Kermit-MS recognizes full 8-bit character inputs, with only NUL, ESC, DEL/BS, Ctrl-W \050delete)12 W
6120 34198 MT
(word\051, Ctrl-U \050delete line\051,)
246 W( and Ctrl-C being special.  This is to enhance support for various languages and)247 W
6120 35394 MT
(keyboards. The)
668 W( SET KEY and SHOW KEY)
209 W( commands can prompt for keyboard input and understand 8-bit)208 W
6120 36590 MT
(characters but only at their interactive prompt.  The SET KEY, INPUT,)
23 W( and OUTPUT commands accept "backslash)24 W
6120 37786 MT
(number format"  on the main)
111 W( Kermit command line.  Thus, national characters which are full 8-bit codes can be)110 W
6120 38982 MT
(expressed on command lines in backslash number form \050\134ddd\051, provided the Kermit command itself can understand)39 W
6120 40178 MT
(the form.  Most commands that want numbers or single characters as operands understand this)
79 W( notation.  To enter)78 W
6120 41374 MT
(characters in backslash number format, type a backslash \050``)67 W
/Courier SF
(\134)SH
/Times-Roman SF
(''\051 followed by a number corresponding to the ASCII)67 W
6120 42570 MT
(code for the character.  MS-Kermit)
239 W( accepts many different backslash codes in different contexts.  These are)238 W
6120 43766 MT
(summarized in Table 1-1; letters following the backslach may be either upper or lower case.)SH
46800 50 6120 45757 UL
/Courier SF
7120 48672 MT
(\134123)SH
/Times-Roman SF
12520 XM
(\050up to 3 decimal digits\051 - A decimal number)SH
/Courier SF
7120 49777 MT
(\134d123)SH
/Times-Roman SF
12520 XM
(\050up to 3 decimal digits\051 - A decimal number)SH
/Courier SF
7120 50882 MT
(\134o123)SH
/Times-Roman SF
12520 XM
(\050up to 3 octal digits\051 - An octal \050base 8\051 number)SH
/Courier SF
7120 51987 MT
(\134x123)SH
/Times-Roman SF
12520 XM
(\050up to 3 hexadecimal digits\051 - a hexadecimal \050base 16\051 number)SH
/Courier SF
7120 53092 MT
(\134{ })SH
/Times-Roman SF
12520 XM
(For grouping, e.g.)SH
/Courier SF
19964 XM
(\134{12}6 = Ctrl-L 6)SH
/Times-Roman SF
(, not)SH
/Courier SF
32192 XM
(~)SH
7120 54197 MT
(\134;)SH
/Times-Roman SF
12520 XM
(Include a semicolon in a TAKE-file command or macro definition.)SH
/Courier SF
7120 55302 MT
(\134%)SH
/Times-Roman SF
12520 XM
(Introduce a Kermit variable,)SH
/Courier SF
24100 XM
(\134%1, \134%2, ..., \134%a, \134%b, ... \134%z)SH
7120 56407 MT
(\134K)SH
/Times-Roman SF
12520 XM
(A Kermit connect-mode verb like)SH
/Courier SF
26267 XM
(\134Kexit)SH
/Times-Roman SF
30117 XM
(\050see Table 1-6\051)SH
/Courier SF
7120 57512 MT
(\134B)SH
/Times-Roman SF
12520 XM
(Send a BREAK \050OUTPUT command only\051)SH
/Courier SF
7120 58617 MT
(\134255)SH
/Times-Roman SF
12520 XM
(Shorthand for CRLF or LFCR \050INPUT command only\051)SH
/Courier SF
7120 59722 MT
(\134CD)SH
/Times-Roman SF
12520 XM
(Carrier Detect RS-232 signal \050WAIT command only\051)SH
/Courier SF
7120 60827 MT
(\134DSR)SH
/Times-Roman SF
12520 XM
(Data Set Ready RS-232 signal \050WAIT command only\051)SH
/Courier SF
7120 61932 MT
(\134CTS)SH
/Times-Roman SF
12520 XM
(Clear to Send RS-232 signal \050WAIT command only\051)SH
/Times-Bold SF
20131 63723 MT
(Table 1-1:)SH
/Times-Roman SF
24992 XM
(MS-DOS Kermit Backslash Codes)SH
46800 50 6120 65533 UL
6120 67725 MT
(Table 1-2 shows)
138 W( all of the 7-bit ASCII codes in decimal.  Most Kermit commands understand backslash-ASCII)139 W
6120 68921 MT
(codes, both imbedded within character strings, and alone, as when a single character or number is to be specified.)SH
6120 71313 MT
(Some Kermit-MS commands like GET, SHOW KEY, and SET KEY, may prompt for additional information)
124 W( on)123 W
ES
%%Page: 13 14
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6. Kermit-MS Commands)SH
10 /Times-Italic AF
51775 XM
(Page 13)SH
46800 50 8280 5709 UL
46800 50 8280 8086 UL
/Courier SF
10680 10865 MT
(Dec Name Ctrl)
SH( Dec)
6600 W( Char)
SH( Dec)
3000 W( Char)
SH( Dec)
2400 W( Char)SH
1800 50 10680 11065 UL
2400 50 13080 11065 UL
2400 50 16080 11065 UL
1800 50 25680 11065 UL
2400 50 28080 11065 UL
1800 50 34080 11065 UL
2400 50 36480 11065 UL
1800 50 41880 11065 UL
2400 50 44280 11065 UL
11280 12927 MT
(0 NUL)
1200 W( ^@)
600 W( |)
6000 W( 32 SP  |)
600 W( 64 @ | 96)
1200 W( `)600 W
11280 13958 MT
(1 SOH)
1200 W( ^A)
600 W( |)
6000 W( 33)
600 W( !)
1200 W( |)
1800 W( 65 A | 97)
1200 W( a)600 W
11280 14989 MT
(2 STX)
1200 W( ^B)
600 W( |)
6000 W( 34)
600 W( ")
1200 W( |)
1800 W( 66 B | 98)
1200 W( b)600 W
11280 16020 MT
(3 ETX)
1200 W( ^C)
600 W( |)
6000 W( 35)
600 W( #)
1200 W( |)
1800 W( 67 C | 99)
1200 W( c)600 W
11280 17051 MT
(4 EOT)
1200 W( ^D)
600 W( |)
6000 W( 36)
600 W( $)
1200 W( |)
1800 W( 68 D |)
1200 W( 100 d)600 W
11280 18082 MT
(5 ENQ)
1200 W( ^E)
600 W( |)
6000 W( 37)
600 W( %)
1200 W( |)
1800 W( 69 E |)
1200 W( 101 e)600 W
11280 19113 MT
(6 ACK)
1200 W( ^F)
600 W( |)
6000 W( 38)
600 W( &)
1200 W( |)
1800 W( 70 F |)
1200 W( 102 f)600 W
11280 20144 MT
(7 BEL)
1200 W( ^G)
600 W( beep)
SH( |)
3000 W( 39)
600 W( ')
1200 W( |)
1800 W( 71 G |)
1200 W( 103 g)600 W
11280 21175 MT
(8 BS ^H)
1200 W( backspace |  40)
SH( \050)
1200 W( |)
1800 W( 72 H |)
1200 W( 104 h)600 W
11280 22206 MT
(9 HT ^I)
1200 W( tab)
SH( |)
3600 W( 41)
600 W( \051)
1200 W( |)
1800 W( 73 I |)
1200 W( 105 i)600 W
10680 23237 MT
(10 LF ^J)
1200 W( linefeed  |  42)
SH( *)
1200 W( |)
1800 W( 74 J |)
1200 W( 106 j)600 W
10680 24268 MT
(11 VT ^K)
1200 W( |)
6000 W( 43)
600 W( +)
1200 W( |)
1800 W( 75 K |)
1200 W( 107 k)600 W
10680 25299 MT
(12 FF ^L)
1200 W( formfeed  |  44)
SH( ,)
1200 W( |)
1800 W( 76 L |)
1200 W( 108 l)600 W
10680 26330 MT
(13 CR ^M)
1200 W( return)
SH( |)
1800 W( 45)
600 W( -)
1200 W( |)
1800 W( 77 M |)
1200 W( 109 m)600 W
10680 27361 MT
(14 SO ^N)
1200 W( shift out |  46)
SH( .)
1200 W( |)
1800 W( 78 N |)
1200 W( 110 n)600 W
10680 28392 MT
(15 SI ^O)
1200 W( shift in  |  47)
SH( /)
1200 W( |)
1800 W( 79 O |)
1200 W( 111 o)600 W
10680 29423 MT
(16 DLE)
1200 W( ^P)
600 W( |)
6000 W( 48)
600 W( 0)
1200 W( |)
1800 W( 80 P |)
1200 W( 112 p)600 W
10680 30454 MT
(17 DC1)
1200 W( ^Q)
600 W( XON)
SH( |)
3600 W( 49)
600 W( 1)
1200 W( |)
1800 W( 81 Q |)
1200 W( 113 q)600 W
10680 31485 MT
(18 DC2)
1200 W( ^R)
600 W( |)
6000 W( 50)
600 W( 2)
1200 W( |)
1800 W( 82 R |)
1200 W( 114 r)600 W
10680 32516 MT
(19 DC3)
1200 W( ^S)
600 W( XOFF)
SH( |)
3000 W( 51)
600 W( 3)
1200 W( |)
1800 W( 83 S |)
1200 W( 115 s)600 W
10680 33547 MT
(20 DC4)
1200 W( ^T)
600 W( |)
6000 W( 52)
600 W( 4)
1200 W( |)
1800 W( 84 T |)
1200 W( 116 t)600 W
10680 34578 MT
(21 NAK)
1200 W( ^U)
600 W( |)
6000 W( 53)
600 W( 5)
1200 W( |)
1800 W( 85 U |)
1200 W( 117 u)600 W
10680 35609 MT
(23 ETB)
1200 W( ^W)
600 W( |)
6000 W( 54)
600 W( 6)
1200 W( |)
1800 W( 86 V |)
1200 W( 118 v)600 W
10680 36640 MT
(22 SYN)
1200 W( ^V)
600 W( |)
6000 W( 55)
600 W( 7)
1200 W( |)
1800 W( 87 W |)
1200 W( 119 w)600 W
10680 37671 MT
(24 CAN)
1200 W( ^X)
600 W( |)
6000 W( 56)
600 W( 8)
1200 W( |)
1800 W( 88 X |)
1200 W( 120 x)600 W
10680 38702 MT
(25 EM ^Y)
1200 W( |)
6000 W( 57)
600 W( 9)
1200 W( |)
1800 W( 89 Y |)
1200 W( 121 y)600 W
10680 39733 MT
(26 SUB)
1200 W( ^Z)
600 W( |)
6000 W( 58)
600 W( :)
1200 W( |)
1800 W( 90 Z |)
1200 W( 122 z)600 W
10680 40764 MT
(27 ESC)
1200 W( ^[)
600 W( escape)
SH( |)
1800 W( 59)
600 W( ;)
1200 W( |)
1800 W( 91 [ |)
1200 W( 123 {)600 W
10680 41795 MT
(28 FS ^\134)
1200 W( |)
6000 W( 60)
600 W( <)
1200 W( |)
1800 W( 92 \134 |)
1200 W( 124 |)600 W
10680 42826 MT
(29 GS ^])
1200 W( |)
6000 W( 61)
600 W( =)
1200 W( |)
1800 W( 93 ] |)
1200 W( 125 })600 W
10680 43857 MT
(30 RS ^^)
1200 W( |)
6000 W( 62)
600 W( >)
1200 W( |)
1800 W( 94 ^ |)
1200 W( 126 ~)600 W
10680 44888 MT
(31 US ^_)
1200 W( |)
6000 W( 63)
600 W( ?)
1200 W( |)
1800 W( 95 _ |)
1200 W( 127 RUBOUT,DELETE)600 W
/Times-Bold SF
19543 46605 MT
(Table 1-2:)SH
/Times-Roman SF
24404 XM
(The US ASCII Character Set \050ANSI X3.4-1977\051)SH
46800 50 8280 48415 UL
8280 50006 MT
(subsequent lines.  If)
84 W( you have reached one of these prompts and then wish to cancel the command, you may type)85 W
8280 51202 MT
(Control-C to get back to the main)SH
/Courier SF
21974 XM
(Kermit-MS>)SH
/Times-Roman SF
28224 XM
(prompt.)SH
12 /Times-Bold AF
8280 53790 MT
(Summary of Kermit-MS command editing characters:)SH
10 /Times-Roman AF
10280 55581 MT
(SPACE)SH
14280 XM
(Separates fields within the command.)SH
10280 57158 MT
(TAB)SH
14280 XM
(Same as Space, and echoes as Space.  You may also use Ctrl-I for Tab.)SH
10280 58735 MT
(BACKSPACE)SH
14280 59840 MT
(Deletes the character most recently typed.  May be typed repeatedly to delete all)
37 W( the way back to the)38 W
14280 60945 MT
(prompt. You)
250 W( may also use DELETE, RUBOUT, Ctrl-H, or equivalent keys.)SH
10280 62522 MT
(Ctrl-W)SH
14280 XM
(Deletes the most recent "word", or field, on the command line.  May be typed repeatedly.)SH
10280 64099 MT
(Ctrl-U)SH
14280 XM
(Deletes the entire command line, back to the prompt.)SH
10280 65676 MT
(Ctrl-C)SH
14280 XM
(Cancels the current command and)
2 W( returns to the ")1 W
/Courier SF
(Kermit-MS>)SH
/Times-Roman SF
(" prompt.  Also, terminates execution)1 W
14280 66781 MT
(of a TAKE command file.)SH
10280 68358 MT
(ESC)SH
14280 XM
(If enough characters have been supplied)
44 W( in the current keyword to identify it uniquely the remainder)45 W
14280 69463 MT
(of the field is supplied and the cursor is positioned to the next field of the command.)
79 W( Otherwise,)
407 W( a)78 W
14280 70568 MT
(beep is sounded.  ESC does not provide filename completion.)SH
ES
%%Page: 14 15
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 14)SH
12 /Times-Bold AF
30585 XM
(Kermit User Guide: MS-DOS KERMIT 1.6)SH
46800 50 6120 5709 UL
10 /Courier AF
8120 7886 MT
(?)SH
/Times-Roman SF
12120 XM
(Displays a brief message describing what may be typed in the current)
5 W( command field.  Also, wildcard)6 W
12120 8991 MT
(character for matching any single character in all but the first position of a filename.)SH
/Courier SF
8120 10568 MT
(#)SH
/Times-Roman SF
12120 XM
(Wildcard character for matching single characters in filenames.  Equivalent to)
121 W( MS-DOS ``)120 W
/Courier SF
(?)SH
/Times-Roman SF
('', but)120 W
12120 11673 MT
(used in the first position of a filename only, so that ``)3 W
/Courier SF
(?)SH
/Times-Roman SF
('' may be used to get help at the beginning of a)3 W
12120 12778 MT
(filename field.)SH
8120 14355 MT
(ENTER)SH
12120 XM
(Enters the command.  On most keyboards, you may also use RETURN or Ctrl-M.)SH
8120 15932 MT
(Ctrl-L)SH
12120 XM
(Clears the screen and enters the command.)SH
6120 18324 MT
(Liberal use of ``)51 W
/Courier SF
(?)SH
/Times-Roman SF
('' allows you to feel your way through the commands and)
51 W( their fields.  This feature is sometimes)50 W
6120 19520 MT
(called "menu on demand" or)
83 W( "context sensitive help" -- unlike systems that force you to negotiate menus at every)84 W
6120 20716 MT
(turn, menu-on-demand provides help only when it is needed.)SH
6120 23108 MT
(Command reading is done through DOS calls and Kermit key redefinition)
68 W( does not apply at Kermit-MS command)67 W
6120 24304 MT
(level. But)338 W
/Courier SF
10641 XM
(ANSI.SYS)SH
/Times-Roman SF
15735 XM
(or other)
44 W( external console drivers can be used for this purpose, for instance to assign ESC to)45 W
6120 25500 MT
(the PC's backquote key \050)34 W
/Courier SF
(ANSI.SYS)SH
/Times-Roman SF
21394 XM
(is the IBM-supplied extended screen and keyboard device driver, described)
34 W( in)33 W
6120 26696 MT
(the IBM)
352 W( DOS Technical Reference Manual\051.  Other console drivers available include ProKey, SuperKey,)353 W
/Courier SF
6120 27892 MT
(NANSI.SYS)SH
/Times-Roman SF
11770 XM
(\050a public-domain replacement for)SH
/Courier SF
25433 XM
(ANSI.SYS)SH
/Times-Roman SF
(\051, and FANSICONSOLE.)SH
6120 30284 MT
(The notation used in command descriptions is as follows:)SH
/Courier SF
8120 32075 MT
([)SH
/Times-Roman SF
(square brackets)SH
/Courier SF
(])SH
/Times-Roman SF
12120 33180 MT
(An optional field.  This field may be omitted.)SH
/Courier SF
8120 34757 MT
({)SH
/Times-Roman SF
(curly braces)SH
/Courier SF
(})SH
/Times-Roman SF
12120 35862 MT
(A list of alternatives, separated by commas.  Choose one of the items from the list.)SH
/Times-Italic SF
8120 37439 MT
(italics)SH
/Times-Roman SF
12120 XM
(Shows parameters, such as)
225 W( numbers or filenames, are shown in italics \050providing the printer is)224 W
12120 38544 MT
(capable of printing italics\051.  You substitute the actual number or filename.)SH
8120 40121 MT
(underlining)SH
4611 50 8120 40321 UL
12120 41226 MT
(In dialog examples, the characters you should type are underlined \050on printers that)
108 W( can show it\051 to)107 W
12120 42331 MT
(distinguish them from computer typeout.)SH
/Courier SF
8120 43908 MT
(hh:mm:ss)SH
/Times-Roman SF
12120 45013 MT
(A time of day, in 24-hour notation \05010:00:00 is 10 AM; 23:30:00 is 11:30 PM\051, which)
94 W( may not be)93 W
12120 46118 MT
(more than 12 hours later than the current time.)SH
6120 47909 MT
(The following sections describe all the MS-DOS Kermit commands.  Since some command)
218 W( descriptions may)219 W
6120 49105 MT
(contain references to other commands that haven't been explained yet, you might find)
38 W( that this manual makes more)37 W
6120 50301 MT
(sense on a second reading.)SH
12 /Times-Bold AF
6120 53417 MT
(1.6.1. Program Management Commands)SH
10 /Times-Roman AF
6120 55359 MT
("Program management" is a)
60 W( rubric for Kermit-MS commands like TAKE, EXIT, HELP, COMMENT, ECHO, and)61 W
6120 56555 MT
(VERSION, that don't fall into any other category.)SH
6120 58947 MT
(HELP displays)
53 W( a one screen introduction to frequently used Kermit commands and their editing keys, and suggests)52 W
6120 60143 MT
(using the question mark command to see the terse list of primary level Kermit commands.)SH
6120 62535 MT
(VERSION displays)
6 W( the MS-Kermit program version number, which you should know in case you are reporting bugs)7 W
6120 63731 MT
(or seeking technical assistance.)SH
6120 66123 MT
(Other program management commands require a bit more explanation.)SH
ES
%%Page: 15 16
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.1. Program Management Commands)SH
10 /Times-Italic AF
51775 XM
(Page 15)SH
46800 50 8280 5709 UL
12 /Times-Bold AF
8280 8004 MT
(The EXIT Command)SH
10 /Times-Roman AF
8280 9418 MT
(Syntax:)SH
/Courier SF
11586 XM
(EXIT)SH
/Times-Italic SF
14486 XM
(or)SH
/Courier SF
15875 XM
(QUIT)SH
/Times-Roman SF
8280 11810 MT
(EXIT and QUIT are synonyms for each other.  They cause MS-Kermit)
192 W( to return control to DOS or whatever)191 W
8280 13006 MT
(program invoked MS-Kermit.  The specific actions taken are:)SH
/Symbol SF
10070 14911 MT
(\267)SH
/Times-Roman SF
10780 XM
(Close any open log or other files.)SH
/Symbol SF
10070 16016 MT
(\267)SH
/Times-Roman SF
10780 XM
(Close any open network connection.)SH
/Symbol SF
10070 17121 MT
(\267)SH
/Times-Roman SF
10780 XM
(Release all memory claimed by the program.)SH
/Symbol SF
10070 18226 MT
(\267)SH
/Times-Roman SF
10780 XM
(Return interrupts for the currently selected communication device to their original owner.)SH
/Symbol SF
10070 19331 MT
(\267)SH
/Times-Roman SF
10780 XM
(Terminate execution.)SH
8280 21122 MT
(The serial port RS-232 signals are left alone upon EXIT, so that modem connections are not broken.  Kermit-MS)88 W
8280 22318 MT
(may be restarted)
1 W( with the connection intact.  Use HANGUP to explicitly break a modem connection; and use SHOW)SH
8280 23514 MT
(MODEM or SHOW COMMUNICATIONS to view the status of modem signals CD \050Carrier Detect\051,)
161 W( Data Set)162 W
8280 24710 MT
(\050modem\051 Ready \050DSR\051, and Clear To Send \050CTS\051.)SH
12 /Times-Bold AF
8280 27298 MT
(The STAY Command)SH
10 /Times-Roman AF
8280 28712 MT
(Syntax:)SH
/Courier SF
11586 XM
(STAY)SH
/Times-Roman SF
8280 31104 MT
(The STAY)
340 W( command, if included among command line arguments, instructs MS-Kermit not to exit upon)339 W
8280 32300 MT
(completion but rather to enter interactive mode, unless EXIT)
29 W( or QUIT was among the command arguments.  STAY)30 W
8280 33496 MT
(has no effect when entered interactively or from a TAKE file.)SH
12 /Times-Bold AF
8280 36084 MT
(The PUSH Command)SH
10 /Times-Roman AF
8280 37498 MT
(Syntax:)SH
/Courier SF
11586 XM
(PUSH)SH
/Times-Roman SF
8280 39890 MT
(PUSH is)
54 W( similar to EXIT, except it leaves MS-Kermit intact by invoking an MS-DOS command processor "under")53 W
8280 41086 MT
(Kermit-MS, either)2 W
/Courier SF
15922 XM
(COMMAND.COM)SH
/Times-Roman SF
22774 XM
(or whatever)
2 W( shell you have specified with COMSPEC \050or SHELL, depending on)3 W
8280 42282 MT
(the system\051)
24 W( in your)23 W
/Courier SF
16317 XM
(CONFIG.SYS)SH
/Times-Roman SF
22590 XM
(file. You)
296 W( can return to Kermit-MS by typing the MS-DOS EXIT command, and)23 W
8280 43478 MT
(you will find Kermit-MS as you left it, with all settings and the)
12 W( terminal emulation screen intact.  The same function)13 W
8280 44674 MT
(is invoked by the CONNECT escape-level command P. Example:)SH
/Courier SF
10680 46389 MT
(Kermit-MS>push)SH
/Times-Italic SF
28680 XM
(Push to DOS.)SH
2400 50 16680 46589 UL
/Courier SF
10680 47420 MT
(Command v. 3.30)SH
28680 XM
(COMMAND.COM)SH
/Times-Italic SF
35880 XM
(program herald.)SH
/Courier SF
10680 49135 MT
(C>diskcopy a: b:)SH
/Times-Italic SF
28680 XM
(Run a DOS program.)SH
8400 50 11880 49335 UL
11880 50852 MT
(DISKCOPY dialog here)SH
/Times-Roman SF
21741 XM
(. . .)SH
/Courier SF
10680 52569 MT
(C>dir b:)SH
/Times-Italic SF
28680 XM
(More DOS commands)SH
/Times-Roman SF
37817 XM
(. . .)SH
3600 50 11880 52769 UL
/Times-Italic SF
11880 54286 MT
(DOS session continues)SH
/Times-Roman SF
21296 XM
(. . .)SH
/Courier SF
10680 56001 MT
(C>exit)SH
/Times-Italic SF
28680 XM
(When done, type DOS EXIT command.)SH
2400 50 11880 56201 UL
/Courier SF
10680 57032 MT
(Kermit-MS>)SH
/Times-Italic SF
28680 XM
(Back at Kermit.)SH
12 /Times-Bold AF
8280 59620 MT
(The TAKE Command)SH
10 /Times-Roman AF
8280 61034 MT
(Syntax:)SH
/Courier SF
11586 XM
(TAKE)SH
/Times-Italic SF
14586 XM
(filespec)SH
/Times-Roman SF
8280 63426 MT
(The TAKE command gives you way a to collect MS-Kermit commands)
78 W( into a single file, so that you can execute)77 W
8280 64622 MT
(many commands by typing)
20 W( a single \050TAKE\051 command.  TAKE instructs MS-Kermit to execute commands from the)21 W
8280 65818 MT
(file that you specify.  The current directory is searched for the file)
35 W( first, and then any directories listed in the PATH)34 W
8280 67014 MT
(environment variable.  The command file may include any valid Kermit-MS commands, including TAKE, but it)124 W
8280 68210 MT
(cannot include characters to be sent to a remote host after a CONNECT command \050use scripts)
93 W( for that, described)92 W
8280 69406 MT
(below\051. Execution)
250 W( of a TAKE file may be cancelled by typing Control-C at the keyboard.)SH
8280 71798 MT
(An implicit TAKE command is executed upon the)
62 W( initialization file,)63 W
/Courier SF
36429 XM
(MSKERMIT.INI)SH
/Times-Roman SF
43942 XM
(\050or another file specified in)63 W
ES
%%Page: 16 17
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 16)SH
12 /Times-Bold AF
29685 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.1)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(the ``)218 W
/Courier SF
(-f)SH
/Times-Roman SF
('' command-line argument\051,)
218 W( whenever you start MS-Kermit.  The)217 W
/Courier SF
38209 XM
(MSKERMIT.INI)SH
/Times-Roman SF
45876 XM
(file contains any)217 W
6120 9082 MT
(commands you want to be executed each time you run Kermit.  A sample is shown above, and a)
93 W( more ambitious)94 W
6120 10278 MT
(example is shown in section 1.9.)SH
6120 12670 MT
(Commands within TAKE files, unlike interactive commands, may include trailing)
352 W( comments, preceded by)351 W
6120 13866 MT
(semicolons:)SH
/Courier SF
8520 15521 MT
(set port 2)
SH( ;)
3000 W( Select the modem port.)SH
8520 16552 MT
(set speed 1200  ; Set the baud rate for the modem.)SH
8520 17583 MT
(connect ;)
4800 W( Conduct a terminal session.)SH
8520 18614 MT
(hangup ;)
5400 W( Hang up the phone after escaping back.)SH
/Times-Roman SF
6120 20331 MT
(Note the HANGUP command)
107 W( after CONNECT.  The HANGUP command is not executed until after you escape)108 W
6120 21527 MT
(back from your CONNECT session.  If this file were called)102 W
/Courier SF
31293 XM
(MODEM.CMD)SH
/Times-Roman SF
(, the)
102 W( following TAKE command would)101 W
6120 22723 MT
(execute it:)SH
/Courier SF
8520 24378 MT
(Kermit-MS>take modem.cmd)SH
8400 50 14520 24578 UL
/Times-Roman SF
6120 26095 MT
(This directs MS-Kermit to find the)25 W
/Courier SF
20437 XM
(MODEM.CMD)SH
/Times-Roman SF
26113 XM
(file, open it, execute the commands in it, close it, and return to the)26 W
/Courier SF
6120 27291 MT
(MS-Kermit>)SH
/Times-Roman SF
12370 XM
(prompt when done.  This process can take a while on floppy-disk based systems.)SH
6120 29683 MT
(Since TAKE file processing discards all characters from a line beginning with the first semicolon,)
28 W( it is normally not)27 W
6120 30879 MT
(possible to include semicolons as part of the commands themselves, e.g.)SH
/Courier SF
8520 32534 MT
(get dska:foo.bar;6)SH
/Times-Roman SF
6120 34251 MT
(To get around this restriction, you may precede such semicolons with a backslash:)SH
/Courier SF
8520 35906 MT
(get dska:foo.bar\134;6)SH
/Times-Roman SF
6120 38298 MT
(Commands from the TAKE file)
27 W( will normally not be displayed on your screen during execution.  If you want to see)28 W
6120 39494 MT
(them as they are executing, you can SET TAKE-ECHO ON \050for instance, at the beginning or end)
258 W( of your)257 W
/Courier SF
6120 40690 MT
(MSKERMIT.INI)SH
/Times-Roman SF
13622 XM
(file\051. With)
354 W( the echoing ON, comments are also displayed for reference, but the semicolon is)
52 W( not)53 W
6120 41886 MT
(shown.)SH
6120 44278 MT
(TAKE files may be nested to)
169 W( a reasonable level.  A command file that was invoked by another command file)168 W
6120 45474 MT
(normally returns to its invoking command)
192 W( file, rather than to the)193 W
/Courier SF
34236 XM
(MS-Kermit>)SH
/Times-Roman SF
40679 XM
(prompt, when the end of the)193 W
6120 46670 MT
(command file is reached.)SH
6120 49062 MT
(TAKE files have two commands)
62 W( to quit processing before the end of the file is reached.  The POP command exits)61 W
6120 50258 MT
(the current TAKE file)
126 W( \050or macro\051 and returns control to the previously executing TAKE or macro, where one is)127 W
6120 51454 MT
(invoked within another.  The STOP command exits all TAKE)
90 W( files and macros and returns directly to the Kermit)89 W
6120 52650 MT
(prompt.)SH
6120 55042 MT
(In TAKE files \050and macro definitions, which are discussed later\051, long commands may be continued on subsequent)47 W
6120 56238 MT
(lines by terminating each continued line with)
47 W( a hyphen \050minus sign\051.  If a line needs to terminate with a real minus)46 W
6120 57434 MT
(sign it may be expressed numerically as)46 W
/Courier SF
22634 XM
(\13445)SH
/Times-Roman SF
24730 XM
(or can be extented with extra spaces.)
46 W( The)
343 W( overall command length is)47 W
6120 58630 MT
(normally 127 bytes \050a beep sounds near this limit\051.)SH
6120 61022 MT
(An explicit question mark \050``)58 W
/Courier SF
(?)SH
/Times-Roman SF
(''\051 in a TAKE file will cause)
58 W( a help message to be displayed and the rest of the line)57 W
6120 62218 MT
(will be read as another command.  If)
55 W( you need to include a question mark in a command, use the ASCII backslash)56 W
6120 63414 MT
(notation ")SH
/Courier SF
(\13463)SH
/Times-Roman SF
(".)SH
ES
%%Page: 17 18
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.1. Program Management Commands)SH
10 /Times-Italic AF
51775 XM
(Page 17)SH
46800 50 8280 5709 UL
12 /Times-Bold AF
8280 8004 MT
(The -F Command)SH
10 /Times-Roman AF
8280 9418 MT
(Syntax:)SH
/Courier SF
11586 XM
(-F)SH
/Times-Italic SF
13386 XM
(filespec)SH
/Times-Roman SF
8280 11810 MT
(The ``)10 W
/Courier SF
(-f)SH
/Times-Roman SF
('' command is effective only on the DOS command line.)
10 W( It)
268 W( instructs MS-Kermit to use the specified file as)9 W
8280 13006 MT
(its initialization file, rather than)1 W
/Courier SF
21173 XM
(MSKERMIT.INI)SH
/Times-Roman SF
(. Unlike)
252 W( other command-line arguments, ``)1 W
/Courier SF
(-f)SH
/Times-Roman SF
('' does not, of)
1 W( itself,)2 W
8280 14202 MT
(cause MS-Kermit to exit upon completion.  Example:)SH
/Courier SF
10680 15857 MT
(C>kermit -f sunday.ini)SH
12000 50 11880 16057 UL
10680 16888 MT
(Kermit-MS>)SH
/Times-Roman SF
8280 18605 MT
(The -F command line option allows different MS-Kermit initialization files to coexist.  You)
212 W( can create batch)211 W
8280 19801 MT
(commands to invoke)
370 W( Kermit in different ways, for instance)371 W
/Courier SF
35502 XM
(MONDAY.BAT)SH
/Times-Roman SF
42123 XM
(might contain ``)371 W
/Courier SF
(kermit -f)371 W
8280 20997 MT
(monday.ini)SH
/Times-Roman SF
('',)SH
/Courier SF
15446 XM
(TUESDAY.BAT)SH
/Times-Roman SF
22296 XM
(``)SH
/Courier SF
(kermit -f tuesday.ini)SH
/Times-Roman SF
('', etc.)SH
12 /Times-Bold AF
8280 23585 MT
(The ECHO Command)SH
10 /Times-Roman AF
8280 24999 MT
(Syntax:)SH
/Courier SF
11586 XM
(ECHO [)SH
/Times-Italic SF
(string)SH
/Courier SF
(])SH
/Times-Roman SF
8280 27391 MT
(The ECHO command writes the string to the screen, without)
66 W( adding a carriage return or line feed.  ECHO may be)65 W
8280 28587 MT
(used to report progress during execution of a TAKE command file, or to issue prompts during the execution)
95 W( of a)96 W
8280 29783 MT
(script.)SH
/Courier SF
10680 31438 MT
(ECHO Part one completed...\13413)SH
/Times-Roman SF
8280 33155 MT
(The number at the end is a "backslash)
16 W( codes" for ASCII control characters, in this case carriage return \050)15 W
/Courier SF
(\13413)SH
/Times-Roman SF
(\051. Since)280 W
8280 34351 MT
(the ECHO command interprets backslash codes,)244 W
/Courier SF
29324 XM
(ANSI.SYS)SH
/Times-Roman SF
34618 XM
(and similar console drivers can)
244 W( be programmed)245 W
8280 35547 MT
(through this command by embedding)
94 W( ANSI escape sequences \050see section 1.17.3\051 in the echo string.  The ECHO)93 W
8280 36743 MT
(command always outputs a linefeed before the string.)SH
12 /Times-Bold AF
8280 39331 MT
(The COMMENT Command)SH
10 /Times-Roman AF
8280 40941 MT
(Syntax:)SH
/Courier SF
11586 XM
(COMMENT)SH
/Times-Italic SF
16386 XM
(text)SH
/Times-Roman SF
8280 43333 MT
(The COMMENT command lets you)
161 W( add comments to a TAKE command file.  The word COMMENT \050or any)162 W
8280 44529 MT
(unique prefix thereof\051 must appear as the first word)
87 W( on the line.  The COMMENT command may also be entered)86 W
8280 45725 MT
(interactively. It)
250 W( has no effect at all.  Example:)SH
/Courier SF
10680 47380 MT
(COMMENT - MS-Kermit command file to connect port 2 to an IBM mainframe)SH
10680 48411 MT
(set port 2)SH
10680 49442 MT
(set speed 4800)
SH( ;)
1200 W( Transmission rate is 4800)SH
10680 50473 MT
(do ibm)
SH( ;)
6000 W( Set parameters for IBM linemode)SH
10680 51504 MT
(connect ;)
5400 W( Be a terminal)SH
/Times-Roman SF
8280 53221 MT
(Question marks can be included in comments without invoking the help function.)SH
12 /Times-Bold AF
8280 56337 MT
(1.6.2. Local File Management Commands)SH
10 /Times-Roman AF
8280 58279 MT
(These commands are executed on your local)
72 W( PC, and generally invoke DOS services.  This allows you to perform)73 W
8280 59475 MT
(common DOS functions)
49 W( without leaving Kermit.  All file specifications may include device and/or directory fields.)48 W
8280 60671 MT
(The local file management commands are:)SH
/Courier SF
8280 62460 MT
(CWD)SH
/Times-Italic SF
10680 XM
(path)SH
/Times-Roman SF
12280 63565 MT
(Changes the current working directory to the given path.)
195 W( All)
639 W( references to local file names without)194 W
12280 64670 MT
(explicit paths will refer to that path.)
134 W( A)
520 W( drive letter may be included to also change disk drives.  This)135 W
12280 65775 MT
(command affects Kermit and any inferior programs that you RUN or PUSH to,)
15 W( but your previous disk and)14 W
12280 66880 MT
(directory are restored when you exit from Kermit.  For consistency with DOS, you may also type CD.)SH
/Courier SF
8280 68457 MT
(DELETE)SH
/Times-Italic SF
12480 XM
(filespec)SH
/Times-Roman SF
12280 69562 MT
(Deletes the specified file or files.  As in DOS, the names of the deleted)
167 W( files are not listed, only the)166 W
12280 70667 MT
(message "file\050s\051)
90 W( deleted" or "file\050s\051 not found", and if you give the command "delete)91 W
/Courier SF
47670 XM
(*.*)SH
/Times-Roman SF
(", Kermit-MS)91 W
12280 71772 MT
(will prompt "Are you sure?" since DOS is doing the work.)SH
ES
%%Page: 18 19
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 18)SH
12 /Times-Bold AF
29685 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.2)SH
46800 50 6120 5709 UL
10 /Courier AF
6120 7886 MT
(DIRECTORY)SH
/Times-Roman SF
12120 XM
([)SH
/Times-Italic SF
(filespec)SH
/Times-Roman SF
(])SH
10120 8991 MT
(Lists the names, sizes, and creation dates of files that match the given file specification.  If no)
57 W( filespec is)58 W
10120 10096 MT
(given, the command is equivalent to)SH
/Courier SF
24869 XM
(DIR *.*)SH
/Times-Roman SF
(. Normal)
250 W( DOS switches are effective.)SH
/Courier SF
6120 11673 MT
(SPACE)SH
/Times-Roman SF
10120 XM
(Tells how much space is available on the current disk.)SH
/Courier SF
6120 13250 MT
(RUN)SH
/Times-Italic SF
8520 XM
(command)SH
/Times-Roman SF
10120 14355 MT
(Passes the command)
222 W( line to)223 W
/Courier SF
22538 XM
(COMMAND.COM)SH
/Times-Roman SF
29611 XM
(for execution.  Any legal DOS operation is permitted:)223 W
10120 15460 MT
(running a program \050perhaps with command line arguments or i/o redirection\051, executing a DOS command,)14 W
10120 16565 MT
(or executing a)
27 W( batch file.  Kermit is suspended while the command is executed and automatically resumes)28 W
10120 17670 MT
(afterward. The)
652 W( command will be executed directly by)201 W
/Courier SF
33868 XM
(COMMAND.COM)SH
/Times-Roman SF
40919 XM
(so follow the)
201 W( rules of DOS.)200 W
10120 18775 MT
(Example:)SH
/Courier SF
12520 20430 MT
(Kermit-MS>run more < xmas.txt)SH
11400 50 18520 20630 UL
6120 22219 MT
(TYPE)SH
/Times-Italic SF
9120 XM
(filespec)SH
/Times-Roman SF
10120 23324 MT
(Displays the specified local file on the screen.)
48 W( Automatic)
344 W( pause is not available at the end of a page \050but)47 W
10120 24429 MT
(see above example for how to accomplish)
81 W( this\051.  On most systems, Ctrl-S can be typed to stop scrolling)82 W
10120 25534 MT
(and Ctrl-Q to continue scrolling.)SH
6120 27325 MT
(In most cases when you issue a local command, Kermit attempts to run the equivalent DOS command.)
32 W( If)
312 W( you get a)31 W
6120 28521 MT
(message like ")33 W
/Courier SF
(?Unable to execute program)34 W
/Times-Roman SF
(", it means that Kermit could not find)34 W
/Courier SF
43169 XM
(COMMAND.COM)SH
/Times-Roman SF
(, or that)34 W
6120 29717 MT
(there was not enough memory left to load it.  To ensure that Kermit can)
30 W( find)29 W
/Courier SF
37399 XM
(COMMAND.COM)SH
/Times-Roman SF
(, you should include a)29 W
6120 30913 MT
(PATH statement in your)154 W
/Courier SF
16791 XM
(AUTOEXEC.BAT)SH
/Times-Roman SF
24395 XM
(file, which includes the device)
154 W( and directory where)155 W
/Courier SF
46320 XM
(COMMAND.COM)SH
/Times-Roman SF
6120 32109 MT
(resides.)SH
6120 34501 MT
(You can add your own local commands by defining macros for them.  For example:)SH
/Courier SF
8520 36156 MT
(define edit run epsilon \134%1)SH
8520 37187 MT
(define more run more < \134%1)SH
8520 38218 MT
(define rename run ren \134%1 \134%2)SH
/Times-Roman SF
6120 39935 MT
(Then you)
294 W( can use these commands at Kermit-MS prompt level: ")293 W
/Courier SF
(edit foo.bar)293 W
/Times-Roman SF
(", ")293 W
/Courier SF
(more oofa.txt)293 W
/Times-Roman SF
(",)SH
6120 41131 MT
(")SH
/Courier SF
(rename old.txt new.txt)SH
/Times-Roman SF
(". However,)
250 W( you cannot redefine built-in commands, for example:)SH
/Courier SF
8520 42786 MT
(define send receive \134%1)SH
/Times-Roman SF
6120 44503 MT
(See Section 1.7 for further information about macros.)SH
ES
%%Page: 19 20
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.2. Local File Management Commands)SH
10 /Times-Italic AF
51775 XM
(Page 19)SH
46800 50 8280 5709 UL
12 /Times-Bold AF
8280 8004 MT
(1.6.3. COMMANDS FOR TERMINAL CONNECTION)SH
10 /Times-Roman AF
8280 9946 MT
(The CONNECT command connects your PC as a terminal)
52 W( to the remote system so that you may conduct a session)53 W
8280 11142 MT
(there, and the HANGUP command may be used to disconnect your)
158 W( modem \050if you have one\051 from the remote)157 W
8280 12338 MT
(system. There)
340 W( is presently no built-in DIAL command.  Modems may be dialed "manually" during CONNECT,)
45 W( or)46 W
8280 13534 MT
(you can construct your own DIAL command by using scripts, which are described in detail in subsequent sections.)SH
8280 15926 MT
(For completeness, the)
20 W( descriptions below contain copious reference to the SET commands, which let you modify all)19 W
8280 17122 MT
(sorts of terminal and communication)
1 W( parameters \050the SET commands are described in a later section\051.  MS-Kermit is)2 W
8280 18318 MT
(initially set up with the)
59 W( following parameters, so that you only need to issue SET commands for those that need to)58 W
8280 19514 MT
(be changed:)SH
10280 21305 MT
(PORT)SH
22280 XM
(1 \050in most cases, e.g. COM1 on the IBM PC family\051)SH
10280 22410 MT
(TERMINAL)SH
22280 XM
(VT102\050*\051 emulation \050IBM PC, DEC Rainbow\051)SH
10280 23515 MT
(SPEED)SH
22280 XM
(Whatever the serial card is currently set to.)SH
10280 24620 MT
(PARITY)SH
22280 XM
(None)SH
10280 25725 MT
(FLOW-CONTROL)SH
22280 XM
(XON/XOFF)SH
10280 26830 MT
(HANDSHAKE)SH
22280 XM
(None)SH
10280 27935 MT
(LOCAL-ECHO)SH
22280 XM
(Off)SH
10280 29040 MT
(DISPLAY)SH
22280 XM
(7-bit characters)SH
10280 30145 MT
(INPUT TRANSLATION)SH
22280 XM
(Off)SH
10280 31250 MT
(ESCAPE)SH
22280 XM
(Control-Rightbracket)SH
8280 33041 MT
(\050*\051 The VT102 terminal is compatible with the VT100, but includes a few additional functions.)SH
12 /Times-Bold AF
8280 35629 MT
(The CONNECT Command)SH
10 /Times-Roman AF
8280 37043 MT
(Syntax:)SH
/Courier SF
11586 XM
(CONNECT)SH
/Times-Italic SF
16386 XM
(-or-)SH
/Courier SF
18541 XM
(C)SH
/Times-Roman SF
8280 39435 MT
(The CONNECT command establishes an interactive terminal connection to the remote)
93 W( system using the currently)94 W
8280 40631 MT
(selected communications port \050SET PORT)
129 W( COM1 or COM2, COM1 is the default\051 with all settings currently in)128 W
8280 41827 MT
(effect for that port, emulating the currently selected type of terminal.)SH
8280 44219 MT
(During CONNECT, the)
4 W( characters you type are sent out the communication port, and the characters that arrive at the)5 W
8280 45415 MT
(port are displayed on the screen or interpreted)
61 W( by the selected terminal emulator.  If you SET LOCAL-ECHO ON,)60 W
8280 46611 MT
(MS-Kermit itself will display the characters you type on the screen.)SH
8280 49003 MT
(Before you issue the CONNECT command, be sure to set)
47 W( the correct communication speed \050SET SPEED\051 and any)48 W
8280 50199 MT
(other necessary communication parameters \050e.g. SET PARITY,)
94 W( SET LOCAL-ECHO\051.  If you have SET DEBUG)93 W
8280 51395 MT
(ON, then \050on most DOS systems, particularly the IBM PC\051, received control characters will be)
44 W( displayed in special)45 W
8280 52591 MT
(notation and no particular terminal will be emulated.)SH
8280 54983 MT
(By default, 7-bit ASCII characters)
58 W( are displayed on the screen.  If you SET DISPLAY 8, then 8-bit characters will)57 W
8280 56179 MT
(be used \050useful for "national" character sets\051.  Character translation)
362 W( will be done according to any SET)363 W
8280 57375 MT
(TRANSLATION INPUT and SET KEY commands)
125 W( you have issued.  In addition, characters that are sent to the)124 W
8280 58571 MT
(screen will also be recorded in a disk file or on a printer if you have issued a LOG SESSION command.)SH
8280 60963 MT
(The CONNECT command turns your PC into)
105 W( a terminal to the other computer.  To get back to the PC, type the)106 W
8280 62159 MT
(escape character followed)
30 W( by the letter C \050for "Close connection"\051.  On most MS-DOS systems the escape character)29 W
8280 63355 MT
(is Ctrl-)SH
/Courier SF
(])SH
/Times-Roman SF
11936 XM
(\050Control-Rightbracket\051. That)
250 W( means, hold down the Ctrl key, press ``)SH
/Courier SF
(])SH
/Times-Roman SF
('', and then type the letter C.)SH
/Courier SF
10680 65070 MT
(Kermit-MS>connect)SH
/Times-Italic SF
28680 XM
(Connect to remote system.)SH
4200 50 16680 65270 UL
11880 66787 MT
(Conduct terminal session here)SH
/Times-Roman SF
24324 XM
(. . .)SH
/Courier SF
10680 68502 MT
(^]c)SH
/Times-Italic SF
28680 XM
(Escape back to PC.)SH
1800 50 10680 68702 UL
/Courier SF
10680 69533 MT
(Kermit-MS>)SH
/Times-Italic SF
28680 XM
(Prompt reappears.)SH
/Times-Roman SF
8280 71250 MT
(This is called "escaping back".  You can use the SET ESCAPE command to)
220 W( change the escape character to)221 W
ES
%%Page: 20 21
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 20)SH
12 /Times-Bold AF
29685 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.3)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(something besides ``)95 W
/Courier SF
(^])SH
/Times-Roman SF
('', or you can assign the escaping-back operation)
95 W( to a single key or key combination with)94 W
6120 9082 MT
(SET KEY \050on the IBM PC the default for this is Alt-X\051.)SH
6120 11474 MT
(You can include the CONNECT command in a TAKE command file, but not "bare" text to be sent to the remote)87 W
6120 12670 MT
(system during CONNECT \050use scripts for that, see Section 1.8\051.  When a TAKE file includes)
224 W( a CONNECT)223 W
6120 13866 MT
(command, no further commands will be executed from the file until after you escape back.  A)
32 W( curious side effect of)33 W
6120 15062 MT
(allowing Kermit to accept input redirected from)
36 W( a file or device is that Connect mode will read characters from that)35 W
6120 16258 MT
(file or device; not really that useful but it works if you happen to need it.)SH
6120 18650 MT
(When you CONNECT, the program attempts to raise the DTR)
17 W( and RTS RS-232 signals \050see Table 1-3\051, and it takes)18 W
6120 19846 MT
(no specific action to lower them unless)
164 W( you explicitly issue the HANGUP command; thus you can EXIT from)163 W
6120 21042 MT
(Kermit-MS and restart it without dropping a dialup connection.  While CONNECTed, you can communicate directly)SH
6120 22238 MT
(with an autodialer or "smart modem" to control the communications line, hang it up, and the like, for instance,)
74 W( by)73 W
6120 23434 MT
(typing AT commands to a Hayes-like modem.)SH
/Courier SF
8520 25149 MT
(Kermit-MS>set speed 2400)SH
/Times-Italic SF
26520 XM
(\050See Section 1.6.10\051)SH
8400 50 14520 25349 UL
/Courier SF
8520 26180 MT
(Kermit-MS>connect)SH
4200 50 14520 26380 UL
8520 27211 MT
(AT)SH
/Times-Italic SF
26520 XM
(Now you're talking to the modem.)SH
1200 50 8520 27411 UL
/Courier SF
8520 28242 MT
(OK)SH
/Times-Italic SF
26520 XM
(Your modem responds)SH
/Courier SF
8520 29273 MT
(ATDT8765432)SH
/Times-Italic SF
26520 XM
(Type the modem's dialing command.)SH
6600 50 8520 29473 UL
/Courier SF
8520 30304 MT
(RINGING)SH
8520 31335 MT
(CONNECT 2400)SH
8520 32366 MT
(Welcome to ...)SH
/Times-Italic SF
26520 XM
(Now you're talking to the host computer.)SH
/Courier SF
8520 33397 MT
(Please login:)SH
/Times-Roman SF
6120 35114 MT
(MS-Kermit makes no attempt to monitor the modem's Carrier Detect \050CD\051 or Data Set Ready \050DSR\051 signals \050see)85 W
6120 36310 MT
(Table 1-3\051, and will take no notice if they drop.)
75 W( Thus)
398 W( it is not possible to automatically terminate a session if the)74 W
6120 37506 MT
(connection is broken.  However, you)
78 W( may query or test the status of these modem signals yourself using Kermit's)79 W
6120 38702 MT
(SHOW MODEM, SHOW COMMUNICATIONS, and WAIT commands.)SH
46800 50 6120 40693 UL
7120 43608 MT
(Signal)SH
11440 XM
(DB25)SH
15040 XM
(DB9)SH
18640 XM
(Description)SH
2556 50 7120 43808 UL
2389 50 11440 43808 UL
1889 50 15040 43808 UL
4666 50 18640 43808 UL
7370 44713 MT
(FG)SH
12410 XM
(1)SH
15760 XM
(-)SH
18640 XM
(Frame \050protective\051 ground)SH
7370 45818 MT
(TD)SH
12410 XM
(2)SH
15760 XM
(3)SH
18640 XM
(Transmitted data \050from PC to modem\051)SH
7370 46923 MT
(RD)SH
12410 XM
(3)SH
15760 XM
(2)SH
18640 XM
(Received data \050by PC from modem\051)SH
7370 48028 MT
(RTS)SH
12410 XM
(4)SH
15760 XM
(7)SH
18640 XM
(Request to Send \050by PC\051)SH
7370 49133 MT
(CTS)SH
12410 XM
(5)SH
15760 XM
(8)SH
18640 XM
(Clear to Send \050by modem\051)SH
7370 50238 MT
(DSR)SH
12410 XM
(6)SH
15760 XM
(6)SH
18640 XM
(Dataset Ready \050Modem is turned on\051)SH
7370 51343 MT
(SG)SH
12410 XM
(7)SH
15760 XM
(5)SH
18640 XM
(Signal Ground)SH
7370 52448 MT
(CD)SH
12410 XM
(8)SH
15760 XM
(1)SH
18640 XM
(Carrier Detect \050Modem is communicating with remote modem\051)SH
7370 53553 MT
(DTR)SH
12160 XM
(20)SH
15760 XM
(4)SH
18640 XM
(Data Terminal Ready \050PC is online\051)SH
7370 54658 MT
(RI)SH
12160 XM
(22)SH
15760 XM
(9)SH
18640 XM
(Ring Indicate \050Modem tells PC phone is ringing\051)SH
/Times-Bold SF
21783 56449 MT
(Table 1-3:)SH
/Times-Roman SF
26644 XM
(RS-232-C Modem Signals)SH
46800 50 6120 58259 UL
6120 60451 MT
(When using Kermit to connect two PCs "back to back," SET LOCAL-ECHO)
63 W( ON so that when you CONNECT to)62 W
6120 61647 MT
(the other PC to send messages to its operator, you can see what you are typing.  You should also SET TERMINAL)37 W
6120 62843 MT
(NEWLINE ON, so that that a linefeed will be automatically supplied for each carriage return you type.)SH
ES
%%Page: 21 22
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.3. COMMANDS FOR TERMINAL CONNECTION)SH
10 /Times-Italic AF
51775 XM
(Page 21)SH
46800 50 8280 5709 UL
12 /Times-Bold AF
8280 8004 MT
(The HANGUP Command)SH
10 /Times-Roman AF
8280 9418 MT
(On serial port connections, the HANGUP command attempts to momentarily lower the modem signals)
113 W( DTR and)112 W
8280 10614 MT
(RTS \050Table 1-3\051.  It may be used to hang up the phone when)
47 W( dialed up through a modem, or to get the attention of)48 W
8280 11810 MT
(port contention units or terminal concentrators that)
66 W( operate in this manner.  On direct connections, it will probably)65 W
8280 13006 MT
(have no effect.  On local area network connections, the network session is fully)
37 W( terminated.  HANGUP affects only)38 W
8280 14202 MT
(the currently selected port.)SH
12 /Times-Bold AF
8280 16790 MT
(TERMINAL EMULATION)SH
10 /Times-Roman AF
8280 18204 MT
(The IBM PC version of Kermit-MS emulates the DEC VT102 terminal by default, and may)
102 W( also be instructed to)101 W
8280 19400 MT
(emulate the DEC VT52, the Heath/Zenith-19, the Tektronix 4010 graphics terminal, or no terminal at all,)
33 W( selectable)34 W
8280 20596 MT
(with the SET TERMINAL command \050or you may)
31 W( "toggle" among the different emulations by typing the Alt-Minus)30 W
8280 21792 MT
(key\051. Emulation)
326 W( of each of these terminals is nearly complete.  VT102 emulation lacks only smooth scroll and 132)38 W
8280 22988 MT
(column mode \050132 column mode is supported for a number)
128 W( of popular EGA and VGA boards\051.  Double-height,)127 W
8280 24184 MT
(double-width characters are supported, but simulated using ordinary characters.)SH
8280 26576 MT
(The IBM PC's 40-column \050large character\051 screen mode may be)
29 W( used during CONNECT \050but you may also have to)30 W
8280 27772 MT
(inform the remote host that your screen width is 40\051.)
93 W( This)
435 W( can provide improved readability to visually impaired)92 W
8280 28968 MT
(persons. To use 40-column mode, enter the DOS command "MODE 40" \050or CO40)
81 W( or BW40\051.  Other screen sizes)82 W
8280 30164 MT
(are also sensed and used automatically, provided you have set them from DOS, before starting Kermit.)SH
8280 32556 MT
(On color monitors,)
249 W( the foreground and background colors may be set using SET TERMINAL COLOR, and)248 W
8280 33752 MT
(inverse/normal video display)
58 W( may also be selected, along with many other terminal parameters.  A complete list of)59 W
8280 34948 MT
(the commands, default key configurations, and escape sequences accepted by the IBM)
19 W( PC Kermit terminal emulator)18 W
8280 36144 MT
(is given in section 1.17.1.  Non-IBM-compatible PCs have different terminal emulation options.  See section 1.11.)SH
12 /Times-Bold AF
8280 38732 MT
(Escape-Level Commands)SH
10 /Times-Roman AF
8280 40146 MT
(The escape)
19 W( character, normally Control-)20 W
/Courier SF
(])SH
/Times-Roman SF
(, is used to regain the attention of Kermit-MS during CONNECT \050you can)20 W
8280 41342 MT
(change the escape character using SET ESCAPE\051.  When you type the escape character, Kermit-MS waits for you)
5 W( to)4 W
8280 42538 MT
(follow it with a single character command.  For instance, the single character command ``)138 W
/Courier SF
(?)SH
/Times-Roman SF
('' produces)
138 W( a list of)139 W
8280 43734 MT
(available single)
218 W( character commands.  This command is executed immediately; it may not be edited, and the)217 W
8280 44930 MT
(program does not wait for a carriage return)
132 W( to confirm it.  Table 1-4 shows CONNECT escape-level commands)133 W
8280 46126 MT
(available in Kermit-MS.  Typing any other)
59 W( character \050except the space bar, which is the "null command"\051 after the)58 W
46800 50 8280 48117 UL
/Courier SF
10280 51032 MT
(?)SH
/Times-Roman SF
12280 XM
(Help -- Lists the available single-character commands.)SH
/Courier SF
10280 52137 MT
(0)SH
/Times-Roman SF
12280 XM
(\050the digit zero\051 Transmit a NUL \050ASCII 0\051.)SH
/Courier SF
10280 53242 MT
(B)SH
/Times-Roman SF
12280 XM
(Transmit a BREAK signal.)SH
/Courier SF
10280 54347 MT
(L)SH
/Times-Roman SF
12280 XM
(Transmit a Long BREAK signal \050on some systems\051.)SH
/Courier SF
10280 55452 MT
(C)SH
/Times-Roman SF
12280 XM
(Close the connection and return to Kermit-MS prompt level.)SH
/Courier SF
10280 56557 MT
(H)SH
/Times-Roman SF
12280 XM
(Hangup the phone by lowering DTR and CTS momentarily.)SH
/Courier SF
10280 57662 MT
(F)SH
/Times-Roman SF
12280 XM
(File the current screen in the screen dump file.)SH
/Courier SF
10280 58767 MT
(M)SH
/Times-Roman SF
12280 XM
(Toggle the mode line, i.e. turn it off if it is on or vice versa.)SH
/Courier SF
10280 59872 MT
(P)SH
/Times-Roman SF
12280 XM
(Push to DOS; get back to CONNECT by typing EXIT.)SH
/Courier SF
10280 60977 MT
(Q)SH
/Times-Roman SF
12280 XM
(Temporarily quit logging the remote session.)SH
/Courier SF
10280 62082 MT
(R)SH
/Times-Roman SF
12280 XM
(Resume logging the remote session.)SH
/Courier SF
10280 63187 MT
(S)SH
/Times-Roman SF
12280 XM
(Show the status of the connection.)SH
/Courier SF
10280 64292 MT
(^])SH
/Times-Roman SF
12280 XM
(\050or whatever you have set the escape character to be\051)SH
12280 65397 MT
(Typing the escape character twice sends one copy of it to the connected host.)SH
/Times-Bold SF
17001 67188 MT
(Table 1-4:)SH
/Times-Roman SF
21862 XM
(Kermit-MS Single-Character CONNECT Escape Commands)SH
46800 50 8280 68998 UL
8280 70589 MT
(escape character will cause Kermit-MS to beep, but will do no harm.)
4 W( These)
259 W( actions are also Kermit action verbs and)5 W
8280 71785 MT
(can be assigned to single keys.  See SET KEY for details.)SH
ES
%%Page: 22 23
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 22)SH
12 /Times-Bold AF
29685 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.3)SH
46800 50 6120 5709 UL
6120 8004 MT
(The Mode Line)SH
10 /Times-Roman AF
6120 9418 MT
(When you first issue the CONNECT)
103 W( command, a message \050on some systems, an inverse video "mode line"\051 will)102 W
6120 10614 MT
(display the most important facts)
40 W( about the connection you've just established, so that you can quickly diagnose any)41 W
6120 11810 MT
(problems. Here's)
250 W( what the IBM PC mode line looks like:)SH
/Courier SF
7320 13465 MT
(Esc-chr:^] help:^]? port:1 speed:9600 parity:odd echo:rem VT102 .... PRN)SH
/Times-Roman SF
6120 15182 MT
(This shows)
251 W( that the escape character is Ctrl-Rightbracket, that you would type Ctrl-rightbracket followed by)250 W
6120 16378 MT
(question mark \050``)114 W
/Courier SF
(^]?)SH
/Times-Roman SF
(''\051 to get help during CONNECT, that you are connected on)
114 W( port 1 at 9600 baud with odd)115 W
6120 17574 MT
(parity and remote echo, and that a VT102 terminal is being emulated.  The four dots represent)
88 W( the VT102s LEDs)87 W
6120 18770 MT
(\050they turn into the)
361 W( digits 1,2,3,4 when "lit"\051 and PRN will show up if the printer is activated \050e.g. by)362 W
6120 19966 MT
(Ctrl-PrintScreen\051.)SH
6120 22358 MT
(The mode)
102 W( line may be turned on and off using SET MODE, or the CONNECT escape character followed by the)101 W
6120 23554 MT
(letter M.)SH
12 /Times-Bold AF
6120 26142 MT
(Screen Rollback)SH
10 /Times-Roman AF
6120 27556 MT
(On the IBM PC)
148 W( and some other systems \050see Table 1-7\051, Kermit-MS provides several pages of screen memory)149 W
6120 28752 MT
(which let)
17 W( you recall earlier terminal screens.  These may be scrolled up and down using keys as shown in Table 1-8.)16 W
6120 29948 MT
(For instance, the IBM PC uses)
24 W( PgUp \050previous screen\051, PgDn \050next screen\051, Ctrl-PgUp and Ctrl-PgDn \050one line at a)25 W
6120 31144 MT
(time\051, Home \050top of)
5 W( screen memory\051, and End \050bottom of screen memory\051.  Lines that scroll off the top of the screen)4 W
6120 32340 MT
(are saved.  When an application)
67 W( clears the screen using a recognized screen-clear sequence \050ESC [ 2 J\051, the whole)68 W
6120 33536 MT
(screen is saved.  The screen scrolling functions may be assigned to different keys with the SET KEY command.)SH
6120 35928 MT
(If you have rolled the screen back and a new character must be displayed, it will)
120 W( normally appear at the current)119 W
6120 37124 MT
(cursor position on the old screen.)
41 W( This)
333 W( is useful when you are trying to copy something from a previous screen.  If)42 W
6120 38320 MT
(you wish new characters to appear in)
76 W( their proper place on the "newest" screen, you can SET TERMINAL ROLL)75 W
6120 39516 MT
(ON.)SH
6120 41908 MT
(The number of lines in the roll back buffer depends on the machine,)
208 W( 10 full screens for IBM PCs and DEC)209 W
6120 43104 MT
(Rainbows, and on the amount of memory available in the machine. Each screen)
93 W( needs 4KB on IBM PCs. Denser)92 W
6120 44300 MT
(displays receive fewer roll back lines.)SH
12 /Times-Bold AF
6120 46888 MT
(Screen Dump)SH
10 /Times-Roman AF
6120 48302 MT
(The screen dump feature writes the contents of the current screen to a file \050)79 W
/Courier SF
(KERMIT.SCN)SH
/Times-Roman SF
43546 XM
(unless another file was)79 W
6120 49498 MT
(selected by the SET DUMP command\051 when the CONNECT escape-level command F is typed.)
64 W( The)
377 W( screen dump)63 W
6120 50694 MT
(file is appended to on each successive screen dump, with each screen separated by a formfeed \050Ctrl-L\051.  This)
15 W( feature)16 W
6120 51890 MT
(may be used in conjunction with screen rollback -- a handy way to recapture screenfuls of laboriously)
42 W( typed-in text)41 W
6120 53086 MT
(after a remote host has crashed without saving your work.  The corresponding action verb is)
33 W( "dump".  Screen dump)34 W
6120 54282 MT
(does not function when in Tektronix graphics mode;)
40 W( instead one of many graphics screen capture programs may be)39 W
6120 55478 MT
(used independently commonly via the DOS Shift PrtSc key combination or by LOGging the incoming byte stream.)SH
6120 57870 MT
(A screen dump differs from a session log in two ways.  First, each desired screen must be manually)
150 W( filed, and)151 W
6120 59066 MT
(second, the screen dump file has been stripped)
55 W( of any escape sequences, whereas the session log records them \050see)54 W
6120 60262 MT
(LOG SESSION\051.)SH
12 /Times-Bold AF
6120 62850 MT
(Printer Control)SH
10 /Times-Roman AF
6120 64264 MT
(During terminal emulation, a locally attached printer may be controlled)
128 W( in the normal manner, on most systems.)129 W
6120 65460 MT
(Pushing the)
37 W( "Print Screen" key \050shifted on some systems\051 will cause the current contents of the screen to be printed)36 W
6120 66656 MT
(by DOS; holding down Ctrl while depressing Print Screen will)
81 W( alternately start and stop the spooling of incoming)82 W
6120 67852 MT
(characters to the printer.  On the IBM PC, the mode line will)
8 W( show PRN when the printer is activated in this manner.)7 W
/Courier SF
6120 69048 MT
(^P)SH
/Times-Roman SF
7635 XM
(or)SH
/Courier SF
8783 XM
(^N)SH
/Times-Roman SF
10298 XM
(are sent to the host during terminal emulation)
65 W( and do not toggle printing as they do when you're talking)66 W
6120 70244 MT
(directly to DOS.  CTRL-Print-Screen can be simulated with the Kermit-MS LOG PRN and)
137 W( CLOSE commands.)136 W
6120 71440 MT
(VT102 \050ANSI\051 style host-controlled transparent printing is also supported on the IBM PC.)
83 W( See)
417 W( section 1.18.6 for)84 W
ES
%%Page: 23 24
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.3. COMMANDS FOR TERMINAL CONNECTION)SH
10 /Times-Italic AF
51775 XM
(Page 23)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(technical information about MS-Kermit's printer control.)SH
8280 10278 MT
(Unix users may use the following shell script to print files on a locally attached printer:)SH
/Courier SF
10680 11933 MT
(#!/bin/sh)SH
10680 12964 MT
(# pcprint)SH
10680 13995 MT
(# usage: pcprint file\050s\051)SH
10680 15026 MT
(# or)
600 W( <any UNIX process that writes to standard output> | pcprint)SH
10680 16057 MT
(#)SH
10680 17088 MT
(echo -n '<ESC>[5i')SH
10680 18119 MT
(if [ $# -eq 0 ]; then)SH
11880 19150 MT
(cat)SH
10680 20181 MT
(else)SH
11880 21212 MT
(cat $*)SH
10680 22243 MT
(fi)SH
10680 23274 MT
(echo -n '<ESC>[4i')SH
/Times-Roman SF
8280 24991 MT
(Note that ")SH
/Courier SF
(<ESC>)SH
/Times-Roman SF
(" above should be replaced by a real Escape, ASCII character 27.)SH
12 /Times-Bold AF
8280 27579 MT
(Graphics)SH
10 /Times-Roman AF
8280 28993 MT
(MS-Kermit on the IBM PC, compatibles, and several other systems, is capable of emulating a Tektronix 4010)177 W
8280 30189 MT
(graphics terminal, for)
147 W( use with host-based software that can generate Tektronix control codes.  When you enter)148 W
8280 31385 MT
(Tektronix emulation, your cursor will disappear.  Don't be alarmed, this is how Tektronix terminals behave.)SH
8280 33777 MT
(The Tektronix)
52 W( emulator implements a mixture of Tek 4010 and 4014 features to draw characters, lines, and dots in)51 W
8280 34973 MT
(graphics mode.  These Tektronix)
122 W( terminals have a graphics display 780 dots high by 1024 dots wide.  They use)123 W
8280 36169 MT
(storage tube technology whereby a dot stays illuminated until the full screen is erased.  They also lack)
47 W( cursor keys.)46 W
8280 37365 MT
(Kermit's Tek emulator maps the 1024 by 780 dot display to the PC's current screen dimensions,)
48 W( say 640 across by)49 W
8280 38561 MT
(200 or 350 dots high, and retains)
66 W( limited use of the cursor keys.  It automatically senses the active display adapter)65 W
8280 39757 MT
(\050EGA, CGA, Hercules, Mono, and AT&T/Olivetti style 640x400\051 and retains screen)
11 W( coloring \050EGA\051 and the current)12 W
8280 40953 MT
(graphics image \050EGA and Hercules\051 if the adapter has)
157 W( sufficient memory.  Automatic sensing can be manually)156 W
8280 42149 MT
(overriden to select a particular display mode, such as VGA)
62 W( \050640x480\051, by SET TERMINAL GRAPHICS <display)63 W
8280 43345 MT
(type>. Pure monochrome systems, of course, lack a)
213 W( graphics capability; in this case Kermit approximates the)212 W
8280 44541 MT
(graphic image by writing dots as plus signs.)SH
8280 46933 MT
(Tektronix graphics mode is entered two different ways, automatically and voluntarily:)SH
10280 48724 MT
(1.)SH
11280 XM
(Automatically \050which you can prevent)
39 W( via the Kermit command DISABLE TEK\051.  While emulating a)40 W
11280 49829 MT
(VT102, VT52, or Heath-19,)
39 W( reception of the byte pair ESCAPE Control-L causes the PC to change to)38 W
11280 50934 MT
(graphics mode, clear the screen, and obey new)
120 W( input as Tektronix commands.  A second automatic)121 W
11280 52039 MT
(entry is reception of the escape sequence ``)24 W
/Courier SF
(ESC [ ? 3 8 h)24 W
/Times-Roman SF
('' which does the same as above)
24 W( except)23 W
11280 53144 MT
(the screen is not cleared.  Automatic mode is exited by either reception of)
424 W( Control-X or)425 W
11280 54249 MT
(``)SH
/Courier SF
(ESC [ ? 3 8 l)259 W
/Times-Roman SF
('' \050lower case L\051,)
259 W( or by toggling the terminal type \050ALT minus, Kermit)258 W
11280 55354 MT
(verb)SH
/Courier SF
(\134KTermtype)SH
/Times-Roman SF
(\051 to VT102, or something other than TEK.  \050These ``)187 W
/Courier SF
(ESC [ ? 3 8 h/l)187 W
/Times-Roman SF
('')SH
11280 56459 MT
(sequences derive from the DEC VT340 terminal.\051)SH
10280 58669 MT
(2.)SH
11280 XM
(Voluntary mode is when terminal type TEK4010 is selected by the Kermit)
406 W( command SET)405 W
11280 59774 MT
(TERMINAL TEK4010)
245 W( or by toggling to it using Alt-Minus.  It is exited by SET TERMINAL)246 W
11280 60879 MT
(another-kind or by toggling to another kind.  ENABLE or DISABLE)
155 W( TEK and the exit-Tek-mode)154 W
11280 61984 MT
(escape sequences are not applicable to voluntary mode.)SH
8280 64376 MT
(Here are several common questions about Tek mode, and their answers:)SH
10280 66167 MT
(1.)SH
/Times-Italic SF
11280 XM
("How do I escape from graphics mode back)
44 W( to being a regular terminal?")45 W
/Times-Roman SF
42018 XM
(Within CONNECT mode,)45 W
11280 67272 MT
(you can type the)23 W
/Courier SF
18204 XM
(\134KTermtype)SH
/Times-Roman SF
24477 XM
(key, which is assigned)
23 W( by default to Alt-Minus.  Repeated pressing of)22 W
11280 68377 MT
(this key "toggles" among Kermit's)
60 W( terminal types, VT102, VT52, Heath-19, and Tektronix.  You can)61 W
11280 69482 MT
(also escape back to)
94 W( Kermit-MS command level and issue an explicit SET TERMINAL command to)93 W
11280 70587 MT
(change the terminal type.)SH
ES
%%Page: 24 25
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 24)SH
12 /Times-Bold AF
29685 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.3)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
8120 7886 MT
(2.)SH
/Times-Italic SF
9120 XM
("How can I return to the graphics screen without erasing it?")7 W
/Times-Roman SF
34377 XM
(The graphics screen is preserved if your)8 W
9120 8991 MT
(graphics adapter has sufficient)
159 W( memory \050see Table 1-5\051.  In this case, both your text and graphics)158 W
9120 10096 MT
(screens will be preserved)
70 W( when you toggle back and forth between a character terminal \050e.g. VT102\051)71 W
9120 11201 MT
(and Tektronix.)SH
8120 13411 MT
(3.)SH
/Times-Italic SF
9120 XM
("How do I erase the graphics screen?")52 W
/Times-Roman SF
25596 XM
(You can)
52 W( type the)51 W
/Courier SF
32855 XM
(\134KReset)SH
/Times-Roman SF
37356 XM
(key, which is normally assigned)51 W
9120 14516 MT
(to Alt-=.  The screen also clears if the host sends a Control-L or ESC Control-L.)SH
8120 16726 MT
(4.)SH
/Times-Italic SF
9120 XM
("How do I print or save the graphics screen?")16 W
/Times-Roman SF
28285 XM
(Kermit does not currently provide a)
16 W( way to do this, but)17 W
9120 17831 MT
(you can load drivers like)SH
/Courier SF
19257 XM
(GRAPHICS.COM)SH
/Times-Roman SF
26707 XM
(alongside Kermit for this purpose.)SH
6120 20223 MT
(While acting as a Tek terminal Kermit uses the)
53 W( keyboard translation appropriate to the VT102 terminal.  However,)52 W
6120 21419 MT
(received escape sequences are interpreted by the Tek emulator and VT102 escape codes are inoperative.)
74 W( The)
399 W( Tek)75 W
6120 22615 MT
(emulator absorbs the ESCAPE and following character and treats any additional unknown items as ordinary text.)SH
6120 25007 MT
(The emulator can display text characters from a built-in 8-by-8 dot font for characters Space)
92 W( through DELete \050no)91 W
6120 26203 MT
(control codes nor special characters\051.  Tabs are converted to single spaces. Only the low 7 bits of the)
60 W( character are)61 W
6120 27399 MT
(used.)SH
6120 29791 MT
(While in Tek mode the emulator behaves as a simple TTY device for ordinary text and as a line or)
114 W( dot drawing)113 W
6120 30987 MT
(Tektronix device for commands listed in Table 1-10.  The screen)
4 W( resolution is governed by the kind of active display)5 W
6120 32183 MT
(adapter and monitor)
197 W( in the PC \050Table 1-5\051.  Kermit senses this automatically when graphics mode is entered.)196 W
6120 33379 MT
(Graphics are saved on page one of screen memory.)
26 W( Coloring)
303 W( is determined by the current terminal status, either the)27 W
6120 34575 MT
(default screen or that overridden by the command SET TERMINAL COLOR.)SH
46800 50 6120 36566 UL
6120 39300 MT
(Display Adapter)SH
16920 XM
(Display)SH
27720 XM
(Mode)SH
33120 XM
(Screen Resolution and Coloring)SH
6582 50 6120 39500 UL
3111 50 16920 39500 UL
2333 50 27720 39500 UL
12805 50 33120 39500 UL
6120 40405 MT
(VGA)SH
16920 XM
(Hi res color)SH
27720 XM
(18)SH
33120 XM
(640x480, graphics saved \050407 lines\051,)SH
33370 42615 MT
(16 colors.)SH
6120 43720 MT
(VGA)SH
16920 XM
(Monochrome)SH
27720 XM
(17)SH
33120 XM
(640x480, graphics saved \050407 lines\051)SH
6120 44825 MT
(EGA w/256KB)SH
16920 XM
(Hi res color)SH
27720 XM
(16 dec)SH
33120 XM
(640x350, graphics saved, 16 colors.)SH
16920 45930 MT
(Med res color)SH
27720 XM
(14)SH
33120 XM
(640x200, graphics saved, 8 colors.)SH
16920 47035 MT
(Monochrome)SH
27720 XM
(15)SH
33120 XM
(640x350, graphics saved, b/w.)SH
6120 48140 MT
(EGA w/64KB)SH
16920 XM
(Hi res color)SH
27720 XM
(16)SH
33120 XM
(640x350, graphics not saved,)SH
33370 49245 MT
(4 colors of red, white, blue, black.)SH
16920 50350 MT
(Med res color)SH
27720 XM
(14)SH
33120 XM
(640x200, graphics saved, 8 colors.)SH
16920 51455 MT
(Monochrome)SH
27720 XM
(15)SH
33120 XM
(640x350, graphics not saved.)SH
6120 52560 MT
(CGA)SH
16920 XM
(Color)SH
27720 XM
(6)SH
33120 XM
(640x200, graphics not saved, b/w.)SH
6120 53665 MT
(Hercules)SH
16920 XM
(Monochrome)SH
27720 XM
(none)SH
33120 XM
(720x348, graphics saved if memory.)SH
6120 54770 MT
(Monochrome)SH
16920 XM
(Monochrome)SH
27720 XM
(7)SH
33120 XM
(80 by 25 text, graphics not saved.)SH
6120 55875 MT
(AT&T/Olivetti)SH
16920 XM
(any)SH
27720 XM
(72)SH
33120 XM
(640x400, grahics not saved, b/w.)SH
6120 56980 MT
(DEC VAXMATE)SH
16920 XM
(any)SH
27720 XM
(208)SH
33120 XM
(640x400, graphics not saved, b/w.)SH
6120 58085 MT
(TOSHIBA T3100)SH
16920 XM
(any)SH
27720 XM
(116)SH
33120 XM
(640x400, graphics not saved, b/w.)SH
/Times-Bold SF
13229 59695 MT
(Table 1-5:)SH
/Times-Roman SF
18090 XM
(Adapters Supported by IBM PC MS-Kermit for Tektronix Emulation)SH
46800 50 6120 61505 UL
6120 63697 MT
(The technical details of Tektronix emulation are presented in section 1.17.7.)SH
ES
%%Page: 25 26
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.3. COMMANDS FOR TERMINAL CONNECTION)SH
10 /Times-Italic AF
51775 XM
(Page 25)SH
46800 50 8280 5709 UL
12 /Times-Bold AF
8280 8004 MT
(1.6.4. COMMANDS FOR FILE TRANSFER)SH
10 /Times-Roman AF
8280 9946 MT
(MS-Kermit's SEND, GET,)
11 W( and RECEIVE invoke the Kermit file transfer protocol for error-checked transmission of)10 W
8280 11142 MT
(files between MS-Kermit and another Kermit program on the other end of the)
3 W( connection.  There are also commands)4 W
8280 12338 MT
(for "raw" transfer of files \050no error checking\051)
77 W( with systems that don't have Kermit programs: LOG SESSION \050for)76 W
8280 13534 MT
(capturing text files on your PC\051 and TRANSMIT \050for uploading text files to the remote system\051.  The LOG)216 W
8280 14730 MT
(TRANSACTION command opens a file to record the status, time, date, names, sizes of each file transfer.)SH
8280 17122 MT
(During file transfer, MS-Kermit normally displays its progress on the screen)
56 W( as shown in Figure 1-1.  The items in)55 W
8280 18318 MT
(the right-hand column are updated more or less at random.  The percent done is)
29 W( always filled in when sending files,)30 W
8280 19514 MT
(and when receiving if the other Kermit sends the file's size in a special file-attribute)
45 W( packet.  The number of retries)44 W
8280 20710 MT
(indicates how many times)
166 W( Kermit had to correct transmission errors.  Several other file transfer display format)167 W
8280 21906 MT
(options are also available; see SET DISPLAY.)SH
46800 50 8280 23897 UL
/Courier SF
17280 26676 MT
(Kermit-MS: V2.32  11 Dec 1988)SH
17280 28738 MT
(File name: FOT.)SH
11880 29769 MT
(KBytes transferred: 7)SH
11280 30800 MT
(Percent transferred: 52%)SH
18480 31831 MT
(Sending: In progress)SH
12480 33893 MT
(Number of packets: 74)SH
14880 34924 MT
(Packet length: 93)SH
12480 35955 MT
(Number of retries: 2)SH
16680 36986 MT
(Last error: None)SH
15480 38017 MT
(Last warning: None)SH
/Times-Bold SF
20862 39734 MT
(Figure 1-1:)SH
/Times-Roman SF
26111 XM
(MS-Kermit File Transfer Display Screen)SH
46800 50 8280 41544 UL
8280 43736 MT
(Although MS-Kermit makes no distinction)
320 W( between text and binary files, most other Kermit programs do.)319 W
8280 44932 MT
(Therefore, before you attempt to transfer binary files with another type of system \050say, a VAX, or an)
244 W( IBM)245 W
8280 46128 MT
(mainframe\051, be sure to give the appropriate command -- usually)
43 W( SET FILE TYPE BINARY -- to the Kermit on the)42 W
8280 47324 MT
(remote end.  Kermit-MS itself neither has nor needs the command)
65 W( SET FILE TYPE, because the MS-DOS format)66 W
8280 48520 MT
(for text files is exactly the same as Kermit's text-file transfer format, which means that MS-Kermit never needs to)65 W
8280 49716 MT
(convert file data, no matter whether it be text or binary.)SH
8280 52108 MT
(File transfers involving floppy disks will be slow)
90 W( and noisy.  Hard disks are much faster \050and quieter\051, and RAM)91 W
8280 53304 MT
(disks faster still \050and totally silent\051.  But if you store new files on a)
47 W( RAM disk, be sure to move them to a real disk)46 W
8280 54500 MT
(before turning off your PC.)SH
8280 56892 MT
(Before attempting to transfer files to the PC, make sure you)
26 W( have enough room on the selected device.  Kermit does)27 W
8280 58088 MT
(not provide a way for you to change disks during a file transfer.  However, the Kermit protocol will)
47 W( help you out a)46 W
8280 59284 MT
(little bit by attempting to prevent transfer of files that are)
40 W( too big to fit in the available space.  As of version)41 W
/Courier SF
52430 XM
(2.31)SH
/Times-Roman SF
(,)SH
8280 60480 MT
(MS-Kermit supports "file attributes")
73 W( exchange, and if the other Kermit supports this option too, then the receiving)72 W
8280 61676 MT
(program will check free disk space before letting the transfer proceed.)
111 W( MS-Kermit)
474 W( allows a margin of 6 percent)112 W
8280 62872 MT
(inflation upon reception, because file construction differs markedly between)
86 W( systems.  A multiple-file transfer can)85 W
8280 64068 MT
(even skip automatically past files that are too big, allowing the little ones to pass though.)SH
8280 66460 MT
(Other attributes exchanged by MS-Kermit include the file's creation date and)
29 W( time, and the system of origin.  When)30 W
8280 67656 MT
(two Kermit programs both have attribute capability, then files will be stored with the same timestamp)
201 W( on the)200 W
8280 68852 MT
(receiving system as they had on the sending system.)SH
8280 71244 MT
(Since exchange of attributes is a new feature)
23 W( to MS-Kermit, and a relatively scarce one elsewhere, it is possible that)24 W
ES
%%Page: 26 27
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 26)SH
12 /Times-Bold AF
29685 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.4)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(two Kermit programs might misunderstand each other because of differing interpretations by the)
44 W( programmers, and)43 W
6120 9082 MT
(this could prevent otherwise normal file transfers from taking place.  An escape clause is provided by the)
31 W( command)32 W
6120 10278 MT
(SET ATTRIBUTES OFF, which makes MS-Kermit forget that it has attribute capability.)SH
6120 12670 MT
(You may record the progress of a file transfer in a log file by issuing the command LOG TRANSACTIONS.)SH
12 /Times-Bold AF
6120 15258 MT
(The SEND Command)SH
10 /Times-Roman AF
6120 16672 MT
(Syntax:)SH
/Courier SF
9676 XM
(SEND)SH
/Times-Italic SF
12326 XM
(filespec1)SH
/Times-Roman SF
16131 XM
([)SH
/Times-Italic SF
(filespec2)SH
/Times-Roman SF
(])SH
6120 19064 MT
(The SEND)
120 W( command causes a file or file group to be sent from the local MS-DOS system to the Kermit on the)119 W
6120 20260 MT
(remote system.)
122 W( The)
495 W( remote Kermit may be running in server or interactive mode; in the latter case, you should)123 W
6120 21456 MT
(already have given it a RECEIVE command and escaped back to your PC.  S is a special)
66 W( non-unique abbreviation)65 W
6120 22652 MT
(for SEND.)SH
/Times-Italic SF
6120 25044 MT
(filespec1)SH
/Times-Roman SF
10031 XM
(may contain the  wildcard characters ``)106 W
/Courier SF
(*)SH
/Times-Roman SF
('' to match zero or more characters within a field, and/or ``)107 W
/Courier SF
(#)SH
/Times-Roman SF
('')SH
6120 26240 MT
(\050first position\051 or ``)42 W
/Courier SF
(?)SH
/Times-Roman SF
('' \050elsewhere\051 to match any single character \050a question mark in)
42 W( first position gives you a help)41 W
6120 27436 MT
(message\051. If)586 W
/Times-Italic SF
12011 XM
(filespec1)SH
/Times-Roman SF
15984 XM
(contains wildcard characters then all matching files will)
168 W( be sent, in the same order that)169 W
6120 28632 MT
(MS-DOS would show them in a directory listing.  If)56 W
/Times-Italic SF
27817 XM
(filespec1)SH
/Times-Roman SF
31677 XM
(specifies a single file, you may direct Kermit-MS to)55 W
6120 29828 MT
(send that file with a different name, given in)SH
/Times-Italic SF
24117 XM
(filespec2)SH
/Times-Roman SF
(, as in:)SH
/Courier SF
8520 31483 MT
(Kermit-MS>send foo.bar framus.widget)SH
15600 50 14520 31683 UL
/Times-Italic SF
6120 33200 MT
(filespec2)SH
/Times-Roman SF
10095 XM
(begins with the first nonblank character after)170 W
/Times-Italic SF
29475 XM
(filespec1)SH
/Times-Roman SF
33450 XM
(and ends with the carriage return; thus)
170 W( it may)171 W
6120 34396 MT
(contain blanks or other unusual characters that may be appropriate on the target machine.  The)
90 W( alphabetic case of)89 W
6120 35592 MT
(text in)169 W
/Times-Italic SF
9236 XM
(filespec2)SH
/Times-Roman SF
13210 XM
(is preserved in transmission, so if)
169 W( case matters on the target system, be sure to type)170 W
/Times-Italic SF
49365 XM
(filespec2)SH
/Times-Roman SF
6120 36788 MT
(appropriately.)SH
6120 39180 MT
(If the)
1 W( SEND command is specified by itself on the command line, then you will be prompted separately for the name)SH
6120 40376 MT
(of the file to send, and the name to send it under:)SH
/Courier SF
8520 42031 MT
(Kermit-MS>send)SH
2400 50 14520 42231 UL
9120 43062 MT
(Local Source File: c:\134stuff\134xcom1.txt)SH
10800 50 20520 43262 UL
9120 44093 MT
(Remote Destination File: com1.txt)SH
4800 50 24120 44293 UL
/Times-Roman SF
6120 46485 MT
(If a file can't be)
163 W( opened for read access, the message "Unable to find file" will be shown or else the standard)164 W
6120 47681 MT
(MS-DOS recovery procedures will take place:)SH
/Courier SF
8520 49336 MT
(Not ready error reading drive A)SH
8520 50367 MT
(Abort, Retry, Ignore?)SH
/Times-Roman SF
6120 52084 MT
(Kermit remains active even if you select "Abort" \050DOS's word, not ours\051.)SH
6120 54476 MT
(Files will)
202 W( be sent with their MS-DOS filename and filetype \050for instance)201 W
/Courier SF
37752 XM
(FOO.TXT)SH
/Times-Roman SF
(, no device or pathname\051.)201 W
6120 55672 MT
(Special characters in the file name are)
7 W( not converted.  If there is no filetype, then only the name will be sent, without)8 W
6120 56868 MT
(the terminating dot.  Each file is sent as is, with no)
56 W( conversions done on the data, except for possibly stopping at a)55 W
6120 58064 MT
(terminating Control-Z character \050see the SET EOF command\051.)SH
6120 60456 MT
(Once you give Kermit-MS the SEND command, the)
153 W( name of each file will be displayed on your screen as the)154 W
6120 61652 MT
(transfer begins.  Packet, retry, and other counts will be displayed along with informational messages)
146 W( during the)145 W
6120 62848 MT
(transfer, in the style specified by)
9 W( SET DISPLAY.  If the file is successfully transferred, you will see ``)10 W
/Courier SF
(Complete)SH
/Times-Roman SF
('',)SH
6120 64044 MT
(otherwise there will be an error message.  When the specified operation is done, the program will sound a beep.)SH
6120 66436 MT
(Several single-character commands may be given while a file transfer is in progress:)SH
/Courier SF
7120 68227 MT
(^X)SH
/Times-Roman SF
9120 XM
(\050Control-X\051 Stop sending the current file and go on to the next one, if any.)SH
/Courier SF
7120 69804 MT
(^Z)SH
/Times-Roman SF
9120 XM
(Stop sending this file, and don't send any further files.)SH
/Courier SF
7120 71381 MT
(^C)SH
/Times-Roman SF
9120 XM
(Return to Kermit-MS command level immediately without sending any kind of notification)
121 W( to the remote)120 W
ES
%%Page: 27 28
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.4. COMMANDS FOR FILE TRANSFER)SH
10 /Times-Italic AF
51775 XM
(Page 27)SH
46800 50 8280 5709 UL
/Times-Roman SF
11280 7886 MT
(system. \050)250 W
/Courier SF
(^Z)SH
/Times-Roman SF
16591 XM
(or even)SH
/Courier SF
19812 XM
(^E)SH
/Times-Roman SF
21262 XM
(is preferable.\051)SH
/Courier SF
9280 9463 MT
(^E)SH
/Times-Roman SF
11280 XM
(Like)SH
/Courier SF
13389 XM
(^C)SH
/Times-Roman SF
(, but send an Error packet to the remote Kermit in an attempt to bring)
26 W( it back to server or interactive)27 W
11280 10568 MT
(command level.)SH
/Courier SF
9280 12145 MT
(CR)SH
/Times-Roman SF
11280 XM
(Simulate a timeout: resend the current packet, or NAK the expected one.)SH
8280 14537 MT
(Control-X, Control-Z, and Control-E send the proper protocol messages to the remote Kermit to)
54 W( bring it gracefully)53 W
8280 15733 MT
(to the desired state.  Control-C leaves the remote Kermit in whatever)
319 W( state it happens to be in, possibly)320 W
8280 16929 MT
(retransmitting its last packet over and)
117 W( over, up to its retry limit.  You should only have to use Control-C in dire)116 W
8280 18125 MT
(emergencies \050the remote Kermit is stuck,)
89 W( the remote system crashed, etc\051, or at those times when you realize that)90 W
8280 19321 MT
(you have given a file transfer command to Kermit-MS without first having told the remote Kermit about it.)SH
8280 21713 MT
(MS-Kermit does not have a built-in mechanism for sending an entire directory)
59 W( structure, but this may still be done)58 W
8280 22909 MT
(using command files.  A program called XSEND, distributed along with)
3 W( MS-Kermit, will construct such a command)4 W
8280 24105 MT
(file automatically.)SH
12 /Times-Bold AF
8280 26693 MT
(The RECEIVE Command)SH
10 /Times-Roman AF
8280 28107 MT
(Syntax:)SH
/Courier SF
11586 XM
(RECEIVE [)SH
/Times-Italic SF
(filespec)SH
/Courier SF
(])SH
/Times-Roman SF
8280 30499 MT
(The RECEIVE command tells Kermit-MS to receive a file or file group from)
81 W( the other system.  The file is stored)80 W
8280 31695 MT
(under the name it was transmitted with, except that any illegal characters are translated to)
232 W( X's.  Kermit-MS)233 W
8280 32891 MT
(passively waits for the file to arrive; this command is not to be used when talking to a Kermit server)
57 W( \050use GET for)56 W
8280 34087 MT
(that\051. You)
472 W( should already have issued a SEND command to the remote Kermit and)
111 W( escaped back to Kermit-MS)112 W
8280 35283 MT
(before issuing the RECEIVE command.  The RECEIVE command is intended for situations where the file name)
5 W( and)4 W
8280 36479 MT
(sending operation originates at the other side; GET originates the request from)
171 W( our side and asks the server to)172 W
8280 37675 MT
(perform the operation.  R is a special non-unique abbreviation for RECEIVE.)SH
8280 40067 MT
(If the optional filespec is provided, incoming files will be stored)
17 W( under that name.  If the filespec is really just a path)16 W
8280 41263 MT
(then files are stored where the)
60 W( path indicates.  If it is an actual filename the first incoming file is renamed and any)61 W
8280 42459 MT
(additional files either overwrite the first \050if FILE WARNING is OFF\051 or)
141 W( are renamed slightly from the filespec)140 W
8280 43655 MT
(\050digits are added to the end of the main filename part before the dot and extension\051 if FILE WARNING)
45 W( is ON \050the)46 W
8280 44851 MT
(default\051. The filespec may include any combination of the following fields:)SH
/Times-Italic SF
9280 46640 MT
(Device designator)SH
/Times-Roman SF
11280 47745 MT
(Store the file on the designated device, in the current)
102 W( directory for that device.  If no device designator is)103 W
11280 48850 MT
(given, store it on the current default device.)SH
/Times-Italic SF
9280 50427 MT
(Directory path)SH
/Times-Roman SF
11280 51532 MT
(Store the file in the designated directory on the current disk.  If no)
87 W( path given, store the file in the current)88 W
11280 52637 MT
(directory.)SH
/Times-Italic SF
9280 54214 MT
(File name)SH
/Times-Roman SF
11280 55319 MT
(Store the file under the name given.)
207 W( If)
666 W( no name is given, store it under the name it was sent under,)208 W
11280 56424 MT
(converted, if necessary, to)
346 W( suit DOS conventions, and modified, if SET WARNING ON, to avoid)345 W
11280 57529 MT
(overwriting any file of the same name in the same directory.)SH
8280 59921 MT
(If an incoming file)
48 W( does not arrive in its entirety, Kermit-MS will normally discard it and it will not appear in your)49 W
8280 61117 MT
(directory. You)
394 W( may change this behavior by using the command SET INCOMPLETE KEEP, which will)
72 W( cause as)71 W
8280 62313 MT
(much of the file as arrived to be saved on the disk.)SH
8280 64705 MT
(The same single-character commands are available as during SEND:)SH
/Courier SF
9280 66496 MT
(^X)SH
/Times-Roman SF
11280 XM
(Request that the remote Kermit stop sending)
4 W( the current file, and proceed to the next one immediately.  Since)5 W
11280 67601 MT
(this is an optional feature of the Kermit protocol, the remote Kermit might not honor the request.)SH
/Courier SF
9280 69178 MT
(^Z)SH
/Times-Roman SF
11280 XM
(Request that the remote Kermit terminate the entire transfer; this is)
36 W( also an optional feature that may or may)35 W
11280 70283 MT
(not be supported by the remote Kermit.)SH
/Courier SF
9280 71860 MT
(^C)SH
/Times-Roman SF
(,)SH
/Courier SF
11015 XM
(^E)SH
/Times-Roman SF
(, and)35 W
/Courier SF
14479 XM
(CR)SH
/Times-Roman SF
15965 XM
(operate in the same way as they do during SEND.  In this case,)36 W
/Courier SF
41909 XM
(^E)SH
/Times-Roman SF
43395 XM
(should always do what)36 W
/Courier SF
52927 XM
(^Z)SH
/Times-Roman SF
54413 XM
(is)SH
ES
%%Page: 28 29
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 28)SH
12 /Times-Bold AF
29685 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.4)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
9120 7886 MT
(supposed to do.)SH
6120 9677 MT
(If WARNING is OFF and you type)5 W
/Courier SF
20570 XM
(^X)SH
/Times-Roman SF
22025 XM
(or)SH
/Courier SF
23113 XM
(^Z)SH
/Times-Roman SF
24568 XM
(to interrupt the transfer, you'll either get a partial new file, or else both)4 W
6120 10873 MT
(the old and the new file of that name will be lost, depending on SET INCOMPLETE.  In any case, when)250 W
6120 12069 MT
(WARNING is off, old files with the same name as incoming files will not survive.)SH
/Times-Italic SF
6120 14461 MT
(Caution:)SH
/Times-Roman SF
9930 XM
(If an)
4 W( incoming file's name \050the part before the dot\051 corresponds to an MS-DOS device name, such as NUL,)3 W
6120 15657 MT
(COM1, CON, AUX, or PRN, output will go to that device, rather than to a file with that name.  This)
38 W( is a feature of)39 W
6120 16853 MT
(MS-DOS.)SH
12 /Times-Bold AF
6120 19969 MT
(1.6.5. Hints for Transferring Large Files)SH
10 /Times-Roman AF
6120 21911 MT
(During a prolonged file transfer session, things can)
135 W( go wrong that are beyond Kermit's control.  The longer the)134 W
6120 23107 MT
(session, the greater the probability it will be fatally interrupted.  But you can take a few precautions:)SH
/Symbol SF
7910 25012 MT
(\267)SH
/Times-Roman SF
8620 XM
(Make sure there is sufficient disk space at the receiving end.)
26 W( If)
303 W( possible, first run a disk utility \050such as)27 W
8620 26117 MT
(CHKDSK\051 to clean out any bad disk blocks.)SH
/Symbol SF
7910 28106 MT
(\267)SH
/Times-Roman SF
8620 XM
(If you are using)
86 W( a telephone connection, make sure your session won't be interrupted by call waiting,)85 W
8620 29211 MT
(people picking up other extensions, etc.)SH
/Symbol SF
7910 31200 MT
(\267)SH
/Times-Roman SF
8620 XM
(Don't attempt to transfer a single file of many)
47 W( megabytes over a telephone connection.  The longer the)48 W
8620 32305 MT
(call, the)
69 W( greater the chance of disconnection \050carrier loss\051.  Although it's a bother, it may save time in)68 W
8620 33410 MT
(the long run to)
11 W( break the file up into smaller pieces, transfer the pieces, and then recombine on the other)12 W
8620 34515 MT
(end.)SH
/Symbol SF
7910 36504 MT
(\267)SH
/Times-Roman SF
8620 XM
(SET INCOMPLETE KEEP on the)
27 W( receiving end, so that if the transfer fails, then the partial file will be)26 W
8620 37609 MT
(retained. Then)
408 W( chop the part that wasn't transferred into a separate file, reconnect, and send it.  Then)79 W
8620 38714 MT
(join the pieces together.)SH
6120 40505 MT
(Consider moving truly massive amounts of data on magnetic media.  "Never understimate the bandwidth of a station)7 W
6120 41701 MT
(wagon full of magnetic tapes!"  \050or diskettes\051.)SH
12 /Times-Bold AF
6120 44817 MT
(1.6.6. Commands for Raw Uploading and Downloading)SH
10 /Times-Roman AF
6120 46759 MT
(MS-Kermit can be used to send files to, or capture files from, remote systems)
105 W( that do not have Kermit programs)106 W
6120 47955 MT
(available. No)
282 W( error checking or correction is done, so the results can very likely)
16 W( contain corrupted characters, spurts)15 W
6120 49151 MT
(of noise, gaps, or extraneous system messages or prompts.  The command for uploading is TRANSMIT,)
111 W( and for)112 W
6120 50347 MT
(downloading LOG SESSION.)SH
6120 52739 MT
(To minimize loss of data during these operations, be)
206 W( sure to SET the FLOW-CONTROL and HANDSHAKE)205 W
6120 53935 MT
(parameters to match the characteristics of the system on the other end.)SH
12 /Times-Bold AF
6120 56523 MT
(The TRANSMIT Command)SH
10 /Times-Roman AF
6120 57937 MT
(Syntax:)SH
/Courier SF
9426 XM
(TRANSMIT)SH
/Times-Italic SF
14826 XM
(filespec)SH
/Courier SF
18481 XM
([)SH
/Times-Italic SF
(prompt-character)SH
/Courier SF
(])SH
/Times-Roman SF
6120 60329 MT
(The TRANSMIT command provides a basic raw upload \050export\051 facility to send straight ASCII text files to the)
20 W( host)21 W
6120 61525 MT
(without packets, error checking,)
80 W( or retransmissions, but using all the currently selected communication parameters)79 W
6120 62721 MT
(for flow control, parity, etc.  Information is read from the disk file a line at a time, sent)
60 W( out the serial port, and the)61 W
6120 63917 MT
(command waits for a single character prompt \050normally linefeed\051 from the host before sending the)
37 W( next file line.  A)36 W
6120 65113 MT
(disk file line ends with carriage-return-linefeed \050CRLF\051, but only the carriage return is sent, just as you only)
88 W( type)89 W
6120 66309 MT
(carriage return at the end of a line, not CR and LF.  Most remote systems will echo the CR and then also supply a)59 W
6120 67505 MT
(LF, which indicates that they have processed the line and are ready for another one.)
79 W( Setting)
410 W( the prompt to binary)80 W
6120 68701 MT
(zero,)SH
/Courier SF
8436 XM
(\1340)SH
/Times-Roman SF
(, makes the TRANSMIT command proceed without waiting)
95 W( for a prompt.  Pressing the local Return key)94 W
6120 69897 MT
(simulates arrival of a prompt character.)SH
ES
%%Page: 29 30
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.6. Commands for Raw Uploading and Downloading)SH
10 /Times-Italic AF
51775 XM
(Page 29)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(Typically, before using this command to upload a file, you would start a text editor \050preferably)
SH( a line-oriented, rather)1 W
8280 9082 MT
(than full-screen, editor\051 on the remote host)
66 W( and put it into text insertion mode.  When the file has been completely)65 W
8280 10278 MT
(transmitted, you would manually enter the required sequence for getting)
78 W( the editor out of text insertion mode, and)79 W
8280 11474 MT
(then make any necessary corrections by hand.  Here's an example for VAX/VMS:)SH
/Courier SF
10680 13189 MT
(Kermit-MS>set flow xon/xoff)SH
/Times-Italic SF
30480 XM
(Set flow control to match VAX/VMS.)SH
10200 50 16680 13389 UL
/Courier SF
10680 14220 MT
(Kermit-MS>connect)SH
/Times-Italic SF
30480 XM
(Connect to VAX.)SH
4200 50 16680 14420 UL
/Courier SF
10680 15251 MT
($ edt foo.txt)SH
/Times-Italic SF
30480 XM
(Start the EDT editor.)SH
6600 50 11880 15451 UL
/Courier SF
10680 16282 MT
(*i)SH
/Times-Italic SF
30480 XM
(Put it into "insert" mode.)SH
600 50 11280 16482 UL
/Courier SF
10680 17313 MT
(^]c)SH
/Times-Italic SF
30480 XM
(Escape back to Kermit-MS.)SH
1800 50 10680 17513 UL
/Courier SF
10680 18344 MT
(Kermit-MS>transmit foo.txt)SH
/Times-Italic SF
30480 XM
(Upload the file a line at a time.)SH
9600 50 16680 18544 UL
/Courier SF
11280 19375 MT
(...)SH
/Times-Italic SF
30480 XM
(The lines are displayed on your screen.)SH
/Courier SF
10680 20406 MT
(Kermit-MS>connect)SH
/Times-Italic SF
30480 XM
(When done, connect back to the VAX.)SH
4200 50 16680 20606 UL
/Courier SF
10680 21437 MT
(^Z)SH
/Times-Italic SF
30480 XM
(Type Ctrl-Z to exit EDT insert mode.)SH
1200 50 10680 21637 UL
/Courier SF
10680 22468 MT
(*exit)SH
/Times-Italic SF
30480 XM
(Exit from EDT to save the file.)SH
2400 50 11280 22668 UL
/Courier SF
10680 23499 MT
($)SH
/Times-Roman SF
8280 25891 MT
(If transmission appears to be)
20 W( stuck, you can wake it up by typing a carriage return on the keyboard.  You can cancel)19 W
8280 27087 MT
(the TRANSMIT command by typing a)
148 W( Control-C.  Control-Z's or other control characters in the file may have)149 W
8280 28283 MT
(adverse effects on the host.  For this reason, you should use)
91 W( TRANSMIT only for files that contain 7-bit printing)90 W
8280 29479 MT
(ASCII characters, spaces, tabs, carriage returns, linefeeds, and possibly formfeeds.)SH
12 /Times-Bold AF
8280 32067 MT
(The LOG SESSION Command)SH
10 /Times-Roman AF
8280 33481 MT
(Syntax:)SH
/Courier SF
11586 XM
(LOG SESSION)SH
/Times-Roman SF
18786 XM
([)SH
/Times-Italic SF
(filespec)SH
/Times-Roman SF
(])SH
8280 35873 MT
(The LOG SESSION command lets)
68 W( you copy the characters that appear on your screen during CONNECT into the)69 W
8280 37069 MT
(specified file on the PC.  You can use this command to)
42 W( download files by displaying \050usually with a command like)41 W
8280 38265 MT
(TYPE\051 the file on the remote system while logging is in effect.  Example:)SH
/Courier SF
10680 39980 MT
(Kermit-MS>set flow xon/xoff)SH
/Times-Italic SF
30480 XM
(Set flow control to match VAX/VMS.)SH
10200 50 16680 40180 UL
/Courier SF
10680 41011 MT
(Kermit-MS>connect)SH
/Times-Italic SF
30480 XM
(Connect to the VAX.)SH
4200 50 16680 41211 UL
/Courier SF
10680 42042 MT
($ type foo.bar)SH
/Times-Italic SF
30480 XM
(Give this command, but don't type CR yet.)SH
7200 50 11880 42242 UL
/Courier SF
10680 43073 MT
(^]c)SH
/Times-Italic SF
30480 XM
(Escape back.)SH
1800 50 10680 43273 UL
/Courier SF
10680 44104 MT
(Kermit-MS>log session foo.bar)SH
/Times-Italic SF
30480 XM
(Start logging.)SH
11400 50 16680 44304 UL
/Courier SF
10680 45135 MT
(Kermit-MS>connect)SH
/Times-Italic SF
30480 XM
(Connect back.)SH
4200 50 16680 45335 UL
30480 46166 MT
(Now type the carriage return.)SH
/Courier SF
10680 47197 MT
(This is the file FOO.BAR.)SH
/Times-Italic SF
30480 XM
(The file is displayed on your screen)SH
/Courier SF
10680 48228 MT
(Blah blah ...)SH
/Times-Italic SF
30480 XM
(and captured into PC file)SH
/Courier SF
41247 XM
(FOO.BAR.)SH
10680 49259 MT
($)SH
/Times-Italic SF
30480 XM
(The prompt is captured too.)SH
/Courier SF
10680 50290 MT
(^]c)SH
/Times-Italic SF
30480 XM
(When done, escape back)SH
1800 50 10680 50490 UL
/Courier SF
10680 51321 MT
(Kermit-MS>close session)SH
/Times-Italic SF
30480 XM
(and close the log file.)SH
7800 50 16680 51521 UL
/Times-Roman SF
8280 53038 MT
(The PC file)193 W
/Courier SF
13720 XM
(FOO.BAR)SH
/Times-Roman SF
18363 XM
(now contains)
193 W( a \050possibly mutilated\051 copy of the remote computer's)194 W
/Courier SF
47354 XM
(FOO.BAR)SH
/Times-Roman SF
51998 XM
(file. It)638 W
8280 54234 MT
(probably has the remote system's prompt at the end, which you can edit)
80 W( out.  The session log can also be used to)79 W
8280 55430 MT
(record typescripts, editing sessions, Tektronix graphics output, or)
48 W( any other output from, or dialog with, the remote)49 W
8280 56626 MT
(computer.)SH
8280 59018 MT
(During terminal emulation, the LOG command records all the characters)
133 W( that arrive from the remote host in the)132 W
8280 60214 MT
(specified file,)
354 W( including escape sequences, with any input character translations applied according to SET)355 W
8280 61410 MT
(TRANSLATION INPUT.)
147 W( If)
542 W( you have SET LOCAL-ECHO ON, the characters you type will also be recorded.)146 W
8280 62606 MT
(Logging may be suspended and resumed within a terminal session)
70 W( with the CONNECT escape-level commands Q)71 W
8280 63802 MT
(and R. The log file will)
50 W( be composed of 7-bit ASCII bytes if \050a\051 PARITY is other than NONE, or \050b\051 DISPLAY is)49 W
8280 64998 MT
(SET to 7.  If DISPLAY is 8 and PARITY is NONE, or if DEBUG is ON, then the log will contain 8-bit bytes.)SH
8280 67390 MT
(You may LOG SESSION PRN to cause the logging information to be printed)
42 W( directly on your printer.  Any escape)43 W
8280 68586 MT
(sequences that are sent to the screen are also sent to the printer.)SH
8280 70978 MT
(If you want to record information without imbedded escape sequences, use the screen dump feature, invoked by)
33 W( the)32 W
ES
%%Page: 30 31
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 30)SH
12 /Times-Bold AF
29685 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.6)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(CONNECT escape-level command F, which is described under the CONNECT command.)SH
6120 10278 MT
(A session)
28 W( log cannot be played back directly on the PC from the log file.  To relive the session, you must transfer it)29 W
6120 11474 MT
(to the remote system and display it in "binary mode" \050e.g. cat in Unix\051 while CONNECTed.)SH
12 /Times-Bold AF
6120 14590 MT
(1.6.7. Kermit Server Commands)SH
10 /Times-Roman AF
6120 16532 MT
(Kermit-MS can act as a Kermit server, and can also interact with other Kermit servers.  Normally, the remote)170 W
6120 17728 MT
(Kermit is put into server mode.  Then the local Kermit becomes a "client", and may issue repeated commands to the)19 W
6120 18924 MT
(server without having to connect and escape back repeatedly.)
169 W( Servers)
587 W( can not only transfer files, but can also)168 W
6120 20120 MT
(provide a variety of file management functions.  The SERVER command puts)
16 W( MS-Kermit into server mode, and the)17 W
6120 21316 MT
(DISABLE and ENABLE commands modify the behavior of the server.)SH
6120 23708 MT
(Kermit servers respond only to information sent as Kermit protocol packets and not)
78 W( to ordinary CONNECT-mode)77 W
6120 24904 MT
(commands. When)
346 W( MS-Kermit is the client, it uses the SEND command \050described above\051)
48 W( to send files to a server,)49 W
6120 26100 MT
(the GET command \050)280 W
/Times-Italic SF
(not)SH
/Times-Roman SF
16961 XM
(RECEIVE\051 to get files)
280 W( from a server, the REMOTE commands to invoke the file)279 W
6120 27296 MT
(management functions of the server, and the BYE, FINISH, or LOGOUT commands to shut down the server.)
51 W( The)353 W
6120 28492 MT
(MS-Kermit server can also be returned to)
151 W( interactive mode by typing Ctrl-C or Ctrl-Break on the PC's console)150 W
6120 29688 MT
(keyboard; if the SERVER)
76 W( command was issued from a command file, execution of the command file will resume)77 W
6120 30884 MT
(with the next command after SERVER.)SH
12 /Times-Bold AF
6120 33472 MT
(The SERVER Command)SH
10 /Times-Roman AF
6120 34886 MT
(Syntax: SERVER [timeout])SH
6120 37278 MT
(Kermit-MS is capable of acting as a)
357 W( full-fledged Kermit server for users coming in through one of the)356 W
6120 38474 MT
(communication ports or a local area network.  To put Kermit-MS into)
137 W( server mode, first issue any desired SET)138 W
6120 39670 MT
(commands to select and configure the desired port,)
176 W( then DISABLE any undesired functions, and then type the)175 W
6120 40866 MT
(SERVER command.  Kermit-MS will await all further instructions from the client Kermit)
86 W( on the other end of the)87 W
6120 42062 MT
(connection, which may be hardwired, or connected through a network or autoanswer modem.)SH
6120 44454 MT
(In the following example, a Kermit server is set up for dialing in:)SH
/Courier SF
8520 46109 MT
(Kermit-MS>set port 1)SH
6000 50 14520 46309 UL
8520 47140 MT
(Kermit-MS>set speed 1200)SH
8400 50 14520 47340 UL
8520 48171 MT
(Kermit-MS>hangup)SH
3600 50 14520 48371 UL
8520 49202 MT
(Kermit-MS>connect)SH
4200 50 14520 49402 UL
8520 50233 MT
(ATS0=1)SH
3600 50 8520 50433 UL
8520 51264 MT
(OK)SH
8520 52295 MT
(^]c)SH
1800 50 8520 52495 UL
8520 53326 MT
(Kermit-MS>set server timeout 0)SH
12000 50 14520 53526 UL
8520 54357 MT
(Kermit-MS>set warning on)SH
8400 50 14520 54557 UL
8520 55388 MT
(Kermit-MS>disable all)SH
6600 50 14520 55588 UL
8520 56419 MT
(Kermit-MS>server)SH
3600 50 14520 56619 UL
/Times-Roman SF
6120 58136 MT
(Before putting)
126 W( Kermit in server mode in this case it was necessary to connect to the modem \050in this example, a)125 W
6120 59332 MT
(Hayes\051 and put it into autoanswer mode by typing the ATS0=1 command. Since Kermit packets typically start with)37 W
6120 60528 MT
(a Control-A character check)
86 W( the modem's manual to ensure that character is not a modem command signal; some)85 W
6120 61724 MT
(brands regard Control-A as a hangup request!)SH
6120 64116 MT
(Note the command)
65 W( SET SERVER TIMEOUT 0.  This disables the MS-Kermit server's normal behavior of timing)66 W
6120 65312 MT
(out periodically and sending a NAK packet while waiting for a)
87 W( connection.  This might be necessary with certain)86 W
6120 66508 MT
(modems or PBXs that can be taken out of answer mode if they receive any characters from the PC before a)
62 W( call is)63 W
6120 67704 MT
(received.)SH
6120 70096 MT
(An optional timeout value can be specified to exit server mode automatically)
45 W( at a certain time.  The timeout can be)44 W
6120 71292 MT
(expressed as a number, meaning seconds from now, or as the)17 W
/Courier SF
30996 XM
(hh:mm:ss)SH
/Times-Roman SF
36063 XM
(form, in 24-hour time of day.  Both forms)17 W
ES
%%Page: 31 32
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.7. Kermit Server Commands)SH
10 /Times-Italic AF
51775 XM
(Page 31)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(recognize times greater than 12 hours from now as being in the)
118 W( past.  For instance, if you want to run a Kermit)117 W
8280 9082 MT
(server for an hour, and then have it exit so that another program can run, use a command file like:)SH
/Courier SF
10680 10737 MT
(set port 1)
SH( ;)
4200 W( Use COM1)SH
10680 11768 MT
(set speed 2400)
SH( ;)
1800 W( at 2400 bps.)SH
10680 12799 MT
(disable all)
SH( ;)
3600 W( Only allow file transfers in current directory.)SH
10680 13830 MT
(server 3600)
SH( ;)
3600 W( Be a server for 3600 seconds = 1 hour.)SH
10680 14861 MT
(exit ;)
7800 W( Exit when done.)SH
/Times-Roman SF
8280 16652 MT
(MS-Kermit)SH
/Courier SF
13141 XM
(2.32)SH
/Times-Roman SF
15791 XM
(server mode supports the following requests:)SH
10280 18443 MT
(SEND)SH
21080 XM
(REMOTE CWD \050CD\051)SH
35480 XM
(REMOTE MESSAGE)SH
10280 19548 MT
(GET)SH
21080 XM
(REMOTE DELETE)SH
35480 XM
(REMOTE SEND)SH
10280 20653 MT
(FINISH)SH
21080 XM
(REMOTE DIRECTORY)SH
35480 XM
(REMOTE SPACE)SH
10280 21758 MT
(BYE)SH
21080 XM
(REMOTE HELP)SH
35480 XM
(REMOTE TYPE)SH
10280 22863 MT
(LOGOUT)SH
21080 XM
(REMOTE HOST)SH
35480 XM
(REMOTE WHO)SH
21080 23968 MT
(REMOTE LOGIN)SH
8280 26360 MT
(REMOTE CWD \050CD\051 can be used to change both directories and devices.)
97 W( The)
446 W( REMOTE MESSAGE command)98 W
8280 27556 MT
(accepts a one line message on the command line which will be displayed on the operator's console.  An)
25 W( MS-Kermit)24 W
8280 28752 MT
(Server can DISABLE recognition of selected REMOTE commands to help reduce accidents.)SH
/Times-Italic SF
10280 30543 MT
(CAUTION:)SH
/Times-Roman SF
15278 XM
(The method used for most of the REMOTE commands is to invoke a task with)
137 W( the user's)138 W
10280 31648 MT
(command line, redirect standard output to a temporary file,)96 W
/Courier SF
35001 XM
($KERMIT$.TMP)SH
/Times-Roman SF
(, send that file back to)
96 W( the)95 W
10280 32753 MT
(remote end, and then delete the file.)
30 W( Sufficient)
311 W( space must be available to store this file.  To service DOS)31 W
10280 33858 MT
(commands or user tasks)SH
/Courier SF
20112 XM
(COMMAND.COM)SH
/Times-Roman SF
26962 XM
(must be located on the DOS PATH.)SH
/Times-Italic SF
10280 36159 MT
(FURTHER CAUTION:)127 W
/Times-Roman SF
20089 XM
(Any of these DOS tasks or programs may encounter an error, and in)
127 W( that case,)126 W
10280 37264 MT
(DOS will generally put the familiar "Abort, Retry, Ignore?"  message)
22 W( on the server's screen, and will wait)23 W
10280 38369 MT
(for an answer from the keyboard.  This will hang)
122 W( the server until a human comes to the keyboard and)121 W
10280 39474 MT
(gives a response.  The same thing will happen)
89 W( when any program is invoked that interacts with the real)90 W
10280 40579 MT
(console. DISABLE)
250 W( ALL seems to avoid most unpleasant situations of this kind.)SH
8280 42370 MT
(For local network operation with NetBios,)
146 W( the SET PORT NET command \050with no node name\051 must be issued)145 W
8280 43566 MT
(before the SERVER command.  MS-Kermit then becomes a network-wide server, and other)
26 W( client Kermits can start)27 W
8280 44762 MT
(a network session with)
34 W( it by using the name of the Kermit Server, which is shown on the server's screen when SET)33 W
8280 45958 MT
(PORT NET is given.  The Kermit Server accepts connections from other Kermits, but only one at)
11 W( a time. There may)12 W
8280 47154 MT
(be many Kermit Servers active on)
81 W( the network simultaneously because each has a unique node name.  Operations)80 W
8280 48350 MT
(are exactly the same as with serial port usage and the session \050equivalent to a dialed phone)
SH( connection\051 is maintained)1 W
8280 49546 MT
(between the pair until too many timeouts occur, or the client Kermit)
34 W( issues a HANGUP command, exits to DOS, or)33 W
8280 50742 MT
(SETs PORT NET to another node.  In the latter cases, the server remains available for use by)
50 W( other client Kermits.)51 W
8280 51938 MT
(If a client Kermit issues the BYE or FINISH command,)
45 W( the network server is shut down \050unless it was started with)44 W
8280 53134 MT
(FIN disabled\051.)SH
12 /Times-Bold AF
8280 55722 MT
(The DISABLE and ENABLE Commands)SH
10 /Times-Roman AF
8280 57136 MT
(For security purposes, it may be desirable to leave your PC in Kermit server mode so that it can)
36 W( be dialed in to, but)37 W
8280 58332 MT
(with certain functions unavailable to those who dial in.  The DISABLE and ENABLE commands provide this)177 W
8280 59528 MT
(control.)SH
8280 61920 MT
(The DISABLE and ENABLE commands affect the following functions, with the effect of DISABLEs noted:)SH
10280 63711 MT
(CWD)SH
14280 XM
(\050CD\051 Changing of directories, disabled entirely.)SH
10280 64816 MT
(DEL)SH
14280 XM
(Deletion of files confined to current directory.)SH
10280 65921 MT
(DIR)SH
14280 XM
(Production of directory listings confined to current directory.)SH
10280 67026 MT
(FIN)SH
14280 XM
(Shutting down the server \050applies also to BYE\051 disabled entirely.)SH
10280 68131 MT
(GET)SH
14280 XM
(Getting files from the server confined to current directory.)SH
10280 69236 MT
(HOST)SH
14280 XM
(Execution of all REMOTE HOST \050DOS\051 commands disabled entirely.)SH
10280 70341 MT
(SEND)SH
14280 XM
(Forces files sent to server into current directory.)SH
10280 71446 MT
(SPACE)SH
14280 XM
(Asking the server for a disk space report, disabled.)SH
ES
%%Page: 32 33
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 32)SH
12 /Times-Bold AF
29685 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.7)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
8120 7886 MT
(TYPE)SH
12120 XM
(REMOTE TYPE files confined to current directory.)SH
8120 8991 MT
(ALL)SH
12120 XM
(All of the above.)SH
8120 10096 MT
(TEK)SH
12120 XM
(Automatic invocation of Tektronix graphics mode by)
27 W( host commands.  This function is not related to)28 W
12120 11201 MT
(server mode, and is not included in the ALL term.)SH
6120 12992 MT
(For reasons which should be obvious, the Kermit server does not provide a REMOTE ENABLE command!)SH
12 /Times-Bold AF
6120 15580 MT
(The GET Command)SH
10 /Times-Roman AF
6120 16994 MT
(Syntax:)SH
/Courier SF
9426 XM
(GET)SH
/Times-Italic SF
11826 XM
(remote-filespec)SH
/Times-Roman SF
6120 19386 MT
(The GET command requests a Kermit server to send)
189 W( the file or file group specified by)188 W
/Times-Italic SF
43851 XM
(remote-filespec)SH
/Times-Roman SF
(. This)626 W
6120 20582 MT
(command can be used only when Kermit-MS has a Kermit server active on the other end of the)
75 W( connection.  This)76 W
6120 21778 MT
(usually means that you have CONNECTed to the other system, logged in, run Kermit there,)
103 W( issued the SERVER)102 W
6120 22974 MT
(command, and escaped back \050e.g. ``)47 W
/Courier SF
(^]C)SH
/Times-Roman SF
(''\051 to the local Kermit-MS.  In)
47 W( the case of LAN operation, a Kermit server)48 W
6120 24170 MT
(must be running somewhere on the network.  If the remote Kermit does not have a SERVER command,)
82 W( then you)81 W
6120 25366 MT
(should use SEND and RECEIVE as described above.)SH
6120 27758 MT
(You may use the GET command in a special way to specify a different name for storing the incoming)
10 W( file.  Just type)11 W
6120 28954 MT
(GET alone on a line, and you will be prompted separately for the remote filespec and the local filespec:)SH
/Courier SF
8520 30609 MT
(Kermit-MS>get)SH
1800 50 14520 30809 UL
9120 31640 MT
(Remote Source File: com1 txt)SH
4800 50 21120 31840 UL
9120 32671 MT
(Local Destination File: a:xcom1.txt)SH
6600 50 23520 32871 UL
/Times-Roman SF
6120 34388 MT
(The local file name may)
24 W( contain a device field, and/or a directory specification.  Device and directory specifications)23 W
6120 35584 MT
(in the local destination file name work the same way as in the RECEIVE command.)
48 W( The)
347 W( multiline GET command)49 W
6120 36780 MT
(is provided so that the distinction between the two files is always clear, which would not otherwise be the case if)
12 W( the)11 W
6120 37976 MT
(foreign filename had spaces in it.)SH
6120 40368 MT
(The remote filespec is any string that can)
137 W( be a legal file specification for the remote system; it is not parsed or)138 W
6120 41564 MT
(validated locally.  It can contain whatever wildcard or file-group notation is valid on the remote system,)
72 W( including)71 W
6120 42760 MT
(spaces. If the string)
27 W( needs to begin with a question mark \050?\051 then use a sharp sign \050#\051 instead to avoid Kermit's help)28 W
6120 43956 MT
(message; it will be transmitted as a question mark.)SH
6120 46348 MT
(Once the file transfer begins, the GET command behaves exactly like the RECEIVE command.)SH
/Times-Italic SF
6120 48740 MT
(Warning:)SH
/Times-Roman SF
10649 XM
(If the remote filespec)
98 W( is to contain a semicolon,)97 W
/Times-Italic SF
30744 XM
(and)SH
/Times-Roman SF
32591 XM
(the GET command is being issued from a TAKE)97 W
6120 49936 MT
(command file, you must prefix the semicolon with a backslash.)
208 W( Otherwise,)
667 W( all characters beginning with the)209 W
6120 51132 MT
(semicolon will be ignored:)SH
/Courier SF
8520 52787 MT
(get me.home\134;2)SH
12 /Times-Bold AF
6120 55903 MT
(1.6.8. Commands for Controlling Remote Kermit Servers)SH
10 /Times-Roman AF
6120 57845 MT
(The BYE, FINISH, and LOGOUT commands allow you to shut down a remote Kermit server:)SH
/Courier SF
6120 59636 MT
(BYE)SH
/Times-Roman SF
10120 XM
(When communicating with a remote Kermit server, use the BYE command)
82 W( to shut down the server, log)81 W
10120 60741 MT
(out its job, and exit locally from Kermit-MS to DOS.  On local)
86 W( area networks, BYE also terminates the)87 W
10120 61846 MT
(network session.)SH
/Courier SF
6120 63423 MT
(FINISH)SH
/Times-Roman SF
10120 XM
(Like BYE, FINISH shuts down the remote server.  However,)
92 W( FINISH does not log out the server's job.)91 W
10120 64528 MT
(You are left at Kermit-MS prompt level so that you)
14 W( can connect back to the job on the remote system.  On)15 W
10120 65633 MT
(local area nets,)
44 W( FINISH shuts down the MS-Kermit server, but in a way that allows it to be restarted as if)43 W
10120 66738 MT
(no interruption had occurred.)SH
/Courier SF
6120 68315 MT
(LOGOUT)SH
/Times-Roman SF
10120 XM
(The LOGOUT command is identical to the BYE command, except)
31 W( you will remain at Kermit-MS prompt)32 W
10120 69420 MT
(level, rather than exit to DOS, so that you can establish or use another)
8 W( connection without having to restart)7 W
10120 70525 MT
(MS-Kermit.)SH
ES
%%Page: 33 34
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.8. Commands for Controlling Remote Kermit Servers)SH
10 /Times-Italic AF
51775 XM
(Page 33)SH
46800 50 8280 5709 UL
12 /Times-Bold AF
8280 8004 MT
(The REMOTE Commands)SH
10 /Times-Roman AF
8280 9418 MT
(The REMOTE)
19 W( keyword is a prefix for a number of commands.  It indicates that the command is to be performed by)20 W
8280 10614 MT
(a remote Kermit server.  Not all Kermit servers are capable)
68 W( of executing all of these commands, and some Kermit)67 W
8280 11810 MT
(servers may be able to perform functions for which Kermit-MS does not yet have the corresponding commands.)
34 W( In)320 W
8280 13006 MT
(case you send)
175 W( a command the server cannot execute, it will send back a message stating that the command is)174 W
8280 14202 MT
(unknown to it.  If the remote server can execute the command, it will send the results, if any, to your screen.)SH
8280 16594 MT
(Here are the REMOTE commands that Kermit-MS may issue:)SH
/Courier SF
8280 18385 MT
(REMOTE CWD)SH
/Times-Roman SF
14880 XM
([)SH
/Times-Italic SF
(directory)SH
/Times-Roman SF
(])SH
12280 19490 MT
(\050Also REMOTE CD\051 Ask the server to Change your Working Directory on the remote)
95 W( host, that is, the)94 W
12280 20595 MT
(default source and destination area for file transfer and management.  You)
243 W( will be prompted for a)244 W
12280 21700 MT
(password, which will not echo as you type it.  If you do not supply a)
151 W( password \050i.e. you type only a)150 W
12280 22805 MT
(carriage return\051,)
7 W( the server will attempt to access the specified directory without a password.  If you do not)8 W
12280 23910 MT
(supply a directory name, your default or login)
97 W( directory on the remote system will be assumed and you)96 W
12280 25015 MT
(will not be prompted for a password.)SH
/Courier SF
8280 26592 MT
(REMOTE DELETE)SH
/Times-Italic SF
16680 XM
(filespec)SH
/Times-Roman SF
12280 27697 MT
(Ask the server to delete)
153 W( the specified file or files on the remote system.  In response, the server may)152 W
12280 28802 MT
(display a list of the files that were or were not successfully deleted.)SH
/Courier SF
8280 30379 MT
(REMOTE DIRECTORY)SH
/Times-Roman SF
18480 XM
([)SH
/Times-Italic SF
(filespec)SH
/Times-Roman SF
(])SH
12280 31484 MT
(Ask the server to display a directory listing of the)
102 W( specified files.  If no files are specified, then the list)101 W
12280 32589 MT
(should include all files in the current working directory.)SH
/Courier SF
8280 34166 MT
(REMOTE HELP)SH
/Times-Roman SF
12280 35271 MT
(Ask the server to list the services it provides.)SH
/Courier SF
8280 36848 MT
(REMOTE HOST)SH
/Times-Roman SF
15480 XM
([)SH
/Times-Italic SF
(command)SH
/Times-Roman SF
(])SH
12280 37953 MT
(Ask the server to send the command to the remote system's command processor for execution.)SH
/Courier SF
8280 39530 MT
(REMOTE KERMIT)SH
/Times-Italic SF
16680 XM
(command)SH
/Times-Roman SF
12280 40635 MT
(Send the command to the remote Kermit for interpretation as a Kermit command in the)
113 W( remote Kermit)112 W
12280 41740 MT
(server's own command syntax.)SH
/Courier SF
8280 43317 MT
(REMOTE LOGIN)SH
/Times-Italic SF
16080 XM
(user)SH
/Times-Roman SF
12280 44422 MT
(Password and account are always solicted via)
162 W( prompts.  A carriage return response corresponds to an)161 W
12280 45527 MT
(empty entry.)
125 W( REMOTE)
501 W( LOGIN applies only to a remote Kermit server and not to a remote operating)126 W
12280 46632 MT
(system; an MS Kermit server does not understand the command.)SH
/Courier SF
8280 48209 MT
(REMOTE MESSAGE)SH
/Times-Italic SF
17280 XM
(text)SH
/Times-Roman SF
12280 49314 MT
(Send the one line text message to be displayed on the Server's screen.)SH
/Courier SF
8280 50891 MT
(REMOTE SPACE)SH
/Times-Roman SF
16080 XM
([)SH
/Times-Italic SF
(directory)SH
/Times-Roman SF
(])SH
12280 51996 MT
(Ask the server to provide a brief summary of disk usage)
2 W( in the specified area on the remote host or, if none)1 W
12280 53101 MT
(specified, the default or current area.)SH
/Courier SF
8280 54678 MT
(REMOTE TYPE)SH
/Times-Italic SF
15480 XM
(filespec)SH
/Times-Roman SF
12280 55783 MT
(Ask the server to display the contents of the specified remote file or files on your screen.)SH
/Courier SF
8280 57360 MT
(REMOTE WHO [)SH
/Times-Italic SF
(who-spec)SH
/Courier SF
(])SH
/Times-Roman SF
12280 58465 MT
(Ask the)
53 W( server to list actively logged on users; optional who-spec qualifies the list and uses the syntax of)54 W
12280 59570 MT
(the server system.)SH
12 /Times-Bold AF
8280 62158 MT
(The Mail Command)SH
10 /Times-Roman AF
8280 63572 MT
(Syntax:)SH
/Courier SF
11836 XM
(MAIL)SH
/Times-Italic SF
14486 XM
(filespec address)SH
/Times-Roman SF
8280 65964 MT
(The MAIL command is a very)
108 W( close relative of Kermit's SEND command.  Mail sends a file, or file group, to a)107 W
8280 67160 MT
(Kermit server with instructions \050in an Attribute packet\051 to)
75 W( submit the file\050s\051 to the host's Mailer utility rather than)76 W
8280 68356 MT
(store them on disk.  To round out a mail request a field following the filename is required,)
51 W( and into it we place the)50 W
8280 69552 MT
(address to which the files are to)
180 W( be mailed.  Mail addresses vary substantially, but several common forms are)181 W
8280 70748 MT
("username", "username)106 W
/Courier SF
(@)SH
/Times-Roman SF
(host", and "host)106 W
/Courier SF
(::)SH
/Times-Roman SF
(username". The)
462 W( MAIL)
106 W( command will work only if the Kermit server)105 W
8280 71944 MT
(understands it, otherwise the mail request will be rejected before any)
26 W( files are sent.  Kermit-MS can send mail but it)27 W
ES
%%Page: 34 35
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 34)SH
12 /Times-Bold AF
29685 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.8)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(cannot receive it, because MS-DOS does not have a mail facility.  When sending,)
81 W( there is no way to transmit any)80 W
6120 9082 MT
(fields other than the recipient's address and the message body; fields like subject and cc are not supported.)SH
12 /Times-Bold AF
6120 12198 MT
(1.6.9. The LOG and CLOSE Commands)SH
10 /Times-Roman AF
6120 14140 MT
(Syntax:)SH
/Courier SF
9426 XM
(LOG {PACKET, SESSION, TRANSACTION})SH
/Times-Roman SF
30426 XM
([)SH
/Times-Italic SF
(filespec)SH
/Times-Roman SF
(])SH
/Courier SF
8120 15245 MT
(CLOSE {PACKET, SESSION, TRANSACTION})SH
/Times-Roman SF
6120 17637 MT
(The LOG command tells MS-Kermit to record the terminal session, file)
130 W( transfer transactions, or the file transfer)131 W
6120 18833 MT
(protocol packets themselves in)
13 W( a log file.  If the log file already exists then new material is appended to it.  Open log)12 W
6120 20029 MT
(files may be closed \050and the associated logging disabled\051 using the CLOSE command.)
154 W( Open)
560 W( log files are also)155 W
6120 21225 MT
(closed when you EXIT from Kermit.)SH
6120 23617 MT
(LOG SESSION is used to record your terminal emulation typescript.  It was described above,)
50 W( in the section on file)49 W
6120 24813 MT
(transfer.)SH
12 /Times-Bold AF
6120 27401 MT
(The LOG TRANSACTION Command)SH
10 /Times-Roman AF
6120 28815 MT
(Syntax:)SH
/Courier SF
9426 XM
(LOG TRANSACTION)SH
/Times-Roman SF
19026 XM
([)SH
/Times-Italic SF
(filespec)SH
/Times-Roman SF
(])SH
6120 31207 MT
(The Transaction log is a file recording a pair of text)
48 W( lines describing each file transfer \050SEND, GET, RECEIVE, or)49 W
6120 32403 MT
(some REMOTE commands\051. The lines indicate the local)
40 W( filename \050and remote name if different\051, the time and date)39 W
6120 33599 MT
(of the start of the transfer, the number)
83 W( of bytes transferred, and the status of the transfer.  New entries are always)84 W
6120 34795 MT
(appended to old to prevent loss)
172 W( of records.  The default filename is)171 W
/Courier SF
35343 XM
(TRANSACT.LOG)SH
/Times-Roman SF
(. The)
592 W( command SHOW)171 W
6120 35991 MT
(LOGGING displays the)
127 W( current names and which logs are active.  The command CLOSE TRANSACTION will)128 W
6120 37187 MT
(voluntarily terminate this class of log; otherwise, it will be closed automatically when Kermit exits.)SH
12 /Times-Bold AF
6120 39775 MT
(The LOG PACKETS Command)SH
10 /Times-Roman AF
6120 41189 MT
(Syntax:)SH
/Courier SF
9426 XM
(LOG PACKETS)SH
/Times-Roman SF
16626 XM
([)SH
/Times-Italic SF
(filespec)SH
/Times-Roman SF
(])SH
6120 43581 MT
(The packet log)
109 W( is for diagnostic purposes and records each Kermit protocol packet sent and received in printable)108 W
6120 44777 MT
(format. Control)
266 W( characters are written as caret-letter)
8 W( and characters with the high bit set are shown as their 7-bit part)9 W
6120 45973 MT
(preceeded by a tilde.  The default filename is)113 W
/Courier SF
25410 XM
(PACKET.LOG)SH
/Times-Roman SF
(. If)
476 W( you experience difficulty with file)
113 W( transfers the)112 W
6120 47169 MT
(packet log is valuable in discovering who said what to whom, even though a copy of the)
54 W( Kermit book is needed to)55 W
6120 48365 MT
(unravel the meaning of each character in a packet.)SH
ES
%%Page: 35 36
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.9. The LOG and CLOSE Commands)SH
10 /Times-Italic AF
51775 XM
(Page 35)SH
46800 50 8280 5709 UL
12 /Times-Bold AF
8280 8004 MT
(1.6.10. The SET Command)SH
10 /Times-Roman AF
8280 9946 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET)SH
/Times-Italic SF
13986 XM
(parameter)SH
/Courier SF
18402 XM
([)SH
/Times-Italic SF
(parameter)SH
/Courier SF
(])SH
/Times-Italic SF
24368 XM
(value)SH
/Times-Roman SF
8280 12338 MT
(The SET command establishes or modifies parameters for file transfer or terminal connection.  You can)
101 W( examine)100 W
8280 13534 MT
(their values with the SHOW or STATUS commands.  The following SET commands are available in Kermit-MS:)SH
19069 16468 MT
(ALARM)SH
23180 XM
(Set alarm clock time, for IF ALARM testing)SH
16569 17573 MT
(ATTRIBUTES)SH
23180 XM
(Controls whether MS-Kermit uses Attribute packets)SH
19847 18678 MT
(BAUD)SH
23180 XM
(Communications port line speed \050synonym for SPEED\051)SH
20180 19783 MT
(BELL)SH
23180 XM
(Whether to beep at the end of a transaction)SH
12736 20888 MT
(BLOCK-CHECK-TYPE)SH
23180 XM
(Level of error checking for file transfer)SH
19236 21993 MT
(COUNT)SH
23180 XM
(Variable for TAKE file and macro IF COUNT testing)SH
19236 23098 MT
(DEBUG)SH
23180 XM
(Display packet contents during file transfer)SH
15459 24203 MT
(DEFAULT-DISK)SH
23180 XM
(Default disk drive for file i/o)SH
19292 25308 MT
(DELAY)SH
23180 XM
(Wait number seconds before Sending a file)SH
16015 26413 MT
(DESTINATION)SH
23180 XM
(Default destination device for incoming files)SH
18458 27518 MT
(DISPLAY)SH
23180 XM
(For selecting the type of file transfer display)SH
19791 28623 MT
(DUMP)SH
23180 XM
(Screen dump file \050or device\051 name)SH
16404 29728 MT
(END-OF-LINE)SH
23180 XM
(Packet termination character)SH
20791 30833 MT
(EOF)SH
23180 XM
(Method for determining or marking end of file)SH
16180 31938 MT
(ERRORLEVEL)SH
23180 XM
(Value returned to DOS Batch files)SH
18957 33043 MT
(ESCAPE)SH
23180 XM
(Escape character for CONNECT)SH
14792 34148 MT
(FLOW-CONTROL)SH
23180 XM
(Enable or disable XON/XOFF)SH
16459 35253 MT
(HANDSHAKE)SH
23180 XM
(Half-duplex line turnaround option)SH
16347 36358 MT
(INCOMPLETE)SH
23180 XM
(What to do with an incompletely received file)SH
19736 37463 MT
(INPUT)SH
23180 XM
(Behavior of INPUT command for scripts)SH
20625 38568 MT
(KEY)SH
23180 XM
(Specify key redefinitions)SH
16292 39673 MT
(LOCAL-ECHO)SH
23180 XM
(Specify which computer does the echoing during CONNECT)SH
17126 40778 MT
(MODE-LINE)SH
23180 XM
(Whether to display a mode line during terminal emulation)SH
19069 41883 MT
(PARITY)SH
23180 XM
(Character parity to use)SH
20124 42988 MT
(PORT)SH
23180 XM
(Select a communications port)SH
18679 44093 MT
(PROMPT)SH
23180 XM
(Change the ")SH
/Courier SF
(Kermit-MS>)SH
/Times-Roman SF
(" prompt to something else)SH
18458 45198 MT
(RECEIVE)SH
23180 XM
(Request remote Kermit to use specified parameters)SH
18569 46303 MT
(REMOTE)SH
23180 XM
(For running Kermit-MS interactively from back port)SH
19402 47408 MT
(RETRY)SH
23180 XM
(Packet retransmission threshold)SH
20069 48513 MT
(SEND)SH
23180 XM
(Use the specified parameters during file transfer)SH
18846 49618 MT
(SERVER)SH
23180 XM
(Parameters for server mode \050command wait timeout\051)SH
19624 50723 MT
(SPEED)SH
23180 XM
(Communications port line speed \050synonym for BAUD\051)SH
16959 51828 MT
(TAKE-ECHO)SH
23180 XM
(Control echoing of commands from TAKE files)SH
17514 52933 MT
(TERMINAL)SH
23180 XM
(Emulation and parameters)SH
19569 54038 MT
(TIMER)SH
23180 XM
(Enable/disable timeouts during file transfer)SH
15681 55143 MT
(TRANSLATION)SH
23180 XM
(Enable/disable/specify conversion of arriving characters)SH
17848 56248 MT
(WARNING)SH
23180 XM
(Specify how to handle filename collisions)SH
8280 58640 MT
(The SET commands are now described in detail, in alphabetical order.)SH
12 /Times-Bold AF
8280 61228 MT
(SET ALARM)SH
10 /Times-Roman AF
8280 62642 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET ALARM {)SH
/Times-Italic SF
(seconds, hh:mm:ss)SH
/Courier SF
(})SH
/Times-Roman SF
8280 65034 MT
(The alarm is a timer, like an alarm clock, available for testing by IF ALARM statements.  The alarm time is)
5 W( given as)6 W
8280 66230 MT
(seconds from the present or as a 24-hour specific time of day.  Both need to)
91 W( be within 12 hours of the present to)90 W
8280 67426 MT
(avoid being mistaken for times in the past.  SHOW SCRIPT displays the current alarm setting.)SH
ES
%%Page: 36 37
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 36)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.10)SH
46800 50 6120 5709 UL
6120 8004 MT
(SET ATTRIBUTES)SH
10 /Times-Roman AF
6120 9418 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET ATTRIBUTES {ON, OFF})SH
/Times-Roman SF
6120 11810 MT
(Disables or enables use)
132 W( of Kermit file Attribute protocol packets, which contain the size, time, and date of files)133 W
6120 13006 MT
(transferred using the Kermit protocol.  This command is a safety feature so)
149 W( that a small misunderstanding with)148 W
6120 14202 MT
(another Kermit cannot block transfers.  SHOW FILE tells whether attributes are on or off; they are normally ON.)SH
12 /Times-Bold AF
6120 16790 MT
(SET BAUD)SH
10 /Times-Roman AF
6120 18204 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET BAUD)SH
/Times-Italic SF
14826 XM
(number)SH
/Times-Roman SF
6120 20596 MT
(Synonym for SET SPEED \050q.v.\051.)SH
12 /Times-Bold AF
6120 23184 MT
(SET BELL)SH
10 /Times-Roman AF
6120 24598 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET BELL {ON, OFF})SH
/Times-Roman SF
6120 26990 MT
(Specifies whether the bell \050beeper\051 should sound upon completion of a file transfer operation.  Normally ON.)SH
12 /Times-Bold AF
6120 29578 MT
(SET BLOCK-CHECK-TYPE)SH
10 /Times-Roman AF
6120 30992 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET BLOCK-CHECK-TYPE {1, 2, 3})SH
/Times-Roman SF
6120 33384 MT
(Selects the error detection method: a 1-character 6-bit checksum \050the normal case\051, a)
67 W( 2-character 12-bit checksum,)68 W
6120 34580 MT
(or a)
74 W( 3-character 16-bit cyclic redundancy check \050CRC\051.  If the other Kermit program is not capable of type 2 or 3)73 W
6120 35776 MT
(checking methods, automatic fallback to type 1 will occur.  The more secure type 2 and 3)
193 W( block checks take)194 W
6120 36972 MT
(essentially no more execution time than)
52 W( the simple 1 character checksum.  SET BLOCK 3 is a stronger check than)51 W
6120 38168 MT
(SET BLOCK)
37 W( 2.  SET BLOCK 2 or 3 is recommended for use with long packets \050see below\051, noisy communication)38 W
6120 39364 MT
(lines, binary \0508-bit data\051 files, and text files containing critical data \050budgets, grades, etc\051.)SH
12 /Times-Bold AF
6120 41952 MT
(SET COUNT)SH
10 /Times-Roman AF
6120 43366 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET COUNT)SH
/Times-Italic SF
15426 XM
(number)SH
/Times-Roman SF
6120 45758 MT
(Set the value of the script COUNT variable to be between 0)
181 W( and 65535. COUNT is used with IF COUNT to)180 W
6120 46954 MT
(construct counted loops in script TAKE files and)
19 W( macros.  Each active TAKE file or macro uses a private version of)20 W
6120 48150 MT
(COUNT. The)
322 W( default value is zero, and the SHOW SCRIPT command displays the current value \050meaningful only)36 W
6120 49346 MT
(when given within a TAKE file or macro\051.)SH
12 /Times-Bold AF
6120 51934 MT
(SET DEBUG)SH
10 /Times-Roman AF
6120 53348 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET DEBUG {PACKET, SESSION, ON, OFF})SH
/Times-Roman SF
6120 55740 MT
(With DEBUG PACKET, Kermit will)
7 W( display the actual packets on your screen during file transfer.  With the normal)8 W
6120 56936 MT
(file transfer display, regular-length packets sent and received are)
190 W( displayed in fixed-size slots.  The display of)189 W
6120 58132 MT
(extended-length packets, however \050see SET)
57 W( RECEIVE PACKET-LENGTH\051, tends to overlap.  If this bothers you,)58 W
6120 59328 MT
(then also SET DISPLAY SERIAL, or LOG the packets rather than displaying them.)SH
6120 61720 MT
(With DEBUG SESSION, during terminal emulation \050on the IBM PC, Rainbow, and a)
2 W( few others\051, control characters)1 W
6120 62916 MT
(are displayed in uparrow \050``)1 W
/Courier SF
(^)SH
/Times-Roman SF
(''\051 notation and characters with the 8th bit)
1 W( set are preceded by the tilde \050``)2 W
/Courier SF
(~)SH
/Times-Roman SF
(''\051 sign, and)2 W
6120 64112 MT
(your session)
163 W( log \050if any\051 will record 8-bit bytes, rather than 7-bit ASCII, regardless of SET DISPLAY or SET)162 W
6120 65308 MT
(PARITY. Character)
382 W( translation \050SET)
66 W( TRANSLATION INPUT\051 is not done during session debugging.  The effect)67 W
6120 66504 MT
(of SET DEBUG)
164 W( SESSION during terminal connection can be disconcerting, but it gives you a convenient line)163 W
6120 67700 MT
(monitor equivalent to a specialized device that costs several thousand dollars, and it can prove very handy for)175 W
6120 68896 MT
(tracking down data communication problems.)SH
6120 71288 MT
(SET DEBUG ON turns on both SESSION and PACKET debugging, and SET DEBUG OFF turns them both off.)SH
ES
%%Page: 37 38
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.10. The SET Command)SH
10 /Times-Italic AF
51775 XM
(Page 37)SH
46800 50 8280 5709 UL
12 /Times-Bold AF
8280 8004 MT
(SET DEFAULT-DISK)SH
10 /Times-Roman AF
8280 9418 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET DEFAULT-DISK)SH
/Times-Italic SF
21786 XM
(x)SH
/Courier SF
(:[)SH
/Times-Italic SF
(directory)SH
/Courier SF
(])SH
/Times-Roman SF
8280 11810 MT
(Specify the default disk drive)
48 W( to use for file transfer, directory listings, and so forth.  Equivalent to typing the DOS)47 W
8280 13006 MT
(command for changing disks \050)155 W
/Courier SF
(A:)SH
/Times-Roman SF
(,)SH
/Courier SF
22920 XM
(B:)SH
/Times-Roman SF
(, etc\051.  Affects Kermit and all)
155 W( inferior processes, but when you exit from)156 W
8280 14202 MT
(Kermit, you will still have the same default disk as when you entered.  As a convenience,)
167 W( a directory may be)166 W
8280 15398 MT
(specified with or without the drive to change one or the other or both.  This command is a synonym for CWD \050CD\051.)SH
12 /Times-Bold AF
8280 17986 MT
(SET DELAY)SH
10 /Times-Roman AF
8280 19400 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET DELAY)SH
/Times-Italic SF
17586 XM
(number)SH
/Times-Roman SF
8280 21792 MT
(Wait the specified number of seconds)
118 W( before starting a file transfer.  Intended for use when the other side needs)119 W
8280 22988 MT
(appreciable time to become ready, such as rearranging cables, changing programs,)
25 W( etc., or when MS-DOS Kermit is)24 W
8280 24184 MT
(the remote Kermit \050e.g. after CTTY COM1, SET REMOTE ON\051.  The)SH
/Times-Italic SF
36831 XM
(number)SH
/Times-Roman SF
40136 XM
(is 0 to 63 seconds, normally 0.)SH
12 /Times-Bold AF
8280 26772 MT
(SET DESTINATION)SH
10 /Times-Roman AF
8280 28186 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET DESTINATION {DISK, PRINTER, SCREEN})SH
/Times-Roman SF
8280 30578 MT
(SET DESTINATION PRINTER will cause incoming files to be sent directly)
147 W( to the printer; SCREEN will send)148 W
8280 31774 MT
(output normally destined for the disk to the screen.  The normal destination is DISK.)
45 W( SET)
338 W( DESTINATION affects)44 W
8280 32970 MT
(only files transferred with SEND, GET, or RECEIVE; it cannot be used to reroute the)
23 W( output from REMOTE server)24 W
8280 34166 MT
(commands.)SH
12 /Times-Bold AF
8280 36754 MT
(SET DISPLAY)SH
10 /Times-Roman AF
8280 38168 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET DISPLAY {QUIET, REGULAR, SERIAL, 7-BIT, 8-BIT})SH
/Times-Roman SF
8280 40560 MT
(During file transfer, MS-DOS Kermit's regular display is a formatted screen whose)
132 W( fields are randomly updated)131 W
8280 41756 MT
(with file names, packet numbers, error counts, percent done, error messages, and so forth, as shown in Figure 1-1.)SH
8280 44148 MT
(If you wish to)
95 W( run Kermit-MS interactively through the back port, for instance after the operator has done CTTY)96 W
8280 45344 MT
(COM1, you must give the)
48 W( command SET REMOTE ON \050which, currently at least, is equivalent to SET DISPLAY)47 W
8280 46540 MT
(QUIET\051; this suppresses the)
135 W( file transfer display screen, so that the display won't interfere with the file transfer)136 W
8280 47736 MT
(itself. You)
430 W( can also use this command to suppress the display in local)
90 W( mode, in case you are using a system that)89 W
8280 48932 MT
(allows you to do other work while file transfer proceeds in the background.)SH
8280 51324 MT
(If you have)
71 W( your PC connected to a speaking device \050a common practice for visually impaired people\051, or you are)72 W
8280 52520 MT
(logging the display screen to a printer \050using DOS)156 W
/Courier SF
30043 XM
(^P)SH
/Times-Roman SF
31649 XM
(or)SH
/Courier SF
32888 XM
(kermit > prn)156 W
/Times-Roman SF
(\051, the random nature of)
156 W( the regular)155 W
8280 53716 MT
(display will)
167 W( make the results of little use.  SET DISPLAY SERIAL is provided for this purpose; it causes the)168 W
8280 54912 MT
(program to report progress "serially" on the screen.  In serial mode, error messages are preceeded with the word)114 W
8280 56108 MT
("Error" and repeat messages with)
105 W( the word "Retry".  Packets are numbered as dots with every tenth being a plus)106 W
8280 57304 MT
(sign. The)
338 W( packet display is automatically broken across lines at every 70th packet.  The serial display makes)
44 W( much)43 W
8280 58500 MT
(more sense when spoken than does the regular display.)SH
8280 60892 MT
(The serial display does not show the percent)
115 W( and kilobytes transferred.  It is the default display style for generic)116 W
8280 62088 MT
(MS-DOS Kermit; REGULAR is the default for all others.)SH
8280 64480 MT
(The last two parameters, 7-BIT and 8-BIT, control the size of characters sent to the screen)
252 W( during terminal)251 W
8280 65676 MT
(emulation. 7-BIT)
378 W( is the default and includes all ASCII characters.  8-BIT)
64 W( is useful with national and line drawing)65 W
8280 66872 MT
(characters.)SH
ES
%%Page: 38 39
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 38)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.10)SH
46800 50 6120 5709 UL
6120 8004 MT
(SET DUMP)SH
10 /Times-Roman AF
6120 9418 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET DUMP)SH
/Times-Italic SF
14826 XM
(filespec)SH
/Times-Roman SF
6120 11810 MT
(On those systems that support this feature, change the file or)
43 W( device name of the screen dump file.  The normal file)42 W
6120 13006 MT
(name is)43 W
/Courier SF
9539 XM
(KERMIT.SCN)SH
/Times-Roman SF
(. See)
338 W( the section on terminal emulation for details about screen dumps.  If the specified file)44 W
6120 14202 MT
(already exists then new material is appended to old.  If you want to start a new screen dump)
39 W( file, delete the old one)38 W
6120 15398 MT
(first.)SH
12 /Times-Bold AF
6120 17986 MT
(SET END-OF-LINE)SH
10 /Times-Roman AF
6120 19400 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET END-OF-LINE)SH
/Times-Italic SF
19026 XM
(number)SH
/Times-Roman SF
6120 21792 MT
(If the remote system needs packets to be terminated by anything)
142 W( other than carriage return, specify the decimal)143 W
6120 22988 MT
(value, 0-31, of the desired ASCII character.  Equivalent to)
18 W( SET SEND END-OF-LINE \050SET END-OF-LINE is kept)17 W
6120 24184 MT
(only for historical reasons, and the parameter really should be called END-OF-PACKET anyway.\051)SH
12 /Times-Bold AF
6120 26772 MT
(SET EOF)SH
10 /Times-Roman AF
6120 28186 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET EOF {CTRL-Z, NOCTRL-Z})SH
/Times-Roman SF
6120 30578 MT
(Controls how the end of file is handled.  CTRL-Z)
44 W( specifies a Control-Z character should be appended to the end of)45 W
6120 31774 MT
(an incoming file.  Certain MS-DOS text editors and other applications require files to be in this format.)
193 W( For)634 W
6120 32970 MT
(outbound files, treat the first Control-Z as the end of the local file, and)
46 W( do not send it or any subsequent characters.)47 W
6120 34166 MT
(NOCTRL-Z is the)
19 W( default; incoming files are stored, and MS-DOS files are sent, exactly as is, in their entirety.  Use)18 W
6120 35362 MT
(SHOW FILE to see the current SET EOF status.)SH
12 /Times-Bold AF
6120 37950 MT
(SET ERRORLEVEL)SH
10 /Times-Roman AF
6120 39364 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET ERRORLEVEL)SH
/Times-Italic SF
18426 XM
(number)SH
/Times-Roman SF
6120 41756 MT
(Forces the DOS "errorlevel" variable to a given value.  This is used)
20 W( in scripts when other controls or tests determine)21 W
6120 42952 MT
(that the cumulative errorlevel reported to DOS Batch when Kermit exits needs to be modified.)
6 W( The)
260 W( number can be 0)5 W
6120 44148 MT
(to 255 decimal.)SH
12 /Times-Bold AF
6120 46736 MT
(SET ESCAPE)SH
10 /Times-Roman AF
6120 48150 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET ESCAPE)SH
/Times-Italic SF
16026 XM
(character)SH
/Times-Roman SF
6120 50542 MT
(Specify the control character you want to use to "escape" from)
84 W( remote connections back to Kermit-MS.  On most)85 W
6120 51738 MT
(systems the default is ``)263 W
/Courier SF
(^])SH
/Times-Roman SF
('' \050Control-Rightbracket\051, which was chosen because it is a)
263 W( character you would)262 W
6120 52934 MT
(otherwise rarely type.)SH
6120 55326 MT
(The)SH
/Times-Italic SF
8043 XM
(character)SH
/Times-Roman SF
12299 XM
(is entered literally after SET ESCAPE or in backslash number form \050)118 W
/Courier SF
(\13429)SH
/Times-Roman SF
(\051, and should be)
118 W( chosen)119 W
6120 56522 MT
(from the ASCII control range.  It is not possible to use non-ASCII)
75 W( characters \050like function keys\051 for this purpose)74 W
6120 57718 MT
(\050but see SET KEY for a way around this restriction\051.)SH
12 /Times-Bold AF
6120 60306 MT
(SET FLOW-CONTROL)SH
10 /Times-Roman AF
6120 61720 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET FLOW-CONTROL {XON/XOFF, NONE})SH
/Times-Roman SF
6120 64112 MT
(Specify the full duplex flow control to be done on the)
118 W( currently selected port.  The options are XON/XOFF and)119 W
6120 65308 MT
(NONE. The)
590 W( specified type of flow control will be done during both)
170 W( terminal emulation and file transfer.  By)169 W
6120 66504 MT
(default, XON/XOFF flow control is selected.)
292 W( XON/XOFF)
835 W( should not be used on half-duplex \050local echo\051)293 W
6120 67700 MT
(connections, or when the)
49 W( other system does not support it.  If XON/XOFF is used, HANDSHAKE should be set to)48 W
6120 68896 MT
(NONE.)SH
ES
%%Page: 39 40
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.10. The SET Command)SH
10 /Times-Italic AF
51775 XM
(Page 39)SH
46800 50 8280 5709 UL
12 /Times-Bold AF
8280 8004 MT
(SET HANDSHAKE)SH
10 /Times-Roman AF
8280 9418 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET HANDSHAKE {CODE)SH
/Times-Italic SF
23586 XM
(number)SH
/Courier SF
(, BELL, CR, LF, NONE, XOFF, XON})SH
/Times-Roman SF
8280 11810 MT
(Specify any half-duplex line turnaround handshake character to be)
19 W( used during file transfer on the currently selected)20 W
8280 13006 MT
(port. The)
254 W( CODE)2 W
/Times-Italic SF
15426 XM
(number)SH
/Times-Roman SF
18733 XM
(form allows any ASCII character to be)
2 W( specified by its decimal ASCII code.  Handshake is)1 W
8280 14202 MT
(NONE by default; if set to other than NONE, then FLOW-CONTROL should be)
102 W( set to NONE.  In operation the)103 W
8280 15398 MT
(handshake character is)
94 W( sought at the end of each received packet, following the normal END-OF-LINE character,)93 W
8280 16594 MT
(but is not sent for outgoing packets.)SH
12 /Times-Bold AF
8280 19182 MT
(SET INCOMPLETE)SH
10 /Times-Roman AF
8280 20596 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET INCOMPLETE {DISCARD, KEEP})SH
/Times-Roman SF
8280 22988 MT
(Specifies what to do with files that arrive incompletely: discard them or keep them.  They are normally discarded.)SH
12 /Times-Bold AF
8280 25576 MT
(SET INPUT)SH
10 /Times-Roman AF
8280 26990 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET INPUT {CASE, DEFAULT-TIMEOUT, ECHO, TIMEOUT-ACTION})SH
/Times-Roman SF
8280 29382 MT
(This command is described in Section 1.8, SCRIPTS.)SH
12 /Times-Bold AF
8280 31970 MT
(SET KEY)SH
10 /Times-Roman AF
8280 33384 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET KEY)SH
/Times-Italic SF
16386 XM
(key-specifier)SH
/Courier SF
22095 XM
([)SH
/Times-Italic SF
(key-definition)SH
/Courier SF
(])SH
/Times-Italic SF
8780 34580 MT
(Also:)SH
/Courier SF
11141 XM
(SET KEY)SH
/Times-Roman SF
15591 XM
({ON, OFF, CLEAR})SH
/Times-Italic SF
10280 36371 MT
(WARNING:)SH
/Times-Roman SF
15375 XM
(The format and functions of this command have)
68 W( changed substantially since version)69 W
/Courier SF
50080 XM
(2.29B)SH
/Times-Roman SF
10280 37476 MT
(and earlier.  The changes were made in order to allow key redefinition to work on a wider variety of)145 W
10280 38581 MT
(systems and keyboards without customization of the program source code for each configuration.)
135 W( See)521 W
10280 39686 MT
(section 1.12 for further details.)SH
8280 42078 MT
(Typical uses of SET KEY:)SH
/Symbol SF
10070 43983 MT
(\267)SH
/Times-Roman SF
10780 XM
(You're used to having the ESC key in the upper left corner of the keyboard, but your new PC)
25 W( keyboard)24 W
10780 45088 MT
(has an accent grave \050``)35 W
/Courier SF
(`)SH
/Times-Roman SF
(''\051 there.  You can use)
35 W( SET KEY to make the accent key transmit an ESC, and)36 W
10780 46193 MT
(you can assign accent grave to some other key.)SH
/Symbol SF
10070 48182 MT
(\267)SH
/Times-Roman SF
10780 XM
(You send a lot of)
44 W( electronic mail, and always sign it the same way.  You can put your "signature" on a)43 W
10780 49287 MT
(single key to save yourself a lot of repetitive typing.)SH
/Symbol SF
10070 51276 MT
(\267)SH
/Times-Roman SF
10780 XM
(You must set up your PC's function keys or numeric keypad to work properly with a host application.)SH
/Symbol SF
10070 53265 MT
(\267)SH
/Times-Roman SF
10780 XM
(You have trouble with Kermit's 2-character escape sequences \050like Ctrl-)88 W
/Courier SF
(])SH
/Times-Roman SF
41474 XM
(C\051, and you want to assign)88 W
10780 54370 MT
(these functions to single keys, like F10.)SH
8280 56161 MT
(The SET KEY command does these things and more, and SHOW KEY gives us assistance.  A key)
60 W( can be defined)59 W
8280 57357 MT
(to:)SH
/Symbol SF
10070 59262 MT
(\267)SH
/Times-Roman SF
10780 XM
(send a single character other than what it would normally send,)SH
/Symbol SF
10070 60367 MT
(\267)SH
/Times-Roman SF
10780 XM
(send a string of multiple characters,)SH
/Symbol SF
10070 61472 MT
(\267)SH
/Times-Roman SF
10780 XM
(invoke a CONNECT-mode Kermit action verb,)SH
/Symbol SF
10070 62577 MT
(\267)SH
/Times-Roman SF
10780 XM
(send itself again.)SH
8280 64969 MT
(SET KEY specifies that when the designated key is struck during terminal emulation, the specified character)
139 W( or)140 W
8280 66165 MT
(string is sent or)
24 W( the specified Kermit action verb is performed.  Key definitions operate only during CONNECT, not)23 W
8280 67361 MT
(at)SH
/Courier SF
9252 XM
(Kermit-MS>)SH
/Times-Roman SF
15502 XM
(or DOS command level.)SH
8280 69753 MT
(The key-specifier is the identification of the key expressed in system-dependent terms.)
32 W( This)
315 W( can be a letter, such as)33 W
8280 70949 MT
(Q for the key which produces an uppercase Q, or the numeric ASCII value of the letter in backslash)
67 W( notation \050e.g.)66 W
ES
%%Page: 40 41
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 40)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.10)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(``)SH
/Courier SF
(\13481)SH
/Times-Roman SF
(''\051, or else the numerical "scan code" observed by the system when the key is pressed \050e.g.)
186 W( "\1343856" for)187 W
6120 9082 MT
(Ctrl-Alt-Shift-Q on an IBM PC\051.  Material printed)
84 W( on keycaps is not necessarily a guide to what the key-specifier)83 W
6120 10278 MT
(should be.  When the word)
55 W( CLEAR is used in place of a key-specifier, all key definitions are cleared and then any)56 W
6120 11474 MT
(built-in definitions are restored.)SH
6120 13866 MT
(A string definition is one or more characters, including 8-bit values expressed in backslash form, such as)SH
/Courier SF
8520 15583 MT
(SET KEY \134315 directory\13413)SH
/Times-Roman SF
26520 XM
(IBM F1 key sends ``)SH
/Courier SF
(directory<cr>)SH
/Times-Roman SF
('')SH
/Courier SF
8520 16614 MT
(SET KEY S X)SH
/Times-Roman SF
26520 XM
(S key sends upper case X \050a mean trick\051)SH
/Courier SF
8520 17645 MT
(SET KEY T \13427[m)SH
/Times-Roman SF
26520 XM
(T key sends three bytes:)SH
/Courier SF
36785 XM
(ESC [ m)SH
8520 18676 MT
(SET KEY \1342336 {del }xxx)SH
/Times-Roman SF
26520 XM
(Alt-D sends ")SH
/Courier SF
(del)SH
/Times-Roman SF
34383 XM
(")SH
/Courier SF
8520 19707 MT
(SET KEY \134324 \134Kexit)SH
/Times-Roman SF
26520 XM
(F10 escapes back to)SH
/Courier SF
35146 XM
(Kermit-MS>)SH
/Times-Roman SF
41746 XM
(prompt.)SH
6120 22099 MT
(The string begins with)
27 W( the first non-spacing character following the key identification and continues until the end of)26 W
6120 23295 MT
(line, exclusive of any trailing spaces.  If a semicolon)
7 W( comment is used and the definition is given in a TAKE file, the)8 W
6120 24491 MT
(line ends at the last non-spacing character before the semicolon.  Curly braces,)101 W
/Courier SF
39120 XM
({)SH
/Times-Roman SF
39970 XM
(. . .)SH
/Courier SF
41470 XM
(})SH
/Times-Roman SF
(, can)
101 W( be use to delimit the)100 W
6120 25687 MT
(string in case you want the definition to include trailing spaces.  All text after the closing bracket is ignored.)SH
6120 28079 MT
(This manual does not contain a list of)
178 W( all the scan codes for all the keys on all the keyboards on all the PCs)179 W
6120 29275 MT
(supported by MS-Kermit -- that would be)
14 W( a manual in itself.  Rather, in order to obtain the key-specifier for the SET)13 W
6120 30471 MT
(KEY command, you must type a SHOW KEY command and then press)
61 W( the desired key or key combination.  This)62 W
6120 31667 MT
(will report a scan code that)
18 W( you can use as the key specifier in a SET KEY command.  To do this for many keys is a)17 W
6120 32863 MT
(laborious process, so you should collect all your SET KEY commands into a file, which)
8 W( you can TAKE, or put them)9 W
6120 34059 MT
(in your)SH
/Courier SF
9231 XM
(MSKERMIT.INI)SH
/Times-Roman SF
16681 XM
(file.)SH
6120 36451 MT
(If you enter SET KEY by itself, with no key specifier, the command will prompt you to press the selected key)
53 W( and)52 W
6120 37647 MT
(again for the)
31 W( definition string.  Certain characters, like ESC and CR, may not be entered literally into the string, but)32 W
6120 38843 MT
(can be included by inserting)
186 W( escape codes of the form)185 W
/Courier SF
29691 XM
(\134nnn)SH
/Times-Roman SF
(, a backslash followed by a 1- to 4-digit number)185 W
6120 40039 MT
(corresponding to the ASCII value of the desired character.  Where an ASCII)
37 W( digit follows directly after a backslash)38 W
6120 41235 MT
(number, confusion can be avoided)
192 W( by placing curly braces)191 W
/Courier SF
31393 XM
({})SH
/Times-Roman SF
33034 XM
(around the backslashed number; thus,)191 W
/Courier SF
49320 XM
(\134{27}5)SH
/Times-Roman SF
6120 42431 MT
(represents the two ASCII characters ESC and 5.)SH
6120 44823 MT
(Here is an example of the use of SET KEY)
5 W( to assign ESC \050ASCII 27\051 to the accent grave key.  First the user gets the)6 W
6120 46019 MT
(key-specifier for the key:)SH
/Courier SF
8520 47674 MT
(Kermit-MS>show key)SH
4800 50 14520 47874 UL
9720 48705 MT
(Push key to be shown \050? shows all\051: `)SH
600 50 31320 48905 UL
9720 49736 MT
(ASCII char: ` \13496 decimal is defined as)SH
9720 50767 MT
(Self, no translation.)SH
8520 51798 MT
(Free space: 129 key and 100 string definitions, 837 string characters.)SH
/Times-Roman SF
6120 53515 MT
(The free space report says that 129)
76 W( more keys may be redefined, and up to 100 of them may have multi-character)75 W
6120 54711 MT
(strings assigned to them)
27 W( \050as opposed to single characters\051, and that there are 837 bytes left for these strings, in total.)28 W
6120 55907 MT
(Confident that there is enough space left for a new key definition, the user proceeds:)SH
/Courier SF
8520 57562 MT
(Kermit-MS>set key)SH
4200 50 14520 57762 UL
9720 58593 MT
(Push key to be defined: `)SH
600 50 24120 58793 UL
9720 59624 MT
(Enter new definition: \13427)SH
1800 50 22920 59824 UL
/Times-Roman SF
6120 62016 MT
(Once a key definition)
161 W( is constructed and tested, it may be entered on a single line in a command file \050such as)160 W
/Courier SF
6120 63212 MT
(MSKERMIT.INI)SH
/Times-Roman SF
(\051:)SH
/Courier SF
8520 64867 MT
(set key \13496 \13427)SH
/Times-Roman SF
6120 66584 MT
(To prevent accidents, SET KEY shows the current definition before asking for a new one; enter)
19 W( a Control-C to keep)20 W
6120 67780 MT
(the current definition, or a carriage return to undefine the key, or a query mark)SH
/Courier SF
37750 XM
(\050?\051)SH
/Times-Roman SF
39800 XM
(to see available choices.)SH
6120 70172 MT
(The keyboard can be restored to its startup state, that is all redefinitions removed and all built-in)
48 W( defitions restored,)47 W
6120 71368 MT
(by using the keyword CLEAR in place of the key identification:)SH
ES
%%Page: 41 42
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.10. The SET Command)SH
10 /Times-Italic AF
51775 XM
(Page 41)SH
46800 50 8280 5709 UL
/Courier SF
10680 7824 MT
(SET KEY CLEAR)SH
/Times-Roman SF
8280 9541 MT
(Undefined keys)
35 W( which do not send ASCII characters are trapped by the keyboard translator and are rejected; a beep)36 W
8280 10737 MT
(results from using an undefined non-ASCII key.)SH
8280 13129 MT
(SET KEY OFF directs MS-Kermit to read keycodes from DOS, rather than BIOS, so that console drivers)
170 W( like)169 W
/Courier SF
8280 14325 MT
(ANSI.SYS)SH
/Times-Roman SF
13378 XM
(that operate at the DOS level may be used during Kermit CONNECT sessions.  This would also)
48 W( apply)49 W
8280 15521 MT
(to any special keyboard replacements that come with DOS-level drivers.  SET KEY ON turns key definition)
77 W( back)76 W
8280 16717 MT
(on, and returns Kermit to processing keystrokes at the BIOS level.)SH
12 /Times-Bold AF
8280 19305 MT
(Kermit Action Verbs)SH
10 /Times-Roman AF
8280 20719 MT
(An action verb is the)
14 W( shorthand expression for a named Kermit procedure, such as "generate the proper sequence for)15 W
8280 21915 MT
(a left arrow," "show status," "send a BREAK," and others; verbs are complex actions and each)
33 W( verb has a name.  In)32 W
8280 23111 MT
(a key definition the verb name is preceeded by backslash K)
47 W( \050)48 W
/Courier SF
(\134K)SH
/Times-Roman SF
(\051 to avoid being confused with a string.  Verbs and)48 W
8280 24307 MT
(strings cannot be used together on a key.)SH
/Courier SF
10680 25962 MT
(SET KEY \134331 \134Klfarr)SH
10680 26993 MT
(SET KEY \1342349 \134Kexit)SH
/Times-Roman SF
8280 28710 MT
(makes the)
6 W( IBM keyboard left arrow key execute the verb named)5 W
/Courier SF
34301 XM
(lfarr)SH
/Times-Roman SF
37556 XM
(which sends the proper escape sequence for)5 W
8280 29906 MT
(a VT102 left arrow key \050which changes depending on the internal state of the VT102\051.)
1 W( The)
254 W( leading)2 W
/Courier SF
48432 XM
(\134K)SH
/Times-Roman SF
49884 XM
(identifies the)2 W
8280 31102 MT
(definition as a Kermit)
48 W( verb, so no string can start as)47 W
/Courier SF
29686 XM
(\134K)SH
/Times-Roman SF
31183 XM
(or as)47 W
/Courier SF
33443 XM
(\134{K)SH
/Times-Roman SF
35540 XM
(in upper or lower case \050use)47 W
/Courier SF
46874 XM
(\13492K)SH
/Times-Roman SF
(\051. The)
344 W( second)47 W
8280 32298 MT
(example has Alt-X invoking the Leave-Connect-Mode verb "exit" \050same as Kermit)
9 W( escape character ``)10 W
/Courier SF
(^])SH
/Times-Roman SF
('' followed)10 W
8280 33494 MT
(by C\051.)SH
8280 35886 MT
(Each system has its own list of verbs and)
39 W( predefined keys.  Table 1-6 shows those available for the IBM PC family)38 W
8280 37082 MT
(\050there are also some additional verbs for reassigning Heath or VT100)
63 W( function keys, see section 1.17.2\051.  The SET)64 W
8280 38278 MT
(KEY command)
111 W( shows the list of available verbs when a query mark)110 W
/Courier SF
37096 XM
(\050?\051)SH
/Times-Roman SF
39256 XM
(is given as a definition.  SHOW KEY)110 W
8280 39474 MT
(displays all currently defined keys or individually selected ones; SHOW KEY can be executed only interactively.)SH
8280 41866 MT
(Some systems)
124 W( have preset key definitions when Kermit first begins \050those for the IBM PC are shown in section)125 W
8280 43062 MT
(1.17.2\051. You)
284 W( can find out what they are on)
17 W( your system by typing SHOW KEY, and then question mark on the next)16 W
8280 44258 MT
(line. You)
598 W( may supplement or change the predefined keys with SET KEY commands typed interactively or in)175 W
/Courier SF
8280 45454 MT
(MSKERMIT.INI)SH
/Times-Roman SF
15730 XM
(or other command files.)SH
8280 47846 MT
(The MS-Kermit CONNECT command may be used in conjunction with certain console drivers that do their)
99 W( own)98 W
8280 49042 MT
(key redefinitions.  Since MS-Kermit intercepts keystrokes at the BIOS level, drivers like)21 W
/Courier SF
44243 XM
(ANSI.SYS)SH
/Times-Roman SF
49315 XM
(which work at)22 W
8280 50238 MT
(the DOS level will have no effect during CONNECT, even though)
36 W( they work at MS-Kermit command level.  Other)35 W
8280 51434 MT
(drivers, like SuperKey and ProKey, work at the BIOS level, and their key assignments)
44 W( will remain effective during)45 W
8280 52630 MT
(Kermit terminal sessions, and additional Kermit SET KEY assignments may be made "on top" of them.)SH
12 /Times-Bold AF
8280 55218 MT
(SET LOCAL-ECHO)SH
10 /Times-Roman AF
8280 56632 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET LOCAL-ECHO {ON, OFF})SH
/Times-Roman SF
8280 59024 MT
(Specify how characters are echoed during terminal emulation on)
164 W( the currently selected port.  ON specifies that)163 W
8280 60220 MT
(characters are to be echoed by Kermit-MS \050because neither the remote computer nor the communications)
67 W( circuitry)68 W
8280 61416 MT
(has been)
42 W( requested to echo\051, and is appropriate for half-duplex connections.  LOCAL-ECHO is OFF by default, for)41 W
8280 62612 MT
(full-duplex, remote echo operation.)SH
ES
%%Page: 42 43
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 42)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.10)SH
46800 50 6120 5709 UL
46800 50 6120 8086 UL
10 /Times-Roman AF
7120 11001 MT
(Verb)SH
17920 XM
(Meaning)SH
1999 50 7120 11201 UL
3555 50 17920 11201 UL
7120 12106 MT
(\134Kupscn)SH
17920 XM
(Roll up \050back\051 to previous screen)SH
7120 13211 MT
(\134Kdnscn)SH
17920 XM
(Roll down \050forward\051 to next screen)SH
7120 14316 MT
(\134Khomscn)SH
17920 XM
(Roll up to top of screen memory)SH
7120 15421 MT
(\134Kendscn)SH
17920 XM
(Roll down to end of screen memory \050current position\051)SH
7120 16526 MT
(\134Kupone)SH
17920 XM
(Roll screen up one line)SH
7120 17631 MT
(\134Kdnone)SH
17920 XM
(Roll screen down one line)SH
7120 18736 MT
(\134Kprtscn)SH
17920 XM
(Print the current screen)SH
7120 19841 MT
(\134Kdump)SH
17920 XM
(Append the current screen to dump file)SH
7120 20946 MT
(\134Kholdscrn)SH
17920 XM
(Toggle hold screen mode)SH
7120 22051 MT
(\134Klogoff)SH
17920 XM
(Turn off session logging)SH
7120 23156 MT
(\134Klogon)SH
17920 XM
(Turn on session logging)SH
7120 24261 MT
(\134Ktermtype)SH
17920 XM
(Toggle terminal type)SH
7120 25366 MT
(\134Kreset)SH
17920 XM
(Reset terminal emulator to initial state)SH
7120 26471 MT
(\134Kmodeline)SH
17920 XM
(Toggle modeline off/on)SH
7120 27576 MT
(\134Kbreak)SH
17920 XM
(Send a BREAK signal)SH
7120 28681 MT
(\134Klbreak)SH
17920 XM
(Send a "long BREAK" signal)SH
7120 29786 MT
(\134Khangup)SH
17920 XM
(Drop DTR so modem will hang up phone)SH
7120 30891 MT
(\134Knull)SH
17920 XM
(Send a null \050ASCII 0\051)SH
7120 31996 MT
(\134Kdos)SH
17920 XM
("Push" to DOS)SH
7120 33101 MT
(\134Khelp)SH
17920 XM
(Display CONNECT help message)SH
7120 34206 MT
(\134Kstatus)SH
17920 XM
(Display STATUS message)SH
7120 35311 MT
(\134Kterminals)SH
17920 XM
(Invoke user-defined macro TERMINALS, if any)SH
7120 36416 MT
(\134Kterminalr)SH
17920 XM
(Invoke user-defined macro TERMINALR, if any)SH
7120 37521 MT
(\134Kexit)SH
17920 XM
(Escape back from CONNECT mode)SH
7120 38626 MT
(\134Kgold,\134Kpf1)SH
17920 XM
(VT102 keypad function key PF1)SH
7120 39731 MT
(\134Kpf2..\134Kpf4)SH
17920 XM
(VT102 keypad function keys)SH
7120 40836 MT
(\134Kkp0..\134Kkp9)SH
17920 XM
(VT102 keypad numeric keys)SH
7120 41941 MT
(\134Kkpdot,\134Kkpminus,\134Kkpcoma,\134Kkpenter Other)
500 W( VT102 keypad keys)SH
7120 43046 MT
(\134Kuparr,\134Kdnarr,\134Klfarr,\134Krtarr VT102)
500 W( cursor \050arrow\051 keys)SH
/Times-Bold SF
18673 44837 MT
(Table 1-6:)SH
/Times-Roman SF
23534 XM
(Kermit-MS Verbs for the IBM PC Family)SH
46800 50 6120 46647 UL
12 /Times-Bold AF
6120 49035 MT
(SET MODE-LINE)SH
10 /Times-Roman AF
6120 50449 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET MODE-LINE {ON, OFF})SH
/Times-Roman SF
6120 52841 MT
(On systems, like)
161 W( the IBM PC family, which are capable of displaying a status, or "mode" line on the 25th \050or)162 W
6120 54037 MT
(bottom\051 line during terminal)
89 W( connection, disable or enable this function.  This command has no effect on systems)88 W
6120 55233 MT
(that do not display a mode line during connect.)SH
6120 57625 MT
(The mode line shows several important facts about the connection, like which port is being used,)
75 W( the transmission)76 W
6120 58821 MT
(speed and parity, the current escape character, etc.  When the mode line)
2 W( is enabled, it may be turned on and off using)1 W
6120 60017 MT
(the CONNECT escape-level command M or the Kermit verb "modeline".)SH
6120 62409 MT
(The mode line occupies the 25th line of those systems that have such a thing,)
83 W( and is not affected by scrolling \050on)84 W
6120 63605 MT
(some systems that have large screens,)
90 W( the mode line should appear on whatever the bottom line is, e.g. the 43rd\051.)89 W
6120 64801 MT
(When emulating a VT102 or Heath-19, Kermit will)
129 W( allow the host to address the 25th line directly using cursor)130 W
6120 65997 MT
(positioning commands.  If this happens, Kermit will remove its mode line)
47 W( and relinquish control of the 25th line to)46 W
6120 67193 MT
(the host \050as if you)
61 W( had typed SET MODE OFF\051.  When the Tektronix, or no terminal at all, is being emulated, the)62 W
6120 68389 MT
(25th line \050if any\051 is available for scrolling.  If the mode line is)
61 W( disabled by an application or by the command SET)60 W
6120 69585 MT
(MODE OFF then the only way to revive Kermit's mode line display is to give the command SET MODE ON.)SH
ES
%%Page: 43 44
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.10. The SET Command)SH
10 /Times-Italic AF
51775 XM
(Page 43)SH
46800 50 8280 5709 UL
12 /Times-Bold AF
8280 8004 MT
(SET PARITY)SH
10 /Times-Roman AF
8280 9418 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET PARITY {EVEN, ODD, MARK, SPACE, NONE})SH
/Times-Roman SF
8280 11810 MT
(Specify the character parity to be used on the currently selected)
126 W( port.  You will need to SET PARITY to ODD,)127 W
8280 13006 MT
(EVEN, MARK,)
98 W( or possibly SPACE when communicating with a system, or over a network, or through modems,)97 W
8280 14202 MT
(concentrators, multiplexers, or front ends that require or impose character parity on)
104 W( the communication line.  For)105 W
8280 15398 MT
(instance, most IBM mainframe computers use EVEN or MARK parity; Telenet normally uses MARK parity.)
10 W( If)
268 W( you)9 W
8280 16594 MT
(neglect to SET PARITY when the communications equipment requires it, the symptom may)
220 W( be that terminal)221 W
8280 17790 MT
(emulation works \050well or maybe only partially\051, but file transfer or script INPUT commands do not work at all.)SH
8280 20182 MT
(NONE means that no parity processing)
201 W( is done, and the 8th bit of each character can be used for data when)200 W
8280 21378 MT
(transmitting binary files.  This is the normal case.)
41 W( If)
334 W( parity is other than none, then there will be 7 data bits \050use of)42 W
8280 22574 MT
(parity with 8 data bits is not supported\051.)SH
8280 24966 MT
(If you have set parity to)
209 W( ODD, EVEN, MARK, or SPACE, then Kermit-MS will request that binary files be)208 W
8280 26162 MT
(transferred using 8th-bit-prefixing.  If the other Kermit knows how to do 8th-bit-prefixing \050this)
8 W( is an optional feature)9 W
8280 27358 MT
(of the Kermit protocol, and some implementations of Kermit don't have it\051,)
5 W( then 8-bit binary files can be transmitted)4 W
8280 28554 MT
(successfully. If)
282 W( NONE is specified, 8th-bit-prefixing will not be requested.  Note that there is no)
16 W( advantage to using)17 W
8280 29750 MT
(parity. It)
358 W( reduces Kermit's file transfer efficiency without providing additional error detection.  The SET PARITY)54 W
8280 30946 MT
(command is provided only to allow Kermit)
64 W( to adapt to conditions where parity is required, or 8-bit transmission is)65 W
8280 32142 MT
(otherwise thwarted.)SH
8280 34534 MT
(If parity is in use, then the display during terminal emulation, as well as any)
24 W( session log, will be 7-bit ASCII, unless)23 W
8280 35730 MT
(you have SET DEBUG ON \050q.v.\051.)SH
8280 38122 MT
(There may be situations)
18 W( in which you require 7-bit ASCII with no parity during terminal emulation, but still want to)19 W
8280 39318 MT
(force 8th bit prefixing during file transfer.  To accomplish this, SET PARITY SPACE.)SH
8280 41710 MT
(The INPUT and TRANSMIT commands use 7 or 8 bits if parity is NONE,)
207 W( according to the SET DISPLAY)206 W
8280 42906 MT
(command, and this may upset)
107 W( recognition of received characters when the host unexpectedly sends them with its)108 W
8280 44102 MT
(own parity.)SH
/Times-Italic SF
8280 46494 MT
(WARNING:)SH
/Times-Roman SF
13341 XM
(The SET PARITY command has no effect)
34 W( on a port used for printing.  This is because printing is done)33 W
8280 47690 MT
(by DOS, not Kermit.  Since Kermit clears hardware parity on COM1 at startup, it is not recommended that COM1)57 W
8280 48886 MT
(be used for a serial printer, unless the printer works with no parity.)SH
12 /Times-Bold AF
8280 51474 MT
(SET PORT)SH
10 /Times-Roman AF
8280 52888 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET PORT {)SH
/Times-Italic SF
(number)SH
/Courier SF
(, COM)SH
/Times-Italic SF
(n)SH
/Courier SF
(, BIOS)SH
/Times-Italic SF
(n)SH
/Courier SF
(, NET [)SH
/Times-Italic SF
(nodename)SH
/Courier SF
(], UB-NET1 [)SH
/Times-Italic SF
(nodename)SH
/Courier SF
(]})SH
/Times-Roman SF
8280 55280 MT
(On machines with more than)
33 W( one communications port, select the port to use for file transfer and CONNECT.  This)32 W
8280 56476 MT
(command lets you use a)
205 W( different asynchronous adapter, or switch between two or more simultaneous remote)206 W
8280 57672 MT
(sessions. Subsequent)
280 W( SET SPEED, PARITY, HANDSHAKE, FLOW, and LOCAL-ECHO)
15 W( commands will apply to)14 W
8280 58868 MT
(this port only -- each port remembers its own parameters, so that you)
83 W( may set them for each port and then switch)84 W
8280 60064 MT
(between ports conveniently with the SET PORT command.)SH
8280 62456 MT
(SET PORT 1 selects COM1, SET PORT 2 selects COM2.)
48 W( All)
344 W( versions default to port 1, except for the IBM PCjr,)47 W
8280 63652 MT
(which uses port)
198 W( 2 if its internal modem is installed.  Additionally, COM3 and COM4 are supported for IBM)199 W
8280 64848 MT
(PC/AT's and PS/2's, as explained in Section 1.18.3.)SH
8280 67240 MT
(SET PORT BIOS)62 W
/Times-Italic SF
(n)SH
/Times-Roman SF
(, on machines which support it, instructs Kermit to do serial port input and output by Bios calls)61 W
8280 68436 MT
(rather than going directly to the hardware)
162 W( \050)163 W
/Times-Italic SF
(n)SH
/Times-Roman SF
27518 XM
(is a digit between 1 and 4\051.  The most important use is allowing)163 W
8280 69632 MT
(selected network packages to intercept such Bios calls and relay the characters across the network.)SH
ES
%%Page: 44 45
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 44)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.10)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(In "generic")
16 W( MS-DOS Kermit, the following alternate forms allow you to experiment with device names or numbers)15 W
6120 9082 MT
(until you find the communication port:)SH
/Courier SF
8520 10737 MT
(SET PORT {DEVICE, FILE-HANDLE})SH
/Times-Roman SF
6120 12454 MT
(Just type a carriage return after either of these commands, and you will be prompted for a device name)
20 W( or a numeric)21 W
6120 13650 MT
(port-handle. Keep)
310 W( trying till you)
30 W( find one that works. File-handle 3, the system auxillary device, is conventional on)29 W
6120 14846 MT
(many machines, as are device names COM1, COM2, and AUX.)SH
6120 17238 MT
(MS-Kermit for the IBM PC family is able to operate over)
45 W( local area networks through the NetBIOS interface.  The)46 W
6120 18434 MT
(command)SH
/Courier SF
8520 20149 MT
(SET PORT NET [)SH
/Times-Italic SF
(nodename)SH
/Courier SF
(])SH
/Times-Roman SF
6120 21866 MT
(redirects communications the LAN board installed in the local computer)
181 W( and the associated NetBIOS emulator)180 W
6120 23062 MT
(software, if active, rather than the serial)
7 W( port or the COM device driver.  It installs a unique Kermit node name in the)8 W
6120 24258 MT
(local LAN, so that other nodes can refer to it when files are transferred or terminal)
27 W( emulation is done.  This name is)26 W
6120 25454 MT
(displayed when you give the SET PORT NET command.)
90 W( The)
432 W( server should use SET PORT NET, and the client)91 W
6120 26650 MT
(should use SET PORT NAME)80 W
/Times-Italic SF
19048 XM
(nodename)SH
/Times-Roman SF
(, specifying the server's name, e.g.)80 W
/Courier SF
37800 XM
(mskermit.K)SH
/Times-Roman SF
(. Note)
408 W( that alphabetic)79 W
6120 27846 MT
(case is significant in node names!)SH
6120 30238 MT
(Both the regular serial port and a network)
1 W( connection can be kept alive simultaneously; clearly, only one can be used)2 W
6120 31434 MT
(at a time under MS-DOS.  MS-DOS 3.x is not required for)
11 W( Kermit network usage, but most LANS do need DOS 3.1)10 W
6120 32630 MT
(or later for conventional file server work.  Kermit needs only the NetBIOS emulator network software.)SH
6120 35022 MT
(SET PORT UB-NET1)
84 W( is implemented on the IBM PC version of Kermit to allow connection to Ungermann-Bass)85 W
6120 36218 MT
(Net One LAN NETCI interface and behaves similarly to the NetBIOS method.)SH
12 /Times-Bold AF
6120 38806 MT
(SET PROMPT)SH
10 /Times-Roman AF
6120 40220 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET PROMPT [)SH
/Times-Italic SF
(string)SH
/Courier SF
(])SH
/Times-Roman SF
6120 42612 MT
(This command allows you to change the MS-DOS Kermit)
53 W( program's prompt.  The string may be enclosed in curly)52 W
6120 43808 MT
(braces. Control)
310 W( characters like ESC can be included as backslashed numbers like ``)30 W
/Courier SF
(\13427)SH
/Times-Roman SF
(''.)SH
/Courier SF
43336 XM
(ANSI.SYS)SH
/Times-Roman SF
48417 XM
(and similar)31 W
6120 45004 MT
(console drivers can be programmed through this command to get a boldface, inverse, and/or blinking prompt.  The)54 W
6120 46200 MT
(prompt string must be less)
175 W( than 128 characters.  If the string is omitted \050missing\051 Kermit's original prompt of)176 W
6120 47396 MT
(``)SH
/Courier SF
(Kermit-MS>)SH
/Times-Roman SF
('' is restored.)SH
12 /Times-Bold AF
6120 49984 MT
(SET RECEIVE)SH
10 /Times-Roman AF
6120 51398 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET RECEIVE)SH
/Times-Italic SF
16626 XM
(parameter value)350 W
/Times-Roman SF
6120 53790 MT
(This command lets you modify the ways in which MS-Kermit asks)
49 W( the other Kermit to behave.  That is, it controls)48 W
6120 54986 MT
(the file transfer protocol options for packets sent to MS-Kermit by the other)
10 W( Kermit.  The parameters and values you)11 W
6120 56182 MT
(specify in the SET RECEIVE command are sent to the other Kermit during initial negotiations.  Numbers may be)74 W
6120 57378 MT
(specified as ordinary decimal numbers \05074\051, or in backslash notation \050\134x03F\051.)SH
/Courier SF
6120 59167 MT
(END-OF-LINE)SH
/Times-Italic SF
13320 XM
(number)SH
/Times-Roman SF
10120 60272 MT
(The ASCII value of terminating character to look for on incoming packets.  Normally)
7 W( carriage return.  Use)6 W
10120 61377 MT
(this command if the other Kermit is terminating its packets with some other control character.)SH
/Courier SF
6120 62954 MT
(PACKET-LENGTH)SH
/Times-Italic SF
14520 XM
(number)SH
/Times-Roman SF
10120 64059 MT
(Ask the)
41 W( remote Kermit to use the specified maximum length for packets that it sends to Kermit-MS.  The)40 W
10120 65164 MT
(normal length is 94 bytes.  Use this command to shorten packets if the communication line is noisy or)114 W
10120 66269 MT
(terminal buffers somewhere along)
67 W( the path are too small.  Shorter packets decrease the probability that a)66 W
10120 67374 MT
(particular packet will be corrupted, and will reduce the retransmission overhead when corruption occurs,)73 W
10120 68479 MT
(but will increase the file transfer throughput.)SH
ES
%%Page: 45 46
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.10. The SET Command)SH
10 /Times-Italic AF
51775 XM
(Page 45)SH
46800 50 8280 5709 UL
/Times-Roman SF
12280 7886 MT
(If a)
56 W( length greater than 94 is specified, a protocol option called "long packets" will be used, provided the)55 W
12280 8991 MT
(other Kermit also supports it.)
140 W( Kermit-MS)
532 W( can receive extended-length packets up to 1000 bytes long.)141 W
12280 10096 MT
(Long Packets can improve efficiency by reducing the per-packet overhead for a file, but they will not be)64 W
12280 11201 MT
(used unless you issue)
275 W( this command.  Before using this option, ensure that the equipment on the)276 W
12280 12306 MT
(communications pathway)
132 W( can absorb a long packet, and that the connection is clean \050retransmission of)131 W
12280 13411 MT
(long packets is expensive!\051.  You should also SET BLOCK-CHECK 2 or 3)
222 W( for more reliable error)223 W
12280 14516 MT
(checking.)SH
/Courier SF
8280 16093 MT
(PADCHAR)SH
/Times-Italic SF
13080 XM
(number)SH
/Times-Roman SF
12280 17198 MT
(Ask the remote Kermit to use the given control character \050expressed)
6 W( as a decimal number 0-31, or 127\051 for)7 W
12280 18303 MT
(interpacket padding.  Kermit-MS should never require any padding.)SH
/Courier SF
8280 19880 MT
(PADDING)SH
/Times-Italic SF
13080 XM
(number)SH
/Times-Roman SF
12280 20985 MT
(Ask the remote Kermit to insert the given number of padding)
170 W( characters before each packet it sends.)171 W
12280 22090 MT
(MS-Kermit never needs padding, but this)
289 W( mechanism might be required to keep some intervening)288 W
12280 23195 MT
(communication equipment happy.)SH
/Courier SF
8280 24772 MT
(START-OF-PACKET)SH
/Times-Italic SF
17880 XM
(number)SH
/Times-Roman SF
12280 25877 MT
(If the remote Kermit will be marking the beginning of packets with a control character other)
245 W( than)244 W
12280 26982 MT
(Control-A, use this command to tell Kermit-MS about it \050the number)
55 W( should be the decimal ASCII value)56 W
12280 28087 MT
(of a control character\051.  This will be necessary only if)
115 W( the hosts or communication equipment involved)114 W
12280 29192 MT
(cannot pass)
13 W( a Control-A through as data, or if some piece of communication equipment is echoing packets)14 W
12280 30297 MT
(back at you.)SH
/Courier SF
8280 31874 MT
(TIMEOUT)SH
/Times-Italic SF
13080 XM
(number)SH
/Times-Roman SF
12280 32979 MT
(Ask the remote Kermit to time out and retransmit after the given number of seconds if)
54 W( a packet expected)55 W
12280 34084 MT
(from Kermit-MS has)
236 W( not arrived.  Use this command to change the other Kermit's normal timeout)235 W
12280 35189 MT
(interval.)SH
12 /Times-Bold AF
8280 37777 MT
(SET REMOTE)SH
10 /Times-Roman AF
8280 39191 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET REMOTE {ON, OFF})SH
/Times-Roman SF
8280 41583 MT
(SET REMOTE ON removes)
27 W( the file transfer display \050as if you had given the command SET DISPLAY QUIET\051.  It)28 W
8280 42779 MT
(should be used when you are running Kermit-MS in remote mode when)
113 W( coming in from another PC through the)112 W
8280 43975 MT
(Kermit-MS's "back port", to which the console has been reassigned using the DOS CTTY command, e.g.)SH
/Courier SF
10680 45630 MT
(CTTY COM1)SH
/Times-Roman SF
8280 47347 MT
(It is necessary to issue the SET REMOTE ON command because \050a\051 Kermit-MS)
102 W( has no way of knowing that its)103 W
8280 48543 MT
(console has been)
47 W( redirected, and \050b\051 when the console is the same as the port, the file transfer display will interfere)46 W
8280 49739 MT
(with the file transfer itself.  SET REMOTE OFF returns the file transfer display to its)
13 W( preferred style \050REGULAR or)14 W
8280 50935 MT
(SERIAL\051. When)
324 W( you SET REMOTE ON, you might also)
37 W( want to SET DELAY 5 or thereabouts, to allow yourself)36 W
8280 52131 MT
(time to escape back to the local system before MS-Kermit starts sending packets.)SH
8280 54523 MT
(On the IBM PC, CTTY CON returns control to the normal)
4 W( keyboard and screen \050other systems may use other device)5 W
8280 55719 MT
(names, e.g. SCRN\051.  See section 1.18.4 for further details about remote operation.)SH
8280 58111 MT
(If you)
112 W( are using a port other than COM1 on the remote MS-Kermit, you must give it an appropriate SET PORT)111 W
8280 59307 MT
(command.)SH
/Times-Italic SF
8280 61699 MT
(WARNING)SH
/Times-Roman SF
(: During CTTY console redirection, many programs still output to the real screen)
38 W( and require input from)39 W
8280 62895 MT
(the real keyboard and will hang the system until keyboard requests are satisfied.)SH
ES
%%Page: 46 47
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 46)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.10)SH
46800 50 6120 5709 UL
6120 8004 MT
(SET RETRY)SH
10 /Times-Roman AF
6120 9418 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET RETRY)SH
/Times-Italic SF
15426 XM
(number)SH
/Times-Roman SF
6120 11810 MT
(Sets the number of times a packet is retransmitted before the protocol gives up.)
156 W( The)
561 W( number of retries can be)155 W
6120 13006 MT
(between 1 and 63, and is 5 by default.)
10 W( This)
272 W( is an especially useful parameter when the communications line is noisy)11 W
6120 14202 MT
(or the remote)
65 W( host is very busy.  The initial packet of a file exchange is given three times as many retries to allow)64 W
6120 15398 MT
(both systems to become ready.)SH
12 /Times-Bold AF
6120 17986 MT
(SET SEND)SH
10 /Times-Roman AF
6120 19400 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET SEND)SH
/Times-Italic SF
14826 XM
(parameter value)350 W
/Times-Roman SF
6120 21792 MT
(The SET SEND command is used primarily)
14 W( to override negotiated protocol options, or to establish them before they)15 W
6120 22988 MT
(are negotiated.)SH
/Courier SF
6120 24777 MT
(END-OF-LINE)SH
/Times-Italic SF
13320 XM
(number)SH
/Times-Roman SF
10120 25882 MT
(ASCII value of packet terminator to put on outbound)
227 W( packets.  Normally carriage return.  Use this)228 W
10120 26987 MT
(command if the other Kermit needs its packets terminated with a nonstandard control character.)SH
/Courier SF
6120 28564 MT
(PACKET-LENGTH)SH
/Times-Italic SF
14520 XM
(number)SH
/Times-Roman SF
10120 29669 MT
(Use this as the maximum length for outbound packets, regardless of what)
182 W( the other Kermit asks for.)183 W
10120 30774 MT
(Normally, you would use this command only)
182 W( to send shorter packets than the other Kermit requests,)181 W
10120 31879 MT
(because you know something)
34 W( the other Kermit doesn't know, e.g.  there's a device on the communication)35 W
10120 32984 MT
(path with small buffers.)SH
/Courier SF
6120 34561 MT
(PADCHAR)SH
/Times-Italic SF
10920 XM
(number)SH
/Times-Roman SF
10120 35666 MT
(Use the specified control character for interpacket padding.)
222 W( Some)
695 W( hosts may require some padding)223 W
10120 36771 MT
(characters \050normally NUL or DEL\051 before a packet, and)
231 W( certain front ends or other communication)230 W
10120 37876 MT
(equipment may need certain control characters to put them in)
52 W( the right modes.  The number is the ASCII)53 W
10120 38981 MT
(decimal value of the padding character, \0500 - 31, or 127\051.)SH
/Courier SF
6120 40558 MT
(PADDING)SH
/Times-Italic SF
10920 XM
(number)SH
/Times-Roman SF
10120 41663 MT
(How many copies of the pad character to send before each packet, normally zero.)SH
/Courier SF
6120 43240 MT
(PAUSE)SH
/Times-Italic SF
9720 XM
(number)SH
/Times-Roman SF
10120 44345 MT
(How many milliseconds to pause before sending each packet, 0-127, normally zero.  This may)
202 W( help)201 W
10120 45450 MT
(half-duplex or slow systems prepare for reception of our)
8 W( packet.  Padding characters are sent only after the)9 W
10120 46555 MT
(time limit expires.)SH
/Courier SF
6120 48132 MT
(QUOTE)SH
/Times-Italic SF
9720 XM
(number)SH
/Times-Roman SF
10120 49237 MT
(Use the indicated)
19 W( printable character for prefixing \050quoting\051 control characters and other prefix characters.)20 W
10120 50342 MT
(The only reason to change this would be for sending a very)
194 W( long file that contains very many ``)193 W
/Courier SF
(#)SH
/Times-Roman SF
('')SH
10120 51447 MT
(characters \050the normal control prefix\051 as data.)SH
/Courier SF
6120 53024 MT
(START-OF-PACKET)SH
/Times-Italic SF
15720 XM
(number)SH
/Times-Roman SF
10120 54129 MT
(Mark the beginning of outbound packets with some control)
63 W( character other than Control-A.  This will be)62 W
10120 55234 MT
(necessary if the remote host or the communication)
145 W( channel cannot accept a Control-A as data, or if it)146 W
10120 56339 MT
(echoes back your packets.  The remote host must have been given the corresponding SET)
165 W( RECEIVE)164 W
10120 57444 MT
(START-OF-PACKET command.)SH
/Courier SF
6120 59021 MT
(TIMEOUT)SH
/Times-Italic SF
10920 XM
(number)SH
/Times-Roman SF
10120 60126 MT
(Change Kermit-MS's normal timeout interval; this command)
7 W( is effective only if TIMER is set to be ON; it)6 W
10120 61231 MT
(is normally ON, with a default interval of 13 seconds.)SH
12 /Times-Bold AF
6120 63819 MT
(SET SERVER)SH
10 /Times-Roman AF
6120 65233 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET SERVER TIMEOUT)SH
/Times-Italic SF
20826 XM
(seconds)SH
/Times-Roman SF
6120 67625 MT
(Specify how often the)
14 W( MS-DOS Kermit server should send NAK packets while waiting for commands.  These NAK)15 W
6120 68821 MT
(packets are used to recover)
39 W( from deadlocks that might occur when the other Kermit sends an initial packet which is)38 W
6120 70017 MT
(lost, but does not have the capability to time out and retransmit it.  These NAKs)
165 W( can be supressed entirely by)166 W
6120 71213 MT
(specifying a value of zero.  This may be necessary to avoid interfering with certain modems or PBXs)
78 W( that go into)77 W
ES
%%Page: 47 48
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.10. The SET Command)SH
10 /Times-Italic AF
51775 XM
(Page 47)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(originate mode when they receive input from the PC, when in fact you want the device to be in answer mode.)SH
12 /Times-Bold AF
8280 10474 MT
(SET SPEED)SH
10 /Times-Roman AF
8280 11888 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET SPEED)SH
/Times-Italic SF
17586 XM
(rate)SH
/Times-Roman SF
8280 14280 MT
(Set the transmission speed \050in bits per)
342 W( second, commonly called)343 W
/Times-Italic SF
37563 XM
(baud)SH
/Times-Roman SF
(\051 of the currently selected terminal)343 W
8280 15476 MT
(communications port to 300, 1200, 1800, 2400, 4800, 9600, or other common speed, and on the IBM PC family,)97 W
8280 16672 MT
(higher speeds including 19200, 38400, 57600, and 115200.  Both connected)
128 W( systems, as well as any intervening)129 W
8280 17868 MT
(communication equipment, must be able to support the)
16 W( specified transmission speed, and both systems should be set)15 W
8280 19064 MT
(to the same speed.)SH
8280 21456 MT
(Some implementations do not support the SET SPEED command.  But Kermit-MS leaves)
444 W( the current)445 W
8280 22652 MT
(communication port settings alone unless you issue explicit SET commands to change them, so you may use MODE)8 W
8280 23848 MT
(or other DOS programs to establish the desired settings before running Kermit.)SH
8280 26240 MT
(On certain systems, when you first run Kermit after powering the system up, you may get)
19 W( a message "Unrecognized)20 W
8280 27436 MT
(baud rate".  This means that Kermit tried to read the baud rate from the port and none was set.)
96 W( Simply)
440 W( use SET)95 W
8280 28632 MT
(SPEED \050if available\051 or the DOS MODE command to set the desired baud rate.)SH
8280 31024 MT
(SET BAUD is a synonym for SET SPEED.)SH
12 /Times-Bold AF
8280 33612 MT
(SET TAKE-ECHO)SH
10 /Times-Roman AF
8280 35026 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET TAKE-ECHO {ON, OFF})SH
/Times-Roman SF
8280 37418 MT
(Specifies whether screen display should occur during implicit or explicit TAKE operations)
47 W( on)48 W
/Courier SF
46749 XM
(MSKERMIT.INI)SH
/Times-Roman SF
54247 XM
(or)SH
8280 38614 MT
(other Kermit-MS command files, and during evaluation of)
169 W( macro definitions by the DO command.  Handy for)168 W
8280 39810 MT
(finding errors in TAKE files or macro definitions.)SH
12 /Times-Bold AF
8280 42398 MT
(SET TERMINAL)SH
10 /Times-Roman AF
8280 43812 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET TERMINAL {)SH
/Times-Italic SF
(type)SH
/Courier SF
(,)SH
/Times-Italic SF
22852 XM
(parameter)SH
/Courier SF
27618 XM
([)SH
/Times-Italic SF
(value)SH
/Courier SF
(]})SH
/Times-Roman SF
8280 46204 MT
(This command controls most aspects of terminal emulation.)
305 W( Most)
862 W( of the parameters are only settable \050or)306 W
8280 47400 MT
(meaningful\051 on the IBM PC family and compatibles.)
56 W( \050Programmers)
361 W( who are proficient on other MS-DOS systems)55 W
8280 48596 MT
(are invited)
92 W( to fill in these functions for those systems and send the results back to Columbia.\051  On other systems,)93 W
8280 49792 MT
(built-in setup modes or DOS commands can be used to accomplish the same functions.)SH
8280 52184 MT
(The first group of parameters tells which kind of terminal to emulate.  When Kermit-MS uses its built-in software)71 W
8280 53380 MT
(for emulation, incoming characters)
91 W( are examined for screen control commands \050escape sequences\051 specific to that)92 W
8280 54576 MT
(terminal, and if encountered, the commands are executed on the PC screen.)SH
/Courier SF
8280 56367 MT
(NONE)SH
/Times-Roman SF
12280 XM
(Act as a dumb terminal.  All incoming)
28 W( characters will be sent to the screen "bare", as-is, through DOS.  If)27 W
12280 57472 MT
(you have loaded a device driver into DOS for the)6 W
/Courier SF
32281 XM
(CON)SH
/Times-Roman SF
34338 XM
(device, such as)7 W
/Courier SF
40635 XM
(ANSI.SYS)SH
/Times-Roman SF
(, then that driver will be)7 W
12280 58577 MT
(able to interpret the codes itself.  Many non-IBM systems have)
70 W( their own screen control code interpreter)69 W
12280 59682 MT
(built into DOS or firmware, or available as a loadable device driver.)SH
/Courier SF
8280 61259 MT
(VT52)SH
/Times-Roman SF
12280 XM
(The DEC VT-52 terminal.)SH
/Courier SF
8280 62836 MT
(HEATH)SH
/Times-Roman SF
12280 XM
(The Heath/Zenith-19 terminal \050H19\051,)
166 W( which supports all the VT52 commands, plus line and character)167 W
12280 63941 MT
(insert/delete editing functions, an ANSI mode, and a 25th line.)SH
/Courier SF
8280 65518 MT
(VT102)SH
/Times-Roman SF
12280 XM
(The DEC VT102 \050ANSI\051 terminal, which is the same as)
206 W( the VT100 but also supports line/character)205 W
12280 66623 MT
(insert/delete editing functions and ANSI printer controls.)SH
/Courier SF
8280 68200 MT
(TEK4010)SH
/Times-Roman SF
12280 69305 MT
(A Tektronix 4010 graphics terminal.  Currently only available on IBM, TI, and Victor PCs.)
51 W( On)
351 W( the IBM)50 W
12280 70410 MT
(family, Kermit automatically senses and adapts to)
59 W( the CGA, EGA, Monochrome, Hercules, or ATT style)60 W
12280 71515 MT
(board.)SH
ES
%%Page: 48 49
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 48)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.10)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(On the IBM family, you may "toggle" among the supported terminal emulations by typing Alt-Minus.)SH
6120 10278 MT
(The specific escape sequences supported by Kermit for each of these terminal types are listed in)
136 W( section 1.17.1.)135 W
6120 11474 MT
(Note that when a Kermit program)
253 W( includes Tektronix emulation, this can be invoked automatically while in)254 W
6120 12670 MT
(character mode \050VT102, VT52, or Heath emulation\051 when the emulator receives certain escape sequences.)
18 W( This)
285 W( can)17 W
6120 13866 MT
(be turned off using the DISABLE TEK command.)SH
6120 16258 MT
(The remaining SET TERMINAL commands specify setup options for the selected terminal:)SH
/Courier SF
6120 17987 MT
(CHARACTER-SET {UK, US, ALTERNATE-ROM})SH
/Times-Roman SF
10120 19092 MT
(UK displays ``)294 W
/Courier SF
(#)SH
/Times-Roman SF
('' \050ASCII 35, number sign\051 as a pound sterling sign, US)
294 W( displays ``)293 W
/Courier SF
(#)SH
/Times-Roman SF
('' as ``)293 W
/Courier SF
(#)SH
/Times-Roman SF
(''.)SH
10120 20197 MT
(ALTERNATE-ROM maps accent grave and the lowercase letters to be national characters)
137 W( in the IBM)138 W
10120 21302 MT
(video adapter.  That is, character codes of 60h to 7Ah \050accent grave, lower case a-z\051 are mapped to)
40 W( codes)39 W
10120 22407 MT
(80h to)
258 W( 9Ah.  The SET TERMINAL CHARACTER-SET command applies only during VT100/102)259 W
10120 23512 MT
(emulation.)SH
/Courier SF
6120 25089 MT
(CLEAR-SCREEN)SH
/Times-Roman SF
10120 26194 MT
(Clears the screen, so that a subsequent CONNECT command shows a blank screen.  The action taken is)72 W
10120 27299 MT
(identical to Kermit's)SH
/Courier SF
18647 XM
(\134Kreset)SH
/Times-Roman SF
23097 XM
(verb.)SH
/Courier SF
6120 28876 MT
(COLOR)SH
/Times-Italic SF
9720 XM
(number)SH
/Courier SF
13375 XM
([,)SH
/Times-Italic SF
15175 XM
(number)SH
/Courier SF
18830 XM
([,)SH
/Times-Italic SF
20630 XM
(number)SH
/Courier SF
(]])SH
/Times-Roman SF
10120 29981 MT
(Several numbers, applied in left to right sequence, separated by commas or spaces:)SH
11120 31320 MT
(0)SH
13120 XM
(Reset the colors to normal intensity white characters on a black background and use the)
16 W( "no-snow")17 W
13120 32425 MT
(mode on the IBM Color Graphics Adapter \050CGA\051.)SH
11120 33530 MT
(1)SH
13120 XM
(High intensity foreground)SH
11120 34635 MT
(10)SH
13120 XM
(Request fast screen updating for)
131 W( use on the IBM Mono, EGA, or VGA \050usually sensed and set)130 W
13120 35740 MT
(internally by Kermit\051, and some non-IBM CGAs.)SH
11120 36845 MT
(3)SH
/Times-Italic SF
(x)SH
/Times-Roman SF
13120 XM
(Foreground color)SH
11120 37950 MT
(4)SH
/Times-Italic SF
(x)SH
/Times-Roman SF
13120 XM
(Background color)SH
10120 39289 MT
(where)SH
/Times-Italic SF
12813 XM
(x)SH
/Times-Roman SF
13507 XM
(is a single digit from 0 to 7, which is the sum of the desired colors:)SH
11120 41080 MT
(1)SH
13120 XM
(Red)SH
11120 42185 MT
(2)SH
13120 XM
(Green)SH
11120 43290 MT
(4)SH
13120 XM
(Blue)SH
10120 45081 MT
(Example: "SET TERMINAL COLOR 0)
68 W( 1 37 44" on an IBM CGA would produce bold white characters)69 W
10120 46186 MT
(on a blue field with no snow.  The)
116 W( snow removal business has to do with whether the program should)115 W
10120 47291 MT
(synchronize with vertical retrace when updating screen memory.  This is necessary with certain color)163 W
10120 48396 MT
(adaptors \050like the CGA\051 and unnecessary for others \050like the EGA\051.)SH
/Courier SF
6120 49973 MT
(CURSOR-STYLE {BLOCK, UNDERLINE})SH
/Times-Roman SF
10120 51078 MT
(Sets the cursor)
156 W( rendition to your preference.  Note that on some early IBM PCs and compatibles, the)157 W
10120 52183 MT
(cursor may not be restored correctly after escaping back from CONNECT)
89 W( because of a bug in the early)88 W
10120 53288 MT
(IBM BIOS.)SH
/Courier SF
6120 54865 MT
(DIRECTION {LEFT-TO-RIGHT, RIGHT-TO-LEFT})SH
/Times-Roman SF
10120 55970 MT
(Controls the direction of screen display during CONNECT.  You may use Right-to-Left for Hebrew or)113 W
10120 57075 MT
(Arabic, provided you have the appropriate character sets loaded.)SH
/Courier SF
6120 58652 MT
(KEYCLICK {ON, OFF})SH
/Times-Roman SF
10120 59757 MT
(Turns electronic)
12 W( keyclick ON or OFF.  If your keyboard has a mechanical clicker \050as IBM boards do\051, you)11 W
10120 60862 MT
(may not notice the effect of this command.)SH
/Courier SF
6120 62439 MT
(GRAPHICS {AUTO-SENSING, CGA, EGA, VGA, HERCULES, ATT})SH
/Times-Roman SF
10120 63544 MT
(Manually selects the kind of display adapter for Tektronix graphics.  AUTO-SENSING is)
153 W( the default,)152 W
10120 64649 MT
(VGA means 640x480x16 colors, and ATT encompasses the ATT 6300 series, Olivetti)
113 W( M24/M28, DEC)114 W
10120 65754 MT
(VAXmate II, and the Toshiba T3100 in 640x400 b/w \050see Table 1-5\051.)SH
/Courier SF
6120 67331 MT
(MARGIN-BELL {ON, OFF})SH
/Times-Roman SF
10120 68436 MT
(Controls whether the bell should be sounded when the cursor passes column 72 near the right screen)165 W
10120 69541 MT
(margin; wider displays set the bell 8 columns from the right edge.)SH
ES
%%Page: 49 50
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.10. The SET Command)SH
10 /Times-Italic AF
51775 XM
(Page 49)SH
46800 50 8280 5709 UL
/Courier SF
8280 7824 MT
(NEWLINE-MODE {ON, OFF})SH
/Times-Roman SF
12280 8929 MT
(ON sends a carriage-return-linefeed)
201 W( combination \050CRLF\051 when you type carriage return \050CR\051 during)202 W
12280 10034 MT
(terminal emulation.  OFF \050default\051 just)
73 W( sends a CR when you type CR.  Useful in conjunction with SET)72 W
12280 11139 MT
(LOCAL-ECHO ON when CONNECTing two PC's back-to-back.)SH
/Courier SF
8280 12716 MT
(ROLL {ON, OFF})SH
/Times-Roman SF
12280 13821 MT
(ON unrolls the screen to)
20 W( the bottom before adding new material if the screen had been rolled back, e.g. by)19 W
12280 14926 MT
(Ctrl-PgUp. ROLL)
272 W( OFF \050the default\051 displays new material on the current screen, possibly overwriting)
11 W( old)12 W
12280 16031 MT
(material.)SH
/Courier SF
8280 17608 MT
(SCREEN-BACKGROUND {NORMAL, REVERSE})SH
/Times-Roman SF
12280 18713 MT
(NORMAL means dark background, light characters.  REVERSE means light background, dark characters.)SH
/Courier SF
8280 20290 MT
(TAB {AT)SH
/Times-Italic SF
13080 XM
(n)SH
/Courier SF
(, CLEAR AT)SH
/Times-Italic SF
20180 XM
(n)SH
/Courier SF
(, CLEAR ALL})SH
/Times-Roman SF
12280 21395 MT
(Sets tab stops or clears one or all tab stops;)72 W
/Times-Italic SF
30443 XM
(n)SH
/Times-Roman SF
31265 XM
(is the numeric position of the tab)
72 W( to be set or cleared.  By)71 W
12280 22500 MT
(default, tabs are every 8 spaces, at)
75 W( positions 9, 17, 25, etc.  Only meaningful when emulating a terminal)76 W
12280 23605 MT
(that has settable tabs \050the VT52 doesn't really)
118 W( but the emulator can set them anyway\051.  More than one)117 W
12280 24710 MT
(tabstop may be specified by separating column numbers with commas, spaces, or tabs.  You may also)
31 W( use)32 W
12280 25815 MT
(the notation ")71 W
/Times-Italic SF
(m)SH
/Courier SF
(:)SH
/Times-Italic SF
(n)SH
/Times-Roman SF
(" to specify regularly spaced)
71 W( tabs across the screen, where)70 W
/Times-Italic SF
43840 XM
(m)SH
/Times-Roman SF
44882 XM
(is the initial tab position,)70 W
12280 26920 MT
(and)SH
/Times-Italic SF
13974 XM
(n)SH
/Times-Roman SF
14724 XM
(is the spacing between tabs.  132 columns are supported.)SH
/Courier SF
8280 28497 MT
(WRAP {ON, OFF})SH
/Times-Roman SF
12280 29602 MT
(ON automatically breaks screen lines \050by inserting a CRLF\051 when they reach)
167 W( the right margin.  OFF)166 W
12280 30707 MT
(disables wrapping -- if a line is too long, the excess characters go off the screen.  WRAP is OFF by)157 W
12280 31812 MT
(default, since most hosts format lines to fit on your screen.)SH
12 /Times-Bold AF
8280 34400 MT
(SET TIMER)SH
10 /Times-Roman AF
8280 35814 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET TIMER {ON, OFF})SH
/Times-Roman SF
8280 38206 MT
(This command enables or disables)
129 W( the timer that is used during file transfer to break deadlocks that occur when)128 W
8280 39402 MT
(expected packets do not arrive.  By default, the timer is ON.  If the other Kermit is providing)
111 W( timeouts, you can)112 W
8280 40598 MT
(safely turn the timer OFF to avoid unnecessary retransmissions that occur when two timers go off simultaneously.)SH
12 /Times-Bold AF
8280 43186 MT
(SET TRANSLATION)SH
10 /Times-Roman AF
8280 44600 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET TRANSLATION INPUT {ON, OFF,)SH
/Times-Italic SF
30786 XM
(char1 char2)350 W
/Courier SF
(})SH
/Times-Roman SF
8280 46992 MT
(This command provides multi-language support \050and perhaps other special effects\051 during CONNECT, and)
75 W( during)74 W
8280 48188 MT
(execution of)
98 W( the INPUT, OUTPUT, PAUSE, and TRANSMIT script commands, but not during file transfer or at)99 W
8280 49384 MT
(MS-Kermit command level.  A character that arrives at the communication port \050)15 W
/Times-Italic SF
(char1)SH
/Times-Roman SF
(\051 will be translated)
15 W( to another)14 W
8280 50580 MT
(character \050)257 W
/Times-Italic SF
(char2)SH
/Times-Roman SF
(\051 before display on the screen.  As many as)
257 W( 256 characters may have translations specified)258 W
8280 51776 MT
(concurrently. But)
402 W( to see characters with ASCII values higher than 127, you must also SET DISPLAY 8 and SET)76 W
8280 52972 MT
(PARITY NONE.)SH
8280 55364 MT
(SET TRANSLATION INPUT ON enables translation \050the keyword INPUT is)
93 W( required to allow future translation)94 W
8280 56560 MT
(mechanisms\051. OFF)
418 W( disables the translation and)
84 W( is the default.  So even if you have set up a translation table, you)83 W
8280 57756 MT
(must SET)
1 W( TRANSLATION INPUT ON before it will take effect.  SHOW TRANSLATION tells whether translation)2 W
8280 58952 MT
(is OFF or ON, and displays any current table entries.)SH
8280 61344 MT
(Translation table entries are made by specifying byte pairs in ASCII or numeric backslash form:)SH
/Courier SF
10680 62999 MT
(SET TRANS INPUT \1343 \13413)SH
/Times-Roman SF
8280 64716 MT
(converts incoming ASCII ETX characters \050decimal 3\051)
125 W( to ASCII CR \050decimal 13\051.  8-bit values are allowed, and)124 W
8280 65912 MT
(refer to characters in the "upper half")
56 W( of the PC's character set, either the ROM characters supplied with the PC or)57 W
8280 67108 MT
(else substitutions provided by a special device driver.)SH
8280 69500 MT
(A more)
42 W( practical example shows how the user of a German PC could use the SET TRANSLATION and SET KEY)41 W
8280 70696 MT
(commands to make the PC's umlaut-a key \050key code 132\051 send a)
35 W( left curly brace \050``)36 W
/Courier SF
({)SH
/Times-Roman SF
('', ASCII 123\051, and to display)36 W
8280 71892 MT
(incoming curly braces as umlaut-a's:)SH
ES
%%Page: 50 51
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 50)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.6.10)SH
46800 50 6120 5709 UL
10 /Courier AF
8520 7824 MT
(SET KEY \134d132 \134d123)SH
8520 8855 MT
(SET TRANS INP { \134d132)SH
/Times-Roman SF
6120 10572 MT
(\050This example applies to the IBM PC German keyboard, and assumes the)
56 W( German keyboard driver, KEYBGR, has)55 W
6120 11768 MT
(been loaded.  This is usually done in)SH
/Courier SF
20980 XM
(AUTOEXEC.BAT)SH
/Times-Roman SF
(.\051)SH
12 /Times-Bold AF
6120 14356 MT
(SET WARNING)SH
10 /Times-Roman AF
6120 15770 MT
(Syntax:)SH
/Courier SF
9426 XM
(SET WARNING {ON, OFF})SH
/Times-Roman SF
6120 18162 MT
(Specify what to do when an incoming file is about to be stored under)
31 W( the same name as an existing file in the target)32 W
6120 19358 MT
(device and directory.  If ON, Kermit will warn you when an incoming file has the same)
8 W( name as an existing file, and)7 W
6120 20554 MT
(automatically rename the incoming file \050as indicated in)
78 W( the warning message\051 so as not to destroy \050overwrite\051 any)79 W
6120 21750 MT
(existing one.)
200 W( If)
648 W( OFF, the pre-existing file is destroyed, even if the incoming file does not arrive completely.)199 W
6120 22946 MT
(WARNING is ON by default as a safety measure, and the current setting may be observed in)
136 W( the SHOW FILE)137 W
6120 24142 MT
(display.)SH
6120 26534 MT
(The new name is formed by adding numbers to the part of the name before the dot.)
175 W( For)
598 W( instance,)174 W
/Courier SF
48720 XM
(ABC.TXT)SH
/Times-Roman SF
6120 27730 MT
(becomes)SH
/Courier SF
10115 XM
(ABC00001.TXT)SH
/Times-Roman SF
(,)SH
/Courier SF
18061 XM
(ABC00001.TXT)SH
/Times-Roman SF
25757 XM
(becomes)SH
/Courier SF
29752 XM
(ABC00002.TXT)SH
/Times-Roman SF
(, etc.  If the)
246 W( name already has eight)247 W
6120 28926 MT
(characters, then digits replace the rightmost characters.)SH
12 /Times-Bold AF
6120 32042 MT
(1.6.11. The STATUS and SHOW Commands)SH
10 /Times-Roman AF
6120 33984 MT
(The values of MS-Kermit options that can be SET, DEFINEd, ENABLEd, or DISABLEd can be displayed)
5 W( using the)4 W
6120 35180 MT
(STATUS or SHOW commands.)SH
12 /Times-Bold AF
6120 37768 MT
(The STATUS Command)SH
10 /Times-Roman AF
6120 39182 MT
(Syntax:)SH
/Courier SF
9426 XM
(STATUS)SH
/Times-Roman SF
6120 41574 MT
(The STATUS command displays)
68 W( the values of the current SET options on a single screen.  There are no operands)69 W
6120 42770 MT
(for the STATUS command.)
459 W( Use)
1167 W( the SHOW command to see logically-grouped settings, e.g. SHOW)458 W
6120 43966 MT
(COMMUNICATIONS, SHOW TERMINAL.)SH
12 /Times-Bold AF
6120 46554 MT
(The SHOW Command)SH
10 /Times-Roman AF
6120 47968 MT
(Syntax:)SH
/Courier SF
9426 XM
(SHOW)SH
/Times-Italic SF
12426 XM
(option)SH
/Times-Roman SF
6120 50360 MT
(The SHOW command is used for displaying communication parameters,)
100 W( protocol settings, macro definitions, key)101 W
6120 51556 MT
(redefinitions, file transfer statistics, translations, and other common groupings.)SH
/Courier SF
6120 53285 MT
(SHOW COMMUNICATIONS)SH
/Times-Roman SF
10120 54390 MT
(displays the settings of the current serial)
153 W( port \050port, speed, parity, echo, etc\051 and the status of modem)154 W
10120 55495 MT
(signals Carrier Detect, Data Set \050modem\051 Ready, and Clear To Send.)SH
/Courier SF
6120 57072 MT
(SHOW FILE)SH
/Times-Roman SF
10120 58177 MT
(displays the file transfer control settings, such as the current)
96 W( path, file discard, attributes packets on/off,)97 W
10120 59282 MT
(warning, end-of-file convention, etc.)SH
/Courier SF
6120 60859 MT
(SHOW KEY)SH
/Times-Roman SF
10120 61964 MT
(allows you to determine a key's identification code and what it will send in CONNECT mode, most)
8 W( useful)9 W
10120 63069 MT
(for obtaining the identification of a key when SET KEY commands will be placed in a TAKE file.)
60 W( This)369 W
10120 64174 MT
(command can be done only interactively \050use a)201 W
/Courier SF
30835 XM
(?)SH
/Times-Roman SF
31886 XM
(to see all defined keys\051.  Refer to the SET KEY)201 W
10120 65279 MT
(description for details.)SH
/Courier SF
6120 66856 MT
(SHOW LOGGING)SH
/Times-Roman SF
10120 67961 MT
(Displays the names of the session, packet, and transaction logs, and tells whether logging is in effect.)SH
ES
%%Page: 51 52
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.6.11. The STATUS and SHOW Commands)SH
10 /Times-Italic AF
51775 XM
(Page 51)SH
46800 50 8280 5709 UL
/Courier SF
8280 7824 MT
(SHOW MACROS [macroname])SH
/Times-Roman SF
12280 8929 MT
(displays the definitions)
35 W( of all currently defined macros, as well as the amount of space left for new macro)34 W
12280 10034 MT
(definitions. A macro name, or abbreviation, can be included to)
36 W( restrict the list, e.g. SHOW MACRO IBM)37 W
12280 11139 MT
(will display the definition of)
16 W( the IBM macro, and SHOW MACRO X will list the definitions of all macros)15 W
12280 12244 MT
(whose names begin with X.)SH
/Courier SF
8280 13821 MT
(SHOW MODEM)SH
/Times-Roman SF
12280 14926 MT
(displays the status of the modem signals DSR \050dataset ready, modem tells)
3 W( the PC that it is turned on and in)2 W
12280 16031 MT
(data mode\051, CTS \050clear to send, modem grants)
91 W( the PC permission to send data\051, and CD \050carrier detect,)92 W
12280 17136 MT
(local modem tells the PC that it is connected to the remote)
107 W( modem\051.  The results may be misleading if)106 W
12280 18241 MT
(your asynchronous adapter,)
143 W( or the connector or cable that is attached to it, is strapped to supply these)144 W
12280 19346 MT
(modem signals itself.)SH
/Courier SF
8280 20923 MT
(SHOW PROTOCOL)SH
/Times-Roman SF
12280 22028 MT
(displays the values of the Kermit protocol-related parameters, including)
194 W( all the SET SEND and SET)195 W
12280 23133 MT
(RECEIVE parameters, plus whether the timer, attribute packets, and logging are enabled.)SH
/Courier SF
8280 24710 MT
(SHOW SCRIPTS)SH
/Times-Roman SF
12280 25815 MT
(displays the script-related variables.)SH
/Courier SF
8280 27392 MT
(SHOW SERVER)SH
/Times-Roman SF
12280 28497 MT
(displays which server functions are enabled and disabled.)SH
/Courier SF
8280 30074 MT
(SHOW STATISTICS)SH
/Times-Roman SF
12280 31179 MT
(displays counts of)
55 W( characters sent and received during file transfers, for both the most recent transfer and)56 W
12280 32284 MT
(the entire session, and an estimate of the average baud rate while sending and listening.)SH
/Courier SF
8280 33861 MT
(SHOW TERMINAL)SH
/Times-Roman SF
12280 34966 MT
(displays the terminal settings, which terminal is being emulated, the tab stops, etc.)SH
/Courier SF
8280 36543 MT
(SHOW TRANSLATION)SH
/Times-Roman SF
12280 37648 MT
(displays the entries in the 256 byte input translation table.  Values are expressed numerically)
139 W( to avoid)138 W
12280 38753 MT
(confusion with)
12 W( different display adapters, and the command shows only entries for which input and output)13 W
12280 39858 MT
(codes differ.)SH
14 /Times-Bold AF
8280 43460 MT
(1.7. Macros)SH
10 /Times-Roman AF
8280 45578 MT
(Like TAKE files, macros provide)
148 W( a way of collecting many commands into a single command.  The difference)147 W
8280 46774 MT
(between a macro and a TAKE file)
14 W( is that Kermit keeps all its macro definitions in memory, and can execute them as)15 W
8280 47970 MT
(many times as you like, without having to look them up on disk, whereas every time you issue a)
50 W( TAKE command,)49 W
8280 49166 MT
(Kermit has to access a disk.  But)
61 W( . . .)
SH( you)
312 W( can have as many TAKE command files as you like, and they can be as)62 W
8280 50362 MT
(long as you want,)
174 W( whereas MS-Kermit's memory for storing macro definitions is limited.  You can put macro)173 W
8280 51558 MT
(definitions and DO commands for them in TAKE files, or for that matter,)
64 W( you can put TAKE commands in macro)65 W
8280 52754 MT
(definitions. There)
517 W( is a limit of 25 simultaneously active TAKE files plus active macros; a TAKE file or macro)133 W
8280 53950 MT
(remains active if the last item invokes another TAKE or macro command.  Active)
111 W( here means Kermit is reading)112 W
8280 55146 MT
(commands from them, not just storing them for later.)SH
12 /Times-Bold AF
8280 57734 MT
(The DEFINE Command)SH
10 /Times-Roman AF
8280 59148 MT
(Syntax:)SH
/Courier SF
11586 XM
(DEFINE)SH
/Times-Italic SF
15786 XM
(macro-name)SH
/Courier SF
21440 XM
([)SH
/Times-Italic SF
(command)SH
/Courier SF
26528 XM
([,)SH
/Times-Italic SF
28328 XM
(command)SH
/Courier SF
32816 XM
([, ...]]])SH
/Times-Roman SF
8280 61540 MT
(Kermit-MS command macros are constructed with the DEFINE command.  Any Kermit-MS commands may)
139 W( be)138 W
8280 62736 MT
(included. Example:)250 W
/Courier SF
10680 64391 MT
(define telenet set parity mark, set speed 1200, connect)SH
/Times-Roman SF
8280 66108 MT
(A macro can be undefined by typing an empty DEFINE command for it, like)SH
/Courier SF
10680 67763 MT
(define telenet)SH
/Times-Roman SF
8280 69480 MT
(A macro definition may be up to 255 character long.  This example shows a long)
147 W( definition in which lines are)148 W
8280 70676 MT
(continued with hyphenation:)SH
ES
%%Page: 52 53
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 52)SH
12 /Times-Bold AF
30585 XM
(Kermit User Guide: MS-DOS KERMIT 1.7)SH
46800 50 6120 5709 UL
10 /Courier AF
8520 7824 MT
(define setup set port 1, set speed 19200, set parity even,-)SH
8520 8855 MT
(set flow none, set handshake xon, set local-echo on,-)SH
8520 9886 MT
(set timer on, set terminal color 1 31 45,-)SH
8520 10917 MT
(set warning on, set incomplete keep, connect)SH
/Times-Roman SF
6120 12634 MT
(Longer definitions can be accomplished by "chaining."  Example:)SH
/Courier SF
8520 14289 MT
(define setup set port 1, set speed 19200, set par even, do setup2)SH
8520 15320 MT
(define setup2 set flo no, set handsh xon, set local on, do setup3)SH
8520 16351 MT
(define setup3 set timer on, set terminal color 1 31 45, do setup4)SH
8520 17382 MT
(define setup4 set warning on, set incomplete keep, connect)SH
/Times-Roman SF
6120 19774 MT
(DO SETUP or just SETUP will invoke all of these commands.  Commas are used to)
63 W( separate commands in macro)62 W
6120 20970 MT
(definitions; carriage returns \050)48 W
/Courier SF
(\13413)SH
/Times-Roman SF
(\051 cannot be used.)
48 W( When)
347 W( control or other special characters are needed in a macro)49 W
6120 22166 MT
(they may be expressed in backslash number form,)SH
/Courier SF
26366 XM
(\134)SH
/Times-Italic SF
(nnn)SH
/Times-Roman SF
(.)SH
6120 24558 MT
(The SHOW MACROS command displays)
58 W( the values of currently defined macros, and tells how much space is left)57 W
6120 25754 MT
(for further definitions.)SH
6120 28146 MT
(The definition of the macro is entered literally; variables are not evaluated \050see ASSIGN, below\051.)SH
12 /Times-Bold AF
6120 30734 MT
(The DO Command)SH
10 /Times-Roman AF
6120 32148 MT
(Syntax:)SH
/Courier SF
9426 XM
([DO])SH
/Times-Italic SF
12426 XM
(macro-name)SH
/Courier SF
18080 XM
([)SH
/Times-Italic SF
(parameters...)SH
/Courier SF
(])SH
/Times-Roman SF
6120 34540 MT
(A Kermit-MS macro is invoked using the DO command.)
42 W( For)
336 W( instance, Kermit-MS comes with a predefined macro)43 W
6120 35736 MT
(to allow convenient setup for IBM mainframe line-mode communications; to invoke it, you would type DO)
85 W( IBM.)84 W
6120 36932 MT
(The IBM macro is defined as "set timer on, set local-echo on, set parity mark, handshake xon, set flow none".  You)34 W
6120 38128 MT
(can use the DEFINE command to redefine this macro or remove the definition altogether.)SH
6120 40520 MT
(There is)
63 W( no automatic way to undo the effect of a macro.  If you need to accomplish this effect, you should define)62 W
6120 41716 MT
(another macro for that purpose.  For instance, to undo the effect of "do ibm" so that you could connect to, say,)
93 W( a)94 W
6120 42912 MT
(DEC VAX, you could:)SH
/Courier SF
7320 44567 MT
(def vax set parity none, set handshake none, set flow xon/xoff,-)SH
7320 45598 MT
(set timer off, set local-echo off)SH
/Times-Roman SF
6120 47315 MT
(Then you can "do ibm" whenever you want to use the IBM system, and "do vax" whenever you want)
109 W( to use the)108 W
6120 48511 MT
(VAX.)SH
6120 50903 MT
(If you wish to view the macro expansion whenever you issue a DO command, you can SET TAKE-ECHO ON.)SH
6120 53295 MT
(As a convenience the)
186 W( word DO may be omitted.  However, when question-mark help is sought at the Kermit)187 W
6120 54491 MT
(prompt, only the main keyword help table will be shown.  If you want)
77 W( to see the available macros, type "do ?" or)76 W
6120 55687 MT
(SHOW MACROS.  Use of DO is recommended for overall clarity unless a favorite macro is executed frequently.)SH
12 /Times-Bold AF
6120 58275 MT
(Variables)SH
10 /Times-Roman AF
6120 59689 MT
(Macros can use substitution variables similar to those of DOS Batch.)
55 W( The)
362 W( name of a substitution variable is of the)56 W
6120 60885 MT
(form ")14 W
/Courier SF
(\134%)SH
/Times-Italic SF
(character)SH
/Times-Roman SF
(", where the single character is a)
14 W( digit or a letter or other 8-bit character whose ASCII value is 48)13 W
6120 62081 MT
(decimal or larger; upper and lower)
80 W( case letters are considered to be the same character.  A substitution variable is)81 W
6120 63277 MT
(defined as a string of text by the)
237 W( DEFINE command \050the variables are in fact macros\051 and Kermit replaces)236 W
6120 64473 MT
(occurrences of the variable name with that text, hence the word "substitution".  For example,)SH
/Courier SF
8520 66128 MT
(Kermit-MS>define \134%a this is substituted material)SH
23400 50 14520 66328 UL
8520 67159 MT
(Kermit-MS>echo I wonder if \134%a or not.)SH
16800 50 14520 67359 UL
/Times-Roman SF
6120 68876 MT
(yields the display:)SH
/Courier SF
8520 70531 MT
(I wonder if this is substituted material or not.)SH
ES
%%Page: 53 54
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.7. Macros)SH
10 /Times-Italic AF
51775 XM
(Page 53)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(Another example:)SH
/Courier SF
10680 9541 MT
(Kermit-MS>define \134%c set port 1,set speed 9600,set parity even,connect)SH
36000 50 16680 9741 UL
/Times-Roman SF
8280 11258 MT
(Then)SH
/Courier SF
10680 12913 MT
(Kermit-MS>\134%c)SH
1800 50 16680 13113 UL
/Times-Roman SF
8280 14630 MT
(is equivalent to)SH
/Courier SF
10680 16285 MT
(Kermit-MS>set port com1)SH
7800 50 16680 16485 UL
10680 17316 MT
(Kermit-MS>set speed 9600)SH
8400 50 16680 17516 UL
10680 18347 MT
(Kermit-MS>set parity even)SH
9000 50 16680 18547 UL
10680 19378 MT
(Kermit-MS>connect)SH
4200 50 16680 19578 UL
/Times-Roman SF
8280 21095 MT
(The special subset of substitution variables,)76 W
/Courier SF
26429 XM
(\134%1 .. \134%9)76 W
/Times-Roman SF
(, is similar to the DOS Batch variable set)76 W
/Courier SF
49876 XM
(%1 .. %9)77 W
/Times-Roman SF
(.)SH
8280 22291 MT
(The DO command can accept arguments after the macro name and the individual)
79 W( words in the arguments become)78 W
8280 23487 MT
(the definitions of)SH
/Courier SF
15363 XM
(\134%1)SH
/Times-Roman SF
(, etc, for up to nine words, in order.  For example, given the following definition:)SH
/Courier SF
10680 25142 MT
(def dial ATDT\134%1\13413,input 30 CONNECT,connect,in Login:,out \134%2\13413)SH
/Times-Roman SF
8280 26859 MT
(the following command can be used to dial any phone number:)SH
/Courier SF
10680 28514 MT
(Kermit-MS>do dial 555-1212 myname)SH
13800 50 16680 28714 UL
/Times-Roman SF
8280 30231 MT
(The word DO may be omitted, as in:)SH
/Courier SF
10680 31886 MT
(Kermit-MS>dial 555-1212 myname)SH
12000 50 16680 32086 UL
/Times-Roman SF
8280 33603 MT
(This command automatically assigns the value "555-1212" to variable the)124 W
/Courier SF
39333 XM
(\134%1)SH
/Times-Roman SF
41507 XM
(and "myname" to)125 W
/Courier SF
49114 XM
(\134%2)SH
/Times-Roman SF
(, and uses)125 W
8280 34799 MT
(these values)
176 W( while dialing the phone and logging into the host system.  If fewer than nine words are seen the)175 W
8280 35995 MT
(remaining variables are not changed.  For example, if the line above was busy, you could dial)
SH( a different number and)1 W
8280 37191 MT
(omit the username because it will be remembered from last time.)SH
8280 39583 MT
(If it is desired to assign multiple words to a single variable, they can be grouped in braces, for example)SH
/Courier SF
10680 41238 MT
(Kermit-MS>dial {212 555 1212} myname)SH
15600 50 16680 41438 UL
/Times-Roman SF
8280 43630 MT
(Substitution variables can reference other substitution variables in their definitions.  Care is)
191 W( needed to prevent)190 W
8280 44826 MT
(circular definitions, but even those are detected by Kermit.  Subtle circular executions could cause Kermit to)
17 W( go into)18 W
8280 46022 MT
(an endless loop; if you think this is happening, type)
106 W( a Control-C to interrupt the process.  To clarify matters, the)105 W
8280 47218 MT
(definition string of a variable is substituted for the variable's name)
26 W( when the name is observed in a left to right scan)27 W
8280 48414 MT
(of a command.  For example,)SH
/Courier SF
10680 50069 MT
(Kermit-MS>define \134%a echo This is \134%b example: \134%b.)SH
24600 50 16680 50269 UL
10680 51100 MT
(Kermit-MS>define \134%b a mac\134%c expansion)SH
17400 50 16680 51300 UL
10680 52131 MT
(Kermit-MS>define \134%c ro string)SH
12000 50 16680 52331 UL
10680 53162 MT
(Kermit-MS>\134%a)SH
1800 50 16680 53362 UL
/Times-Roman SF
8280 54879 MT
(displays:)SH
/Courier SF
10680 56534 MT
(This is a macro string expansion example: a macro string expansion.)SH
/Times-Roman SF
8280 58251 MT
(If this example is entered manually then when the final)5 W
/Courier SF
30604 XM
(\134%a)SH
/Times-Roman SF
32659 XM
(is typed the)
5 W( command line is immediately replaced with)4 W
8280 59447 MT
(the fully expanded command and more input is solicited \050such as a carriage return\051.  Try it.  Check the variable)121 W
8280 60643 MT
(definitions with the SHOW MACRO command.)SH
8280 63035 MT
(A variable can be undefined \050deleted\051 by defining it as an empty string:)SH
/Courier SF
10680 64690 MT
(Kermit-MS>define \134%c)SH
6000 50 16680 64890 UL
/Times-Roman SF
8280 67082 MT
(DOS batch file arguments may be transformed into Kermit variables.  Suppose file)SH
/Courier SF
41664 XM
(TEST.BAT)SH
/Times-Roman SF
46714 XM
(holds the line:)SH
/Courier SF
10680 68737 MT
(Kermit define \134%%1 %1, define \134%%a %2, stay)SH
/Times-Roman SF
8280 70454 MT
(Invoking the Batch file by:)SH
ES
%%Page: 54 55
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 54)SH
12 /Times-Bold AF
30585 XM
(Kermit User Guide: MS-DOS KERMIT 1.7)SH
46800 50 6120 5709 UL
10 /Courier AF
8520 7824 MT
(C>test one two)SH
7200 50 9720 8024 UL
/Times-Roman SF
6120 9541 MT
(results in creating Kermit variables)184 W
/Courier SF
21343 XM
(\134%1)SH
/Times-Roman SF
23576 XM
(with definition of "one" and)183 W
/Courier SF
35945 XM
(\134%a)SH
/Times-Roman SF
38178 XM
(with definition "two". The doubled)183 W
6120 10737 MT
(percent symbols in the Batch file are needed to compensate for one of them being consumed by the DOS Batch)120 W
6120 11933 MT
(processor.)SH
/Courier SF
10762 XM
(%1)SH
/Times-Roman SF
12242 XM
(is the first Batch argument)
30 W( word,)29 W
/Courier SF
25835 XM
(%2)SH
/Times-Roman SF
27314 XM
(is the second word.  The syntax)29 W
/Courier SF
40404 XM
(\134%%1)SH
/Times-Roman SF
43083 XM
(is converted by Batch to)29 W
6120 13129 MT
(be)SH
/Courier SF
7314 XM
(\134%1)SH
/Times-Roman SF
9364 XM
(when seen by Kermit, without further substitution by Batch.)SH
12 /Times-Bold AF
6120 15717 MT
(The ASSIGN Command)SH
10 /Times-Roman AF
6120 17131 MT
(Syntax:)SH
/Courier SF
9426 XM
(ASSIGN)SH
/Times-Roman SF
6120 19523 MT
(The DEFINE command does not evaluate the definition.  For instance, the command)SH
/Courier SF
8520 21178 MT
(define \134%a \134%1)SH
/Times-Roman SF
6120 22895 MT
(simply defines the variable)67 W
/Courier SF
17442 XM
(\134%a)SH
/Times-Roman SF
19559 XM
(to be ``)67 W
/Courier SF
(\134%1)SH
/Times-Roman SF
('', not the)
67 W( current)68 W
/Times-Italic SF
31899 XM
(value)SH
/Times-Roman SF
34383 XM
(of)SH
/Courier SF
35534 XM
(\134%1)SH
/Times-Roman SF
37652 XM
(-- if)68 W
/Courier SF
39565 XM
(\134%1)SH
/Times-Roman SF
41683 XM
(changes, then so does)68 W
/Courier SF
50870 XM
(\134%a)SH
/Times-Roman SF
(.)SH
6120 24091 MT
(To copy the)SH
/Times-Italic SF
11147 XM
(value)SH
/Times-Roman SF
13563 XM
(of one variable to another, use the ASSIGN command:)SH
/Courier SF
8520 25746 MT
(assign \134%a \134%1)SH
/Times-Roman SF
6120 27463 MT
(This copies the value of)SH
/Courier SF
15924 XM
(\134%1)SH
/Times-Roman SF
17974 XM
(to)SH
/Courier SF
19002 XM
(\134%a)SH
/Times-Roman SF
(, so that if)SH
/Courier SF
25052 XM
(\134%1)SH
/Times-Roman SF
27102 XM
(changes,)SH
/Courier SF
30823 XM
(\134%a)SH
/Times-Roman SF
32873 XM
(will retain the previous value.  Example:)SH
/Courier SF
8520 29118 MT
(Kermit-MS>define \134%a foo)SH
8400 50 14520 29318 UL
8520 30149 MT
(Kermit-MS>define \134%b \134%a)SH
8400 50 14520 30349 UL
8520 31180 MT
(Kermit-MS>echo \134%a \134%b)SH
7200 50 14520 31380 UL
8520 32211 MT
(foo foo)SH
8520 33242 MT
(Kermit-MS>assign \134%c \134%a)SH
8400 50 14520 33442 UL
8520 34273 MT
(Kermit-MS>define \134%a new)SH
8400 50 14520 34473 UL
8520 35304 MT
(Kermit-MS>echo \134%a \134%b)SH
7200 50 14520 35504 UL
8520 36335 MT
(new new)SH
8520 37366 MT
(Kermit-MS>echo \134%a \134%c)SH
7200 50 14520 37566 UL
8520 38397 MT
(new foo)SH
14 /Times-Bold AF
6120 41999 MT
(1.8. SCRIPTS)SH
10 /Times-Roman AF
6120 44117 MT
(A script is a file or a macro containing Kermit commands to be executed.  What)
17 W( distinguishes a script from ordinary)16 W
6120 45313 MT
(TAKE files or macros is the presence of INPUT, REINPUT, OUTPUT,)
17 W( PAUSE, ECHO, ASK, CLEAR, IF, GOTO,)18 W
6120 46509 MT
(and WAIT commands to automatically detect and respond)
132 W( to information flowing though the serial port, actions)131 W
6120 47705 MT
(which otherwise would be performed by the user during CONNECT.)
80 W( The)
412 W( login sequence of a host computer is a)81 W
6120 48901 MT
(classical example.)SH
6120 51293 MT
(It is a common, but incorrect, assumption that text to be sent to the remote computer can be included in a)
14 W( TAKE file)13 W
6120 52489 MT
(after the CONNECT command:)SH
/Courier SF
8520 54144 MT
(set speed 9600)
SH( ;)
4200 W( MS-Kermit command)SH
8520 55175 MT
(connect ;)
8400 W( MS-Kermit command)SH
8520 56206 MT
(run kermit)
SH( ;)
6600 W( Text to be sent to other system)SH
8520 57237 MT
(send foo.bar)
SH( ;)
5400 W( Text to be sent to other system)SH
8520 58268 MT
(^]c ;)
10800 W( Escape sequence to get back to MS-Kermit)SH
8520 59299 MT
(receive ;)
8400 W( MS-Kermit command)SH
/Times-Roman SF
6120 61016 MT
(The reason this doesn't work is that during CONNECT,)
78 W( MS-Kermit always reads from the real keyboard, and not)79 W
6120 62212 MT
(from the take file.  Even if this technique did work, it would still run into synchronization problems.  But)
41 W( these can)40 W
6120 63408 MT
(be avoided when there is a way to coordinate the commands)
154 W( that we send with the remote system's responses.)155 W
6120 64604 MT
(Kermit's script commands provide this ability.  They may be freely)
78 W( intermixed in a TAKE file or macro with any)77 W
6120 65800 MT
(other Kermit)
37 W( commands to achieve any desired effect.  The OUTPUT command sends the specified characters as if)38 W
6120 66996 MT
(the user had typed them; the INPUT)
145 W( command reads the responses and compares them with specified character)144 W
6120 68192 MT
(strings, just as the user would do.)SH
6120 70584 MT
(The script commands include INPUT, REINPUT, OUTPUT,)
42 W( PAUSE, WAIT, ECHO, IF, ASK, and GOTO.  These)43 W
6120 71780 MT
(commands may be interrupted by typing Ctrl-C)
169 W( at the keyboard.  The INPUT, REINPUT, PAUSE, and WAIT)168 W
ES
%%Page: 55 56
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.8. SCRIPTS)SH
10 /Times-Italic AF
51775 XM
(Page 55)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(commands accept a following number as a timeout value. The)
29 W( number is interpreted as seconds from the present or,)30 W
8280 9082 MT
(if given in)42 W
/Courier SF
12767 XM
(hh:mm:ss)SH
/Times-Roman SF
17859 XM
(form, as a specific time of day.  In either case, the timeout interval must be within)
42 W( 12 hours)41 W
8280 10278 MT
(of the present to avoid it being considered as in the past \050expired\051.)SH
/Times-Italic SF
8280 12670 MT
(HINT:)SH
/Times-Roman SF
11471 XM
(It is recommended that a console driver such as)40 W
/Courier SF
31077 XM
(ANSI.SYS)SH
/Times-Roman SF
36167 XM
(be loaded during executing of a script.  This is)40 W
8280 13866 MT
(because Kermit's terminal)
100 W( emulator is active only during the CONNECT command, and any PC/host interactions)99 W
8280 15062 MT
(that occur)
58 W( during script execution may appear fractured on the screen.  This is particularly true of full-screen login)59 W
8280 16258 MT
(applications, like through an IBM 3270 protocol converter.)SH
12 /Times-Bold AF
8280 18846 MT
(The CLEAR Command)SH
10 /Times-Roman AF
8280 20260 MT
(Syntax:)SH
/Courier SF
11586 XM
(CLEAR)SH
/Times-Roman SF
8280 22652 MT
(The CLEAR command empties the buffers of the serial port to forget any earlier material.  This)
107 W( gets the INPUT)106 W
8280 23848 MT
(command off to a clean start.  \050This command was called CLRINP in 2.29B and earlier, and CLEAR was used)
75 W( to)76 W
8280 25044 MT
(erase macro and key definition memory\051.)SH
12 /Times-Bold AF
8280 27632 MT
(The ECHO Command)SH
10 /Times-Roman AF
8280 29046 MT
(Syntax:)SH
/Courier SF
11586 XM
(ECHO)SH
/Times-Italic SF
14586 XM
(text)SH
/Times-Roman SF
8280 31438 MT
(The ECHO command is useful for reporting progress of a script, or prompting the user for interactive input.)
85 W( The)418 W
8280 32634 MT
(text is displayed on the)
149 W( screen, and may include backslash notation for control or 8-bit characters.  An implied)150 W
8280 33830 MT
(linefeed is included at the beginning of the text.)SH
12 /Times-Bold AF
8280 36418 MT
(SET INPUT)SH
10 /Times-Roman AF
8280 37832 MT
(Syntax:)SH
/Courier SF
11586 XM
(SET INPUT {CASE, DEFAULT-TIMEOUT, ECHO, TIMEOUT-ACTION})SH
/Times-Roman SF
8280 40224 MT
(The SET INPUT command controls the behavior of the script INPUT command:)SH
/Courier SF
8280 41953 MT
(SET INPUT CASE {IGNORE, OBSERVE})SH
/Times-Roman SF
10280 43058 MT
(Says whether or not to distinguish upper and lower case letters)
15 W( when doing a matchup in the INPUT command.)16 W
10280 44163 MT
(OBSERVE causes upper and lower case letters to be distinguished.)
306 W( The)
861 W( default is to IGNORE case)305 W
10280 45268 MT
(distinctions.)SH
/Courier SF
8280 46845 MT
(SET INPUT DEFAULT-TIMEOUT)SH
/Times-Italic SF
23880 XM
(seconds)SH
/Times-Roman SF
10280 47950 MT
(Changes the default waiting time from one)
163 W( second to this new value.  The value is used when an INPUT)162 W
10280 49055 MT
(command has no timeout specified.)SH
/Courier SF
8280 50632 MT
(SET INPUT ECHO {ON, OFF})SH
/Times-Roman SF
10280 51737 MT
(Show on the screen characters read from the serial port during the script operation, or not.)
6 W( Default)
260 W( is ON, show)5 W
10280 52842 MT
(them.)SH
/Courier SF
8280 54419 MT
(SET INPUT TIMEOUT-ACTION {PROCEED, QUIT})SH
/Times-Roman SF
10280 55524 MT
(Determines whether or not the current macro or TAKE command file is to be)
56 W( continued or exited if a timeout)55 W
10280 56629 MT
(occurs. PROCEED)
366 W( is the default and means that)
58 W( timeouts are ignored.  QUIT causes the current script file to)59 W
10280 57734 MT
(be exited and control)
144 W( passed to either the next higher level script file \050if there is one\051 or to Kermit's main)143 W
10280 58839 MT
(prompt.)SH
8280 60630 MT
(The SHOW SCRIPTS command displays the SET INPUT values.)SH
12 /Times-Bold AF
8280 63218 MT
(The INPUT command)SH
10 /Times-Roman AF
8280 64632 MT
(Syntax:)SH
/Courier SF
11586 XM
(INPUT [)SH
/Times-Italic SF
(timeout)SH
/Courier SF
(] {)SH
/Times-Italic SF
(search-string)SH
/Courier SF
(, @)SH
/Times-Italic SF
(filespec)SH
/Courier SF
(})SH
/Times-Roman SF
8280 67024 MT
(INPUT is the most powerful of the)
33 W( script commands.  It reads characters from the serial port continuously until one)34 W
8280 68220 MT
(of two things occurs: the received characters match the search string or the time limit expires.  Matching strings)
63 W( is)62 W
8280 69416 MT
(the normal use, as in:)SH
/Courier SF
10680 71071 MT
(Kermit-MS>input 5 Login please:)SH
12600 50 16680 71271 UL
ES
%%Page: 56 57
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 56)SH
12 /Times-Bold AF
30585 XM
(Kermit User Guide: MS-DOS KERMIT 1.8)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(to recognize the phrase "Login please:", or else time out after waiting for 5 seconds.  A)
118 W( special binary character)119 W
/Courier SF
6120 9082 MT
(\134255)SH
/Times-Roman SF
8886 XM
(or)SH
/Courier SF
10085 XM
(\134o377)SH
/Times-Roman SF
13451 XM
(or)SH
/Courier SF
14650 XM
(\134xFF)SH
/Times-Roman SF
17416 XM
(stands for the combination carriage return and a line feed, in either order,)
116 W( to simplify)115 W
6120 10278 MT
(pattern matching.  The command reports a testable)
350 W( status of SUCCESS or FAILURE and sets the DOS)351 W
6120 11474 MT
(ERRORLEVEL parameter to 2 if it fails to match within)
70 W( the timeout interval.  Characters are stored in a 128 byte)69 W
6120 12670 MT
(buffer for later examination by REINPUT, discussed below.)SH
6120 15062 MT
(Beware of characters arriving with parity set because the pattern matching considers all 8)
73 W( bits of a byte unless the)74 W
6120 16258 MT
(local parity is)
38 W( other than NONE and SET DISPLAY is 7-BITS.  Arriving characters are modified by first removing)37 W
6120 17454 MT
(the parity bit, if parity)
228 W( is other than NONE, then they are passed through the SET TRANSLATION INPUT)229 W
6120 18650 MT
(converter, the high bit is again suppressed if SET DISPLAY is 7-BITs, the)
91 W( result is logged and stored for pattern)90 W
6120 19846 MT
(matching.)SH
12 /Times-Bold AF
6120 22434 MT
(The REINPUT command)SH
10 /Times-Roman AF
6120 23848 MT
(Syntax:)SH
/Courier SF
9426 XM
(REINPUT [)SH
/Times-Italic SF
(timeout)SH
/Courier SF
(] {)SH
/Times-Italic SF
(search-string)SH
/Courier SF
(, @)SH
/Times-Italic SF
(filespec)SH
/Courier SF
(})SH
/Times-Roman SF
6120 26240 MT
(The REINPUT command is like INPUT except that characters are read from the 128)
54 W( byte serial port history buffer)55 W
6120 27436 MT
(rather than always seeking fresh input from the port.  The purpose)
145 W( is to permit the current text to be examined)144 W
6120 28632 MT
(several times, looking for different match strings.  A common case is reading the results of a connection message)85 W
6120 29828 MT
(from a modem which might be "CONNECT 1200" or "CONNECT 2400",)
81 W( depending on the other modem.  If the)80 W
6120 31024 MT
(history buffer has less)
77 W( than 128 bytes then fresh input may be requested while seeking a match, until the buffer is)78 W
6120 32220 MT
(full. REINPUT)
666 W( match)
208 W( searches begin at the start of the buffer whereas INPUT searches never go back over)207 W
6120 33416 MT
(examined characters.  REINPUT sets the testable status of SUCCESS or FAILURE and DOS ERRORLEVEL, just)48 W
6120 34612 MT
(as for INPUT.)SH
6120 37004 MT
(When a script fails because an INPUT or REINPUT command did not encounter the desired)
180 W( string within the)179 W
6120 38200 MT
(timeout interval the message "?Timeout" is displayed.)SH
12 /Times-Bold AF
6120 40788 MT
(The OUTPUT command)SH
10 /Times-Roman AF
6120 42202 MT
(Syntax:)SH
/Courier SF
9426 XM
(OUTPUT {)SH
/Times-Italic SF
(string)SH
/Courier SF
(, @)SH
/Times-Italic SF
(filespec)SH
/Courier SF
(})SH
/Times-Roman SF
6120 44594 MT
(The OUTPUT command writes the indicated character)
126 W( string to the serial port as ordinary text.  The string may)127 W
6120 45790 MT
(contain control or other special binary characters by representing them in backslash form.)
71 W( Carriage)
390 W( Return)70 W
/Courier SF
50270 XM
(\050CR\051)SH
/Times-Roman SF
(,)SH
6120 46986 MT
(for example, is)135 W
/Courier SF
12746 XM
(\13413 decimal)135 W
/Times-Roman SF
(,)SH
/Courier SF
20116 XM
(\134o15)SH
/Times-Roman SF
22901 XM
(octal, or)135 W
/Courier SF
26698 XM
(\134x0D)SH
/Times-Roman SF
29483 XM
(hexadecimal. The)
520 W( string may)
135 W( use 8-bit characters if the)136 W
6120 48182 MT
(communications parity is type NONE.  A special notation is also provided,)4 W
/Courier SF
36388 XM
(\134b)SH
/Times-Roman SF
37842 XM
(or)SH
/Courier SF
38929 XM
(\134B)SH
/Times-Roman SF
(, which causes a BREAK signal)3 W
6120 49378 MT
(to be transmitted.)SH
6120 51770 MT
(The string to be transmitted starts with the first non-spacing character after the OUTPUT command and)
134 W( ends at)135 W
6120 52966 MT
(either the end of line or, if executed within a TAKE file, at a semicolon \050if you need)
95 W( to output a semicolon from)94 W
6120 54162 MT
(within a TAKE file, use backslash notation, e.g. ``)66 W
/Courier SF
(\13459)SH
/Times-Roman SF
(''\051. Indirectly)
383 W( obtained strings, the)67 W
/Courier SF
43177 XM
(@)SH
/Times-Italic SF
(filespec)SH
/Times-Roman SF
47149 XM
(form, read the)67 W
6120 55358 MT
(first line of the file up to but not including the explicit carriage return.)SH
6120 57750 MT
(As a convenience, text arriving at the serial port during the OUTPUT command is shown on the screen)
142 W( if SET)141 W
6120 58946 MT
(INPUT-ECHO is ON, and stored in a 128-byte internal buffer for rereading by subsequent \050RE\051INPUT commands.)SH
6120 61338 MT
(The INPUT, REINPUT,)
178 W( and OUTPUT commands have a special syntax to replace the normal string with text)179 W
6120 62534 MT
(obtained from a file or device:)SH
/Courier SF
8520 64249 MT
(OUTPUT @)SH
/Times-Italic SF
(filespec)SH
/Courier SF
8520 65280 MT
(INPUT @)SH
/Times-Italic SF
(filespec)SH
/Times-Roman SF
6120 66997 MT
(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)15 W
6120 68193 MT
(a password prompt and then read the password from the console keyboard.  A string)
13 W( starts with the first non-spacing)14 W
6120 69389 MT
(character and ends at either the end of line or, if executed within a TAKE file, at)
60 W( a semicolon.  Indirectly obtained)59 W
6120 70585 MT
(strings, the)18 W
/Courier SF
10795 XM
(@)SH
/Times-Italic SF
(filespec)SH
/Times-Roman SF
14718 XM
(form, read the first line of)
18 W( the file up to but not including the explicit carriage return.  Note if a)19 W
6120 71781 MT
(trailing carriage return is needed it must be expressed numerically, such as)SH
/Courier SF
36197 XM
(\13413)SH
/Times-Roman SF
38247 XM
(decimal. Example:)250 W
ES
%%Page: 57 58
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.8. SCRIPTS)SH
10 /Times-Italic AF
51775 XM
(Page 57)SH
46800 50 8280 5709 UL
/Courier SF
10680 7824 MT
(input 7 Password:)SH
10680 8855 MT
(echo Please type your password:)SH
10680 9886 MT
(output @con)SH
10680 10917 MT
(output \13413)SH
10680 11948 MT
(echo \13413\13410Thank you!)SH
/Times-Roman SF
8280 13665 MT
(In this example, a TAKE file requests the user to type in the password interactively, so that it does not have to be)72 W
8280 14861 MT
(stored on disk as part of the TAKE file.)SH
12 /Times-Bold AF
8280 17449 MT
(The PAUSE command)SH
10 /Times-Roman AF
8280 18863 MT
(Syntax:)SH
/Courier SF
11586 XM
(PAUSE [{)SH
/Times-Italic SF
(number)SH
/Courier SF
(,)SH
/Times-Italic SF
20641 XM
(hh:mm:ss)SH
/Courier SF
(}])SH
/Times-Roman SF
8280 21255 MT
(PAUSE turns on the DTR signal, and)
22 W( then waits one or more seconds, or until the specified time of day.  Pauses are)23 W
8280 22451 MT
(frequently necessary to avoid overdriving the host and to)
66 W( let a modem proceed through a dialing sequence without)65 W
8280 23647 MT
(interruptions from)
58 W( Kermit.  The default waiting time is set by SET INPUT DEFAULT-TIMEOUT and is normally)59 W
8280 24843 MT
(one second.  The optional integer number)
206 W( selects the number of seconds to pause for this command, and the)205 W
/Times-Italic SF
8280 26039 MT
(hh:mm:ss)SH
/Times-Roman SF
12424 XM
(selects a specific time)
6 W( of day.  An explicit value of zero produces a pause of just a few milliseconds which)7 W
8280 27235 MT
(can be useful in some situations.)SH
8280 29627 MT
(Text arriving during)
150 W( the PAUSE interval is shown on the screen, if SET INPUT-ECHO is ON, and stored in a)149 W
8280 30823 MT
(128-byte internal buffer for rereading by a following INPUT command.)SH
8280 33215 MT
(PAUSE is interrupted if there is any activity on the keyboard.  Thus PAUSE can be useful for operations like:)SH
/Courier SF
10680 34870 MT
(echo "Type any key when ready...")SH
10680 35901 MT
(pause 9999)SH
/Times-Roman SF
8280 38293 MT
(PAUSE is useful in scripts that are to be executed at some future time.  For instance, if you)
24 W( want your PC to dial up)25 W
8280 39489 MT
(another computer and transfer some files at 9:30pm, when the phone rates are lower, you can put the command)SH
/Courier SF
10680 41144 MT
(PAUSE 21:30:00)SH
/Times-Roman SF
8280 42861 MT
(in your script file.  Note that you cannot specify a)
6 W( time more than 12 hours in the future.  If you need to pause until a)5 W
8280 44057 MT
(specific time that is more than 12 hours away, you can use multiple PAUSE statements:)SH
/Courier SF
10680 45712 MT
(PAUSE 21:30:00  ; Pause until 9:30pm tonight)SH
10680 46743 MT
(PAUSE 9:30:00 ;)
600 W( Pause until 9:30am tomorrow morning)SH
/Times-Roman SF
8280 49135 MT
(Because PAUSE turns on the DTR)
80 W( signal, it can be useful in scripts where DTR must be asserted for a second or)81 W
8280 50331 MT
(two to wake up the device your PC is connected to, before you can send any characters to it:)SH
/Courier SF
10680 51986 MT
(pause 1)
SH( ;)
4800 W( Assert DTR and pause for 1 second)SH
10680 53017 MT
(output \13413)
SH( ;)
3000 W( Send a carriage return)SH
12 /Times-Bold AF
8280 55605 MT
(The WAIT Command)SH
10 /Times-Roman AF
8280 57019 MT
(Syntax:)SH
/Courier SF
11586 XM
(WAIT [{)SH
/Times-Italic SF
(number)SH
/Courier SF
(,)SH
/Times-Italic SF
20041 XM
(hh:mm:ss)SH
/Courier SF
(}] [\134CD] [\134CTS] [\134DSR])SH
/Times-Roman SF
8280 59411 MT
(WAIT performs a timed PAUSE, as above, but also examines)
145 W( the modem control signals Carrier Detect \050)144 W
/Courier SF
(\134CD)SH
/Times-Roman SF
(\051,)SH
8280 60607 MT
(Clear To Send \050)183 W
/Courier SF
(\134CTS)SH
/Times-Roman SF
(\051, and/or Data Set \050modem\051 Ready \050)183 W
/Courier SF
(\134DSR)SH
/Times-Roman SF
(\051. If)
616 W( all of the signals specified)
183 W( in the WAIT)184 W
8280 61803 MT
(statement are ON, or become ON before the timeout interval, the wait operation ceases with)
203 W( an indication of)202 W
8280 62999 MT
(SUCCESS. If)
250 W( the time interval expires without all of the specified signals on, the status is FAILURE.  Example:)SH
/Courier SF
10680 64654 MT
(Kermit-MS> wait 12:45:00 \134cd \134dsr)SH
/Times-Roman SF
8280 66371 MT
(This waits until both CD and DSR asserted or until 45 minutes past noon, whichever)
199 W( happens first, returning)200 W
8280 67567 MT
(SUCCESS or FAILURE respectively.)SH
8280 69959 MT
(If no modem signals are specified, then WAIT is the same as PAUSE.)SH
ES
%%Page: 58 59
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 58)SH
12 /Times-Bold AF
30585 XM
(Kermit User Guide: MS-DOS KERMIT 1.8)SH
46800 50 6120 5709 UL
6120 8004 MT
(Labels and the GOTO Command)SH
10 /Times-Roman AF
6120 9418 MT
(Labels and the GOTO)
59 W( command work together in the same fashion as in DOS Batch files.  A label is a line which)58 W
6120 10614 MT
(starts with a colon \050:\051 in the leftmost column followed immediately by a word of text)
168 W( \050no intervening spaces\051;)169 W
6120 11810 MT
(material on the line after the label is ignored.  The GOTO command is followed by a label,)
114 W( the leading colon is)113 W
6120 13006 MT
(optional in the GOTO command.)
30 W( The)
311 W( label may be located either before or after the GOTO command and is found)31 W
6120 14202 MT
(by searching the TAKE)
237 W( file or macro from the beginning.  Thus, duplicated labels will always use the first)236 W
6120 15398 MT
(occurrence. The)
480 W( target label must be in the current TAKE file or macro; one)
115 W( may not GOTO a label in another)116 W
6120 16594 MT
(TAKE file or macro.  Example:)SH
/Courier SF
8520 18249 MT
(:LOOP)SH
8520 19280 MT
(echo again and\13432)SH
8520 20311 MT
(goto loop)SH
/Times-Roman SF
6120 22028 MT
(will print "again and again and again and..." forever \050until you type Ctrl-C\051.  As a macro:)SH
/Courier SF
8520 23683 MT
(define test :loop,echo again and\13432,goto loop)SH
8520 24714 MT
(do test)SH
/Times-Roman SF
6120 26431 MT
(Note that if a label follows a comma in a macro definition, there must be no intervening spaces:)SH
/Courier SF
8520 28086 MT
(define test ..., :top, ..., goto top  ; bad, space before colon.)SH
8520 29117 MT
(define best ...,:top, ..., goto top)
SH( ;)
1200 W( good, no space.)SH
/Times-Roman SF
6120 30834 MT
(In this example, the best macro will work, the test macro won't.)SH
12 /Times-Bold AF
6120 33422 MT
(The IF Command)SH
10 /Times-Roman AF
6120 34836 MT
(Syntax:)SH
/Courier SF
9426 XM
(IF)SH
/Times-Italic SF
11226 XM
(test-condition MS-Kermit)
350 W( Command)SH
/Times-Roman SF
6120 37228 MT
(The IF command gives MS-Kermit scripts the ability to make a decision based upon the criterion specified)
85 W( as the)84 W
/Times-Italic SF
6120 38424 MT
(test-condition)SH
/Times-Roman SF
(. If)
576 W( the test)
163 W( condition is true, then the command is executed.  Otherwise, it is skipped.  The test)164 W
6120 39620 MT
(conditions are:)SH
8120 41411 MT
(NOT)SH
12120 XM
(Modifier for other conditions below.)SH
8120 42988 MT
(ALARM)SH
12120 XM
(True if the current time of day is at or later than the alarm clock)
21 W( time.  The alarm clock time is set by)20 W
12120 44093 MT
(the command SET ALARM)
66 W( time.  IF ALARM distinguishes early from late with a 12 hour field of)67 W
12120 45198 MT
(view.)SH
8120 46775 MT
(COUNT)SH
12120 XM
(True if the current COUNT variable is greater than zero.  COUNT is)
97 W( a special Kermit variable for)96 W
12120 47880 MT
(each active TAKE file or macro.  It is set by the command SET COUNT and it is both tested and)100 W
12120 48985 MT
(modified by the IF COUNT)
97 W( command.  The intent is to construct simple script loops where the IF)96 W
12120 50090 MT
(COUNT command)
140 W( first decreases COUNT by one \050but never below zero\051 and then if COUNT is)141 W
12120 51195 MT
(greater than zero the following Kermit command is executed.)
195 W( Because)
638 W( COUNT exists only for)194 W
12120 52300 MT
(TAKE files and macros it cannot be used interactively.  Each TAKE file or macro has)
3 W( its own distinct)4 W
12120 53405 MT
(copy of COUNT, and nested TAKE files or macros do not interact through their COUNTs.)
47 W( Initially)342 W
12120 54510 MT
(COUNT is zero.)SH
8120 56087 MT
(DEFINED)SH
/Times-Italic SF
12647 XM
(symbol)SH
/Times-Roman SF
12120 57192 MT
(True if the named macro or variable is defined.  You can use this feature to)
130 W( remember things for)129 W
12120 58297 MT
(future reference.)SH
8120 59874 MT
(EQUAL)SH
/Times-Italic SF
11758 XM
(word1 word2 command)SH
/Times-Roman SF
12120 60979 MT
(True if the two words are lexically equal.  Alphabetic case is ignored unless)
153 W( SET INPUT CASE)152 W
12120 62084 MT
(OBSERVE. If)
312 W( they match, the following command is executed.  The modifier)
31 W( NOT may be inserted)32 W
12120 63189 MT
(to invert the sense of the test.)
59 W( Substitution)
366 W( variables may be used in place of)58 W
/Times-Italic SF
43912 XM
(word1)SH
/Times-Roman SF
46776 XM
(and)SH
/Times-Italic SF
48528 XM
(word2)SH
/Times-Roman SF
(, but)58 W
12120 64294 MT
(the command will only work if these variables)
32 W( contain single words, not phrases.  If)33 W
/Times-Italic SF
46409 XM
(word1)SH
/Times-Roman SF
49248 XM
(or)SH
/Times-Italic SF
50364 XM
(word2)SH
/Times-Roman SF
12120 65399 MT
(begin with)58 W
/Courier SF
16736 XM
(@)SH
/Times-Roman SF
(, then the rest of the word is interpreted as)
58 W( a file specification, and the first word in the)57 W
12120 66504 MT
(file is used.)SH
8120 68081 MT
(ERRORLEVEL)SH
/Times-Italic SF
14870 XM
(number)SH
/Times-Roman SF
12120 69186 MT
(True if the DOS errorlevel number matches or exceeds the given \050decimal\051 number.)SH
8120 70763 MT
(EXIST)SH
/Times-Italic SF
11203 XM
(filespec)SH
/Times-Roman SF
12120 71868 MT
(True if the specified file exists.)SH
ES
%%Page: 59 60
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.8. SCRIPTS)SH
10 /Times-Italic AF
51775 XM
(Page 59)SH
46800 50 8280 5709 UL
/Times-Roman SF
10280 7886 MT
(FAILURE)SH
14280 8991 MT
(True if the previous status-returning Kermit command reported failure.)SH
10280 10568 MT
(SUCCESS)SH
14280 11673 MT
(True if the previous status-returning)
74 W( Kermit command reported success.  When using IF SUCCESS)75 W
14280 12778 MT
(and IF FAILURE, it is important to SET INPUT TIMEOUT PROCEED,)
121 W( otherwise the script will)120 W
14280 13883 MT
(quit immediately upon a failing INPUT or REINPUT, before getting to the IF statement.)SH
8280 16275 MT
(IF commands are closely)
100 W( modeled on those of DOS Batch files, for familiarity.  They consist of a test condition,)101 W
8280 17471 MT
(perhaps modified by the)
92 W( leading word NOT, and then any legal Kermit command.  GOTO is an especially useful)91 W
8280 18667 MT
(command here to branch in the TAKE file or macro.)SH
8280 21059 MT
(The "object" of an IF command is a Kermit command, which can be:)SH
/Symbol SF
10070 22964 MT
(\267)SH
/Times-Roman SF
10780 XM
(A regular, predefined Kermit command, like)SH
/Courier SF
28887 XM
(SEND FOO.BAR)SH
/Times-Roman SF
36337 XM
(or)SH
/Courier SF
37420 XM
(SET SPEED 1200)SH
/Times-Roman SF
(.)SH
/Symbol SF
10070 24953 MT
(\267)SH
/Times-Roman SF
10780 XM
(A GOTO, allowing subsequent statements to be skipped.)SH
/Symbol SF
10070 26942 MT
(\267)SH
/Times-Roman SF
10780 XM
(Another IF command,)
133 W( as in)134 W
/Courier SF
22669 XM
(IF DEFINED \134%3 IF EXIST FOO.BAR SEND FOO.BAR)134 W
/Times-Roman SF
(. The)518 W
10780 28047 MT
(SEND command is executed only if both IF conditions are true.)SH
/Symbol SF
10070 30036 MT
(\267)SH
/Times-Roman SF
10780 XM
(A macro.  This allows)
166 W( a semblence of structured programming, with an implied "begin" and "end")165 W
10780 31141 MT
(around the commands that compose the macro.  For instance:)SH
/Courier SF
13180 32796 MT
(define giveup echo I give up!, hangup, stop)SH
13180 33827 MT
(input 10 Login:)SH
13180 34858 MT
(if failure giveup)SH
13180 35889 MT
(output myusername)SH
/Times-Roman SF
8280 38281 MT
(The Kermit commands which yield SUCCESS)
15 W( or FAILURE conditions are: GET, SEND, RECEIVE, the REMOTE)16 W
8280 39477 MT
(commands, INPUT, REINPUT, BYE, FINISH, LOGOUT, and WAIT.)SH
12 /Times-Bold AF
8280 42065 MT
(The POP and STOP Commands)SH
10 /Times-Roman AF
8280 43479 MT
(Use these commands for terminating execution of a TAKE file or macro.  POP terminates the current)
133 W( level and)132 W
8280 44675 MT
(returns to the previous level.  For example, if you gave the command "take shower", and the SHOWER file)214 W
8280 45871 MT
(contained a command "take bath", and the BATH file contained a command "take hike", and a POP)
50 W( command was)49 W
8280 47067 MT
(encountered in the HIKE file, then the next command executed would be)
241 W( the one following the "take hike")242 W
8280 48263 MT
(command in the BATH file.  If)
68 W( a STOP command was encountered in any of these files, MS-Kermit would return)67 W
8280 49459 MT
(immediately to interactive command level.  POP and STOP)
41 W( work in similar fashion with nested macro invocations:)42 W
8280 50655 MT
(POP returns to the invoking macro, STOP returns to command level.)SH
12 /Times-Bold AF
8280 53243 MT
(Script Examples)SH
10 /Times-Roman AF
8280 54657 MT
(A counting loop.  This TAKE file excerpt says hello three times, then says goodbye:)SH
/Courier SF
10680 56312 MT
(set count 3)
SH( ;)
7200 W( Prime the loop counter for three passes)SH
10680 57343 MT
(:TOP ;)
11400 W( A label for GOTO)SH
10680 58374 MT
(echo Hello\13413)
SH( ;)
6000 W( Something to see, with carriage return)SH
10680 59405 MT
(if count goto top)
SH( ;)
3600 W( Loop if COUNT is greater than zero)SH
10680 60436 MT
(echo Goodbye!\13413)SH
/Times-Roman SF
8280 62828 MT
(Figure 1-2 shows a simple script file that logs in to a computer, prompting the)
9 W( user for her password using the)8 W
/Courier SF
52680 XM
(@con)SH
/Times-Roman SF
8280 64024 MT
(construction, and then connects as a terminal.  Notice the semicolons used to indicate comments in)
51 W( TAKE files.  If)52 W
8280 65220 MT
(these same commands)
18 W( were typed by hand at the Kermit prompt the semicolon material would be considered part of)17 W
8280 66416 MT
(a string!  Typing a Control-C will interrupt and terminate any of the commands.)SH
8280 68808 MT
(Figure 1-3 illustrates some)
89 W( detailed control of the Hayes 2400 modem.  Some understanding of the Hayes dialing)90 W
8280 70004 MT
(language is helpful for deciphering this script \050consult your Hayes modem manual\051.  If the script is stored in a)
64 W( file)63 W
8280 71200 MT
(called)SH
/Courier SF
10918 XM
(HAYES.SCR)SH
/Times-Roman SF
(, then a DIAL macro can be defined like this:)SH
ES
%%Page: 60 61
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 60)SH
12 /Times-Bold AF
30585 XM
(Kermit User Guide: MS-DOS KERMIT 1.8)SH
46800 50 6120 5709 UL
46800 50 6120 8086 UL
10 /Courier AF
8520 10865 MT
(define ermsg echo %\1341\13413, stop)
SH( ;)
3600 W( Define an error handling macro.)SH
8520 11896 MT
(clear ;)
18600 W( Clear the input buffer.)SH
8520 12927 MT
(set speed 9600)
SH( ;)
13200 W( Set the transmission speed.)SH
8520 13958 MT
(output \13413)
SH( ;)
15600 W( Carriage return to awaken host.)SH
8520 14989 MT
(input 15 Login:)
SH( ;)
12600 W( Wait up to 15 secs for prompt.)SH
8520 16020 MT
(if failure ermsg No_login_prompt!)
SH( ;)
1800 W( Give up if none.)SH
8520 17051 MT
(output Sari\13413)
SH( ;)
13200 W( Send username and CR.)SH
8520 18082 MT
(set input echo off)
SH( ;)
10800 W( Privacy, please.)SH
8520 19113 MT
(input 5 Password:)
SH( ;)
11400 W( Quietly wait for this.)SH
8520 20144 MT
(if failure ermsg No_password_prompt! ; Give up if it doesn't come.)SH
8520 21175 MT
(echo Type your password now...)
SH( ;)
3600 W( Make our own prompt.)SH
8520 22206 MT
(output @CON)
SH( ;)
15000 W( Send console keystrokes.)SH
8520 23237 MT
(output \13413)
SH( ;)
15600 W( Add a real carriage return.)SH
8520 24268 MT
(input 30 $)
SH( ;)
15600 W( Wait for system prompt.)SH
8520 25299 MT
(if failure ermsg No_system_prompt!)
SH( ;)
1200 W( Give up if none.)SH
8520 26330 MT
(connect ;)
17400 W( Start terminal emulation.)SH
/Times-Bold SF
20201 28047 MT
(Figure 1-2:)SH
/Times-Roman SF
25450 XM
(MS-Kermit Script for Logging In)SH
46800 50 6120 29857 UL
/Courier SF
8520 31386 MT
(define dial take hayes.scr)SH
/Times-Roman SF
6120 33103 MT
(The trick here is that any invocation of the "dial")
49 W( or "do dial" command with an operand will set the variable)50 W
/Courier SF
50870 XM
(\134%1)SH
/Times-Roman SF
(,)SH
6120 34299 MT
(which is used in the TAKE file, for instance:)SH
/Courier SF
8520 35954 MT
(dial 765-4321)SH
/Times-Roman SF
6120 37671 MT
(will set)SH
/Courier SF
9287 XM
(\134%1)SH
/Times-Roman SF
11337 XM
(to "765-4321", the number to be dialed.  You can also type)SH
/Courier SF
8520 39326 MT
(dial {212 765 4321})SH
/Times-Roman SF
6120 41043 MT
(if you want to include spaces in the phone number.  This script requires version 2.32 of Kermit or later.)SH
6120 43435 MT
(A combination of)
30 W( DOS Batch and Kermit Script files is shown in Figures 1-4 and 1-5 \050see your DOS manual for an)29 W
6120 44631 MT
(explanation of the batch file syntax\051.)
43 W( The)
337 W( purpose is to allow a user to say ``)44 W
/Courier SF
(SEND)SH
/Times-Italic SF
40551 XM
(filename)SH
/Times-Roman SF
('' at the DOS prompt.)44 W
6120 45827 MT
(The DOS batch shell,)39 W
/Courier SF
15136 XM
(SEND.BAT)SH
/Times-Roman SF
(, and the login script,)39 W
/Courier SF
28825 XM
(KX)SH
/Times-Roman SF
(, are combined to login to a VAX through)
39 W( a data switch,)38 W
6120 47023 MT
(run VMS Kermit in server mode, transfer the file, submit it to VMS Mail, delete the)
42 W( disk file, shut down the server)43 W
6120 48219 MT
(and logout from the VAX, and report the overall transfer status.)
255 W( The)
758 W( user is asked to provide a password)254 W
6120 49415 MT
(interactively.)SH
14 /Times-Bold AF
6120 53017 MT
(1.9. Initialization Files Revisited)SH
10 /Times-Roman AF
6120 55135 MT
(At Columbia University, we have IBM 370-series mainframes running)
180 W( VM/CMS, and VAX and SUN systems)181 W
6120 56331 MT
(running Unix.  All of these systems are)
130 W( accessible through an IBM/Rolm \050now Siemens/Rolm\051 voice/data CBX.)129 W
6120 57527 MT
(The IBM systems have two different kinds of front ends, a)
1 W( COMTEN 3695 \050similar to IBM 3705\051 for linemode half-)2 W
6120 58723 MT
(duplex connections, and various Series/1-style protocol)
129 W( converters \050including the 7171 and 4994\051 for full-screen,)128 W
6120 59919 MT
(full-duplex 3270 emulation, all of which use various combinations of parity and other settings.  The VAX)
209 W( is)210 W
6120 61115 MT
(connected directly)
192 W( to the CBX, whereas the SUNs are connected to the CBX through Cisco Ethernet terminal)191 W
6120 62311 MT
(servers. Figure)
526 W( 1-6 shows the)138 W
/Courier SF
19196 XM
(MSKERMIT.INI)SH
/Times-Roman SF
26784 XM
(file used at Columbia)
138 W( for automatic login to these systems.  It)139 W
6120 63507 MT
(illustrates the creative use of macros and scripts. Numerous site- and system-dependent key definitions have)
91 W( been)90 W
6120 64703 MT
(omitted.)SH
6120 67095 MT
(A bit of explanation might clarify some of this.)
11 W( The)
273 W( IBM/Rolm CBX prompt is "CALL, DISPLAY OR MODIFY?")12 W
6120 68291 MT
(and we)
58 W( respond with a CALL command for the desired system or front end, like CALL SIMB \050IBM mainframe in)57 W
6120 69487 MT
(full screen mode through a 7171 protocol converter\051,)
131 W( CALL CUVMB \050IBM mainframe in linemode through the)132 W
6120 70683 MT
(COMTEN\051, CALL CUNIXC \050a VAX\051,)
1 W( or CALL CUNIXA \050a SUN, through an Ethernet terminal server\051.  When the)SH
6120 71879 MT
(initial call through the)
278 W( CBX is completed, the message "CALL COMPLETE" appears, and then begins the)279 W
ES
%%Page: 61 62
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.9. Initialization Files Revisited)SH
10 /Times-Italic AF
51775 XM
(Page 61)SH
46800 50 8280 5709 UL
/Courier SF
10680 7824 MT
(def errstop echo \134%1\13413, def \134%1, hang, stop ; Error handler.)SH
10680 8855 MT
(if not defined \134%1 errstop {Please supply a phone number!})SH
10680 9886 MT
(assign \134%n \134%1)
SH( ;)
13200 W( Copy the phone number.)SH
10680 10917 MT
(clear ;)
18600 W( Clear the input buffer.)SH
10680 11948 MT
(set speed 2400)
SH( ;)
13200 W( Dial at high speed.)SH
10680 12979 MT
(wait 2 \134cts)
SH( ;)
15000 W( Is modem turned on?)SH
10680 14010 MT
(if fail errstop {Please turn on your modem.} ; No.)SH
10680 15041 MT
(echo Initializing modem...\13413\13410)
SH( ;)
2400 W( Yes.)SH
10680 16072 MT
(output ATZ\13413)
SH( ;)
13800 W( Reset the modem.)SH
10680 17103 MT
(pause 2)
SH( ;)
17400 W( Give it a little time.)SH
10680 18134 MT
(output AT F1 Q0 V1 X4 S0=0\13413)
SH( ;)
4200 W( Put modem in known state.)SH
10680 19165 MT
(input 8 OK)
SH( ;)
15600 W( Look for response.)SH
10680 20196 MT
(if fail errstop {Can't initialize modem.})SH
10680 21227 MT
(pause 1)
SH( ;)
17400 W( Pause for a second first.)SH
10680 22258 MT
(set count 5)
SH( ;)
15000 W( Set the redial limit.)SH
10680 23289 MT
(define \134%d \13413Dialing)
SH( ;)
9000 W( Initial dial message.)SH
10680 24320 MT
(:REDIAL)SH
10680 25351 MT
(echo \134%d \134%n...\13413\13410)
SH( ;)
9000 W( Tell them we're dialing.)SH
10680 26382 MT
(output ATDT\134%n\13413)
SH( ;)
11400 W( Dial the phone number.)SH
10680 27413 MT
(clear ;)
18600 W( Clear away the command echo.)SH
10680 28444 MT
(input 60 CONNECT)
SH( ;)
12000 W( Wait for CONNECT message.)SH
10680 29475 MT
(if success goto speed)
SH( ;)
9000 W( Got it, go check speed.)SH
10680 30506 MT
(define \134%m No dialtone or no answer. ; Make this the error message.)SH
10680 31537 MT
(reinput BUSY)
SH( ;)
14400 W( Didn't connect.  Was it busy?)SH
10680 32568 MT
(if failure errstop {\134%m\13410\13413Try again later.} ; No)SH
10680 33599 MT
(Echo \13413Busy...)
SH( ;)
12600 W( It's busy, let them know.)SH
10680 34630 MT
(hangup ;)
18000 W( Drop DTR momentarily.)SH
10680 35661 MT
(pause 60)
SH( ;)
16800 W( Wait one minute.)SH
10680 36692 MT
(define \134%d \13413Redialing)
SH( ;)
7800 W( Change message to "Redialing".)SH
10680 37723 MT
(if count goto redial)
SH( ;)
9600 W( Then go redial.)SH
10680 38754 MT
(define \134%m \13413Line busy.)
SH( ;)
7200 W( After 5 tries set this message.)SH
10680 39785 MT
(:SPEED ;)
18000 W( Connected!)SH
10680 40816 MT
(pause 1)
SH( ;)
17400 W( Wait for text after CONNECT.)SH
10680 41847 MT
(define \134%s 2400)
SH( ;)
12600 W( Assume speed is 2400.)SH
10680 42878 MT
(reinput 1 2400)
SH( ;)
13200 W( Rescan current text for "2400")SH
10680 43909 MT
(if success goto done)
SH( ;)
9600 W( It is.)SH
10680 44940 MT
(define \134%s 1200)
SH( ;)
12600 W( It isn't, so assume 1200.)SH
10680 45971 MT
(reinput 1 1200)
SH( ;)
13200 W( Is it?)SH
10680 47002 MT
(if failure define \134%s 300)
SH( ;)
6600 W( It isn't, so it must be 300.)SH
10680 48033 MT
(:DONE ;)
18600 W( We know the speed.)SH
10680 49064 MT
(set speed \134%s)
SH( ;)
13800 W( So set it.)SH
10680 50095 MT
(echo Connecting at \134%s bps...\13413)
SH( ;)
2400 W( Tell the user.)SH
10680 51126 MT
(pause 2)
SH( ;)
17400 W( Give her a chance to read it.)SH
10680 52157 MT
(set terminal clear)
SH( ;)
10800 W( Clear screen.)SH
10680 53188 MT
(define \134%1)
SH( ;)
15600 W( Clear argument.)SH
10680 54219 MT
(connect ;)
17400 W( And start terminal emulation.)SH
/Times-Bold SF
15973 55936 MT
(Figure 1-3:)SH
/Times-Roman SF
21222 XM
(MS-Kermit Script for More Control of a Hayes 2400 bps Modem)SH
46800 50 8280 57746 UL
8280 59337 MT
(interaction with the desired host, front end, or terminal server, each)
195 W( of which has its own set of prompts and)194 W
8280 60533 MT
(responses.)SH
8280 62925 MT
(To connect to a given system, one types "do simb", "do cunixc")
47 W( to invoke a "connecting" macro.  Each of these, in)48 W
8280 64121 MT
(turn, invokes the CBX macro to navigate through the CBX)
184 W( to the desired system.  If the CALL COMPLETE)183 W
8280 65317 MT
(message is encountered, then further macros \0503695, 7171, etc\051 are used to get)
54 W( past any associated front end \050e.g. to)55 W
8280 66513 MT
(tell the COMTEN which IBM mainframe is wanted, or to tell)
36 W( the protocol converter what terminal to emulate\051, and)35 W
8280 67709 MT
(then to login on the desired system, prompting on the screen for user ID and password.)
31 W( Finally,)
313 W( a macro like "vml")32 W
8280 68905 MT
(\050VM linemode\051, "xed" \050XEDIT, i.e. VM full screen\051, or "dec" \050VAX or SUN\051 is executed to set the communication)33 W
8280 70101 MT
(parameters for the system just logged in to.  The key definitions that are shown in)
144 W( the "vml", "xed", and "dec")145 W
8280 71297 MT
(macros assign the host's character deletion code \050backspace or rubout\051 to the AT's backarrow key.)SH
ES
%%Page: 62 63
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 62)SH
12 /Times-Bold AF
29985 XM
(Kermit User Guide: MS-DOS KERMIT 1.10)SH
46800 50 6120 5709 UL
46800 50 6120 8086 UL
10 /Times-Roman AF
6120 10406 MT
(File)SH
/Courier SF
7926 XM
(SEND.BAT)SH
/Times-Roman SF
(, DOS batch program:)SH
/Courier SF
8520 12061 MT
(echo off)SH
8520 13092 MT
(Rem Kermit, one-line file mailer, by Joe Doupnik.)SH
8520 14123 MT
(Rem Logon to VAX, run Kermit, Send user's file,)SH
8520 15154 MT
(Rem post)
600 W( via MAIL, logout from VAX.)SH
8520 16185 MT
(if ".%2" == "." goto usage)SH
8520 17216 MT
(if exist %1 goto proceed)SH
8520 18247 MT
(echo No file to send!)SH
8520 19278 MT
(:usage)SH
8520 20309 MT
(echo Usage is SEND filename username)SH
8520 21340 MT
(goto done)SH
8520 22371 MT
(:proceed)SH
8520 23402 MT
(echo Logging onto the Vax ...)SH
8520 24433 MT
(kermit set disp q,take kx,send %1,pau,rem host mail %1 %2,pau 2,bye,)SH
8520 25464 MT
(if errorlevel 3 goto badrem)SH
8520 26495 MT
(if errorlevel 2 goto badrcv)SH
8520 27526 MT
(if errorlevel 1 goto badsnd)SH
8520 28557 MT
(echo File\050s\051 "%1" has been mailed to %2.)SH
8520 29588 MT
(goto done)SH
8520 30619 MT
(:badrem)SH
8520 31650 MT
(echo Mail did not cooperate!)SH
8520 32681 MT
(:badrcv)SH
8520 33712 MT
(echo Receive failed!)SH
8520 34743 MT
(goto done)SH
8520 35774 MT
(:badsnd)SH
8520 36805 MT
(echo Send failed!)SH
8520 37836 MT
(goto done)SH
8520 38867 MT
(:done)SH
8520 39898 MT
(echo on)SH
/Times-Bold SF
15423 41615 MT
(Figure 1-4:)SH
/Times-Roman SF
20672 XM
(MS-DOS Batch File Invoking Kermit to Send VAX Mail)SH
46800 50 6120 43425 UL
14 /Times-Bold AF
6120 46827 MT
(1.10. International Character Sets)SH
10 /Times-Roman AF
6120 48945 MT
(MS-Kermit may be used on the IBM family and)
214 W( compatibles for interacting with host computers in different)213 W
6120 50141 MT
(languages. MS)
388 W( Kermit CONNECT)
69 W( mode has separate translation mechanisms for screen and keyboard. Keyboard)70 W
6120 51337 MT
(translations are managed through)
112 W( the SET KEY facility which maintains a table of defined keys and their output)111 W
6120 52533 MT
(values \050single characters, strings, or Kermit keyboard verbs\051. The keyboard is)
3 W( normally read via the system Bios, but)4 W
6120 53729 MT
(it may also be)
74 W( read via DOS \050with a loss of some key combinations\051 by saying SET KEY OFF \050i.e., turn off Bios)73 W
6120 54925 MT
(reading\051. The keyboard can be modified rapidly)
12 W( by a group of SET KEY commands placed in a macro. The host has)13 W
6120 56121 MT
(no direct control of the keyboard translations; the host thinks Kermit)
118 W( is a real Digital VT102/VT52 or Tektronix)117 W
6120 57317 MT
(4010 terminal and those devices do not have redefinable keys.)SH
6120 59709 MT
(Screen translation is accomplished in two places, the SET TRANSLATION INPUT table and the)
50 W( built-in character)51 W
6120 60905 MT
(sets. SET)
322 W( TRANSLATION INPUT is a)
36 W( table of received versus reported character codes, and it is enabled by SET)35 W
6120 62101 MT
(TRANSLATION INPUT ON.  The table is initially an)
99 W( identity which allows individual entries to be modified as)100 W
6120 63297 MT
(desired by the command)SH
/Courier SF
8520 65012 MT
(SET TRANSLATION INPUT)SH
/Times-Italic SF
21720 XM
(<received-code> <displayed-code>)350 W
/Times-Roman SF
6120 67404 MT
(Only characters destined for the screen as text)
24 W( or cursor control \050control codes\051 are translated; escape sequences and)23 W
6120 68600 MT
(transparent printing characters bypass the)
41 W( SET TRANSLATION table.  The table is bypassed for printing to permit)42 W
6120 69796 MT
(binary graphics streams to be sent to the)
64 W( printer.  A character about to be shown on the screen can be modified by)63 W
6120 70992 MT
(selection of a character set, such as US-ASCII, UK-ASCII, ALTERNATE-ROM, or line drawing.)SH
ES
%%Page: 63 64
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.10. International Character Sets)SH
10 /Times-Italic AF
51775 XM
(Page 63)SH
46800 50 8280 5709 UL
46800 50 8280 8086 UL
/Times-Roman SF
8280 10406 MT
(File KX, Kermit script:)SH
/Courier SF
10680 12061 MT
(Comment Login script for VAXA via Micom data PBX Switch.)SH
10680 13092 MT
(set input timeout quit)SH
10680 14123 MT
(set input echo off)SH
10680 15154 MT
(set display quiet)SH
10680 16185 MT
(output \13413)SH
10680 17216 MT
(comment - "slowly." and "CLASS" are part of the switch's prompt.)SH
10680 18247 MT
(input 10 slowly.)SH
10680 19278 MT
(input 10 CLASS)SH
10680 20309 MT
(pause)SH
10680 21340 MT
(comment - Slowly tell switch "vaxa", wait for beep.)SH
10680 22371 MT
(output v)SH
10680 23402 MT
(output a)SH
10680 24433 MT
(output x)SH
10680 25464 MT
(output a)SH
10680 26495 MT
(output \13413)SH
10680 27526 MT
(pause)SH
10680 28557 MT
(input 5 \1347)SH
10680 29588 MT
(comment - Done with Switch, wake up the VAX and log in.)SH
10680 30619 MT
(pause)SH
10680 31650 MT
(output \13413)SH
10680 32681 MT
(pause)SH
10680 33712 MT
(input 5 Username:)SH
10680 34743 MT
(set input timeout proceed)SH
10680 35774 MT
(output MYNAME\13413)SH
10680 36805 MT
(input 2 Password:)SH
10680 37836 MT
(comment - Prompt ourselves, then get password from console.)SH
10680 38867 MT
(echo Enter password:)SH
10680 39898 MT
(output @con)SH
10680 40929 MT
(comment - Send a carriage return at the end of the password.)SH
10680 41960 MT
(output \13413)SH
10680 42991 MT
(comment - Expect ESC Z from the VAX's Set Term/Inquire...)SH
10680 44022 MT
(comment - Respond ESC [ <query symbol> 6 c)
SH( \050say)
1200 W( we are VT102\051.)SH
10680 45053 MT
(comment - Note syntax for including question mark!)SH
10680 46084 MT
(input 15 \13427Z)SH
10680 47115 MT
(output \13427[\134{63}6c)SH
10680 48146 MT
(comment Look for VMS dollar sign prompt)SH
10680 49177 MT
(input 15 $)SH
10680 50208 MT
(comment Start VMS Kermit and place it in server mode)SH
10680 51239 MT
(output kermit server\13413)SH
10680 52270 MT
(comment - allow server's message to finish, "machine." appears twice.)SH
10680 53301 MT
(input 10 machine.)SH
10680 54332 MT
(input 10 machine.)SH
10680 55363 MT
(pause)SH
/Times-Bold SF
17111 57080 MT
(Figure 1-5:)SH
/Times-Roman SF
22360 XM
(MS-Kermit Script for Logging into VAX and Sending Mail)SH
46800 50 8280 58890 UL
8280 61082 MT
(The SET TRANSLATION INPUT mechanism operates)
105 W( at the Kermit command level and is available to macros,)106 W
8280 62278 MT
(TAKE files, and hand typed)
40 W( control.  Host control is available only indirectly via the special macros TERMINALR)39 W
8280 63474 MT
(and TERMINALS, discussed below, which may contain the SET TRANSLATION INPUT and other commands.)SH
8280 65866 MT
(Character sets can be)
49 W( selected either by the Kermit command SET TERMINAL CHARACTER-SET \050expressed by)50 W
8280 67062 MT
(hand, in macros, or in Take files\051,)
8 W( or by host control of the terminal emulator via the escape sequences)7 W
/Courier SF
49633 XM
(ESC \050)7 W
/Times-Italic SF
53247 XM
(char)SH
/Times-Roman SF
8280 68258 MT
(or)SH
/Courier SF
9369 XM
(ESC \051)6 W
/Times-Italic SF
12981 XM
(char)SH
/Times-Roman SF
15070 XM
(and the Control-O and Control-N)
6 W( codes.  Thus, rapid changes of displayed characters is available to)7 W
8280 69454 MT
(the host and to the user through all three dynamic pathways: macros, Take files, hand typing or received codes.)SH
8280 71846 MT
(Version 2.32 of MS-Kermit also includes a new ability)
43 W( to operate right-to-left during CONNECT mode, in order to)42 W
ES
%%Page: 64 65
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 64)SH
12 /Times-Bold AF
29985 XM
(Kermit User Guide: MS-DOS KERMIT 1.10)SH
46800 50 6120 5709 UL
46800 50 6120 8086 UL
10 /Courier AF
6120 10865 MT
(; MS-Kermit 2.31, 2.32 Initialization File for the IBM PC, XT, AT, PS2, etc.)SH
6120 11896 MT
(; Christine Gianone, Vace Kundakci, Columbia University, December 1988)SH
6120 12927 MT
(echo Columbia University IBM PC Kermit Initialization file...)SH
6120 14989 MT
(; User IDs on various systems.  Substitute your own IDs.)SH
6120 16020 MT
(def \134%c XYZCU)
SH( ;)
5400 W( User ID for IBM mainframe)SH
6120 17051 MT
(def \134%u xyz)
SH( ;)
6600 W( UNIX ID for UNIX)SH
6120 19113 MT
(; General settings)SH
6120 20144 MT
(set warning on)
SH( ;)
4800 W( Change this to "off" to allow overwriting of files.)SH
6120 21175 MT
(set speed 9600)
SH( ;)
4800 W( Use 9600 bits per second by default)SH
6120 22206 MT
(set term vt102)
SH( ;)
4800 W( Emulate a DEC VT-102 terminal)SH
6120 23237 MT
(set term wrap on)
SH( ;)
3600 W( Have Kermit wrap lines at column 80)SH
6120 25299 MT
(; Behavior of INPUT command in script programs)SH
6120 26330 MT
(set input timeout quit ; Exit from script if input pattern not found)SH
6120 27361 MT
(set input echo on)
SH( ;)
3000 W( Echo characters that arrive during INPUT)SH
6120 28392 MT
(set input case observe ; Match according to alphabetic case)SH
6120 30454 MT
(; Macros for connecting to different systems thru the IBM/Rolm CBX)SH
6120 31485 MT
(def cuvmb  do cbx,o c cuvm\13413,  i 10 PLETE,)
SH( do)
3000 W( 3695, o vmb\13413, do 4381)SH
6120 32516 MT
(def simb)
SH( do)
1200 W( cbx,o c simb\13413,  i 10 PLETE, pau, do 7171, do 3270)SH
6120 33547 MT
(def cunix  do cbx,o c cunix\13413, i 10 PLETE, pau, do cuts, do unix)SH
6120 34578 MT
(def cunixa def \134%s cunixa,do cunix)SH
6120 35609 MT
(def cunixb def \134%s cunixb,do cunix)SH
6120 36640 MT
(def cunixc do cbx,o c cunixc\13413,i 10 PLETE, pau, out \13413, do unix)SH
6120 38702 MT
(; Macros for navigating thru front end and login prompts)SH
6120 39733 MT
(def cbx  do def,o \13413,i 10 MODIFY?)
SH( ;)
15000 W( IBM/Rolm CBX)SH
6120 40764 MT
(def 3695 i 5 ING CHARACTERS:\13432\13432)
SH( ;)
15000 W( COMTEN)SH
6120 41795 MT
(def 7171 pau,cle,o \13413,i 5 TERMINAL TYPE:\13432,o vt-100\13413)
SH( ;)
1800 W( 7171 front end)SH
6120 42826 MT
(def 4381 do vml,i 5 BREAK KEY,o \134b,i 5 .\13417,o LOG \134%c\13413,c  ; VM/CMS linemode)SH
6120 43857 MT
(def 3270 pau,cle,o \13413,o L \134%c\13413,do vmf,c)
SH( ;)
10200 W( VM/CMS fullsc.)SH
6120 45919 MT
(; CU Terminal Servers \050cutsa, cutsb, etc\051)SH
6120 46950 MT
(def cuts set inp tim p,out \13413,pau,set co 8,:loop,out \13413,i 3 >,-)SH
6120 47981 MT
(if suc goto ok,if cou goto loop,ech Failed,stop,:ok,out \134%s\13413,set inp tim q)SH
6120 50043 MT
(; UNIX login with speed matching)SH
6120 51074 MT
(def unix set inp timeout proc,set count 8,-)SH
6120 52105 MT
(:loop,i 5 login:\13432,if suc goto ok,out \13413,if count goto loop,-)SH
6120 53136 MT
(echo Failed,stop,:ok,out \134%u\13413,do dec,set inp tim q,connect)SH
6120 55198 MT
(; Macros for interacting with different systems:)SH
6120 56229 MT
(def vml do tty,set par m,set k \134270 \1348,  set k \1343 \134Kbreak)
SH( ;)
1800 W( VM linemode)SH
6120 57260 MT
(def vmf do def,set par e,set k \134270 \1348,  set k \1343 \1343,do simk ; VM fullscreen)SH
6120 58291 MT
(def dec do def,set par n,set k \134270 \134127,set k \1343 \1343)
SH( ;)
4800 W( DEC, SUN, etc)SH
6120 59322 MT
(def def set tim of,set loc of,set hand non,set flow xon,do nosimk ; Default)SH
6120 60353 MT
(def tty set tim on,set loc on,set hand xon,set flow non,do nosimk ; IBM TTY)SH
/Times-Bold SF
18118 62070 MT
(Figure 1-6:)SH
/Times-Roman SF
23367 XM
(An Advanced MS-Kermit Initialization File)SH
46800 50 6120 63880 UL
6120 65471 MT
(interact with Hebrew or Arabic language applications on the host)
156 W( computer.  The pertinent commands are SET)157 W
6120 66667 MT
(TERMINAL DIRECTION {LEFT-TO-RIGHT |)
175 W( RIGHT-TO-LEFT}, and SET TERMINAL CHARACTER-SET)174 W
6120 67863 MT
(ALTERNATE-ROM. The)
336 W( latter command makes these)
43 W( high bit characters available by active user selection, or by)44 W
6120 69059 MT
(reception of the escape sequences below to)
55 W( associate them with one of the two VT102 character set pointers called)54 W
6120 70255 MT
(G0 \050normal\051 and G1 \050alternate\051.  Arrival of Control-O selects the G0 set \050default\051 and Control-N the G1 set.)SH
ES
%%Page: 65 66
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.10. International Character Sets)SH
10 /Times-Italic AF
51775 XM
(Page 65)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(In addition, two special macro names TERMINALR and TERMINALS have)
57 W( been set aside, which can be invoked)58 W
8280 9082 MT
(within the VT102 emulator by reception from the host of the special escape sequences:)SH
/Courier SF
9480 10692 MT
(ESC [ ? 34 h)SH
/Times-Roman SF
19080 XM
(\050invokes macro TERMINALS\051)SH
/Courier SF
9480 11797 MT
(ESC [ ? 34 l)SH
/Times-Roman SF
19080 XM
(\050lower case L, invokes macro TERMINALR\051)SH
8280 13407 MT
(and/or by using new keyboard "verbs" \050not preassigned to keys\051:)SH
/Courier SF
9480 15017 MT
(\134Kterminals)SH
/Times-Roman SF
19080 XM
(\050invokes macro TERMINALS\051)SH
/Courier SF
9480 16122 MT
(\134Kterminalr)SH
/Times-Roman SF
19080 XM
(\050invokes macro TERMINALR\051)SH
8280 18514 MT
(When these macros are invoked within the terminal emulator and if they are defined then)
5 W( CONNECT mode is exited)4 W
8280 19710 MT
(and the macro is executed.  There)
84 W( is no automatic return to Connect mode at the completion of the macro.  If the)85 W
8280 20906 MT
(macro is not defined then CONNECT is not exited)
102 W( and nothing happens.  Initially neither macro is defined.  If a)101 W
8280 22102 MT
(return to Connect mode is desired then include CONNECT in the)
115 W( macro.  Any legal action is permitted in these)116 W
8280 23298 MT
(macros, including invoking other macros and Take files.)SH
8280 25690 MT
(The purpose of these two names and macros is to)
125 W( allow a host or the local user to interactively select two local)124 W
8280 26886 MT
(operations while within the terminal)
66 W( emulator, such as changing language specific setups or other desirable things,)67 W
8280 28082 MT
(which are much more involved than an existing)
48 W( keyboard verb.  There is no restriction on what the macros may do)47 W
8280 29278 MT
(since Kermit is then operating)
138 W( not in Connect mode but at the Kermit command prompt level, as it is for other)139 W
8280 30474 MT
(macros.)SH
8280 32866 MT
(The escape sequences above are a)
130 W( Kermit specific extensions of Digital Equipment Corporation's private escape)129 W
8280 34062 MT
(sequences to set and reset modes; hence the letters S and R in the macro names.)SH
8280 36454 MT
(One suggestion for employing SET TERM DIRECTION,)
483 W( SET TERM CHARACTER, and the macros)484 W
8280 37650 MT
(TERMINALR and TERMINALS)
98 W( to facilitate mixed Hebrew and English communications is the simple Take file)97 W
8280 38846 MT
(below:)SH
/Courier SF
10680 40501 MT
(; Define macros hebrew and english to do all the work)SH
10680 42156 MT
(def hebrew  set term dir right, set term char alt, hkey, comkey)SH
10680 43187 MT
(def english set term dir left, set term char us, set key clear, comkey)SH
10680 44842 MT
(; Define host-reachable macros for on the fly changes while)SH
10680 45873 MT
(; staying in the emulator)SH
10680 47528 MT
(def terminalr english, connect)SH
10680 48559 MT
(def terminals hebrew, connect)SH
10680 50214 MT
(; Define IBM-PC F1 key as switch to English, F2 as switch to Hebrew.)SH
10680 51245 MT
(; Done here to be remembered despite SET KEY CLEAR in macro English.)SH
10680 52276 MT
(; F1 and F2 thus are user-level commands during emulation.)SH
10680 53931 MT
(def comkey set k \134315 \134Kterminalr,set k \134316 \134Kterminals)SH
10680 55586 MT
(; Define SET KEYs for Hebrew keyboard layout via macro hkey)SH
10680 57241 MT
(def hkey set k \134x27 \134x2c,set k \134x2c \134x9a,set k . \134x95,set k / \134x2e,-)SH
11280 58272 MT
(set k \134x3b \134x93,set k \134x60 \134x3b,set k a \134x99,set k b \134x90, hkey1)SH
10680 59303 MT
(def hkey1 set k c \134x81,set k d \134x82,set k e \134x97,set k f \134x8b,-)SH
11280 60334 MT
(set k g \134x92,set k h \134x89,set k i \134x8f,set k k \134x87,hkey2)SH
10680 61365 MT
(def hkey2 set k l \134x8c,set k m \134x8a,set k m \134x96,set k n \134x8e,-)SH
11280 62396 MT
(set k o \134x8d,set k p \134x94,set k q /,set k r \134x98,set k s \134x83,hkey3)SH
10680 63427 MT
(def hkey3 set k t \134x80,set k u \134x85,set k v \134x84,set k x \134x91,-)SH
11280 64458 MT
(set k y \134x88,set k z \134x86)SH
/Times-Roman SF
8280 66175 MT
(After executing this file, one may switch)
95 W( Connect mode language support between Hebrew \050right to left, national)96 W
8280 67371 MT
(display characters, similarly translate outgoing keyboard characters\051 and English by stating a single keyword)
54 W( at the)53 W
8280 68567 MT
(Kermit prompt, "Hebrew" or "English", or while within)
194 W( Connect mode by pushing the F1 or F2 keys \050in this)195 W
8280 69763 MT
(example\051, or by reception of)24 W
/Courier SF
20008 XM
(ESC [ ? 34 h)24 W
/Times-Roman SF
27578 XM
(or)SH
/Courier SF
28684 XM
(l)SH
/Times-Roman SF
29557 XM
(from the host.  All the work is done from memory material and)23 W
8280 70959 MT
(is essentially instantaneous.  Clearly, other languages can also utilize these tools.)SH
ES
%%Page: 66 67
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 66)SH
12 /Times-Bold AF
29985 XM
(Kermit User Guide: MS-DOS KERMIT 1.10)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(IBM PCs or compatibles will normally have national characters installed in the upper portion of the)
98 W( character set)99 W
6120 9082 MT
(ROM, in positions 80H-9AH.  EGA systems generally come)
214 W( with a program to load the appropriate national)213 W
6120 10278 MT
(character set into this portion)
33 W( of memory, such as HEBEGA for Hebrew.  Version 3.30 \050and later\051 of DOS supports)34 W
6120 11474 MT
(the notion of "Code Page" for PS/2 systems, or other)
40 W( systems with EGA or LCD adapters, described in Appendices)39 W
6120 12670 MT
(B and C of the DOS 3.30 reference manual.)SH
14 /Times-Bold AF
6120 16272 MT
(1.11. MS-Kermit Features for Different Systems)SH
10 /Times-Roman AF
6120 18390 MT
(As noted early on,)
241 W( MS-Kermit was designed primarily for the IBM PC family, and later adapted to various)242 W
6120 19586 MT
(non-IBM-compatible MS-DOS \050and even non-MS-DOS\051 systems.  Some of these adaptations provide all)
250 W( the)249 W
6120 20782 MT
(features of the IBM PC version,)
49 W( others provide only a subset, and still others may include features not available on)50 W
6120 21978 MT
(the IBM family.  These features are all of the)
47 W( system-dependent variety; the Kermit file transfer protocol should be)46 W
6120 23174 MT
(implemented identically on all versions of MS-Kermit.)
41 W( The)
334 W( most obvious differences are in the terminal emulation)42 W
6120 24370 MT
(options and the keyboards.  Table)
48 W( 1-7 shows the terminal emulation options for the systems presently supported by)47 W
6120 25566 MT
(Kermit-MS, and Table 1-8, shows which keys are used for screen rollback on the various systems)
134 W( supported by)135 W
6120 26762 MT
(MS-Kermit.)SH
46800 50 6120 28753 UL
7120 31668 MT
(System)SH
17920 XM
(EscChar)SH
25120 XM
(Capabilities)SH
34480 XM
(Terminal Service)SH
2945 50 7120 31868 UL
3388 50 17920 31868 UL
4778 50 25120 31868 UL
6915 50 34480 31868 UL
7120 32773 MT
(ACT Apricot)SH
/Courier SF
18420 XM
(^])SH
28720 XM
(K)SH
/Times-Roman SF
34480 XM
(VT52 ???)SH
7120 33878 MT
(DEC Rainbow)SH
/Courier SF
18420 XM
(^])SH
25120 XM
(R P)
1200 W( K D)SH
/Times-Roman SF
34480 XM
(VT102 firmware)SH
7120 34983 MT
(DECmate/DOS)SH
/Courier SF
18420 XM
(^])SH
28720 XM
(K)SH
/Times-Roman SF
34480 XM
(VT100)SH
7120 36088 MT
(Generic DOS)SH
/Courier SF
18420 XM
(^])SH
28720 XM
(K)SH
/Times-Roman SF
34480 XM
(Depends on system)SH
7120 37193 MT
(Grid Compass)SH
/Courier SF
18420 XM
(^])SH
28720 XM
(K)SH
/Times-Roman SF
34480 XM
(???)SH
7120 38298 MT
(HP-110)SH
/Courier SF
18420 XM
(^])SH
28720 XM
(K)SH
/Times-Roman SF
34480 XM
(Dumb terminal)SH
7120 39403 MT
(HP-150)SH
/Courier SF
18420 XM
(^])SH
25120 XM
(R K)2400 W
/Times-Roman SF
34480 XM
(HP-2623 firmware)SH
7120 40508 MT
(IBM PC family)SH
/Courier SF
18420 XM
(^])SH
25120 XM
(R M P K D)SH
/Times-Roman SF
34480 XM
(H19,VT52,VT102,Tek emulation)SH
7120 41613 MT
(Intel 3xx)SH
/Courier SF
18420 XM
(^])SH
28720 XM
(K)SH
/Times-Roman SF
34480 XM
(Uses real terminal)SH
7120 42718 MT
(NEC 9801)SH
/Courier SF
18420 XM
(^])SH
26320 XM
(M P K D)SH
/Times-Roman SF
34480 XM
(VT102, Tektronix emulation)SH
7120 43823 MT
(NEC APC3)SH
/Courier SF
18420 XM
(^])SH
25120 XM
(R M P K D)SH
/Times-Roman SF
34480 XM
(H19,VT52,VT102 emulation)SH
7120 44928 MT
(NEC APC)SH
/Courier SF
18420 XM
(^])SH
25120 XM
(R P)
1200 W( K)SH
/Times-Roman SF
34480 XM
(VT100, ADM3A firmware)SH
7120 46033 MT
(Olivetti M24)SH
/Courier SF
18420 XM
(^])SH
25120 XM
(R M P K D)SH
/Times-Roman SF
34480 XM
(Same as IBM PC)SH
7120 47138 MT
(Sanyo MBC55x)SH
/Courier SF
18420 XM
(^])SH
25120 XM
(R M P K D)SH
/Times-Roman SF
34480 XM
(H19,VT52,VT102 emulation)SH
7120 48243 MT
(Wang PC)SH
/Courier SF
18420 XM
(^A)SH
28720 XM
(K)SH
/Times-Roman SF
34480 XM
(Wang firmware)SH
7120 49348 MT
(TI Pro)SH
/Courier SF
18420 XM
(^])SH
26320 XM
(M P K)SH
/Times-Roman SF
34480 XM
(VT100/Tektronix)SH
7120 50453 MT
(Victor 9000)SH
/Courier SF
18420 XM
(Alt-])SH
26320 XM
(M P K D)SH
/Times-Roman SF
34480 XM
(H19,VT52,VT102 and/or Tek4010)SH
7120 51558 MT
(Zenith Z100)SH
/Courier SF
18420 XM
(^])SH
28720 XM
(K)SH
/Times-Roman SF
34480 XM
(Heath-19 emulation)SH
/Courier SF
13042 53349 MT
(R)SH
/Times-Roman SF
(=Rollback,)SH
/Courier SF
18317 XM
(M)SH
/Times-Roman SF
(=Modeline,)SH
/Courier SF
23814 XM
(P)SH
/Times-Roman SF
(=Printer control,)SH
/Courier SF
31283 XM
(K)SH
/Times-Roman SF
(=Key redefinition,)SH
/Courier SF
39529 XM
(D)SH
/Times-Roman SF
(=screen Dump)SH
/Times-Bold SF
18909 54959 MT
(Table 1-7:)SH
/Times-Roman SF
23770 XM
(Kermit-MS Terminal Emulation Options)SH
46800 50 6120 56769 UL
6120 58961 MT
(Another difference is the default communication port, the number of communication ports supported, and the)
15 W( names)14 W
6120 60157 MT
(given to them.  For instance, the IBM PC family supports COM1)
254 W( and COM2, and uses COM1 by default.)255 W
6120 61353 MT
(MS-Kermit may be persuaded to support higher-numbered IBM ports using the method outlined)
76 W( in section 1.18.3.)75 W
6120 62549 MT
(For remote operation, IBM's name for the console is CON, so if you CTTY COM1, you do CTTY)
46 W( CON to put the)47 W
6120 63745 MT
(PC back to normal.)SH
ES
%%Page: 67 68
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.11. MS-Kermit Features for Different Systems)SH
10 /Times-Italic AF
51775 XM
(Page 67)SH
46800 50 8280 5709 UL
46800 50 8280 8086 UL
/Times-Roman SF
8280 10820 MT
(System)SH
15480 XM
(Screen Down)SH
25560 XM
(Line Down)SH
37080 XM
(Screen Up)SH
45720 XM
(Line Up)SH
2945 50 8280 11020 UL
5415 50 15480 11020 UL
4527 50 25560 11020 UL
4193 50 37080 11020 UL
3305 50 45720 11020 UL
8280 11925 MT
(IBM PC)SH
15480 XM
(PgUp)SH
25560 XM
(Ctrl-PgUp)SH
37080 XM
(PgDn)SH
45720 XM
(Ctrl-PgDn)SH
8280 13030 MT
(Rainbow)SH
15480 XM
(PrevScreen)SH
25560 XM
(Ctrl-PrevScreen)SH
37080 XM
(NextScreen)SH
45720 XM
(Ctrl-NextScreen)SH
8280 14135 MT
(HP-150)SH
15480 XM
(Prev)SH
25560 XM
(Shift-UpArrow)SH
37080 XM
(Next)SH
45720 XM
(Shift-DownArrow)SH
8280 15240 MT
(NEC APC)SH
15480 XM
(Uparrow)SH
25560 XM
(Ctrl-UpArrow)SH
37080 XM
(DownArrow)SH
45720 XM
(Ctrl-DownArrow)SH
8280 16345 MT
(NEC APC3)SH
15480 XM
(PgUp)SH
25560 XM
(Ctrl-PgUp)SH
37080 XM
(PgDn)SH
45720 XM
(Ctrl-PgDn)SH
8280 17450 MT
(Sanyo 55x)SH
15480 XM
(PgUp)SH
25560 XM
(Ctrl-RtArrow)SH
37080 XM
(PgDn)SH
45720 XM
(Ctrl-PgDn)SH
8280 19060 MT
(The IBM PC also allows use of the Home)
105 W( key to get to the top of its display memory and End key to get to the)104 W
8280 20256 MT
(bottom, and the keypad minus \050)49 W
/Courier SF
(-)SH
/Times-Roman SF
(\051 key to toggle the mode line on and off.  The Rainbow)
49 W( uses Shift-Next-Screen to)50 W
8280 21452 MT
(get to the bottom of its display memory, but provides no key for moving directly to the top.)SH
/Times-Bold SF
22986 23062 MT
(Table 1-8:)SH
/Times-Roman SF
27847 XM
(Kermit-MS Screen Scroll Keys)SH
46800 50 8280 24872 UL
12 /Times-Bold AF
8280 27260 MT
(The DEC Rainbow)SH
10 /Times-Roman AF
8280 28674 MT
(The DEC Rainbow version of MS-Kermit uses)
143 W( the built-in VT102 terminal firmware and setup modes, and can)142 W
8280 29870 MT
(operate at speeds up to 9600 baud.  It has no 25th screen)
1 W( line, and therefore no Kermit mode line during CONNECT.)2 W
8280 31066 MT
(It supports only the Rainbow's single communication port, and not the)
45 W( printer port, so SET PORT for the Rainbow)44 W
8280 32262 MT
(is not implemented \050but of course the printer may be used for printing.\051  The Rainbow may)
54 W( be put in remote mode)55 W
8280 33458 MT
(by CTTY AUX, and returned)
176 W( to normal with CTTY SCRN.  The Rainbow supports several SET TERMINAL)175 W
8280 34654 MT
(commands: VT102, VT52, and ROLL.)SH
8280 37046 MT
(The keypad)
20 W( and cursor keys all work properly in VT102 and VT52 modes and in application as well as native states)21 W
8280 38242 MT
(\050they never had in previous versions\051.  Newline mode)
38 W( is activated for received characters \050LF ==> CR/LF\051.  Screen)37 W
8280 39438 MT
(roll back is almost 11)
87 W( screenfuls.  Table 1-9 shows the verb names and default key assignments for the Rainbow.)88 W
8280 40634 MT
(On the main)
49 W( typewriter keyboard the shifted comma and period are converted to special keys available for Set Key)48 W
8280 41830 MT
(assignment without impacting the normal unshifted ASCII actions; Shift Lock has no effect on these keys.)SH
12 /Times-Bold AF
8280 44418 MT
(The DECmate II)SH
10 /Times-Roman AF
8280 45832 MT
(MS-Kermit for the DECmate II with the XPU option is somewhat similar to Rainbow)
160 W( Kermit.  It uses built-in)161 W
8280 47028 MT
(terminal VT100 firmware and setup modes and baud rates)
5 W( up to 9600 on the single communication port.  The printer)4 W
8280 48224 MT
(port is not available for communications in this version.  There)
23 W( is no mode line, but other connect-mode escapes are)24 W
8280 49420 MT
(supported, including sending BREAK.  Disks A through)
74 W( I are supported, and the floppy disk format is compatible)73 W
8280 50616 MT
(with the Rainbow.  DEC utilities are available for file conversion between DOS and WPS-8 files.)SH
12 /Times-Bold AF
8280 53204 MT
(The NEC APC3)SH
10 /Times-Roman AF
8280 54618 MT
(The NEC APC3 version of MS-Kermit assumes that)
168 W( the)169 W
/Courier SF
32487 XM
(ANSI.SYS)SH
/Times-Roman SF
37706 XM
(driver has been installed and that a color)169 W
8280 55814 MT
(monitor is being used; the)
119 W( color graphics option is not used by Kermit.  Although the display should be entirely)118 W
8280 57010 MT
(sensible with a monochrome system, it has not been tested.  Differences from the IBM PC version include:)SH
8280 59402 MT
(SET BAUD: The useful baud rates supported range from 300 to 9600.)SH
8280 61794 MT
(SET PORT: The available ports are 1, 2, 3, or their equivalents AUX, AUX2, AUX3.)SH
8280 64186 MT
(SET TERMINAL COLOR: Instead of)
31 W( specifying colors by number, the words BLUE, RED, MAGENTA, GREEN,)32 W
8280 65382 MT
(CYAN, YELLOW, or WHITE are appropriate.)
20 W( This)
288 W( is the color of the text in connect mode; background colors are)19 W
8280 66578 MT
(not available.  Monochrome monitors will respond with display changing from most dim to)
18 W( most bright if the colors)19 W
8280 67774 MT
(are specified in the order given.)SH
8280 70166 MT
(SET TERMINAL KEYCLICK: Not implemented in Kermit; use the NEC provided command.)SH
ES
%%Page: 68 69
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 68)SH
12 /Times-Bold AF
29985 XM
(Kermit User Guide: MS-DOS KERMIT 1.11)SH
46800 50 6120 5709 UL
46800 50 6120 8086 UL
10 /Courier AF
8520 10865 MT
(Rainbow Key)
SH( Verb)
6000 W( Name)
SH( Operation)3000 W
6600 50 8520 11065 UL
5400 50 21720 11065 UL
5400 50 30720 11065 UL
8520 12927 MT
(PF1 \134Kpf1,\134Kgold)
10800 W( Keypad)
1200 W( function key)SH
8520 13958 MT
(PF2..PF4 \134Kpf2..\134Kpf4)
7800 W( Keypad)
1200 W( function keys)SH
8520 14989 MT
(keypad 0..9)
SH( \134Kkp0..\134Kkp9)
6000 W( Keypad)
1200 W( digit keys)SH
8520 16020 MT
(keypad -)
SH( \134Kkpminus)
7800 W( Keypad)
3000 W( minus key)SH
8520 17051 MT
(keypad ,)
SH( \134Kkpcoma)
7800 W( Keypad)
3600 W( commma)SH
8520 18082 MT
(keypad .)
SH( \134Kkpdot)
7800 W( Keypad)
4200 W( dot \050period\051 key)SH
8520 19113 MT
(keypad Enter)
SH( \134Kkpenter)
5400 W( Keypad)
3000 W( Enter key)SH
8520 21175 MT
(up arrow)
SH( \134Kuparr)
7800 W( Cursor)
4200 W( keys)SH
8520 22206 MT
(down arrow)
SH( \134Kdnarr)6600 W
8520 23237 MT
(left arrow)
SH( \134Klfarr)6600 W
8520 24268 MT
(right arrow)
SH( \134Krtarr)6000 W
8520 25299 MT
(Shift Prev Screen)
SH( \134Khome)
2400 W( Rewind)
4800 W( to start of screen buffer)SH
8520 26330 MT
(Shift Next Screen)
SH( \134Kend  Unwind)
2400 W( to end of screen buffer)SH
8520 27361 MT
(Ctrl Prev screen)
SH( \134Kupone)
3000 W( Backup)
4200 W( one screen line)SH
8520 28392 MT
(Ctrl Next screen)
SH( \134Kdnone)
3000 W( Advance)
4200 W( one screen line)SH
8520 29423 MT
(Prev screen)
SH( \134Kupscn)
6000 W( Backup)
4200 W( one screen)SH
8520 30454 MT
(Next screen)
SH( \134Kdnscn)
6000 W( Advance)
4200 W( one screen)SH
8520 31485 MT
(Print Screen)
SH( \134Kprtscr)
5400 W( Copy)
3600 W( screen to printer)SH
8520 32516 MT
(Ctrl Print Screen)
SH( \134Ktoggle_prn)
2400 W( Toggle)
1200 W( echoing screen to printer)SH
31320 33547 MT
(\050printer failure resets toggle\051)SH
8520 34578 MT
(Do \134Kdump)
11400 W( Copy)
4800 W( screen to file \050KERMIT.SCN\051)SH
8520 35609 MT
(Break \134Kbreak)
9600 W( Send)
4200 W( a BREAK)SH
8520 36640 MT
(Shift Break)
SH( \134Klbreak)
6000 W( Send)
3600 W( a Long BREAK)SH
8520 37671 MT
(Main Screen)
SH( \134KDOS)
6000 W( Push)
5400 W( to DOS)SH
8520 38702 MT
(Help \134Khelp)
10200 W( Show)
4800 W( Connect mode help menu)SH
8520 39733 MT
(Exit \134Kexit)
10200 W( Exit)
4800 W( Connect mode)SH
8520 40764 MT
(* \134Knull)
12000 W( send)
4800 W( a null out the serial port)SH
8520 41795 MT
(* \134Khangup)
12000 W( hangup)
3600 W( phone by dropping DTR, RTS)SH
8520 42826 MT
(* \134Klogon)
12000 W( resume)
4200 W( logging, if active)SH
8520 43857 MT
(* \134Klogof)
12000 W( suspend)
4200 W( logging)SH
8520 44888 MT
(* \134Kstatus)
12000 W( display)
3600 W( status table)SH
8520 46950 MT
(* \050verbs not pre-assigned to keys\051)SH
/Times-Bold SF
18965 49698 MT
(Table 1-9:)SH
/Times-Roman SF
23826 XM
(Kermit-MS Verbs for the DEC Rainbow)SH
46800 50 6120 51508 UL
6120 53700 MT
(SET TERMINAL SCREEN-BACKGROUND: Not implemented.)SH
6120 56092 MT
(During terminal emulation, screen scroll is handled by the PgUp and PgDn keys.  If used in combination with)
76 W( the)75 W
6120 57288 MT
(Ctrl key, the display moves but one line.  If used in combination with the)
49 W( Fnc key, the display scrolls to the end of)50 W
6120 58484 MT
(the buffer.  The Fnc-INS combination toggles the mode line on/off.)
20 W( The)
288 W( Fnc-DEL combination toggles the terminal)19 W
6120 59680 MT
(emulation type.  The Fnc-Break combination resets the emulator.  The Help key pulls down)
6 W( the connect mode menu.)7 W
6120 60876 MT
(The ANSI escape sequence for disable/enable cursor is implemented.)SH
ES
%%Page: 69 70
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.12. Compatibility with Older Versions of MS-DOS Kermit)SH
10 /Times-Italic AF
51775 XM
(Page 69)SH
46800 50 8280 5709 UL
14 /Times-Bold AF
8280 8138 MT
(1.12. Compatibility with Older Versions of MS-DOS Kermit)SH
10 /Times-Roman AF
8280 10256 MT
(The last monolithic \050single source file\051 release of MS-DOS)
4 W( Kermit was 1.20.  Meanwhile, implementations based on)3 W
8280 11452 MT
(versions of that vintage will have at least the following incompatibilies from the version described here:)SH
/Symbol SF
10070 13357 MT
(\267)SH
/Times-Roman SF
10780 XM
("RECEIVE filespec" is used instead of "GET filespec".  There)
66 W( is no GET command in older versions,)67 W
10780 14462 MT
(and no way to specify a new name for an incoming file.)SH
/Symbol SF
10070 15567 MT
(\267)SH
/Times-Roman SF
10780 XM
(No LOCAL or REMOTE commands.)SH
/Symbol SF
10070 16672 MT
(\267)SH
/Times-Roman SF
10780 XM
(No 8th-bit prefixing, repeat counts, CRCs or 2-character checksums.)SH
/Symbol SF
10070 17777 MT
(\267)SH
/Times-Roman SF
10780 XM
(No TAKE or initialization files.)SH
/Symbol SF
10070 18882 MT
(\267)SH
/Times-Roman SF
10780 XM
(No command macros or command line arguments.)SH
/Symbol SF
10070 19987 MT
(\267)SH
/Times-Roman SF
10780 XM
(No terminal session logging.)SH
8280 21778 MT
(and others, depending on the specific version.)SH
8280 24170 MT
(Incompatibilities between 2.29 and later releases include:)SH
/Symbol SF
10070 26075 MT
(\267)SH
/Times-Roman SF
10780 XM
(LOCAL command has been removed from 2.30 and later.)SH
/Symbol SF
10070 27180 MT
(\267)SH
/Times-Roman SF
10780 XM
(CLEAR command now means)
67 W( clear serial port buffer rather than key and macro definitions.  Key and)66 W
10780 28285 MT
(macro definition string space is now garbage collected, so a CLEAR command for)
97 W( them is no longer)98 W
10780 29390 MT
(necessary.)SH
/Symbol SF
10070 30495 MT
(\267)SH
/Times-Roman SF
10780 XM
(CLRINP command is gone \050replaced by CLEAR\051.)SH
/Symbol SF
10070 31600 MT
(\267)SH
/Times-Roman SF
10780 XM
(Numbers of the form \134)SH
/Times-Italic SF
(nnn)SH
/Times-Roman SF
21473 XM
(default to decimal rather than octal.)SH
/Symbol SF
10070 32705 MT
(\267)SH
/Times-Roman SF
10780 XM
(Status of Default Disk is now shown as default disk and path.)SH
/Symbol SF
10070 33810 MT
(\267)SH
/Times-Roman SF
10780 XM
(LOG)SH
/Times-Italic SF
13085 XM
(filespec)SH
/Times-Roman SF
16390 XM
(replaced by LOG SESSION)SH
/Times-Italic SF
27888 XM
(filespec)SH
/Times-Roman SF
31193 XM
(and LOG PACKET)SH
/Times-Italic SF
39331 XM
(filespec)SH
/Times-Roman SF
(.)SH
/Symbol SF
10070 34915 MT
(\267)SH
/Times-Roman SF
10780 XM
(SET KEY and SHOW KEY commands use different key identifications and syntax:)SH
8280 36706 MT
(MS-Kermit no longer understands)
79 W( keycap names such as F1 and BACKSPACE because the codes are now highly)78 W
8280 37902 MT
(dependent on individual keyboards, software, and computers.)
81 W( Also,)
413 W( not every key press combination is supported)82 W
8280 39098 MT
(by the system software and key codes do depend on the keyboard in use.  Thus, the SHOW KEY)
146 W( command is)145 W
8280 40294 MT
(normally used to obtain codes for keys on your system.  In most cases, defining one key also redefines all other keys)8 W
8280 41490 MT
(sending the same character.  This)
51 W( is a side effect of not knowing the physical details of every keyboard.  However,)50 W
8280 42686 MT
(efforts have been made to recognize many such "aliased" keys and to generate unique identifications for)
175 W( each.)176 W
8280 43882 MT
(Special keys, such as F1, F2 and others which do not send an ASCII code are usually unique and are)
61 W( identified by)60 W
8280 45078 MT
(scan codes.)SH
8280 47470 MT
(Previous versions of MS Kermit used a different key)
93 W( coding algorithm and not all old codes map to the expected)94 W
8280 48666 MT
(keys. However,)
440 W( Kermit does attempt to use the older SET)
95 W( KEY syntax properly as much as possible.  The older)94 W
8280 49862 MT
(syntax required the keyword SCAN)
41 W( followed by a number WITHOUT the BACKSLASH.  The current MS Kermit)42 W
8280 51058 MT
(uses decimal as the default number base and previous versions used octal in certain)
76 W( commands.  So, when Kermit)75 W
8280 52254 MT
(senses an old style SET KEY command it converts the number, displays the new format and gives)
182 W( a warning)183 W
8280 53450 MT
(message. It)
250 W( is best to make a new style SET KEY file.)SH
14 /Times-Bold AF
8280 57052 MT
(1.13. What's Missing)SH
10 /Times-Roman AF
8280 59170 MT
(Kermit-MS has plenty of room for improvement.  Missing features \050which may be added in future releases\051 include:)SH
/Symbol SF
10070 61075 MT
(\267)SH
/Times-Roman SF
10780 XM
(Sliding window transport protocol.)SH
/Symbol SF
10070 62180 MT
(\267)SH
/Times-Roman SF
10780 XM
(Default filetype for TAKE command files.)SH
/Symbol SF
10070 63285 MT
(\267)SH
/Times-Roman SF
10780 XM
(Passing paramaters in TAKE command, like in DO command.)SH
/Symbol SF
10070 64390 MT
(\267)SH
/Times-Roman SF
10780 XM
(A way to send files with their full path names.)SH
/Symbol SF
10070 65495 MT
(\267)SH
/Times-Roman SF
10780 XM
(A way to play back session logs directly from disk to screen.)SH
/Symbol SF
10070 66600 MT
(\267)SH
/Times-Roman SF
10780 XM
(Trapping of carrier loss during CONNECT or file transfer.)SH
/Symbol SF
10070 67705 MT
(\267)SH
/Times-Roman SF
10780 XM
(A better built-in help facility.)SH
/Symbol SF
10070 68810 MT
(\267)SH
/Times-Roman SF
10780 XM
(A way to dump or print Tektronix graphics screens.)SH
ES
%%Page: 70 71
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 70)SH
12 /Times-Bold AF
29985 XM
(Kermit User Guide: MS-DOS KERMIT 1.14)SH
46800 50 6120 5709 UL
14 SS 
6120 8138 MT
(1.14. Installation of Kermit-MS)SH
10 /Times-Roman AF
6120 10256 MT
(If you already have Kermit on your PC, you can use it to obtain new versions of Kermit-MS when they)
65 W( appear on)64 W
6120 11452 MT
(the central system at your site.  If you do not have Kermit)
31 W( or any other reliable file capture facility on your PC, you)32 W
6120 12648 MT
(can order a Kermit diskette from)
318 W( Columbia \050write to Kermit Distribution, Columbia University Center for)317 W
6120 13844 MT
(Computing Activities, 612)
169 W( West 115th Street, New York, NY 10025, USA, for information\051, or from any of a)170 W
6120 15040 MT
(number of user groups or diskette services.)
112 W( If)
472 W( you don't have Kermit already, and absolutely can't get a Kermit)111 W
6120 16236 MT
(diskette, but have access to another computer that has)
36 W( a copy of the MS-DOS Kermit program \050usually in ``)37 W
/Courier SF
(.BOO)SH
/Times-Roman SF
('')SH
6120 17432 MT
(format, explained below\051, there are two recommended methods for getting it onto your PC:)SH
8120 19223 MT
(1.)SH
9120 XM
(Use another file capture facility to get it.)SH
8120 20881 MT
(2.)SH
9120 XM
(Type in and run the "baby Kermit" program \05072 lines\051 from chapter 7 of the Kermit book.)SH
6120 22672 MT
(The first method involves either "raw capture" \050no)
247 W( error checking\051, or else use of another protocol, such as)246 W
6120 23868 MT
(Xmodem, which, like Kermit, requires a program to execute the same protocol on both ends of the connection.)SH
6120 26260 MT
(Raw capture generally involves "typing" the file on the other computer, with your)
192 W( PC taking the place of the)193 W
6120 27456 MT
(terminal, and rather)
31 W( than displaying the file on the screen as it's being typed, your PC is storing it on the disk.  This)30 W
6120 28652 MT
(is a tricky process, however, because)
18 W( data can easily be lost or corrupted.  For instance, you could write a very short)19 W
6120 29848 MT
(BASIC program to capture a file in this way, but it could)
33 W( probably not keep up -- even at low baud rates -- with the)32 W
6120 31044 MT
(transmission speed unless you included the)
13 W( tricky serial port BASIC commands.  The DOS command COPY COM1)14 W
/Times-Italic SF
6120 32240 MT
(filename)SH
/Times-Roman SF
9889 XM
(command has the same)
75 W( speed problem, and it stops only when it receives a Control-Z character from the)74 W
6120 33436 MT
(other computer.)SH
6120 35828 MT
(If the other computer has Kermit on it -- which is likely, since this is probably the)
78 W( reason you want to get Kermit)79 W
6120 37024 MT
(onto your PC --)
118 W( you should type in the receive-only BASIC Kermit program listed on pp.186-188 of the Kermit)117 W
6120 38220 MT
(book, and then use it in conjunction with the other computer's Kermit to transfer)
64 W( the file.  Make sure to set a long)65 W
6120 39416 MT
(enough delay on the other computer to give yourself time to escape back to the PC)
62 W( and start up the "baby Kermit")61 W
6120 40612 MT
(before packets start to arrive, otherwise you'll probably get fatal DOS i/o errors.)SH
6120 43004 MT
(Note that Kermit programs are often distributed under names other than "Kermit".  The)
60 W( Columbia Kermit program)61 W
6120 44200 MT
(library contains hundreds of Kermit programs, which must be given unique names.  MS-DOS Kermit for)
72 W( the IBM)71 W
6120 45396 MT
(PC, for instance, is called)4 W
/Courier SF
16611 XM
(MSVIBM)SH
/Times-Roman SF
(. Once)
258 W( you have this program in)4 W
/Courier SF
33602 XM
(.EXE)SH
/Times-Roman SF
36256 XM
(format on your disk, you)
4 W( probably should)5 W
6120 46592 MT
(rename it to)SH
/Courier SF
11147 XM
(KERMIT.EXE)SH
/Times-Roman SF
(, because the distribution name is harder to remember \050and type\051.)SH
6120 48984 MT
(You will probably also)
47 W( want to create an MS-Kermit initialization file.  A sample is distributed with MS-Kermit as)46 W
/Courier SF
6120 50180 MT
(MSVIBM.INI)SH
/Times-Roman SF
(. This)
456 W( should be tailored to your requirements, and then renamed)
103 W( to)104 W
/Courier SF
40874 XM
(MSKERMIT.INI)SH
/Times-Roman SF
(, and stored)104 W
6120 51376 MT
(where Kermit can find it \050in the current directory or any directory in your DOS PATH\051.)SH
12 /Times-Bold AF
6120 53964 MT
(".BOO Files")SH
10 /Times-Roman AF
6120 55378 MT
(MS-Kermit \050and many other Kermit programs\051 are often distributed using a special encoding called)
24 W( "boo" \050short for)23 W
6120 56574 MT
("bootstrap"\051 format, developed especially for distribution of)
119 W( MS-Kermit over networks and communication lines.)120 W
6120 57770 MT
(MS-Kermit has grown to have so many features that the binary program image)
94 W( \050the)93 W
/Courier SF
41039 XM
(.EXE)SH
/Times-Roman SF
43782 XM
(file\051 has become quite)93 W
6120 58966 MT
(large. But)
272 W( binary files are generally not compatible with the common labeled tape formats \050e.g. ANSI D\051, electronic)11 W
6120 60162 MT
(mail, or raw downloading -- the methods most commonly used for Kermit distribution.)SH
6120 62554 MT
(A common practice is to encode)65 W
/Courier SF
19674 XM
(.EXE)SH
/Times-Roman SF
22389 XM
(and other binary files into printable characters, such as)
65 W( hexadecimal digits,)64 W
6120 63750 MT
(for transportability.  A simple "hex" encoding results in two characters per 8-bit binary byte,)
125 W( plus CRLFs added)126 W
6120 64946 MT
(every 80 \050or less\051 hex characters to allow the file)
63 W( to pass through card-oriented links.  A hex file is therefore more)62 W
6120 66142 MT
(than twice as large as the original binary file.)SH
6120 68534 MT
(A)SH
/Courier SF
7142 XM
(.BOO)SH
/Times-Roman SF
9842 XM
(file is a more)
50 W( compact, but somewhat more complicated, encoding.  Every three binary bytes \05024 bits\051 are)51 W
6120 69730 MT
(split up into four 6-bit)
159 W( bytes with 48 \050ASCII character ``)158 W
/Courier SF
(0)SH
/Times-Roman SF
(''\051 added to each, resulting in four ASCII characters)158 W
6120 70926 MT
(ranging from ``)53 W
/Courier SF
(0)SH
/Times-Roman SF
('' \050ASCII 48\051 to ``)53 W
/Courier SF
(o)SH
/Times-Roman SF
('' \050ASCII 111\051, with CRLFs added)
53 W( at or near "column 76".  The resulting file)54 W
ES
%%Page: 71 72
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.14. Installation of Kermit-MS)SH
10 /Times-Italic AF
51775 XM
(Page 71)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(size would therefore be about 4/3 the)217 W
/Courier SF
24879 XM
(.EXE)SH
/Times-Roman SF
27746 XM
(file size.  This is still quite large, so)217 W
/Courier SF
44171 XM
(.BOO)SH
/Times-Roman SF
47038 XM
(files also compress)216 W
8280 9082 MT
(consecutive null \050zero\051 bytes.)
76 W( Up)
404 W( to 78 consecutive nulls are compressed into two characters.  Tilde \050``)77 W
/Courier SF
(~)SH
/Times-Roman SF
(''\051 is the)77 W
8280 10278 MT
(null-compression lead-in, and the following character indicates how)
100 W( many nulls are represented \050subtract 48 from)99 W
8280 11474 MT
(this character's)
28 W( ASCII value\051.  For instance ``)29 W
/Courier SF
(~A)SH
/Times-Roman SF
('' means 17 consecutive nulls; ``)29 W
/Courier SF
(~~)SH
/Times-Roman SF
('' means 78 of them.  Repeated)29 W
8280 12670 MT
(nulls are very common in)SH
/Courier SF
18751 XM
(.EXE)SH
/Times-Roman SF
21401 XM
(files.)SH
8280 15062 MT
(4-for-3 encoding combined)
100 W( with null compression reduces the size of the encoded file to approximately the same)99 W
8280 16258 MT
(size as the original)69 W
/Courier SF
16277 XM
(.EXE file)69 W
/Times-Roman SF
(, and sometimes)
69 W( even smaller.  The first line of a)70 W
/Courier SF
42261 XM
(.BOO)SH
/Times-Roman SF
44981 XM
(file is the name \050in plain)70 W
8280 17454 MT
(text\051 of the original file.  Here's what the first few lines of a typical)SH
/Courier SF
35441 XM
(.BOO)SH
/Times-Roman SF
38091 XM
(file look like:)SH
/Courier SF
9480 19109 MT
(MSVIBM.EXE)SH
9480 20140 MT
(CEYP0Id05@0P~3oomo2Y01FWeP8@007P000040HB4001`W~28bL005\134W~2JBP00722V0ZHPYP:)SH
9480 21171 MT
(\1348:H2]R2V0[`PYP:68>H2S23V0YHPiP:Xg800;Qd~2UWD006Yg~2Ogl009]o~2L8000;20~~~~)SH
9480 22202 MT
(~~~~~~~:R2H008TV?P761T410<H6@P40j4l6RRH0083l17@PP?`1M@?YSP20o0Ee0nUD0h3l)SH
9480 23233 MT
(1WD3jO@3]0VjW03=8L?X4`N0o01h1\134H6~20l>0i7n0o1]e7[@2\134PO=8LH60@00Raj>04^97Xh0)SH
12 /Times-Bold AF
8280 25821 MT
(Programs for Handling .BOO Files)SH
10 /Times-Roman AF
8280 27235 MT
(Kermit Distribution includes several useful)SH
/Courier SF
25806 XM
(.BOO)SH
/Times-Roman SF
(-file programs:)SH
/Courier SF
8280 29026 MT
(MSBPCT.BAS)SH
/Times-Roman SF
16280 XM
(This Microsoft BASIC program can be used on any PC that)
65 W( has BASIC to decode a)64 W
/Courier SF
51033 XM
(.BOO)SH
/Times-Roman SF
53747 XM
(file)SH
16280 30131 MT
(into an)SH
/Courier SF
19280 XM
(.EXE)SH
/Times-Roman SF
21930 XM
(file. It's)
250 W( about 50 lines line, so it can be typed in.)SH
/Courier SF
8280 31708 MT
(MSBPCT.BOO)SH
/Times-Roman SF
16280 XM
(BASIC programs run rather slowly, so)52 W
/Courier SF
32286 XM
(.BOO)SH
/Times-Roman SF
(-file decoders have also been written in high-level)53 W
16280 32813 MT
(languages like C. The)267 W
/Courier SF
26319 XM
(MSBPCT.EXE)SH
/Times-Roman SF
32836 XM
(file that was produced by compiling)266 W
/Courier SF
49097 XM
(MSBPCT.C)SH
/Times-Roman SF
54413 XM
(is)SH
16280 33918 MT
(encoded into)544 W
/Courier SF
22756 XM
(MSBPCT.BOO)SH
/Times-Roman SF
(, which can be decoded back)
544 W( into)545 W
/Courier SF
46118 XM
(MSBPCT.EXE)SH
/Times-Roman SF
52913 XM
(using)SH
/Courier SF
16280 35023 MT
(MSBPCT.BAS)SH
/Times-Roman SF
(. Once)
540 W( you've done that,)
145 W( you don't need to run the slow BASIC version any)144 W
16280 36128 MT
(more, which is a blessing, because the MS-Kermit)38 W
/Courier SF
36971 XM
(.BOO)SH
/Times-Roman SF
39660 XM
(file takes up to half an hour to decode)39 W
16280 37233 MT
(using the BASIC version \050depending on the system\051, but only seconds using)SH
/Courier SF
47029 XM
(MSBPCT.EXE)SH
/Times-Roman SF
(.)SH
/Courier SF
8280 38810 MT
(MSBPCT.*)SH
/Times-Roman SF
16280 XM
(There are)203 W
/Courier SF
20739 XM
(.BOO)SH
/Times-Roman SF
(-file decoders written in other languages too, like assembler, Turbo Pascal,)203 W
16280 39915 MT
(Fortran, etc.  Take your pick.  They all do the same thing.)SH
/Courier SF
8280 41492 MT
(MSBMKB.*)SH
/Times-Roman SF
16280 XM
(This is the program for encoding an)1 W
/Courier SF
30868 XM
(.EXE)SH
/Times-Roman SF
33519 XM
(file into)
1 W( a)2 W
/Courier SF
37607 XM
(.BOO)SH
/Times-Roman SF
40259 XM
(file. It)
254 W( is written in C, compiled, and)2 W
16280 42597 MT
(translated \050by itself\051 into)9 W
/Courier SF
26426 XM
(.BOO)SH
/Times-Roman SF
29085 XM
(format, suitable for decoding back into)9 W
/Courier SF
44942 XM
(.EXE)SH
/Times-Roman SF
47601 XM
(form by any of the)9 W
16280 43702 MT
(MSBPCT programs.  Also in other languages, including Fortran and Turbo Pascal.)SH
/Courier SF
8280 45493 MT
(MSBHEX.*)SH
/Times-Roman SF
13330 XM
(are C programs for producing and decoding straight hex files.)SH
14 /Times-Bold AF
8280 49095 MT
(1.15. Program Organization)SH
10 /Times-Roman AF
8280 51213 MT
(Kermit-MS version 2 is composed of separate assembler source files, assembled separately, and)
135 W( linked together.)136 W
8280 52409 MT
(The modules are:)SH
/Times-Italic SF
8280 54801 MT
(System/Device Independent:)SH
/Courier SF
8280 56592 MT
(MSSKER.ASM)SH
/Times-Roman SF
16280 XM
(Main program)SH
/Courier SF
8280 57697 MT
(MSSSEN.ASM)SH
/Times-Roman SF
16280 XM
(File sender)SH
/Courier SF
8280 58802 MT
(MSSRCV.ASM)SH
/Times-Roman SF
16280 XM
(File receiver)SH
/Courier SF
8280 59907 MT
(MSSSER.ASM)SH
/Times-Roman SF
16280 XM
(Server operation)SH
/Courier SF
8280 61012 MT
(MSSFIL.ASM)SH
/Times-Roman SF
16280 XM
(File i/o)SH
/Courier SF
8280 62117 MT
(MSSCMD.ASM)SH
/Times-Roman SF
16280 XM
(Command parser)SH
/Courier SF
8280 63222 MT
(MSSTER.ASM)SH
/Times-Roman SF
16280 XM
(CONNECT command)SH
/Courier SF
8280 64327 MT
(MSSCOM.ASM)SH
/Times-Roman SF
16280 XM
(Packet reader and sender)SH
/Courier SF
8280 65432 MT
(MSSSET.ASM)SH
/Times-Roman SF
16280 XM
(SET, SHOW, and STATUS commands)SH
/Courier SF
8280 66537 MT
(MSSSCP.ASM)SH
/Times-Roman SF
16280 XM
(Script CLEAR, ECHO, INPUT, OUTPUT, PAUSE, TRANSMIT commands)SH
/Courier SF
8280 67642 MT
(MSSFIN.ASM)SH
/Times-Roman SF
16280 XM
(Dummy module for the end of the data segment; must be linked LAST.)SH
/Courier SF
8280 68747 MT
(MSSDEF.H)SH
/Times-Roman SF
16280 XM
(Data structure definitions and equates)SH
/Times-Italic SF
8280 70536 MT
(System/Device Dependent:)SH
ES
%%Page: 72 73
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 72)SH
12 /Times-Bold AF
29985 XM
(Kermit User Guide: MS-DOS KERMIT 1.15)SH
46800 50 6120 5709 UL
10 /Courier AF
6120 7886 MT
(MSG)SH
/Times-Italic SF
(xxx)SH
/Courier SF
(.ASM)SH
/Times-Roman SF
14120 XM
(System-dependent graphics terminal for system)SH
/Times-Italic SF
33423 XM
(xxx)SH
/Courier SF
6120 8991 MT
(MSU)SH
/Times-Italic SF
(xxx)SH
/Courier SF
(.ASM)SH
/Times-Roman SF
14120 XM
(System-dependent keyboard translator for system)SH
/Times-Italic SF
34200 XM
(xxx)SH
/Courier SF
6120 10096 MT
(MSX)SH
/Times-Italic SF
(xxx)SH
/Courier SF
(.ASM)SH
/Times-Roman SF
14120 XM
(System-dependent code for system)SH
/Times-Italic SF
28340 XM
(xxx)SH
/Courier SF
6120 11201 MT
(MSY)SH
/Times-Italic SF
(xxx)SH
/Courier SF
(.ASM)SH
/Times-Roman SF
14120 XM
(Terminal emulation for system)SH
/Times-Italic SF
26730 XM
(xxx)SH
/Courier SF
6120 12306 MT
(MSZ)SH
/Times-Italic SF
(xxx)SH
/Courier SF
(.ASM)SH
/Times-Roman SF
14120 XM
(More terminal emulation for system)SH
/Times-Italic SF
28813 XM
(xxx)SH
/Times-Roman SF
6120 14698 MT
(The)SH
/Times-Italic SF
8079 XM
(xxx)SH
/Times-Roman SF
9815 XM
(is replaced by a 3-letter code for the particular system, e.g.)
154 W( IBM for the IBM PC family, RB1 for the)153 W
6120 15894 MT
(Rainbow-100, etc.)SH
6120 18286 MT
(The modular organization allows easier modification of the program, quicker transfer of modified portions)
139 W( from)140 W
6120 19482 MT
(system-to-system. The)
498 W( modules are designed to be)
124 W( well-defined and self-contained, such that they can be easily)123 W
6120 20678 MT
(replaced. For)
346 W( instance, someone who prefers windows and mice to typing commands should be able to replace the)48 W
6120 21874 MT
(command parsing module without having to worry about the effect on the other modules.)SH
6120 24266 MT
(To assemble any of the Kermit modules, file)SH
/Courier SF
24201 XM
(MSSDEF.H)SH
/Times-Roman SF
29251 XM
(must be on the default disk.)SH
6120 26658 MT
(All the Kermit implementations require the modules)
295 W( MSSCMD, MSSCOM, MSSFIL, MSSKER, MSSRCV,)294 W
6120 27854 MT
(MSSSCP, MSSSEN, MSSSER, MSSSET, MSSTER, MSSFIN.  MSSFIN)SH
/Times-Italic SF
36018 XM
(must)SH
/Times-Roman SF
38157 XM
(be linked last.)SH
6120 30246 MT
(Each particular implementation requires at least an MSX)34 W
/Times-Italic SF
(xxx)SH
/Times-Roman SF
30720 XM
(module, usually an MSU)34 W
/Times-Italic SF
(xxx)SH
/Times-Roman SF
42439 XM
(module, and, if it is doing)35 W
6120 31442 MT
(terminal emulation in software, also an MSY)106 W
/Times-Italic SF
(xxx)SH
/Times-Roman SF
26470 XM
(and possible also an MSZ)106 W
/Times-Italic SF
(xxx)SH
/Times-Roman SF
38915 XM
(module, and for graphics terminal)106 W
6120 32638 MT
(emulation, also an MSG)55 W
/Times-Italic SF
(xxx)SH
/Times-Roman SF
17644 XM
(module. See)
360 W( the)
55 W( batch or make files from the source distribution for details of exactly)56 W
6120 33834 MT
(which modules are required for a particular implementation.)SH
6120 36226 MT
(Once all the required object)
17 W( modules exist, they may be linked together to produce a Kermit program.  For example,)16 W
6120 37422 MT
(on the IBM PC:)SH
/Courier SF
7320 39077 MT
(A>link)SH
2400 50 8520 39277 UL
9120 40732 MT
(Microsoft Object Linker V2.00)SH
7320 41763 MT
(\050C\051 Copyright 1982 by Microsoft Inc.)SH
7320 43418 MT
(Object Modules [.OBJ]: msscmd+msscom+mssfil+mssker+mssrcv+mssscp+msssen+)SH
29400 50 21120 43618 UL
7320 44449 MT
(mssser+mssset+msster+msgibm+msuibm+msxibm+msyibm+mszibm+mssfin)SH
37200 50 7320 44649 UL
7320 45480 MT
(Run File [MSSCMD.EXE]: kermit)SH
3600 50 21120 45680 UL
7320 46511 MT
(List File [NUL.MAP]:;)SH
9720 48166 MT
(A>)SH
/Times-Roman SF
6120 50558 MT
(Warning: old versions of MASM may not be able to assemble several of)
45 W( the large files now present in Kermit-MS.)46 W
6120 51754 MT
(The solution is to acquire Microsoft MASM 4.0 or later.)SH
14 /Times-Bold AF
6120 55356 MT
(1.16. Bringing Kermit to New Systems)SH
10 /Times-Roman AF
6120 57474 MT
(You can bring Kermit-MS to MS-DOS systems that are not explicitly supported in one of two ways --)
7 W( attempt to run)6 W
6120 58670 MT
(the "generic" MS-DOS Kermit on it, or add explicit code to support your system.)SH
6120 61062 MT
(To get)
17 W( started with Kermit on a new system, try running "generic" MS-DOS Kermit; in many cases, it will run as is.)18 W
6120 62258 MT
(The generic)
119 W( version accomplishes all its port and console i/o through DOS calls, and during terminal connection)118 W
6120 63454 MT
(does not attempt to emulate any particular kind of terminal.  In some cases, the)
108 W( generic version may still require)109 W
6120 64650 MT
(some fiddling to run on a new system; for instance, different systems refer to their communication)
28 W( ports in different)27 W
6120 65846 MT
(ways -- COM1, J1,)
60 W( AUX, etc.  The SET PORT command allows you to specify the port using any of these device)61 W
6120 67042 MT
(names, or using DOS file handles -- keep)
77 W( trying until you find the one that works.  Generic MS-DOS Kermit will)76 W
6120 68238 MT
(probably run no faster than 1200 baud, and it only works with DOS 2.0 or later.)SH
6120 70630 MT
(If you want to write code to explicitly support a new system, first call or write Kermit Distribution at Columbia to)61 W
6120 71826 MT
(make sure no one else is already doing the same work.  If you're the first, then)
257 W( begin by reading the file)256 W
ES
%%Page: 73 74
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.16. Bringing Kermit to New Systems)SH
10 /Times-Italic AF
51775 XM
(Page 73)SH
46800 50 8280 5709 UL
/Courier SF
8280 7886 MT
(MSXAAA.DOC)SH
/Times-Roman SF
(, provided with the MS-DOS Kermit sources in the Kermit distribution, which is a guide to)
182 W( the)183 W
8280 9082 MT
(system dependent modules of Kermit-MS.  Then create new)46 W
/Courier SF
33023 XM
(MSU)SH
/Times-Italic SF
(xxx)SH
/Courier SF
(.ASM)SH
/Times-Roman SF
38851 XM
(and)SH
/Courier SF
40591 XM
(MSX)SH
/Times-Italic SF
(xxx)SH
/Courier SF
(.ASM)SH
/Times-Roman SF
46418 XM
(modules, and, if your)45 W
8280 10278 MT
(version is also doing terminal emulation in software, also an)25 W
/Courier SF
32889 XM
(MSY)SH
/Times-Roman SF
34964 XM
(and possibly an)25 W
/Courier SF
41512 XM
(MSZ)SH
/Times-Roman SF
43588 XM
(module patterned after those)26 W
8280 11474 MT
(that have been written for other systems.)SH
ES
%%Page: 74 75
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 74)SH
12 /Times-Bold AF
29985 XM
(Kermit User Guide: MS-DOS KERMIT 1.16)SH
46800 50 6120 5709 UL
14 SS 
6120 8138 MT
(1.17. Kermit-MS VT102 Terminal Emulator Technical Summary)SH
12 SS 
6120 11254 MT
(1.17.1. Treatment of Inbound Characters During Terminal Emulation)SH
10 /Times-Roman AF
6120 13196 MT
(The following sections summarize the Kermit-MS keyboard and screen)
66 W( operation during emulation of H19, VT52,)65 W
6120 14392 MT
(and VT102 terminals, prinicipally)
94 W( for the IBM PC but also used by the NEC APC3, Victor 9000, and Sanyo 55x)95 W
6120 15588 MT
(systems.)SH
6120 17980 MT
(Many things can happen to a character that arrives at the communication port)
84 W( before you see it.  The sequence of)83 W
6120 19176 MT
(events for version 2.32 is summarized in the following picture.  2.31 is similar except for no national characters.)SH
46800 50 6120 20941 UL
9 /Courier AF
14760 21689 MT
(character from serial port or network)SH
23400 22637 MT
(|)SH
23400 23585 MT
(v)SH
19080 24533 MT
(NUL: discard unless DEBUG is ON)SH
19080 25481 MT
(DEL: discard unless DEBUG is ON or doing Tektronix)SH
23400 26429 MT
(|)SH
19080 27377 MT
(character available to rest of Kermit)SH
23400 28325 MT
(|)SH
23400 29273 MT
(v)SH
10440 30221 MT
(TERMINAL NONE)
SH( <-------*-------*--->)
1080 W( to packet reader)SH
10440 31169 MT
(DISPLAY 8-BIT?)
SH( |)
4860 W( |)3240 W
10440 32117 MT
(Yes No)
2160 W( v)
7020 W( v)3240 W
10440 33065 MT
(| |)
3240 W( |)
7560 W( |)3240 W
10440 34013 MT
(| remove)
3240 W( 8-th bit |)
SH( Script)
3240 W( routines.)SH
10440 34961 MT
(| |)
3240 W( |)
7560 W( remove)
3240 W( parity bit, if parity used.)SH
10440 35909 MT
(--------- |)
7560 W( apply)
3240 W( SET TRANSLATION INPUT table,)SH
10440 36857 MT
(| |)
11880 W( if)
3780 W( active.)SH
10440 37805 MT
(apply SET TRANSLATION)
SH( |)
1080 W( |)3240 W
10440 38753 MT
(INPUT, if active)
SH( |)
3780 W( LOG)
3240 W( SESSION active?)SH
10440 39701 MT
(| |)
11880 W( No)
3240 W( Yes)2700 W
10440 40649 MT
(copy char to printer?)
SH( |)
1080 W( | |)3240 W
10440 41597 MT
(No Yes)
2700 W( |)
6480 W( | DEBUG)
3240 W( ON or DISPLAY 8-BIT?)SH
10440 42545 MT
(| |)
3240 W( |)
7560 W( | Yes)
3240 W( No)2160 W
10440 43493 MT
(| print)
3240 W( char)
SH( |)
2700 W( | | |)3240 W
10440 44441 MT
(| via)
3240 W( DOS)
SH( |)
4320 W( | | remove)
3240 W( 8-th bit)SH
10440 45389 MT
(| |)
3240 W( |)
7560 W( | | |)3240 W
10440 46337 MT
(--------- |)
7560 W( | ---------)3240 W
10440 47285 MT
(| |)
11880 W( |)
3240 W( |)5400 W
10440 48233 MT
(log char if)
SH( |)
6480 W( |)
3240 W( |)5400 W
10440 49181 MT
(LOG SESSION active.)
SH( |)
2160 W( |)
3240 W( |-->)
5400 W( log character)SH
10440 50129 MT
(| |)
11880 W( v)
3240 W( v)5400 W
10440 51077 MT
(v |)
11880 W( -------------)3240 W
8280 52025 MT
(DEBUG ON?)
SH( |)
9720 W( |)7560 W
8280 52973 MT
(No Yes)
1620 W( |)
9720 W( DISPLAY)
3240 W( 8-BIT?)SH
8280 53921 MT
(| |)
2160 W( |)
10800 W( Yes)
3240 W( No)2160 W
8280 54869 MT
(| show)
1080 W( chars, with)
SH( |)
8100 W( | |)3240 W
8280 55817 MT
(| tilde/caret)
1080 W( modifiers)
SH( |)
1080 W( | remove)
3240 W( 8-th bit)SH
8280 56765 MT
(| |)
2160 W( |)
10800 W( | |)3240 W
8280 57713 MT
(| Exit)
1080 W( |)
10260 W( v v)3240 W
8280 58661 MT
(| |)
14040 W( ------------->)
3240 W( character to scripts)SH
8280 59609 MT
(display char via DOS)
SH( |)3780 W
8280 60557 MT
(Exit |)12420 W
23400 61505 MT
(v)SH
19080 62453 MT
(VT102 terminal emulator)SH
23400 63401 MT
(|)SH
20700 64349 MT
(SET DEBUG ON?)SH
23400 65297 MT
(No Yes)
2700 W( --> display characters:)SH
23400 66245 MT
(| show)
7560 W( leading tilde if bit 8)SH
23400 67193 MT
(| set;)
7560 W( for lower 7 bits show)SH
23400 68141 MT
(| caret-char)
7560 W( if Control code.)SH
23400 69089 MT
(| |)7560 W
23400 70037 MT
(| Exit.)7560 W
23400 70985 MT
(v)SH
14760 71933 MT
(Printing Transparently? \050ESC [ 4/5 i\051)SH
ES
%%Page: 75 76
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.17.1. Treatment of Inbound Characters During Terminal Emulation)SH
10 /Times-Italic AF
51775 XM
(Page 75)SH
46800 50 8280 5709 UL
9 /Courier AF
16920 7762 MT
(No Yes)7020 W
16920 8710 MT
(| |)7560 W
16920 9658 MT
(| log)
7560 W( character if LOG SESSION is active,)SH
16920 10606 MT
(| send)
7560 W( char to printer but not to screen.)SH
16920 11554 MT
(| |)7560 W
16920 12502 MT
(| Exit.)7560 W
16920 13450 MT
(v)SH
12600 14398 MT
(SET DISPLAY 8-BIT?)SH
12600 15346 MT
(Yes No)6480 W
12600 16294 MT
(| |)7560 W
12600 17242 MT
(| remove)
3240 W( 8-th bit of character)SH
12600 18190 MT
(| |)7560 W
12600 19138 MT
(v v)7560 W
12600 20086 MT
(-----------------)SH
16920 21034 MT
(|)SH
16920 21982 MT
(v)SH
12600 22930 MT
(Control character?)SH
12600 23878 MT
(Yes No)6480 W
12600 24826 MT
(| |)7560 W
12600 25774 MT
(| Doing)
7560 W( escape sequence?)SH
12600 26722 MT
(| No)
7560 W( Yes)7020 W
12600 27670 MT
(| | |)7560 W
12600 28618 MT
(v v |)7560 W
12600 29566 MT
(----------------- |)7560 W
16920 30514 MT
(| |)11880 W
16920 31462 MT
(v |)11880 W
12600 32410 MT
(do SET TRANSLATION INPUT,)
SH( |)3240 W
12600 33358 MT
(if active.)
SH( |)11340 W
12600 34306 MT
(| v)16200 W
12600 35254 MT
(---------------------------------)SH
21240 36202 MT
(|)SH
21240 37150 MT
(v)SH
17460 38098 MT
(NUL or DEL character?)SH
21240 39046 MT
(No Yes)
2700 W( --> Exit \050discard\051)SH
21240 39994 MT
(|)SH
21240 40942 MT
(|)SH
16920 41890 MT
(log character if LOG SESSION is active.)SH
21240 42838 MT
(|)SH
16920 43786 MT
(Control character?)SH
16920 44734 MT
(Yes No)6480 W
16920 45682 MT
(| |)7560 W
13680 46630 MT
(do control ops)
SH( map)
3780 W( character according to)SH
16920 47578 MT
(| active)
7560 W( character-set pointer. \050See below\051)SH
16920 48526 MT
(Exit |)5940 W
25560 49474 MT
(display character on screen)SH
25560 50422 MT
(\050with double width/height, if req'd\051.)SH
25560 51370 MT
(|)SH
25560 52318 MT
(print character via DOS if)SH
25560 53266 MT
(Controller Print is active \050ESC [ ? 4/5 i\051)SH
25560 54214 MT
(or if Kermit copy screen to printer active.)SH
25560 55162 MT
(|)SH
25560 56110 MT
(v)SH
25560 57058 MT
(Exit)SH
46800 50 8280 58272 UL
10 /Times-Roman AF
8280 60464 MT
(Updating of the)
171 W( cursor position is automatic and can be influenced by the Kermit command SET TERMINAL)172 W
8280 61660 MT
(DIRECTION {RIGHT-TO-LEFT | LEFT-TO-RIGHT}.)
75 W( As)
398 W( a convenience, the keyboard left and right arrow keys)74 W
8280 62856 MT
(are interchanged when the writing direction is reversed; thus, the right arrow always requests the host to move)
68 W( the)69 W
8280 64052 MT
(cursor to the visual right.)SH
8280 66444 MT
(The active character-set pointer is determined by two conditions:)SH
10280 68235 MT
(1.)SH
11280 XM
(The VT102 maintains)
126 W( two character set pointers \050selectors\051, G0 and G1.  G0 is the default pointer.)125 W
11280 69340 MT
(Reception of Control-O selects the G0 pointer, Control-N selects the G1 pointer.)SH
10280 71550 MT
(2.)SH
11280 XM
(Which character set: US-ASCII, UK-ASCII, ALTERNATE-ROM, or)
36 W( line-drawing, has been assigned)37 W
ES
%%Page: 76 77
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 76)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.17.1)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
9120 7886 MT
(to G0 and G1 pointers.  The command SET CHARACTER-SET {US-ASCII,)
489 W( UK-ASCII,)488 W
9120 8991 MT
(ALTERNATE-ROM} assigns that set to the G0 AND G1 pointers. Similarly, the host can assign any)53 W
9120 10096 MT
(of the four sets to either G0 OR G1 via the escape sequences)228 W
/Courier SF
36606 XM
(ESC \050)228 W
/Times-Italic SF
40662 XM
(char)SH
/Times-Roman SF
42973 XM
(or)SH
/Courier SF
44283 XM
(ESC \051)227 W
/Times-Italic SF
48337 XM
(char)SH
/Times-Roman SF
(,)SH
9120 11201 MT
(respectively, as summarized below:)SH
/Courier SF
8520 12992 MT
(ESC \050 A)SH
/Times-Roman SF
15720 XM
(G0 points to UK symbols \050ASCII with Pound Sterling sign\051)SH
/Courier SF
8520 14023 MT
(ESC \051 A)SH
/Times-Roman SF
15720 XM
(G1 points to UK symbols)SH
/Courier SF
8520 15054 MT
(ESC \050 B)SH
/Times-Roman SF
15720 XM
(G0 points to ASCII symbols \050ASCII with US pound sign #\051)SH
/Courier SF
8520 16085 MT
(ESC \051 B)SH
/Times-Roman SF
15720 XM
(G1 points to ASCII symbols)SH
/Courier SF
8520 17116 MT
(ESC \050 0)SH
/Times-Roman SF
15720 XM
(G0 points to special \050line drawing\051 graphics)SH
/Courier SF
8520 18147 MT
(ESC \051 0)SH
/Times-Roman SF
15720 XM
(G1 points to special \050line drawing\051 graphics)SH
/Courier SF
8520 19178 MT
(ESC \050 1)SH
/Times-Roman SF
15720 XM
(G0 points to ALTERNATE-ROM national characters)SH
/Courier SF
8520 20209 MT
(ESC \051 1)SH
/Times-Roman SF
15720 XM
(G1 points to ALTERNATE-ROM national characters)SH
/Courier SF
8520 21240 MT
(ESC \050 2)SH
/Times-Roman SF
15720 XM
(G0 points to special \050line drawing\051 graphics)SH
/Courier SF
8520 22271 MT
(ESC \051 2)SH
/Times-Roman SF
15720 XM
(G1 points to special \050line drawing\051 graphics)SH
6120 24663 MT
(All character sets produce)SH
/Courier SF
8520 26318 MT
(!" pound-sign $%&'\050\051*+,-./0123456789:;<=>?)600 W
8520 27349 MT
(@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\134]^_)SH
/Times-Roman SF
6120 29066 MT
(The lower case field,)1 W
/Courier SF
14760 XM
(`ab..yz{|}~)SH
/Times-Roman SF
21611 XM
(changes to line drawing or national characters, depending on the character)
1 W( set.)2 W
6120 30262 MT
(National characters replace the character codes 60h to 7Ah \050accent grave, lower case a-z\051 with codes 80h)
84 W( to 9Ah;)83 W
6120 31458 MT
(lower case a becomes umlated u, etc in standard IBM display adapters.)SH
/Times-Bold SF
6120 33850 MT
(DOS Code Page support)SH
/Times-Roman SF
6120 36242 MT
(Code Pages are sets)
152 W( of translation tables maintained within DOS to support national languages. They affect the)153 W
6120 37438 MT
(characters reported by the)
69 W( keyboard and those displayed on the screen and printer. Code Page support is loaded as)68 W
6120 38634 MT
(device driver information in CONFIG.SYS and activated by DOS programs NLSFUNC,)
256 W( CHCP, KEYB, and)257 W
6120 39830 MT
(MODE, at least under PC DOS 3.30.  An EGA adapter is)
56 W( required for screen support; similarly, only IBM printers)55 W
6120 41026 MT
(are discussed.  Making Code Pages operate is not exactly easy, and there have been rumors that MS-DOS)
122 W( Code)123 W
6120 42222 MT
(Pages from various)
140 W( vendors are not bug free.  However, the goal is an ability to change translations for screen,)139 W
6120 43418 MT
(keyboard, and printer by DOS commands.)SH
6120 45810 MT
(Since Code Pages are the province of DOS it is clear that)
201 W( operations at the Bios or hardware levels will not)202 W
6120 47006 MT
(experience Code Pages.  Kermit uniformly)
6 W( uses DOS for printer output.  Kermit CONNECT mode keyboard reading)5 W
6120 48202 MT
(is normally done via the Bios, unless SET KEY OFF has been)
20 W( stated.  Kermit CONNECT mode Screen reading and)21 W
6120 49398 MT
(writing is done via)
7 W( both the Bios and the hardware for the VT102/VT52/Tek4010 emulators, but the terminal type of)6 W
6120 50594 MT
(NONE uses only)
67 W( DOS.  Thus, full Code Page support is available in Kermit by stating SET KEY OFF \050use DOS\051)68 W
6120 51790 MT
(and SET TERMINAL NONE \050use DOS\051.)
71 W( Outside)
391 W( of CONNECT mode all Kermit screen and keyboard input and)70 W
6120 52986 MT
(output is done through DOS.)SH
ES
%%Page: 77 78
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.17.1. Treatment of Inbound Characters During Terminal Emulation)SH
10 /Times-Italic AF
51775 XM
(Page 77)SH
46800 50 8280 5709 UL
12 /Times-Bold AF
8280 8004 MT
(1.17.2. Keyboard Layout and Characters Sent)SH
10 /Times-Roman AF
8280 9946 MT
(Here is how the keypad functions are assigned to the IBM keyboard function keys.  You may change them)
25 W( by using)26 W
8280 11142 MT
(the SET KEY command to define a desired key as the appropriate Kermit action verb; use SET)
126 W( KEY without a)125 W
8280 12338 MT
(definition to undefine a key.  Names of appropriate verbs are also shown for use in the Set Key command, such as)SH
/Courier SF
10680 14055 MT
(Set Key \1342352 \134Kbreak)SH
/Times-Roman SF
29880 XM
(\050IBM Alt-B assigned to verb BREAK\051)SH
8280 16447 MT
(Verb names are system dependent, use)56 W
/Courier SF
24362 XM
(?)SH
/Times-Roman SF
25268 XM
(in the Set Key definition part for a list of local verbs.  IBM)
56 W( PC verbs are)57 W
8280 17643 MT
(listed in Table 1-6; IBM key values are either straight ASCII or the IBM Bios scan code,)
4 W( plus 256, plus 512 for Shift)3 W
8280 18839 MT
(key held down, plus 1024 for Control key held down, plus 2048 for Alt key held down; non-ASCII)
29 W( keys are always)30 W
8280 20035 MT
(256 decimal or greater.  Keys particular to the Enhanced Keyboard have 4096 added to the result.)SH
46800 50 8280 21952 UL
/Courier SF
10680 23407 MT
(Heath-19 and VT52 Keypads)
SH( VT102)
9600 W( keypad)SH
12480 24438 MT
(IBM Keys)
SH( IBM)
19200 W( keys)SH
8280 25469 MT
(+------+------+-------+----------+ +------+------+------+------+)1200 W
8280 26500 MT
(| Blue |  Red |  Grey | up arrow |)
SH( |)
1200 W( PF1)
600 W( |  PF2 |  PF3 |  PF4 |)SH
8280 27531 MT
(| F1 | F2 | F3)
600 W( |)
1200 W( up arrow |)
SH( |)
1200 W( F1 | F2 | F3 | F4 |)600 W
8280 28562 MT
(+------+------+-------+----------+ +------+------+------+------+)1200 W
8280 29593 MT
(| 7)
600 W( |)
1200 W( 8)
600 W( |)
1200 W( 9  |down)
600 W( arrow|)
SH( |)
1200 W( 7)
600 W( |)
1200 W( 8)
600 W( |)
1200 W( 9)
600 W( |)
1200 W( -)
600 W( |)1200 W
8280 30624 MT
(| F5 | F6 | F7)
600 W( |down)
1200 W( arrow|)
SH( |)
1200 W( F5 | F6 | F7 | F8 |)600 W
8280 31655 MT
(+------+------+-------+----------+ +------+------+------+------+)1200 W
8280 32686 MT
(| 4)
600 W( |)
1200 W( 5)
600 W( |)
1200 W( 6  |)
600 W( rgt arrow|)
SH( |)
1200 W( 4)
600 W( |)
1200 W( 5)
600 W( |)
1200 W( 6)
600 W( |)
1200 W( ,)
600 W( |)1200 W
8280 33717 MT
(| F9 | F10)
600 W( |  SF1  | rgt arrow|)
SH( |)
1200 W( F9 | F10)
600 W( |  SF1 |  SF2 |)SH
8280 34748 MT
(+------+------+-------+----------+ +------+------+------+------+)1200 W
8280 35779 MT
(| 1)
600 W( |)
1200 W( 2)
600 W( |)
1200 W( 3  |left)
600 W( arrow|)
SH( |)
1200 W( 1)
600 W( |)
1200 W( 2)
600 W( |)
1200 W( 3)
600 W( |)
1200 W( E)
600 W( |)1200 W
8280 36810 MT
(| SF3)
600 W( |  SF4 |  SF5  |left arrow|)
SH( |)
1200 W( SF3)
600 W( |  SF4 |  SF5 |  n  S|)SH
8280 37841 MT
(+------+------+-------+----------+ +------+------+------+)
1200 W( t F|)600 W
8280 38872 MT
(| 0------0)
600 W( |)
1200 W( .  | Enter)
600 W( | |)
1200 W( 0------0)
600 W( |)
1200 W( .)
600 W( |)
1200 W( e 6|)600 W
8280 39903 MT
(| SF7)
600 W( |)
4200 W( SF8 | SF6)
600 W( |)
2400 W( | SF7)
1200 W( |)
3600 W( SF8)
600 W( |  r)
SH( |)1200 W
8280 40934 MT
(+-------------+-------+----------+ +-------------+------+------+)1200 W
/Times-Italic SF
8280 42649 MT
(SF1 means push Shift and F1 keys simultaneously)SH
46800 50 8280 43954 UL
8880 45469 MT
(CURSOR KEYS:)SH
/Courier SF
31680 46500 MT
(H-19 & VT52)
SH( VT102)6000 W
8880 47531 MT
(VT52/H19 key)
SH( IBM)
1200 W( Verb  IBM key)
SH( All)
3600 W( Modes)
SH( Numeric)
3000 W( Application)1200 W
8880 49593 MT
(up arrow)
SH( UPARR)
3600 W( up)
1800 W( arrow)
SH( ESC)
3600 W( A)
SH( ESC)
5400 W( [ A)
SH( ESC)
1200 W( O A)SH
8880 50624 MT
(down arrow)
SH( DNARR)
2400 W( down)
1800 W( arrow)
SH( ESC)
2400 W( B)
SH( ESC)
5400 W( [ B)
SH( ESC)
1200 W( O B)SH
8880 51655 MT
(right arrow)
SH( RTARR right)
1800 W( arrow)
SH( ESC)
1800 W( C)
SH( ESC)
5400 W( [ C)
SH( ESC)
1200 W( O C)SH
8880 52686 MT
(left arrow)
SH( LFARR)
2400 W( left)
1800 W( arrow)
SH( ESC)
2400 W( D)
SH( ESC)
5400 W( [ D)
SH( ESC)
1200 W( O D)SH
/Times-Italic SF
8880 54748 MT
(AUXILIARY KEYPAD:)SH
/Courier SF
31080 55779 MT
(Heath-19 & VT52)
SH( VT102)4800 W
8880 56810 MT
(VT52/H19 key)
SH( IBM)
1200 W( Verb  IBM key)
SH( Numeric)
2400 W( Applic.)
SH( Numeric Applic.)1200 W
8880 58872 MT
(PF1/HF7/Blue GOLD,PF1 F1)
1200 W( ESC)
4800 W( P)
SH( ESC)
1200 W( P)
SH( ESC)
2400 W( O P)
SH( ESC)
1200 W( O P)SH
8880 59903 MT
(PF2/HF8/Red PF2  F2)
1800 W( ESC)
4800 W( Q)
SH( ESC)
1200 W( Q)
SH( ESC)
2400 W( O Q)
SH( ESC)
1200 W( O Q)SH
8880 60934 MT
(PF3/HF9/Grey PF3)
1200 W( F3)
4200 W( ESC)
4800 W( R)
SH( ESC)
1200 W( R)
SH( ESC)
2400 W( O R)
SH( ESC)
1200 W( O R)SH
8880 61965 MT
(PF4/HF1 PF4 F4)
4200 W( ESC)
4800 W( S)
SH( ESC)
1200 W( S)
SH( ESC)
2400 W( O S)
SH( ESC)
1200 W( O S)SH
8880 62996 MT
(0 KP0)
7800 W( SF7 0)
4200 W( ESC)
3600 W( ? p)
SH( 0)
1200 W( ESC)
4800 W( O p)SH
8880 64027 MT
(1 KP1)
7800 W( SF3 1)
4200 W( ESC)
3600 W( ? q)
SH( 1)
1200 W( ESC)
4800 W( O q)SH
8880 65058 MT
(2 KP2)
7800 W( SF4 2)
4200 W( ESC)
3600 W( ? r)
SH( 2)
1200 W( ESC)
4800 W( O r)SH
8880 66089 MT
(3 KP3)
7800 W( SF5 3)
4200 W( ESC)
3600 W( ? s)
SH( 3)
1200 W( ESC)
4800 W( O s)SH
8880 67120 MT
(4 KP4)
7800 W( F9)
4200 W( 4)
4800 W( ESC)
3600 W( ? t)
SH( 4)
1200 W( ESC)
4800 W( O t)SH
8880 68151 MT
(5 KP5)
7800 W( F10 5)
4200 W( ESC)
3600 W( ? u)
SH( 5)
1200 W( ESC)
4800 W( O u)SH
8880 69182 MT
(6 KP6)
7800 W( SF1 6)
4200 W( ESC)
3600 W( ? v)
SH( 6)
1200 W( ESC)
4800 W( O v)SH
8880 70213 MT
(7 KP7)
7800 W( F5)
4200 W( 7)
4800 W( ESC)
3600 W( ? w)
SH( 7)
1200 W( ESC)
4800 W( O w)SH
8880 71244 MT
(8 KP8)
7800 W( F6)
4200 W( 8)
4800 W( ESC)
3600 W( ? x)
SH( 8)
1200 W( ESC)
4800 W( O x)SH
ES
%%Page: 78 79
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 78)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.17.2)SH
46800 50 6120 5709 UL
10 /Courier AF
6720 7824 MT
(9 KP9)
7800 W( F7)
4200 W( 9)
4800 W( ESC)
3600 W( ? y)
SH( 9)
1200 W( ESC)
4800 W( O y)SH
6720 8855 MT
(comma \050,\051)
600 W( KPCOMA SF2)
2400 W( ,)
4200 W( ESC)
3600 W( ? l)
SH( ,)
1200 W( ESC)
4800 W( O l)SH
6720 9886 MT
(minus \050-\051)
600 W( KPMINUS)
2400 W( F8)
1800 W( -)
4800 W( ESC)
3600 W( ? m)
SH( -)
1200 W( ESC)
4800 W( O m)SH
6720 10917 MT
(period \050.\051)
SH( KPDOT)
2400 W( SF8)
3000 W( .)
4200 W( ESC)
3600 W( ? n)
SH( .)
1200 W( ESC)
4800 W( O n)SH
6720 11948 MT
(Enter KPENTER)
5400 W( SF6  ^M\050cr\051)
1800 W( ESC)
600 W( ? M)
SH( ^M)
1200 W( ESC)
4200 W( O M)SH
/Times-Italic SF
6720 14010 MT
(\050SFn means hold down Shift key while pressing Function key n.\051)SH
/Times-Roman SF
6120 16402 MT
(An often confusing item)
71 W( is knowing the mode of the auxillary keypad: numeric or application.  Digital Equipment)70 W
6120 17598 MT
(Corporation designed)
71 W( the terminal to change modes only under command from the remote computer and not at all)72 W
6120 18794 MT
(from the keyboard.  So the startup state is numeric/cursor mode, and reception of escape sequences ``)45 W
/Courier SF
(ESC [ ?)
45 W( 1)44 W
6120 19990 MT
(h)SH
/Times-Roman SF
('' or)
49 W( ``)50 W
/Courier SF
(l)SH
/Times-Roman SF
('' changes the mode.  Kermit verbs for the keypad and cursor keys generate the correct escape sequences)50 W
6120 21186 MT
(appropriate to the current mode and terminal type.)SH
6120 23578 MT
(A best attempt is made to safely test for the 101/102 key Enhanced keyboard and use it if)
74 W( present.  If it is present)73 W
6120 24774 MT
(then the keyboard translator separates the individual arrow)
234 W( keys from those on the numeric keypad and also)235 W
6120 25970 MT
(separates the asterisk and forward)
69 W( slash keys on the keypad from those on the regular typewriter keyboard.  These)68 W
6120 27166 MT
(special Enhanced keyboard keys are reported as scan codes with 4096 added to the base scan code.)SH
/Times-Italic SF
6720 28881 MT
(OTHER IBM KEYS OPERATIONAL IN CONNECT MODE:)SH
/Courier SF
6720 30943 MT
(IBM key)
SH( IBM)
4800 W( Verb)
SH( Action)3000 W
6720 33005 MT
(Keypad Del)
SH( Send)
11400 W( ASCII Del code \050rubout\051 \134127)SH
6720 34036 MT
(Backspace \050<-\051)
SH( Send)
9000 W( ASCII Del code \050rubout\051 \134127  \050BS is \1348\051)SH
6720 35067 MT
(Keypad -)
SH( MODELINE)
4200 W( Toggle)
3000 W( mode line on/off \050only if Mode Line is)SH
24720 36098 MT
(enabled and not used by the host\051.)SH
6720 37129 MT
(Alt -)
SH( TERMTYPE)
6000 W( Toggle)
3000 W( among H-19, VT52, and VT100 emulations.)SH
6720 38160 MT
(Alt =)
SH( RESET)
6000 W( Clear)
4800 W( screen and reset terminal emulator to)SH
24720 39191 MT
(starting \050setup\051 state.)SH
6720 40222 MT
(Alt B)
SH( BREAK)
6000 W( Send)
4800 W( a BREAK signal)SH
6720 41253 MT
(Alt H)
SH( HELP)
6000 W( Show)
5400 W( drop down help menu \050detailed below\051)SH
6720 42284 MT
(Alt S)
SH( STATUS)
6000 W( Show)
4200 W( settings)SH
6720 43315 MT
(Alt X)
SH( EXIT)
6000 W( Exit)
5400 W( Connect mode, back to Kermit prompt)SH
6720 45377 MT
(Home HOMSCN)
6600 W( Roll)
4200 W( screen up \050text down\051 to beginning of)SH
25320 46408 MT
(storage.)SH
6720 47439 MT
(End ENDSCN)
7200 W( Roll)
4200 W( screen down \050text up\051 to end of storage.)SH
6720 48470 MT
(PgUp UPSCN)
6600 W( Roll)
4800 W( screen up \050back, earlier\051 one screen.)SH
6720 49501 MT
(PgDn DNSCN)
6600 W( Roll)
4800 W( screen down \050forward, later\051 one screen.)SH
6720 50532 MT
(Ctrl-PgUp UPONE)
3600 W( Roll)
4800 W( screen up one line.)SH
6720 51563 MT
(Ctrl-PdDn DNONE)
3600 W( Roll)
4800 W( screen down one line.)SH
6720 53625 MT
(Control PrtSc)
SH( PRTSCN)
1200 W( Toggle)
4200 W( on/off)
600 W( copying of received text to)SH
24720 54656 MT
(printer, "PRN" shows on far right of mode)SH
24720 55687 MT
(line when activated.)SH
6720 57749 MT
(Control-End DUMP  Dump)
2400 W( image of screen to a disk file or device.)SH
24720 58780 MT
(Default filename is KERMIT.SCN in the current)SH
24720 59811 MT
(directory. Use command SET DUMP to change the)SH
24720 60842 MT
(filename. Screen)
600 W( images are appended to the)SH
24720 61873 MT
(file, separated by formfeeds.)SH
6720 63935 MT
(Shift-PrtSc Standard)
2400 W( DOS Print-screen, dump screen image to printer.)SH
6720 65997 MT
(unassigned HOLDSCRN DEC)
3000 W( style Holdscreen, same as typing Control-S.)SH
/Times-Roman SF
6120 68389 MT
(")SH
/Courier SF
(Alt -)69 W
/Times-Roman SF
(" means hold down Alt and type minus on the)
69 W( upper key rank.  This switches among the various kinds of)70 W
6120 69585 MT
(emulation but does not change most operating parameters of the emulator.)SH
/Times-Italic SF
6120 71977 MT
(CONNECT ESCAPE COMMANDS:)SH
ES
%%Page: 79 80
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.17.2. Keyboard Layout and Characters Sent)SH
10 /Times-Italic AF
51775 XM
(Page 79)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(Type the Kermit escape character \050normally ``)SH
/Courier SF
(^])SH
/Times-Roman SF
(''\051, then one of the keys below:)SH
/Courier SF
42480 9541 MT
(\050equivalent IBM Verb\051)SH
11280 10572 MT
(? display)
1200 W( this short list.)
SH( HELP)18600 W
11280 11603 MT
(0 send)
1200 W( a null character.)
SH( NULL)19800 W
11280 12634 MT
(B send)
1200 W( a BREAK signal.)
SH( BREAK)21000 W
11280 13665 MT
(C close)
1200 W( connect session & return to Kermit prompt.)
SH( EXIT)4200 W
11280 14696 MT
(F dump)
1200 W( screen to filespec, default is KERMIT.SCN.)
SH( DUMP)4800 W
11280 15727 MT
(H hangup)
1200 W( the phone or network connection)
SH( HANGUP)10200 W
11280 16758 MT
(L send)
1200 W( a Long BREAK signal)
SH( LBREAK)18600 W
11280 17789 MT
(M toggle)
1200 W( mode line on/off.)
SH( MODELINE)18600 W
11280 18820 MT
(P push)
1200 W( to DOS.)
SH( DOS)25800 W
11280 19851 MT
(Q quit)
1200 W( \050suspend\051 logging.)
SH( LOGOFF)19200 W
11280 20882 MT
(R resume)
1200 W( logging.)
SH( LOGON)24000 W
11280 21913 MT
(S show)
1200 W( status.)
SH( STATUS)25800 W
11280 22944 MT
(Kermit escape character itself: send it to the host.)SH
12 /Times-Bold AF
8280 26060 MT
(1.17.3. Responses To Characters Received By the Terminal Emulator)SH
10 /Times-Roman AF
8280 28002 MT
(Spaces shown between characters of escape sequences are)
65 W( there for ease of reading.  The actual sequences contain)64 W
8280 29198 MT
(no spaces.  Unknown escape sequences of the form "ESC char" are absorbed by the emulator without further effect;)26 W
8280 30394 MT
(longer unknown escape sequences echo the extra characters.)SH
8280 32786 MT
(DEC VT102 functions while in ANSI \050VT102\051 mode, unsupported features marked by an asterisk \050*\051:)SH
/Courier SF
8880 34441 MT
(Escape Seq)
SH( Mnemonic)
2400 W( Description)
3600 W( of Action)SH
8880 36503 MT
(ESC D)
SH( IND)
5400 W( Index,)
6600 W( moves cursor down one line, can scroll)SH
8880 37534 MT
(ESC E)
SH( NEL)
5400 W( Move)
6600 W( cursor to start of line below, can scroll)SH
8880 38565 MT
(ESC H)
SH( HTS)
5400 W( Set)
6600 W( one horizontal tab at current position)SH
8880 39596 MT
(ESC M)
SH( RI)
5400 W( Reverse)
7200 W( Index, cursor up one line, can scroll)SH
8880 40627 MT
(ESC Z)
SH( DECID Identify)
5400 W( terminal \050response is ESC [ ? 6 c\051)SH
8880 41658 MT
(ESC c)
SH( RIS)
5400 W( Reset)
6600 W( terminal to initial state)SH
8880 42689 MT
(ESC =)
SH( DECKPAM)
5400 W( Enter)
4200 W( keypad application mode)SH
8880 43720 MT
(ESC >)
SH( DECKNPNM)
5400 W( Enter)
3600 W( keypad numeric mode)SH
8880 44751 MT
(ESC 7)
SH( DECSC Save)
5400 W( cursor position and attributes)SH
8880 45782 MT
(ESC 8)
SH( DECRC Restore)
5400 W( cursor from previously saved position)SH
8880 46813 MT
(ESC # 3)
SH( DECDHL)
4200 W( Double)
4800 W( height and width line, top half)SH
8880 47844 MT
(ESC # 4)
SH( DECDHL)
4200 W( Double)
4800 W( height and width line, bottom half)SH
8880 48875 MT
(ESC # 5)
SH( DECSWL)
4200 W( Single)
4800 W( height and width line)SH
8880 49906 MT
(ESC # 6)
SH( DECDWL)
4200 W( Double)
4800 W( width single height line)SH
8880 50937 MT
(ESC # 8)
SH( DECALN)
4200 W( Test)
4800 W( screen alignment, fill screen with E's)SH
8880 51968 MT
(ESC [ Pn @)
SH( ICH)
2400 W( ANSI)
6600 W( insert Pn spaces at and after cursor)SH
8880 52999 MT
(ESC [ Pn A)
SH( CUU)
2400 W( Cursor)
6600 W( up Pn lines, does not scroll)SH
8880 54030 MT
(ESC [ Pn B)
SH( CUD)
2400 W( Cursor)
6600 W( down Pn lines, does not scroll)SH
8880 55061 MT
(ESC [ Pn C)
SH( CUF)
2400 W( Cursor)
6600 W( forward, stays on same line)SH
8880 56092 MT
(ESC [ Pn D)
SH( CUB)
2400 W( Cursor)
6600 W( backward, stays on same line)SH
8880 57123 MT
(ESC [ Pn; Pn H CUP)
SH( Set)
6600 W( cursor to row, column \050same as HVP\051)SH
8880 58154 MT
(ESC [ Ps J)
SH( ED)
2400 W( Erase)
7200 W( in display:)SH
27480 59185 MT
(0 = cursor to end of screen, inclusive)SH
27480 60216 MT
(1 = start of screen to cursor, inclusive)SH
27480 61247 MT
(2 = entire screen, reset lines to single)SH
29880 62278 MT
(width, cursor does not move.)SH
8880 63309 MT
(ESC [ Ps K)
SH( EL)
2400 W( Erase)
7200 W( in line:)SH
27480 64340 MT
(0 = cursor to end of line, inclusive)SH
27480 65371 MT
(1 = start of line to cursor, inclusive)SH
27480 66402 MT
(2 = entire line, cursor does not move)SH
8880 67433 MT
(ESC [ Pn L)
SH( IL)
2400 W( Insert)
7200 W( Pn lines preceding current line.)SH
8880 68464 MT
(ESC [ Pn M)
SH( DL)
2400 W( Delete)
7200 W( Pn lines from current downward, incl.)SH
8880 69495 MT
(ESC [ Pn P)
SH( DCH)
2400 W( Delete)
6600 W( Pn chars from cursor to left, incl.)SH
8880 70526 MT
(ESC [ Pn; Pn R CPR)
SH( Cursor)
6600 W( report \050row, column\051, sent by terminal)SH
26880 71557 MT
(Example: home position yields ESC [ 1; 1 R)SH
ES
%%Page: 80 81
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 80)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.17.3)SH
46800 50 6120 5709 UL
10 /Courier AF
6720 7824 MT
(ESC [ Pn c)
SH( DA)
2400 W( Device)
7200 W( attributes \050reports ESC [ ? 6 c\051)SH
6720 8855 MT
(ESC [ Pn; Pn f HVP)
SH( Set)
6600 W( cursor to row, column \050same as CUP\051)SH
6720 9886 MT
(ESC [ Ps g)
SH( TBC)
2400 W( Tabs)
6600 W( clear, 0 = at this position, 3 = all)SH
6720 10917 MT
(ESC [ 4 h)
SH( IRM  Insert)
3000 W( mode on)SH
6720 11948 MT
(ESC [ 20 h)
SH( LNM)
2400 W( Set)
6600 W( newline mode \050cr => cr/lf\051)SH
6720 12979 MT
(ESC [ 4 l)
SH( IRM  Replacement)
3000 W( mode on)SH
6720 14010 MT
(ESC [ 20 l)
SH( LNM)
2400 W( Reset)
6600 W( newline mode \050cr => cr\051)SH
6720 15041 MT
(ESC [ ? Ps;...;Ps h  SM)
SH( Set)
3600 W( mode, see table below)SH
6720 16072 MT
(ESC [ ? Ps;...;Ps l  RM)
SH( Reset)
3600 W( mode, see table below)SH
11520 17103 MT
(Ps Mnemonic)
2400 W( Mode)
3600 W( Set)
6000 W( \050h\051)
SH( Reset)
4200 W( \050l\051)SH
11520 18134 MT
(0 error)
12000 W( \050ignored\051)SH
11520 19165 MT
(1 DECCKM)
3000 W( cursor)
4800 W( keys)
SH( application cursor/numeric)1800 W
11520 20196 MT
(2 DECANM)
3000 W( ANSI/VT52)
4800 W( ANSI/VT102)
3000 W( VT52)2400 W
11520 21227 MT
(3 DECCOLM)
3000 W( Columns +132)
4200 W( col)
SH( 80)
3600 W( col)SH
11520 22258 MT
(4 DECSCLM)
3000 W( *Scrolling)
3600 W( smooth)
3000 W( jump)4800 W
11520 23289 MT
(5 DECSCNM)
3000 W( Screen)
4200 W( reverse)
4800 W( video  normal)SH
11520 24320 MT
(6 DECOM)
3000 W( Origin)
5400 W( relative)
4800 W( absolute)3600 W
11520 25351 MT
(7 DECAWM)
3000 W( Autowrap)
4800 W( on)
3600 W( off)7200 W
11520 26382 MT
(8 DECARM)
3000 W( *Autorepeat)
4200 W( on)
2400 W( off)7200 W
11520 27413 MT
(9 DECINLM)
3000 W( *Interlace)
3600 W( on)
3000 W( off)7200 W
11520 28444 MT
(18 DECPFF)
2400 W( Printer)
4800 W( termination character, use FF if set)SH
11520 29475 MT
(19 DECPEX)
2400 W( Printer)
4800 W( extent,set=screen,off=scrolling region)SH
11520 30506 MT
(34 n/a)
2400 W( Invoke)
6600 W( macro:  TERMINALS)
SH( TERMINALR)3000 W
11520 31537 MT
(38 n/a)
2400 W( Graphics)
6600 W( \050Tek\051 ++graphics)
SH( text)2400 W
23520 32568 MT
(+ See comments on EGA boards.)SH
22920 33599 MT
(++ Ignored if DISABLE TEK has been given.)SH
6720 34630 MT
(ESC [ Pn i)
SH( MC)
2400 W( Printer)
7200 W( controls \050Media Copy\051)SH
11520 35661 MT
(0 Print)
12600 W( whole Screen)SH
11520 36692 MT
(4 Exit)
12600 W( printer controller \050transparent print\051)SH
11520 37723 MT
(5 Enter)
12600 W( printer controller \050transparent print\051)SH
6720 38754 MT
(ESC [ ? Pn i)
SH( MC)
1200 W( Printer)
7200 W( controls \050Media Copy\051)SH
11520 39785 MT
(1 Print)
12600 W( line containing cursor)SH
11520 40816 MT
(4 Exit)
12600 W( auto print \050stop echoing to printer\051)SH
11520 41847 MT
(5 Enter)
12600 W( autoprint \050echo screen chars to printer\051)SH
6720 42878 MT
(ESC [ Ps;...;Ps m  SGR)
SH( Select)
4200 W( graphic rendition)SH
25320 43909 MT
(0 = all attributes off \050#'s 1, 4, 5, 7\051)SH
25320 44940 MT
(1 = bold, intensify foreground)SH
25320 45971 MT
(4 = underscore \050reverse video on IBM CGA\051)SH
25320 47002 MT
(5 = blink)SH
25320 48033 MT
(7 = reverse video)SH
15720 49064 MT
(non-DEC extensions: 30-37 = foreground color = 30 + colors)SH
27720 50095 MT
(40-47 = background color = 40 + colors)SH
27720 51126 MT
(colors: 1 = red, 2 = green, 4 = blue)SH
6720 52157 MT
(ESC [ Ps n)
SH( DSR)
2400 W( Device)
6600 W( Status Report.)SH
24720 53188 MT
(Response from VT100: 0=ready, 3=malfunction.)SH
24720 54219 MT
(Command to VT100: 5=report status with DSR,)SH
24720 55250 MT
(6=report cursor position using CPR sequence.)SH
6720 56281 MT
(ESC [ Ps;...;Ps q  DECLL)
SH( Load)
3000 W( LEDs, Ps = 0 means clear LED #1-4)SH
24720 57312 MT
(Ps = 1,2,3,4 sets LED # 1,2,3,4 on status line.)SH
6720 58343 MT
(ESC [ Pn; Pn r DECSTBM)
SH( Set)
4200 W( top and bottom scrolling margins, resp.)SH
24720 59374 MT
(ESC [ r resets margin to full screen.)SH
6720 60405 MT
(ESC [ sol x)
SH( DECREQTPARM Request)
1800 W( terminal parameters, see table below)SH
6720 61436 MT
(ESC [ sol; par; nbits; xspeed; rspeed; clkmul; flags x)SH
15720 62467 MT
(DECREPTPARM Reports)
1800 W( terminal parameters)SH
24720 63498 MT
(sol = 0  request; terminal can send unsolicited)SH
25920 64529 MT
(reports - supported as sol = 1 below.)SH
24720 65560 MT
(sol = 1, request; term reports only on request)SH
24720 66591 MT
(sol = 2, this is a report \050DECREPTPARM\051)SH
24720 67622 MT
(sol = 3, terminal reporting only on request)SH
24720 68653 MT
(par = 1 none, 2 space, 3 mark, 4 odd, 5 even)SH
24720 69684 MT
(nbits = 1 \0508 bits/char\051, 2 \0507 bits/char\051)SH
24720 70715 MT
(xspeed,rspeed = transmit & receive speed index)SH
7320 71746 MT
(0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128 correspond to speeds of)SH
ES
%%Page: 81 82
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.17.3. Responses To Characters Received By the Terminal Emulator)SH
10 /Times-Italic AF
51775 XM
(Page 81)SH
46800 50 8280 5709 UL
/Courier SF
9480 7824 MT
(50,75,110,134.5,150,200,300,600,1200,1800,2000,2400,3600,4800,9600,19200,)SH
9480 8855 MT
(and 38400 baud.)
SH( clkmul)
7800 W( = 1 \050clock rate multiplier is 16\051)SH
26880 9886 MT
(flags = 0-15 \050Setup Block #5\051, always 0 here)SH
8880 10917 MT
(ESC [ 2; Ps y  DECST)
SH( *Confidence)
5400 W( tests - not supported)SH
17880 11948 MT
(SCS Select)
6600 W( character sets.)SH
8880 12979 MT
(ESC \050 A)
SH( SCS)
4200 W( G0)
6600 W( points to UK symbols)SH
8880 14010 MT
(ESC \051 A)
SH( SCS)
4200 W( G1)
6600 W( points to UK symbols)SH
8880 15041 MT
(ESC \050 B)
SH( SCS)
4200 W( G0)
6600 W( points to ASCII symbols)SH
8880 16072 MT
(ESC \051 B)
SH( SCS)
4200 W( G1)
6600 W( points to ASCII symbols)SH
8880 17103 MT
(ESC \050 0)
SH( SCS)
4200 W( G0)
6600 W( points to special \050line drawing\051 graphics)SH
8880 18134 MT
(ESC \051 0)
SH( SCS)
4200 W( G1)
6600 W( points to special \050line drawing\051 graphics)SH
8880 19165 MT
(ESC \050 1)
SH( SCS)
4200 W( G0)
6600 W( points to alt char ROM - national symbols)SH
8880 20196 MT
(ESC \051 1)
SH( SCS)
4200 W( G1)
6600 W( points to alt char ROM - national symbols)SH
8880 21227 MT
(ESC \050 2)
SH( SCS)
4200 W( G0)
6600 W( points to alt graphics ROM - as ESC \050 0)SH
8880 22258 MT
(ESC \051 2)
SH( SCS)
4200 W( G1)
6600 W( points to alt graphics ROM - as ESC \051 0)SH
27480 23289 MT
(\050Separate graphics used for DEC and Heath\051)SH
8880 24320 MT
(^E ENQ)
7200 W( *Answerback)
6000 W( message \050not supported\051)SH
8880 25351 MT
(^G BELL)
7200 W( Sound)
6000 W( VT102 style beep)SH
8880 26382 MT
(^H BS Backspace,)
7200 W( move cursor left one character)SH
8880 27413 MT
(^I HT Horizontal)
7200 W( tab, move cursor to next tabstop)SH
8880 28444 MT
(^J LF Linefeed,)
7200 W( move cursor down one line)SH
8880 29475 MT
(^K VT Vertical)
7200 W( Tab, treated as a line feed)SH
8880 30506 MT
(^L FF Formfeed,)
7200 W( treated as a line feed)SH
8880 31537 MT
(^M CR Carriage)
7200 W( return, move cursor to col 1)SH
8880 32568 MT
(^N SO Select)
7200 W( usage of G1 character set)SH
8880 33599 MT
(^O SI Select)
7200 W( usage of G0 character set)SH
8880 34630 MT
(^X CAN)
7200 W( Cancel)
6600 W( escape sequence in progress)SH
8880 35661 MT
(^Z SUB)
7200 W( Treated)
6600 W( as a CAN)SH
8880 37723 MT
(Other extensions:)SH
8880 38754 MT
(ESC [ 25; Pc f)
SH( VT52/VT100)
9000 W( move cursor to 25th line.)SH
8880 39785 MT
(ESC [ 25; Pc H)
SH( VT52/VT100)
9000 W( move cursor to 25th line.)SH
26880 40816 MT
(\050These will disable Kermit's own status line.\051)SH
8880 41847 MT
(ESC * char)
SH( VT200)
11400 W( series graphics command, ignored.)SH
8880 42878 MT
(ESC ^L)
SH( Enter)
13800 W( Tektronix sub-mode, clear Tek screen.)SH
26880 43909 MT
(\050This is ignored if DISABLE TEK has been given\051)SH
12 /Times-Bold AF
8280 47025 MT
(1.17.4. DEC VT102 Functions While in VT52 Mode)SH
10 /Courier AF
8880 48905 MT
(Escape sequence)
SH( Description)
8400 W( of action)SH
8880 50967 MT
(ESC A)
SH( Cursor)
14400 W( up)SH
8880 51998 MT
(ESC B)
SH( Cursor)
14400 W( down)SH
8880 53029 MT
(ESC C)
SH( Cursor)
14400 W( right)SH
8880 54060 MT
(ESC D)
SH( Cursor)
14400 W( left)SH
8880 55091 MT
(ESC F)
SH( Enter)
14400 W( graphics mode)SH
8880 56122 MT
(ESC G)
SH( Exit)
14400 W( graphics mode)SH
8880 57153 MT
(ESC H)
SH( Cursor)
14400 W( home)SH
8880 58184 MT
(ESC I)
SH( Reverse)
14400 W( line feed)SH
8880 59215 MT
(ESC J)
SH( Erase)
14400 W( to end of screen)SH
8880 60246 MT
(ESC K)
SH( Erase)
14400 W( to end of line)SH
8880 61277 MT
(ESC V)
SH( Print)
14400 W( cursor line)SH
8880 62308 MT
(ESC X)
SH( Exit)
14400 W( Printer Controller mode, transparent print)SH
8880 63339 MT
(ESC Y row column)
SH( Direct)
7800 W( cursor address, offset from space)SH
8880 64370 MT
(ESC W)
SH( Enter)
14400 W( Printer Controller mode,transparent print)SH
8880 65401 MT
(ESC Z)
SH( Identify)
14400 W( \050response is ESC / Z\051)SH
8880 66432 MT
(ESC ^ \050caret\051)
SH( Enter)
9600 W( autoprint mode \050printer echoes screen\051)SH
8880 67463 MT
(ESC _ \050underscore\051)
SH( Exit)
6600 W( autoprint mode)SH
8880 68494 MT
(ESC ])
SH( Print)
14400 W( Screen)SH
8880 69525 MT
(ESC =)
SH( Enter)
14400 W( alternate keypad mode)SH
8880 70556 MT
(ESC >)
SH( Exit)
14400 W( alternate keypad mode)SH
8880 71587 MT
(ESC <)
SH( Enter)
14400 W( ANSI mode \050changes to VT102\051)SH
ES
%%Page: 82 83
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 82)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.17.5)SH
46800 50 6120 5709 UL
6120 8004 MT
(1.17.5. Heath-19 Functions While in Non-ANSI Mode)SH
10 /Courier AF
6720 9884 MT
(Escape seq)
SH( Mnemonic)
2400 W( Description)
3600 W( of action)SH
6720 11946 MT
(ESC A)
SH( HCUU)
5400 W( Cursor)
6000 W( Up)SH
6720 12977 MT
(ESC B)
SH( HCUD)
5400 W( Cursor)
6000 W( Down)SH
6720 14008 MT
(ESC C)
SH( HCUF)
5400 W( Cursor)
6000 W( Forward, stays on same line)SH
6720 15039 MT
(ESC D)
SH( HCUB)
5400 W( Cursor)
6000 W( Backward, stays on same line)SH
6720 16070 MT
(ESC E)
SH( HCD)
5400 W( Clear)
6600 W( display)SH
6720 17101 MT
(ESC F)
SH( HEGM)
5400 W( Enter)
6000 W( Graphics mode)SH
6720 18132 MT
(ESC G)
SH( HXGM)
5400 W( Exit)
6000 W( Graphic mode)SH
6720 19163 MT
(ESC H)
SH( HCUH)
5400 W( Cursor)
6000 W( Home)SH
6720 20194 MT
(ESC I)
SH( HRI)
5400 W( Reverse)
6600 W( Index)SH
6720 21225 MT
(ESC J)
SH( HEOP)
5400 W( Erase)
6000 W( to end of page)SH
6720 22256 MT
(ESC K)
SH( HEOL)
5400 W( Erase)
6000 W( to end of line)SH
6720 23287 MT
(ESC L)
SH( HIL)
5400 W( Insert)
6600 W( line)SH
6720 24318 MT
(ESC M)
SH( HDL)
5400 W( Delete)
6600 W( line)SH
6720 25349 MT
(ESC N)
SH( HDCH)
5400 W( Delete)
6000 W( character)SH
6720 26380 MT
(ESC O)
SH( HERM)
5400 W( Exit)
6000 W( Insert Char mode)SH
6720 27411 MT
(ESC Y row col  HDCA)
SH( Direct)
6000 W( cursor addressing, offset from space)SH
6720 28442 MT
(ESC Z)
SH( HID)
5400 W( Identify)
6600 W( \050response is ESC / K  which is a VT52\051)SH
6720 29473 MT
(ESC b)
SH( HBD)
5400 W( Erase)
6600 W( Beginning of display)SH
6720 30504 MT
(ESC j)
SH( HSCP)
5400 W( Save)
6000 W( cursor position)SH
6720 31535 MT
(ESC k)
SH( HRCP)
5400 W( Set)
6000 W( cursor to saved position)SH
6720 32566 MT
(ESC l)
SH( HEL)
5400 W( Erase)
6600 W( entire line)SH
6720 33597 MT
(ESC n)
SH( HCPR)
5400 W( Cursor)
6000 W( Position Report request)SH
6720 34628 MT
(ESC o)
SH( HEBL)
5400 W( Erase)
6000 W( beginning of line)SH
6720 35659 MT
(ESC p)
SH( HERV)
5400 W( Enter)
6000 W( Reverse Video mode)SH
6720 36690 MT
(ESC q)
SH( HXRV)
5400 W( Exit)
6000 W( Reverse Video mode)SH
6720 37721 MT
(ESC r Bn)
SH( HMBR)
3600 W( *Modify)
6000 W( baud rate - not supported)SH
6720 38752 MT
(ESC t)
SH( HEKS)
5400 W( *Enter)
6000 W( Keypad shifted mode, not supported)SH
6720 39783 MT
(ESC u)
SH( HXKS)
5400 W( *Exit)
6000 W( Keypad shifted mode, not supported)SH
6720 40814 MT
(ESC v)
SH( HEWA)
5400 W( Wrap)
6000 W( around at end of line)SH
6720 41845 MT
(ESC w)
SH( HXWA)
5400 W( Discard)
6000 W( at end of line)SH
6720 42876 MT
(ESC x Ps)
SH( HSM)
3600 W( Set)
6600 W( Mode. See table below)SH
6720 43907 MT
(ESC y Ps)
SH( HRM)
3600 W( Reset)
6600 W( Mode. See table below)SH
11520 45969 MT
(Ps Mnemonic)
2400 W( Mode)
3600 W( Set)
6600 W( \050x\051)
SH( Reset)
4200 W( \050y\051)SH
11520 47000 MT
(1 HSM/HRM)
3000 W( 25th)
4200 W( line)
SH( enabled +disabled)3600 W
11520 48031 MT
(2 *keyclick)
11400 W( off)
4200 W( on)6600 W
11520 49062 MT
(3 *holdscreen)
11400 W( enabled)
3000 W( disabled)4200 W
11520 50093 MT
(4 cursor)
12000 W( type)
SH( block  underline)2400 W
11520 51124 MT
(5 cursor)
12000 W( on/off)
SH( on)
1200 W( off)7200 W
11520 52155 MT
(6 *keypad-shifted)
11400 W( shifted)
600 W( unshifted)4200 W
11520 53186 MT
(7 alt)
12000 W( app keypad  enabled)
SH( disabled)4200 W
11520 54217 MT
(8 *linefeed)
11400 W( lf=>cr/lf)
4200 W( lf=>lf)3000 W
11520 55248 MT
(9 newline)
12000 W( mode)
SH( cr=>cr/lf)
1800 W( cr=>cr)3000 W
24120 56279 MT
(+ disabling the 25th line also clears it)SH
6720 58341 MT
(ESC z)
SH( HRAM)
5400 W( Reset)
6000 W( to power-up configuration)SH
6720 59372 MT
(ESC =)
SH( HAKM)
5400 W( Enter)
6000 W( Alternate Keypad mode)SH
6720 60403 MT
(ESC >)
SH( HXAM)
5400 W( Exit)
6000 W( Alternate Keypad mode)SH
6720 61434 MT
(ESC <)
SH( HEAM)
5400 W( Enter)
6000 W( ANSI mode \050ESC [ stuff\051)SH
6720 62465 MT
(ESC @)
SH( HEIM)
5400 W( Enter)
6000 W( Insert Char mode)SH
6720 63496 MT
(ESC [)
SH( HEHS *Enter)
5400 W( Hold Screen mode, not supported)SH
6720 64527 MT
(ESC \134)
SH( HXHS *Exit)
5400 W( Hold Screen mode, not supported)SH
6720 65558 MT
(ESC { and })
SH( HEK,)
1800 W( HDK)
SH( *Keyboard)
3000 W( enable/disable, not supported)SH
6720 66589 MT
(ESC ])
SH( HX25 *Transmit)
5400 W( 25th line, not supported)SH
6720 67620 MT
(ESC #)
SH( HXMP *Transmit)
5400 W( page, not supported)SH
ES
%%Page: 83 84
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.17.6. Heath-19 Functions While in ANSI Mode)SH
10 /Times-Italic AF
51775 XM
(Page 83)SH
46800 50 8280 5709 UL
12 /Times-Bold AF
8280 8004 MT
(1.17.6. Heath-19 Functions While in ANSI Mode)SH
10 /Courier AF
8880 9884 MT
(Escape Seq)
SH( Mnenonic)
2400 W( Description)
3600 W( of Action)SH
8880 11946 MT
(ESC [ s)
SH( PSCP)
4200 W( Save)
6000 W( cursor position & attributes)SH
8880 12977 MT
(ESC [ u)
SH( PRCP)
4200 W( Restore)
6000 W( cursor position & attributes)SH
8880 14008 MT
(ESC [ z)
SH( PRAM)
4200 W( Reset)
6000 W( to power-up configuration)SH
8880 15039 MT
(ESC [ 2 J)
SH( ED)
3000 W( Erase)
7200 W( entire screen but do not move cursor;)SH
26880 16070 MT
(regular Heath-19 moves cursor to Home.)SH
8880 17101 MT
(ESC [ ? 2 h)
SH( PEHM)
1800 W( Revert)
6000 W( to normal Heath-19 non-ANSI mode)SH
8880 18132 MT
(ESC [ > Ps h)
SH( SM)
1200 W( Same)
7200 W( as ESC x Ps)SH
8880 19163 MT
(ESC [ > Ps l)
SH( RM)
1200 W( Same)
7200 W( as ESC y Ps)SH
/Times-Roman SF
8280 20880 MT
(Plus most of the ANSI escape sequences listed for the VT102.)SH
12 /Times-Bold AF
8280 23996 MT
(1.17.7. Tektronix 4010/4014 Graphics Terminal Functions)SH
10 /Times-Roman AF
8280 25938 MT
(MS-Kermit's Tektronix 4010 emulator)
116 W( responds to ordinary text, several special control codes \050for drawing lines)115 W
8280 27134 MT
(and dots\051, and several escape sequences, as shown in Table 1-10.  The)
276 W( commands SET DEBUG and SET)277 W
8280 28330 MT
(TRANSLATION INPUT are effective in Tek mode.)SH
46800 50 8280 30321 UL
8280 33055 MT
(Control Code)SH
29880 XM
(Action)SH
5417 50 8280 33255 UL
2722 50 29880 33255 UL
/Courier SF
8280 34160 MT
(FS,)SH
/Times-Roman SF
10930 XM
(Control-)SH
/Courier SF
(\134)SH
/Times-Roman SF
19080 XM
(Backslash)SH
29880 XM
(draw dots)SH
/Courier SF
8280 35265 MT
(GS,)SH
/Times-Roman SF
10930 XM
(Control-)SH
/Courier SF
(])SH
/Times-Roman SF
19080 XM
(Right square bracket)SH
29880 XM
(draw lines)SH
/Courier SF
8280 36370 MT
(RS,)SH
/Times-Roman SF
10930 XM
(Control-)SH
/Courier SF
(^)SH
/Times-Roman SF
19080 XM
(Caret)SH
29880 XM
(Draw dots incrementally)SH
/Courier SF
8280 37475 MT
(US,)SH
/Times-Roman SF
10930 XM
(Control-)SH
/Courier SF
(_)SH
/Times-Roman SF
19080 XM
(Underscore)SH
29880 XM
(Display text)SH
/Courier SF
8280 38580 MT
(BEL,)SH
/Times-Roman SF
10930 XM
(Control-)SH
/Courier SF
(G)SH
/Times-Roman SF
29880 XM
(Beep, make a noise)SH
/Courier SF
8280 39685 MT
(BS,)SH
/Times-Roman SF
10930 XM
(Control-)SH
/Courier SF
(H)SH
/Times-Roman SF
29880 XM
(Backspace, non-destructive)SH
/Courier SF
8280 40790 MT
(HT,)SH
/Times-Roman SF
10930 XM
(Control-)SH
/Courier SF
(I)SH
/Times-Roman SF
29880 XM
(Tab, convert to single space)SH
/Courier SF
8280 41895 MT
(LF,)SH
/Times-Roman SF
10930 XM
(Control-)SH
/Courier SF
(J)SH
/Times-Roman SF
29880 XM
(Line feed, go down one line)SH
/Courier SF
8280 43000 MT
(VT,)SH
/Times-Roman SF
10930 XM
(Control-)SH
/Courier SF
(K)SH
/Times-Roman SF
29880 XM
(Move up one text line)SH
/Courier SF
8280 44105 MT
(FF,)SH
/Times-Roman SF
10930 XM
(Control-)SH
/Courier SF
(L)SH
/Times-Roman SF
29880 XM
(Clears the screen)SH
/Courier SF
8280 45210 MT
(CR,)SH
/Times-Roman SF
10930 XM
(Control-)SH
/Courier SF
(M)SH
/Times-Roman SF
29880 XM
(Carriage return, start of line)SH
/Courier SF
8280 46315 MT
(CAN,)SH
/Times-Roman SF
10930 XM
(Control-)SH
/Courier SF
(X)SH
/Times-Roman SF
29880 XM
(Exit Tek sub-mode, or ignore)SH
8280 47420 MT
(DEL, RUBOUT)SH
29880 XM
(Delete code, same as BS)SH
8280 49630 MT
(Escape Sequence)SH
29880 XM
(Action)SH
6914 50 8280 49830 UL
2722 50 29880 49830 UL
/Courier SF
8280 50735 MT
(ESC)SH
/Times-Roman SF
10680 XM
(Control-)SH
/Courier SF
(E)SH
/Times-Roman SF
29880 XM
(Send a status report, turn on Bypass mode)SH
/Courier SF
8280 51840 MT
(ESC)SH
/Times-Roman SF
10680 XM
(Control-)SH
/Courier SF
(L)SH
/Times-Roman SF
29880 XM
(Clear the screen \050enter sub-mode from VT102\051)SH
/Courier SF
8280 52945 MT
(ESC)SH
/Times-Roman SF
10680 XM
(Control-)SH
/Courier SF
(X)SH
/Times-Roman SF
29880 XM
(Turn on Bypass mode)SH
/Courier SF
8280 54050 MT
(ESC)SH
/Times-Roman SF
10680 XM
(Control-)SH
/Courier SF
(Z)SH
/Times-Roman SF
29880 XM
(Activate crosshairs \050GIN mode\051 and Bypass mode)SH
/Courier SF
8280 55155 MT
(ESC Z)SH
/Times-Roman SF
29880 XM
(Send terminal identification)SH
/Courier SF
8280 56260 MT
(ESC `)SH
/Times-Roman SF
11530 XM
(\050accent grave\051)SH
29880 XM
(Use solid lines in drawing)SH
/Courier SF
8280 57365 MT
(ESC a)SH
/Times-Roman SF
11530 XM
(through)SH
/Courier SF
14891 XM
(ESC e)SH
/Times-Roman SF
29880 XM
(Use dashed line patterns:)SH
30130 58470 MT
(a=fine dots, b=short dashes)SH
30130 59575 MT
(c=dash dot,  d=long dash dot)SH
30130 60680 MT
(e=dash dot dot.)SH
/Courier SF
8280 61785 MT
(ESC [ Pn ; Pn m)SH
/Times-Roman SF
29880 XM
(Set ANSI colors. Same as for VT102.)SH
/Courier SF
8280 62890 MT
(ESC [ ? 3 8 l)SH
/Times-Roman SF
29880 XM
(Exit Tek mode \050become text terminal, VT102 etc\051)SH
/Courier SF
8280 63995 MT
(ESC [ ? 3 8 h)SH
/Times-Roman SF
29880 XM
(Enter Tek mode \050from VT102 mode\051)SH
/Times-Bold SF
15265 65605 MT
(Table 1-10:)SH
/Times-Roman SF
20626 XM
(Response of MS-Kermit Tektronix Emulator to Received Characters)SH
46800 50 8280 67415 UL
8280 69607 MT
(In the table, US is)
55 W( the name for the ASCII character Control-Underscore, 31 decimal.  Text is written starting with)54 W
8280 70803 MT
(the last drawn point being)
15 W( the lower left corner of the first 8 by 8 character cell.  The drawing position is updated by)16 W
8280 71999 MT
(8 dots to the right for each character,)
35 W( and lines wrap at column 80 \050column 90 for Hercules boards\051.  If text extends)34 W
ES
%%Page: 84 85
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 84)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.17.7)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
("below the screen" the sign ")118 W
/Courier SF
(More >)118 W
/Times-Roman SF
(" is shown at the bottom right corner and the user)
118 W( needs to press a key to)119 W
6120 9082 MT
(continue. Then)
312 W( the screen will)
31 W( be cleared and the new text will start at the top of the screen \050no scrolling is done in)30 W
6120 10278 MT
(graphics mode\051.  A real Tek 4010 begins new text at)
71 W( column 40 and will overwrite dots from older material.  The)72 W
6120 11474 MT
(high resolution EGA screen and the Hercules screen will hold 43 lines, the CGA and Monochome)
62 W( screens hold 25)61 W
6120 12670 MT
(lines, and the AT&T screen holds 50 lines.  Hercules screens are 90 characters wide and others are 80 characters)94 W
6120 13866 MT
(wide. Monochrome)
449 W( systems lack graphics so the text is the normal hardware character font placed at the nearest)99 W
6120 15062 MT
(normal 80x25 location \050similarly, "drawing" on Monochrome systems is achieved by using a text plus)
109 W( \050"+"\051 sign)110 W
6120 16258 MT
(where a dot would appear\051.  Text mode is interrupted by the drawing commands discussed below.)SH
6120 18650 MT
(Bypass Mode:)SH
5472 50 6120 18850 UL
6120 21042 MT
(Certain Tektronix commands turn on or off "Bypass" mode whereby)
75 W( incoming text is not displayed on the screen.)74 W
6120 22238 MT
(Removal of echos of the GIN mode, discussed below, is the major use)
119 W( of Bypass. Bypass mode is turned on by)120 W
6120 23434 MT
(receipt of ESC Control-E, ESC Control-X, and ESC Control-Z and it is turned off upon receipt of BEL, LF, CR,)
4 W( US,)3 W
6120 24630 MT
(other escape sequences, and resetting the terminal.)SH
6120 27022 MT
(Drawing commands GS, FS, RS:)SH
12945 50 6120 27222 UL
6120 29414 MT
(1. Draw a line or move to a point: GS <)SH
/Times-Italic SF
(xy xy)SH
/Times-Roman SF
24514 XM
(. . .)SH
/Times-Italic SF
26264 XM
(xy)SH
/Times-Roman SF
(>)SH
6120 31806 MT
(GS is the name for ASCII character)
68 W( Control-)69 W
/Courier SF
(])SH
/Times-Roman SF
25429 XM
(\050right square bracket\051, decimal 29.  <)69 W
/Times-Italic SF
(xy)SH
/Times-Roman SF
(> stands for an encoded x,y)69 W
6120 33002 MT
(coordinate as explained below.)
1 W( One)
250 W( or more x,y coordinates may follow GS and line segments are drawn from point)SH
6120 34198 MT
(to point.  The first point is reached)
27 W( without drawing so that GS and the initial <)28 W
/Times-Italic SF
(xy)SH
/Times-Roman SF
(> is a simple "move-to" command)28 W
6120 35394 MT
(rather than a)
45 W( "draw-to" command.  Lines may be constructed from six dash patterns described in Table 1-10.  <)44 W
/Times-Italic SF
(xy)SH
/Times-Roman SF
(>)SH
6120 36590 MT
(coordinates are encoded by separating the 10 bit value of x and of)
16 W( y into 5 bit components and then adding two high)17 W
6120 37786 MT
(bits to each to)
27 W( identify which component is being represented: high-y, low-y, high-x, or low-x. They are transmitted)26 W
6120 38982 MT
(in that order, with the low-x byte always sent last.  In fact,)
18 W( bytes may be omitted if they do not change from point to)19 W
6120 40178 MT
(point, provided that low-x is always sent.  These bytes range from ASCII space \05032 decimal\051 to ASCII DEL)
82 W( \050127)81 W
6120 41374 MT
(decimal\051. Details)
255 W( are given below, and summarized in Table 1-12.  This mode completes when a new command or a)3 W
6120 42570 MT
(CR LF \050carriage return,)
50 W( line feed\051 arrives; escape sequences are processed transparently but other control codes are)49 W
6120 43766 MT
(ignored. The)
250 W( interrupting character is accepted and processed next.)SH
6120 46158 MT
(2. Draw dots at given locations: FS <)SH
/Times-Italic SF
(xy xy)SH
/Times-Roman SF
23543 XM
(. . .)SH
/Times-Italic SF
25293 XM
(xy)SH
/Times-Roman SF
(>)SH
6120 48550 MT
(FS is the name for)
7 W( the ASCII character Control-\134 \050backslash\051, decimal 28.  <)8 W
/Times-Italic SF
(xy)SH
/Times-Roman SF
(> is in the same form as above.  A dot)8 W
6120 49746 MT
(is drawn at each x,y point.  This mode completes when a)
179 W( new command or a CRLF character arrives; escape)178 W
6120 50942 MT
(sequences are processed transparently but other control codes are ignored.)
102 W( The)
456 W( interrupting character is accepted)103 W
6120 52138 MT
(and processed next.)SH
6120 54530 MT
(3. Draw dots from the current location: RS)SH
/Times-Italic SF
23479 XM
(<pen> <direction> <direction>)SH
/Times-Roman SF
37195 XM
(. . .)SH
/Times-Italic SF
38945 XM
(<direction>)SH
/Times-Roman SF
6120 56922 MT
(RS is the name for the ASCII character Control-)80 W
/Courier SF
(^)SH
/Times-Roman SF
27020 XM
(\050caret\051, decimal 30.)80 W
/Times-Italic SF
35615 XM
(pen)SH
/Times-Roman SF
37389 XM
(is the character Space \05032 decimal\051 to)80 W
6120 58118 MT
(move without drawing or P \05080 decimal\051 to draw while moving.)SH
/Times-Italic SF
32201 XM
(<direction>)SH
/Times-Roman SF
37412 XM
(is one of)
SH( the letters A, E, D, F, B, J, H,)1 W
6120 59314 MT
(I as shown in Table 1-11.)SH
6120 61706 MT
(Example:)SH
/Courier SF
10268 XM
(RS P J J J)65 W
/Times-Roman SF
16843 XM
(\050no spaces)
65 W( here, naturally\051 means draw three dots in the southwest direction, stepping to)64 W
6120 62902 MT
(each in turn.  This mode completes)
7 W( when a new command or a non-)8 W
/Times-Italic SF
(<pen>)SH
/Times-Roman SF
36376 XM
(or non-)8 W
/Times-Italic SF
(<direction>)SH
/Times-Roman SF
44519 XM
(character arrives; the)8 W
6120 64098 MT
(interrupting character is accepted and processed next.)SH
ES
%%Page: 85 86
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.17.7. Tektronix 4010/4014 Graphics Terminal Functions)SH
10 /Times-Italic AF
51775 XM
(Page 85)SH
46800 50 8280 5709 UL
46800 50 8280 8086 UL
8280 10818 MT
(direction)SH
17280 XM
(Move One Tek Dot This Way)SH
3611 50 8280 11018 UL
11581 50 17280 11018 UL
/Times-Roman SF
11880 11923 MT
(A)SH
17280 XM
(East \050right\051)SH
11880 13028 MT
(E)SH
17280 XM
(East and North)SH
/Courier SF
34080 XM
(F D E)1200 W
/Times-Roman SF
11880 14133 MT
(D)SH
17280 XM
(North \050up\051)SH
11880 15238 MT
(F)SH
17280 XM
(North and West)SH
/Courier SF
34080 XM
(B * A)1200 W
/Times-Roman SF
40730 XM
(\050)SH
/Courier SF
(*)SH
/Times-Roman SF
41913 XM
(is current location\051)SH
11880 16343 MT
(B)SH
17280 XM
(West)SH
11880 17448 MT
(J)SH
17280 XM
(South and West)SH
/Courier SF
34080 XM
(J H I)1200 W
/Times-Roman SF
11880 18553 MT
(H)SH
17280 XM
(South)SH
11880 19658 MT
(I)SH
17280 XM
(South and East)SH
/Times-Bold SF
21833 21268 MT
(Table 1-11:)SH
/Times-Roman SF
27194 XM
(Tektronix Dot-Drawing Commands)SH
46800 50 8280 23078 UL
8280 25270 MT
(Graphics INput \050GIN\051 mode:)SH
11358 50 8280 25470 UL
8280 27662 MT
(Graphics input mode is entered when ESC Control-Z is received.  A crosshair is drawn)
81 W( on the screen and may be)80 W
8280 28858 MT
(moved by the numeric keypad arrows \050fine scale motion\051 or)
80 W( the Shift key and these arrows \050coarse scale motion\051.)81 W
8280 30054 MT
(Pressing an ASCII-producing key sends the position of the crosshairs to the host as)
34 W( the sequence of: pressed key, X)33 W
8280 31250 MT
(coordinate, Y coordinate, carriage return, then removes the crosshairs, and then returns to text mode.)
278 W( The)807 W
8280 32446 MT
(coordinates are encoded)
83 W( by splitting them into five bit fields, adding an ascii space \05020H\051 to each, and are sent as)82 W
8280 33642 MT
(high-y, low-y,)
31 W( high-x and low-x bytes. Bypass mode is active while the report is sent to supress echos of the report.)32 W
8280 34838 MT
(One may prematurely exit GIN mode by)
195 W( typing Control-C or Control-Break.  Shift-PrtSc \050DOS screen dump\051)194 W
8280 36034 MT
(remains active, however.)SH
8280 38426 MT
(Status or Position Report:)SH
10029 50 8280 38626 UL
8280 40818 MT
(ESCAPE Control-E requests a status report from the emulator.)
95 W( Tek)
441 W( terminals have many sub-fields.  Kermit-MS)96 W
8280 42014 MT
(sends a byte of 24 hex for being in text mode or 20 hex otherwise, followed by the)
66 W( encoded X then Y coordinates)65 W
8280 43210 MT
(and a carriage return.  Coordinates are encoded 5 bits at a time similar to the GIN report.)SH
8280 45602 MT
(Identification Report:)SH
8360 50 8280 45802 UL
8280 47994 MT
(ESCAPE Z requests terminal identification, as for VT52 and VT102.  Currently this report)
173 W( is the 10 character)174 W
8280 49190 MT
(sequence)SH
/Courier SF
12195 XM
(IBM_TEK ESCAPE / Z)SH
/Times-Roman SF
23245 XM
(\050no spaces\051.)SH
8280 51582 MT
(Screen Capturing:)SH
6971 50 8280 51782 UL
8280 53974 MT
(Kermit does not implement a graphics screen capture facility.)
88 W( There)
425 W( are many such Terminate-and-Stay-Resident)87 W
8280 55170 MT
(\050TSR\051 programs in circulation, as either public domain offerings or)
72 W( parts of commercial packages \050Paint programs)73 W
8280 56366 MT
(and even)158 W
/Courier SF
12428 XM
(GRAPHICS.COM)SH
/Times-Roman SF
20036 XM
(from DOS\051.  High resolution EGA screens require more than the)158 W
/Courier SF
47880 XM
(GRAPHICS.COM)SH
/Times-Roman SF
8280 57562 MT
(program. MS)
285 W( Windows tells the program \050Kermit-MS\051 the system is using a pure text-only monochrome adapter so)18 W
8280 58758 MT
(dots are shown as plus signs.)SH
8280 61150 MT
(Although Kermit cannot save graphics screens directly \050e.g. via)
146 W( the)145 W
/Courier SF
36899 XM
(^]F)SH
/Times-Roman SF
39094 XM
(connect-mode command\051, the received)145 W
8280 62346 MT
(Tektronix escape sequences can still be logged to a PC file using the LOG SESSION command.  The resulting)
54 W( log)55 W
8280 63542 MT
(cannot be "played back" directly on the PC, but)
146 W( it can be transferred to the host and run through Kermit's Tek)145 W
8280 64738 MT
(emulator again, just like a character-mode Kermit session log.)SH
ES
%%Page: 86 87
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 86)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.17.7)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(VGA Modes:)SH
5138 50 6120 8086 UL
6120 10278 MT
(Considerable effort went into ensuring the graphics display would work automatically and not damage monitors.)123 W
6120 11474 MT
(Thus, Kermit-MS safely tests the active)
65 W( display adapter for its kind and capabilities before starting graphics mode.)64 W
6120 12670 MT
(Recent VGA and EGA+ display boards are capable of the)
6 W( 640 by 480 scan-line 16-color "VGA" mode which is now)7 W
6120 13866 MT
(available on IBM PS/2 computers.  The Tek emulator will)
53 W( happily run with 480 scan lines, but: the normal 256KB)52 W
6120 15062 MT
(of video memory is sufficient to save only the top 407 lines)
180 W( of the graphics image.  So activating this higher)181 W
6120 16258 MT
(resolution mode is accomplished by the command SET TERMINAL GRAPHICS VGA)
383 W( and is not done)382 W
6120 17454 MT
(automatically \050the VGA is used in EGA)
70 W( mode\051.  The 320 by 200 line by 256 color MCGA mode has too coarse a)71 W
6120 18650 MT
(resolution for graphics line drawing and is not supported by Kermit.)SH
6120 21042 MT
(Coordinate Encoding:)SH
8527 50 6120 21242 UL
6120 23434 MT
(Coordinate 0,0 is the lower left corner and the X axis is horizontal. Tektronix positions are mapped)
6 W( into the typically)5 W
6120 24630 MT
(640 dots wide by 200 or 350 dots high PC screen and thus adjacent Tek positions may yield the same PC screen dot.)SH
6120 27022 MT
(4010-like devices use positions from 0 to 1023 for both X and Y, although only 0 to 779)
83 W( are visible for Y due to)84 W
6120 28218 MT
(screen geometry.  The Tek screen is 10.24 by 7.80 inches and coordinates are sent as 1-4 characters.)SH
6120 30610 MT
(4014-like devices use positions 0 to 4095, but each)
25 W( movement is a multiple of 4 positions unless the high-resolution)24 W
6120 31806 MT
(LSBXY are sent.  This makes it compatible)
99 W( with the 4010 in that a full sized plot fills the screen.  The emulator)100 W
6120 33002 MT
(accepts the LSBXY components but does not use them.)SH
6120 35394 MT
(The various modes are summarized in Table 1-12, in which the following notation is used:)SH
8120 36914 MT
(HIX, HIY = High order 5 bits of a 10 or 12 bit position.)SH
8120 38019 MT
(LOX, LOY = Middle order 5 bits of position \050low order of Tek 4010\051.)SH
8120 39124 MT
(LSBXY = Low order 2 bits of X + low order 2 bits of Y \0504014 mode\051,)SH
8870 40229 MT
(recognized by the Tek emulator but not used to calculate position.)SH
46800 50 6120 42220 UL
6120 44954 MT
(Hi Y)SH
11520 XM
(Lo Y)SH
16920 XM
(Hi X)SH
22320 XM
(LSBXY)SH
27720 XM
(Characters Sent \050Lo-X Always Sent\051)SH
1972 50 6120 45154 UL
2083 50 11520 45154 UL
1972 50 16920 45154 UL
3278 50 22320 45154 UL
14719 50 27720 45154 UL
6120 46059 MT
(Same)SH
11520 XM
(Same)SH
16920 XM
(Same)SH
22320 XM
(Same)SH
44280 XM
(Lo-X)SH
6120 47164 MT
(Same)SH
11520 XM
(Same)SH
16920 XM
(Same)SH
22320 XM
(Diff)SH
32040 XM
(LSB,)SH
35640 XM
(Lo-Y,)SH
44280 XM
(Lo-X)SH
48960 XM
(4014)SH
6120 48269 MT
(Same)SH
11520 XM
(Same)SH
16920 XM
(Diff)SH
22320 XM
(Same)SH
35640 XM
(Lo-Y,)SH
39960 XM
(Hi-X,)SH
44280 XM
(Lo-X)SH
6120 49374 MT
(Same)SH
11520 XM
(Same)SH
16920 XM
(Diff)SH
22320 XM
(Diff)SH
32040 XM
(LSB,)SH
35640 XM
(Lo-Y,)SH
39960 XM
(Hi-X,)SH
44280 XM
(Lo-X)SH
48960 XM
(4014)SH
6120 50479 MT
(Same)SH
11520 XM
(Diff)SH
16920 XM
(Same)SH
22320 XM
(Same)SH
35640 XM
(Lo-Y,)SH
44280 XM
(Lo-X)SH
6120 51584 MT
(Same)SH
11520 XM
(Diff)SH
16920 XM
(Same)SH
22320 XM
(Diff)SH
32040 XM
(LSB,)SH
35640 XM
(Lo-Y,)SH
44280 XM
(Lo-X)SH
48960 XM
(4014)SH
6120 52689 MT
(Same)SH
11520 XM
(Diff)SH
16920 XM
(Diff)SH
22320 XM
(Same)SH
35640 XM
(Lo-Y,)SH
39960 XM
(Hi-X,)SH
44280 XM
(Lo-X)SH
6120 53794 MT
(Same)SH
11520 XM
(Diff)SH
16920 XM
(Diff)SH
22320 XM
(Diff)SH
32040 XM
(LSB,)SH
35640 XM
(Lo-Y,)SH
39960 XM
(Hi-X,)SH
44280 XM
(Lo-X)SH
48960 XM
(4014)SH
6120 54899 MT
(Diff)SH
11520 XM
(Same)SH
16920 XM
(Same)SH
22320 XM
(Same)SH
27720 XM
(Hi-Y,)SH
44280 XM
(Lo-X)SH
6120 56004 MT
(Diff)SH
11520 XM
(Same)SH
16920 XM
(Same)SH
22320 XM
(Diff)SH
27720 XM
(Hi-Y,)SH
32040 XM
(LSB,)SH
35640 XM
(Lo-Y,)SH
44280 XM
(Lo-X)SH
48960 XM
(4014)SH
6120 57109 MT
(Diff)SH
11520 XM
(Same)SH
16920 XM
(Diff)SH
22320 XM
(Same)SH
27720 XM
(Hi-Y,)SH
35640 XM
(Lo-Y,)SH
39960 XM
(Hi-X,)SH
44280 XM
(Lo-X)SH
6120 58214 MT
(Diff)SH
11520 XM
(Same)SH
16920 XM
(Diff)SH
22320 XM
(Diff)SH
27720 XM
(Hi-Y,)SH
32040 XM
(LSB,)SH
35640 XM
(Lo-Y,)SH
39960 XM
(Hi-X,)SH
44280 XM
(Lo-X)SH
48960 XM
(4014)SH
6120 59319 MT
(Diff)SH
11520 XM
(Diff)SH
16920 XM
(Same)SH
22320 XM
(Same)SH
27720 XM
(Hi-Y,)SH
35640 XM
(Lo-Y,)SH
44280 XM
(Lo-X)SH
6120 60424 MT
(Diff)SH
11520 XM
(Diff)SH
16920 XM
(Same)SH
22320 XM
(Diff)SH
27720 XM
(Hi-Y,)SH
32040 XM
(LSB,)SH
35640 XM
(Lo-Y,)SH
44280 XM
(Lo-X)SH
48960 XM
(4014)SH
6120 61529 MT
(Diff)SH
11520 XM
(Diff)SH
16920 XM
(Diff)SH
22320 XM
(Same)SH
27720 XM
(Hi-y,)SH
35640 XM
(Lo-Y,)SH
39960 XM
(Hi-X,)SH
44280 XM
(Lo-X)SH
6120 62634 MT
(Diff)SH
11520 XM
(Diff)SH
16920 XM
(Diff)SH
22320 XM
(Diff)SH
27720 XM
(Hi-y,)SH
32040 XM
(LSB,)SH
35640 XM
(Lo-Y,)SH
39960 XM
(Hi-X,)SH
44280 XM
(Lo-X)SH
48960 XM
(4014)SH
6120 64244 MT
(Kind code for byte:)SH
27720 XM
(20h)SH
32040 XM
(60h)SH
35640 XM
(60h)SH
39960 XM
(20h)SH
44280 XM
(40h)SH
27720 65349 MT
(\050transmitted left to right\051)SH
/Times-Bold SF
17243 66959 MT
(Table 1-12:)SH
/Times-Roman SF
22604 XM
(MS-Kermit Tektronix Coordinate Interpretation)SH
46800 50 6120 68769 UL
6120 70961 MT
(Note that LO-Y must be sent if HI-X has changed so that the)
154 W( Tektronix knows the HI-X byte \050in the range of)153 W
ES
%%Page: 87 88
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.17.7. Tektronix 4010/4014 Graphics Terminal Functions)SH
10 /Times-Italic AF
51775 XM
(Page 87)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(20h-3Fh\051 is HI-X and not HI-Y.  LO-Y must also be sent if LSBXY has changed, so that)
140 W( the 4010 will ignore)141 W
8280 9082 MT
(LSBXY and accept LO-Y.  The LSBXY byte is)SH
10280 10602 MT
(60)SH
/Times-Italic SF
(h)SH
/Times-Roman SF
(+\050)SH
/Times-Italic SF
(MARGIN)SH
/Symbol SF
(\264)SH
/Times-Roman SF
(10)SH
/Times-Italic SF
(h)SH
/Times-Roman SF
(\051+\050)SH
/Times-Italic SF
(LSBY)SH
/Symbol SF
(\264)SH
/Times-Roman SF
(4\051+)SH
/Times-Italic SF
(LSBX)SH
/Times-Roman SF
8280 12122 MT
(MARGIN is 0 here and refers to splitting)
48 W( the screen left and right for text rollover, which the Kermit Tek emulator)47 W
8280 13318 MT
(does not do.)SH
8280 15710 MT
(Tek 4010 Example:)SH
7610 50 8280 15910 UL
8280 18102 MT
(Suppose <)12 W
/Times-Italic SF
(xy)SH
/Times-Roman SF
(> is point y)
12 W( = 300, x = 500 in Tektronix coordinates.  Split each 10-bit coordinate into 5-bit groups, add)13 W
8280 19298 MT
(add the Kind code to each. Send the X part last.)SH
/Courier SF
20280 20953 MT
(HI-Y LO-Y)
2400 W( HI-X)
10800 W( LO-X)2400 W
10680 21984 MT
(Y=300d=012Ch= 01001  01100)
600 W( X=500d=01F4h=)
1200 W( 01111  10100)600 W
11880 23015 MT
(+Kind code +100000 +1100000)
SH( +kind)
2400 W( code +100000 +1000000)SH
3600 50 19080 23215 UL
4200 50 23880 23215 UL
3600 50 38280 23215 UL
4200 50 43080 23215 UL
10680 24046 MT
(Binary 101001)
4200 W( 01101100)
SH( 101111)
9600 W( 1000100)600 W
10680 25077 MT
(ASCII \051)
6600 W( l)
3600 W( /)
13200 W( D)3600 W
/Times-Roman SF
8280 26794 MT
(So <)SH
/Times-Italic SF
(xy)SH
/Times-Roman SF
(> = \050500,300\051 is sent or received in a GS command as ``)SH
/Courier SF
(\051l/D)SH
/Times-Roman SF
(''. An)
250 W( example in C \050program fragments\051:)SH
/Courier SF
8280 28449 MT
(#define ESC  27)SH
8280 29480 MT
(#define GS)
SH( 29)1200 W
8280 30511 MT
(#define US)
SH( 31)1200 W
8280 31542 MT
(FILE *fp;)
SH( /*)
12600 W( File descriptor for terminal */)SH
8880 32573 MT
(. . .)SH
10680 34228 MT
(fputc\050 GS, fp\051; coord\050 75, 65\051;)
SH( /*)
3600 W( Move to 75,65)
SH( */)3000 W
10680 35259 MT
(fputc\050 ESC, fp\051; fputs\050"[31m", fp\051;)
SH( /*)
1200 W( Set foreground to red */)SH
10680 36290 MT
(fputc\050 US, fp\051; fputs\050"A House", fp\051; /* Annotate at 75,65  */)SH
10680 37321 MT
(fputc\050 ESC, fp\051; fputs\050"[33m", fp\051;)
SH( /*)
1200 W( Set foreground to yellow */)SH
10680 38352 MT
(fputc\050 GS, fp\051;)
SH( /*)
13200 W( Now draw lines...  */)SH
10680 39383 MT
(coord\050 50, 50\051; coord\050300, 50\051;)
SH( /*)
3600 W( Bottom side)
SH( */)4200 W
10680 40414 MT
(coord\050300,200\051; coord\050 50,200\051;)
SH( /*)
3600 W( Right wall, top)
SH( */)1800 W
10680 41445 MT
(coord\050175,250\051; coord\050300,200\051;)
SH( /*)
3600 W( Roof)
SH( */)8400 W
10680 42476 MT
(fputc\050 GS, fp\051;)
SH( /*)
13200 W( Start a new line)
SH( */)1200 W
10680 43507 MT
(coord\050 50, 50\051; coord\050 50,200\051;)
SH( /*)
3600 W( Left wall at 50,50 */)SH
10680 44538 MT
(fputc\050 ESC, fp\051; fputs\050"[37m", fp\051;)
SH( /*)
1200 W( Set foreground to white */)SH
10680 45569 MT
(. . .)SH
8280 47224 MT
(coord\050x, y\051 int x, y; {)
SH( /*)
4200 W( Send x,y coordinates to Tek 4010 */)SH
10680 48255 MT
(fputc\050\050y / 32\051 + 32, fp\051;)
SH( /*)
7200 W( High y */)SH
10680 49286 MT
(fputc\050\050y % 32\051 + 96, fp\051;)
SH( /*)
7200 W( Low  y */)SH
10680 50317 MT
(fputc\050\050x / 32\051 + 32, fp\051;)
SH( /*)
7200 W( High x */)SH
10680 51348 MT
(fputc\050\050x % 32\051 + 64, fp\051;)
SH( /*)
7200 W( Low  x */)SH
8280 52379 MT
(})SH
14 /Times-Bold AF
8280 55981 MT
(1.18. IBM PC Kermit Technical Summaries)SH
10 /Times-Roman AF
8280 58099 MT
(Under normal circumstances, MS-Kermit)
155 W( takes advantage of the computer's hardware, and often bypasses DOS)154 W
8280 59295 MT
(\050sometimes even BIOS\051 to achieve high performance, to exercise special machine features, or to)
241 W( produce an)242 W
8280 60491 MT
(attractive screen display.  Thus, it is not in all respects a "well behaved" DOS program.)SH
8280 62883 MT
(MS-Kermit redirects interrupts 0BH \050COM2/4\051 or 0CH \050COM1/3\051, 14H \050serial port\051, 23H \050Control-Break\051,)
139 W( 24H)138 W
8280 64079 MT
(\050DOS Critical Error\051 and returns them when done. It uses the BIOS for keyboard, video display,)
214 W( and system)215 W
8280 65275 MT
(information interrupts.  It examines segment 40H for EGA operating modes)
146 W( and it does direct screen reads and)145 W
8280 66471 MT
(writes. Memory)
720 W( for the screen roll backbuffer is)
235 W( negotiated with DOS to leave room for a second copy of)236 W
/Courier SF
8280 67667 MT
(COMMAND.COM)SH
/Times-Roman SF
15187 XM
(to run)
57 W( tasks within Kermit; about 100KB to 148KB is needed for the entire program.  Video page)56 W
8280 68863 MT
(zero is normally used, but page one is)
35 W( employed to save screens with non-standard dimensions.  Hercules and other)36 W
8280 70059 MT
(graphics mode displays are supported only)
121 W( in Tektronix terminal mode.  Kermit's timing delays are dynamically)120 W
8280 71255 MT
(adjusted each time the serial port is started to accomodate machines of different speeds;)
147 W( duration of the normal)148 W
ES
%%Page: 88 89
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 88)SH
12 /Times-Bold AF
29985 XM
(Kermit User Guide: MS-DOS KERMIT 1.18)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(software timing loop is measured with the hardware timer chip and looping is adjusted)
8 W( to produce uniform delays on)7 W
6120 9082 MT
(8088 through 80386 machines.)SH
12 /Times-Bold AF
6120 12198 MT
(1.18.1. Kermit-MS/IBM on Local Area Networks)SH
10 /Times-Roman AF
6120 14140 MT
(The IBM version of Kermit-MS has)
69 W( support for the IBM Local Area Network NetBIOS \050and emulators\051 interface,)70 W
6120 15336 MT
(Interrupt 5CH, with additional support for selected vendor specific)
180 W( features \050presently just AT&T STARLAN\051,)179 W
6120 16532 MT
(activated by the SET PORT NET command, described above, direct support for the Ungermann Bass Net)
165 W( One)166 W
6120 17728 MT
(proprietary Interrupt 14h interface, and via SET PORT BIOSn support for many other networks which)
35 W( intercept the)34 W
6120 18924 MT
(Bios serial port interrupt 14h.  Communications across a LAN occurring through the NetBIOS interface)
52 W( use virtual)53 W
6120 20120 MT
(circuits \050Sessions\051, named nodes, and conventional NetBIOS)
195 W( packets.  Kermit-MS does not use LAN terminal)194 W
6120 21316 MT
(interface packages nor the Redirector or similar functions.)SH
6120 23708 MT
(Kermit LAN operations are harmonious with normal network activity and many pairs)
48 W( of Kermits can communicate)49 W
6120 24904 MT
(simultaneously. Kermit)
462 W( does not use LAN File Server functions, since these)
106 W( are proprietary and vendor-specific.)105 W
6120 26100 MT
(Kermit can, however, send and receive files to/from a LAN file server.)SH
6120 28492 MT
(Since Kermit uses the standard NetBIOS interrupt 5CH interface, it will run on most LANS including)
29 W( IBM PC Net,)30 W
6120 29688 MT
(IBM Token Ring, AT&T STARLAN, and many others, and will run with Novell NetWare software.)
132 W( Presently,)513 W
6120 30884 MT
(Kermit knows some details)
23 W( of STARLAN and is able to send a BREAK across the net and can use ISN node names)24 W
6120 32080 MT
(with long path parts.  If STARLAN is not operating these features are not available.)
50 W( As)
349 W( more detailed information)49 W
6120 33276 MT
(becomes available special features of other networks can be built-in.)SH
6120 35668 MT
(The sequence of operations is similar for a client or server Kermit.  The SET PORT NET command is issued)
100 W( by)101 W
6120 36864 MT
(both. This command causes Kermit to validate the presence of the Interrupt 5CH interface, test for)
15 W( vendor additions,)14 W
6120 38060 MT
(test for a session already underway,)
146 W( establish and display a unique Kermit node name, but not make a network)147 W
6120 39256 MT
(session. The)
418 W( node name of the remote server)
84 W( machine follows the word NET; this is not to be confused with our)83 W
6120 40452 MT
(own node name discussed below.)SH
6120 42844 MT
(If an earlier LAN session is still active then the current remote node name field of the command is examined for)96 W
6120 44040 MT
(presence of a name. If a name is given then Kermit asks the user whether to RESUME the)
61 W( session or start a NEW)60 W
6120 45236 MT
(one. Starting)
392 W( a new one results in Kermit hanging up the old session \050HANGUP\051 before proceeding; resuming)
71 W( an)72 W
6120 46432 MT
(old one requires no further work at this point.)SH
6120 48824 MT
(When Kermit attaches to the network for the first time it needs to)
146 W( select a unique local node name so that two)145 W
6120 50020 MT
(systems can form a Session by using these names as addresses. Kermit uses a)
64 W( simple algorithm to make the name.)65 W
6120 51216 MT
(Kermit probes the network adapter board/software)
58 W( for the name of the local system.  If the name is present Kermit)57 W
6120 52412 MT
(makes its own name by appending a dot K \050.K\051 to the local)
10 W( name. If the local name is absent then Kermit first tries a)11 W
6120 53608 MT
(standard name of "mskermit.K"; should the network report that)
91 W( the name is not unique \050another node is using the)90 W
6120 54804 MT
(name\051 then the user is asked to choose a name. This process continues until a unique name is)
70 W( obtained or the user)71 W
6120 56000 MT
(decides to quit.  The)
11 W( final Kermit node name is reported on the screen; client Kermits will need to know the name of)10 W
6120 57196 MT
(the server Kermit.)SH
6120 59588 MT
(Communication across the LAN begins)
4 W( differently for client and server Kermits.  The server must be started first, by)5 W
6120 60784 MT
(simply placing a Kermit in server mode.  This results in a network Listen)
145 W( request being posted so that arriving)144 W
6120 61980 MT
(packets with the correct node name)
62 W( can be delivered to the server Kermit. Next, a client Kermit tries to connect to)63 W
6120 63176 MT
(the server by issuing a Kermit server command)
66 W( to the proper node name \050as given in the client's SET PORT NET)65 W
6120 64372 MT
(node command\051; REMOTE WHO is)
50 W( a satisfactory choice. The client machine actually issues a network Call to the)51 W
6120 65568 MT
(server's node name to make a connection)
78 W( and then follows it with data packets holding the Kermit server request.)77 W
6120 66764 MT
(The initial exchange of packets establishes a particular virtual circuit)
163 W( between the two nodes. If the connection)164 W
6120 67960 MT
(cannot be started then the client Kermit reports this fact to the user. The most common causes of a failure at this)94 W
6120 69156 MT
(point are:)SH
8120 70947 MT
(1.)SH
9120 XM
(The client Kermit did not specify the correct server Kermit node name \050spelling errors, wrong)
21 W( case for)22 W
ES
%%Page: 89 90
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.18.1. Kermit-MS/IBM on Local Area Networks)SH
10 /Times-Italic AF
51775 XM
(Page 89)SH
46800 50 8280 5709 UL
/Times-Roman SF
11280 7886 MT
(letters, missing dot K\051,)SH
10280 10096 MT
(2.)SH
11280 XM
(One or both machines are using a network adapter board which is not)
39 W( the first in the machine; Kermit)38 W
11280 11201 MT
(uses only the first board,)SH
10280 13411 MT
(3.)SH
11280 XM
(The LAN NetBIOS emulator does not fully support IBM standard virtual circuits,)SH
10280 15621 MT
(4.)SH
11280 XM
(The server machine was not started on the network before the client.)SH
8280 18013 MT
(A virtual circuit will be broken if a sender or receiver gets no response to a request within a short time)
SH( interval set by)1 W
8280 19209 MT
(the LAN hardware/software.  However, the LAN procedures within Kermit automatically)
163 W( reestablish the circuit)162 W
8280 20405 MT
(transparently to the user when new information)
95 W( is communicated; the last used remote node name is remembered)96 W
8280 21601 MT
(internally for this purpose.  This also means the server Kermit will respond to a connection from a)
3 W( new client Kermit)2 W
8280 22797 MT
(if the first client is idle for say a minute or so. A session can)
95 W( be terminated by the user by issuing the HANGUP)96 W
8280 23993 MT
(command or by exiting Kermit. A session will not be broken this way if the user on the client Kermit changes to a)53 W
8280 25189 MT
(regular serial port.)SH
8280 27581 MT
(Finally, when Kermit returns control)
141 W( to DOS, but not via the PUSH command, its unique Kermit node name is)142 W
8280 28777 MT
(removed from the network adapter board.)SH
8280 31169 MT
(During network communications Kermit uses network packets holding 256 bytes of data.  If both)
28 W( Kermits are given)27 W
8280 32365 MT
(the command)SH
/Courier SF
10680 34020 MT
(SET RECEIVE PACKET 1000)SH
/Times-Roman SF
8280 35737 MT
(then the network and Kermit will be used to best efficiency.  Experience has shown)
89 W( that the client Kermit should)90 W
8280 36933 MT
(have its TIMER OFF because the server may be asked to do an operation)
38 W( via DOS which does not complete before)37 W
8280 38129 MT
(the client side would timeout. An)
20 W( observation of some token passing networks indicates that Kermit packets slightly)21 W
8280 39325 MT
(longer than 256, 512, etc bytes)
41 W( result in marked slowing down because the remaining small piece is not sent until a)40 W
8280 40521 MT
(net timer expires.  Carrier sense \050Ethernet, STARLAN\051 boards seem to be more agressive and export small packets)46 W
8280 41717 MT
(immediately.)SH
8280 44109 MT
(Support for the Ungermann-Bass Net/One network, with its NET Command Interface \050NETCI\051, was)
38 W( contributed by)37 W
8280 45305 MT
(Renne Rehmann and Henrik)
45 W( Levkowetz.  In addition to the SET PORT NET [nodename] command, which may be)46 W
8280 46501 MT
(used to connect to other nodes on the net with the)
78 W( standard NetBIOS calls, NETCI provides the means to connect)77 W
8280 47697 MT
(directly to serial ports on the Ungermann-Bass network.  Use SET PORT UB-Net1)
88 W( and enter Connect mode. The)89 W
8280 48893 MT
(NETCI prompt,)248 W
/Courier SF
15359 XM
(>>)SH
/Times-Roman SF
(, should appear and all the usual NETCI commands \050connect, get,)
248 W( list, resume, abandon,)247 W
8280 50089 MT
(examine, identify, set, logout, quit\051 may be selected.  This line is disconnected when)
9 W( Kermit exits. However, the line)10 W
8280 51285 MT
(may be put on hold, exit Kermit, then later restart Kermit and give)
187 W( the SET PORT UB-Net1 and CONNECT)186 W
8280 52481 MT
(commands, and Resume the line.)SH
8280 54873 MT
(Some LANs intercept the normal serial port Bios interrupt)
86 W( 14H and masquerade as a modem. This service can be)87 W
8280 56069 MT
(engaged within Kermit by the SET PORT BIOSn command, where n is 1,)
97 W( 2, 3, or 4, as appropriate for the LAN)96 W
8280 57265 MT
(software. To work properly the LAN must support)
74 W( the same use of registers as the system Bios. Several X.25 and)75 W
8280 58461 MT
(TCP/IP packages have been operated successfully)
10 W( with the SET PORT BIOSn command. Since this channel appears)9 W
8280 59657 MT
(to Kermit)
187 W( as a simple software level serial port, Kermit provides neither interrupt driven i/o nor LAN session)188 W
8280 60853 MT
(support.)SH
8280 63245 MT
(Kermit can access files on the LAN file server via DOS even while using the LAN as)
69 W( a communications medium.)68 W
8280 64441 MT
(Network administrators should note)
44 W( this point because a user operating Kermit in Server mode can allow his or her)45 W
8280 65637 MT
(file server directories to be)
236 W( available to other network users also running Kermit, without additional security)235 W
8280 66833 MT
(checking of the other users.  The network drives visible to the Server)
145 W( Kermit can become devices available for)146 W
8280 68029 MT
(Kermit-to-Kermit file transfers, etc, unless the DISABLE command is used to confine access to)
20 W( the current disk and)19 W
8280 69225 MT
(directory. A corollary is when files are accessible to DOS commands they can become public.)SH
ES
%%Page: 90 91
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 90)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.18.2)SH
46800 50 6120 5709 UL
6120 8004 MT
(1.18.2. Use of Kermit-MS with External Device Drivers)SH
10 /Times-Roman AF
6120 9946 MT
(It is often)
119 W( desirable to supplement or modify the behavior of a DOS program by loading it with special external)120 W
6120 11142 MT
(device drivers.  These drivers may operate at either the DOS or BIOS)
62 W( level.  When Kermit-MS accesses the BIOS)61 W
6120 12338 MT
(directly, DOS-level drivers are)
135 W( ineffective.  When Kermit accesses the hardware directly, both the DOS and the)136 W
6120 13534 MT
(BIOS level drivers are bypassed.  Kermit-MS provides several mechanisms to allow)
4 W( these external drivers to operate)3 W
6120 14730 MT
(as intended.)SH
6120 17122 MT
(Here are a few examples:)SH
/Symbol SF
7910 19027 MT
(\267)SH
/Times-Roman SF
8620 XM
(IBM's)SH
/Courier SF
11566 XM
(ANSI.SYS)SH
/Times-Roman SF
16701 XM
(console driver operates at the DOS level.  It allows the major IBM PC keys)
85 W( to be)86 W
8620 20132 MT
(redefined, and)
55 W( also interprets selected ANSI-format escape sequences for screen control.  It works fine)54 W
8620 21237 MT
(at Kermit-MS command level, except)
162 W( SHOW KEY does not recognize strings assigned to keys via)163 W
/Courier SF
8620 22342 MT
(ANSI.SYS)SH
/Times-Roman SF
(, and)
323 W( fine at CONNECT level.  To use)322 W
/Courier SF
31900 XM
(ANSI.SYS)SH
/Times-Roman SF
37272 XM
(at CONNECT level, issue the)322 W
8620 23447 MT
(Kermit-MS commands SET KEY OFF \050to read)
3 W( keys via DOS\051 and SET TERMINAL NONE \050to display)4 W
8620 24552 MT
(characters through DOS\051.)SH
/Symbol SF
7910 26541 MT
(\267)SH
/Times-Roman SF
8620 XM
(Blind people often have speaking or Braille machines)
58 W( attached to their PCs.  DOS-level device drivers)57 W
8620 27646 MT
(are generally)
93 W( used to redirect screen output to these devices, which works OK at DOS or MS-Kermit)94 W
8620 28751 MT
(command level.  SET TERMINAL NONE will allow)
54 W( this redirection to take place during CONNECT.)53 W
8620 29856 MT
(But these devices also need to have the computer's output appear as)
43 W( a coherent stream of text, so users)44 W
8620 30961 MT
(should also)
42 W( take care to inform the remote host to format its output for a "dumb" or hardcopy terminal.)41 W
8620 32066 MT
(In addition, Kermit-MS' normal file transfer display does not mesh well with these devices, but)
12 W( that can)13 W
8620 33171 MT
(be remedied using SET DISPLAY SERIAL.)SH
/Symbol SF
7910 35160 MT
(\267)SH
/Times-Roman SF
8620 XM
(People with motor impairments)
91 W( may be using special keyboard replacements supported by DOS-level)90 W
8620 36265 MT
(device drivers.  As with)17 W
/Courier SF
18482 XM
(ANSI.SYS)SH
/Times-Roman SF
(, Kermit-MS may be directed to use such keyboard drivers with the)18 W
8620 37370 MT
(command SET KEY OFF.)SH
/Symbol SF
7910 39359 MT
(\267)SH
/Times-Roman SF
8620 XM
(Other keyboard drivers are available that work, like Kermit-MS, at BIOS)
175 W( level.  Examples include)174 W
8620 40464 MT
(ProKey and SuperKey.  These may be used at)
109 W( DOS or Kermit-MS command level as well as during)110 W
8620 41569 MT
(CONNECT.)SH
/Symbol SF
7910 43558 MT
(\267)SH
/Times-Roman SF
8620 XM
(Conceivably, drivers exist that allow DOS communication programs to emulate)
139 W( terminals other than)138 W
8620 44663 MT
(ANSI. You)
316 W( should be able)
33 W( to use them, if they exist, in conjunction with Kermit-MS by telling Kermit)34 W
8620 45768 MT
(to SET TERMINAL NONE, but the speed may not be high because of the intervening DOS calls.)SH
12 /Times-Bold AF
6120 48884 MT
(1.18.3. Kermit-MS/IBM Serial Port Information)SH
10 /Times-Roman AF
6120 50826 MT
(Kermit-MS for IBM PC's and compatibles does testing of serial ports before use.  This section)
31 W( describes those tests)30 W
6120 52022 MT
(so users may understand what Kermit does.)SH
6120 54414 MT
(When a serial port is selected by)
186 W( the SET PORT COMx command Kermit looks at low memory addresses in)187 W
6120 55610 MT
(segment 40H assigned to hold the base address of each)
106 W( COMx port; COM1 is in word 40:0H, COM2 is in word)105 W
6120 56806 MT
(40:2H, and so on. If the value in the appropriate word is binary zero)
17 W( then Kermit declares the port to be unavailable.)18 W
6120 58002 MT
(Otherwise, Kermit runs read-only \050i.e., safe\051 tests at the base address to validate the presence of an)
110 W( official 8250)109 W
6120 59198 MT
(UART chip.  If the tests fail Kermit indicates it will do i/o through the slow Bios pathway; some)
35 W( PC clones need to)36 W
6120 60394 MT
(work this)
44 W( way even though the Bios has speed problems even at 1200 baud.  Otherwise, interrupt driven i/o will be)43 W
6120 61590 MT
(done through the 8250 UART \050that is, very fast\051.)SH
6120 63982 MT
(There is a special case when a)
73 W( communications board is present, set for COM2, but a normal COM1 serial port is)74 W
6120 65178 MT
(not. Kermit)
250 W( detects this situation.)SH
6120 67570 MT
(Many machines now have more than two serial ports, but until)
50 W( recently there has been no standard about addresses)49 W
6120 68766 MT
(for COM3 and COM4.  PC DOS 3.30 does not assign them either because it)
21 W( is really a problem of the system ROM)22 W
6120 69962 MT
(Bios boot)
1 W( code run when the power is turned on.  However, Kermit will use COM3 and/or COM4 if the base address)SH
6120 71158 MT
(of a port is placed in low memory words 40:4H \050COM3\051 or)
140 W( 40:6H \050COM4\051; the tests described above are then)141 W
ES
%%Page: 91 92
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.18.3. Kermit-MS/IBM Serial Port Information)SH
10 /Times-Italic AF
51775 XM
(Page 91)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(carried out.  One restriction is that the)
125 W( Interrupt ReQuest number \050IRQ in the serial port board manual\051 must be)124 W
8280 9082 MT
(either IRQ4 or IRQ3.  Kermit attempts to locate)
19 W( which line is correct with a short test.  If the test is not successful it)20 W
8280 10278 MT
(uses the IRQ4 for COM3 \050and for COM1\051 and IRQ3 for COM4 \050and for COM2\051 on the PC/AT, and on the)
48 W( PS/2 it)47 W
8280 11474 MT
(uses IRQ3 for COM2, COM3, and COM4.  Check the board and its manual.)
71 W( DOS)
393 W( utility DEBUG can be used to)72 W
8280 12670 MT
(create a short program to insert the board's addresses into the segment)
36 W( 40H memory locations; a sample program is)35 W
8280 13866 MT
(given below.)SH
46800 50 8280 15857 UL
9280 18772 MT
(Serial Port)SH
20080 XM
(Address)SH
28720 XM
(IRQ Line)SH
40600 XM
(Conventions)SH
4250 50 9280 18972 UL
3277 50 20080 18972 UL
3805 50 28720 18972 UL
5056 50 40600 18972 UL
9280 19877 MT
(COM1)SH
20080 XM
(03F8H)SH
28720 XM
(4)SH
40600 XM
(IBM standard)SH
9280 20982 MT
(COM2)SH
20080 XM
(02F8H)SH
28720 XM
(3)SH
40600 XM
(IBM standard)SH
9280 22087 MT
(COM3)SH
20080 XM
(?)SH
28720 XM
(4 \0503 for PS/2\051)SH
40600 XM
(Board)SH
9280 23192 MT
(COM4)SH
20080 XM
(?)SH
28720 XM
(3)SH
40600 XM
(Board)SH
/Times-Bold SF
21499 24983 MT
(Table 1-13:)SH
/Times-Roman SF
26860 XM
(IBM PC/XT/AT Serial Port Numbers)SH
46800 50 8280 26793 UL
8280 28985 MT
(The addresses shown as query marks are to be found in the board's reference manual; values)
120 W( such as 2E8H and)121 W
8280 30181 MT
(2E0H would be common.  However, there is no standard for anything to do with COM3 and COM4 on non-PS/2's.)SH
8280 32573 MT
(Assuming that you have selected an address in harmony)
39 W( with the rest of the system \050good luck on that part\051, set the)38 W
8280 33769 MT
(board's switches or jumpers, and use DEBUG to insert the address\050es\051 in segment 40H memory.)
147 W( The)
546 W( example)148 W
8280 34965 MT
(below creates a small program named)131 W
/Courier SF
24451 XM
(SETCOM3.COM)SH
/Times-Roman SF
31432 XM
(to put address 02E8H into the memory word 40:04H)
131 W( for)130 W
8280 36161 MT
(COM3 and writes the program to drive A. \050Disregard the xxxx items below\051:)SH
/Courier SF
10680 37876 MT
(A> DEBUG)SH
/Times-Italic SF
29880 XM
(don't type these comments)SH
/Courier SF
10680 38907 MT
(-n a:setcom3.com)SH
/Times-Italic SF
29880 XM
(sets name of output file)SH
/Courier SF
10680 39938 MT
(-a)SH
/Times-Italic SF
29880 XM
(assemble command)SH
/Courier SF
10680 40969 MT
(xxxx:100 mov ax,40)SH
/Times-Italic SF
29880 XM
(value 40h)SH
/Courier SF
10680 42000 MT
(xxxx:103 mov es,ax)SH
/Times-Italic SF
29880 XM
(put it into register es)SH
/Courier SF
10680 43031 MT
(xxxx:105 mov ah,02)SH
/Times-Italic SF
29880 XM
(the 02 part of 02E8H)SH
/Courier SF
10680 44062 MT
(xxxx:107 mov al,e8)SH
/Times-Italic SF
29880 XM
(the E8 part of same)SH
/Courier SF
10680 45093 MT
(xxxx:109 es:)SH
10680 46124 MT
(xxxx:10A mov [4],ax)SH
/Times-Italic SF
29880 XM
(store in 40:4 for com3 \050[6] for com4\051)SH
/Courier SF
10680 47155 MT
(xxxx:10D int 20)SH
/Times-Italic SF
29880 XM
(return to DOS)SH
/Courier SF
10680 48186 MT
(xxxx:10F)SH
/Times-Italic SF
29880 XM
(blank line to end assemble mode)SH
/Courier SF
10680 49217 MT
(-r cx)SH
/Times-Italic SF
29880 XM
(show contents of register cx)SH
/Courier SF
10680 50248 MT
(CX 0000)SH
10680 51279 MT
(: 0f)SH
/Times-Italic SF
29880 XM
(set register cx to write 0fh bytes)SH
/Courier SF
10680 52310 MT
(-w)SH
/Times-Italic SF
29880 XM
(write material to the disk file)SH
/Courier SF
10680 53341 MT
(-q)SH
/Times-Italic SF
29880 XM
(quit debug)SH
/Courier SF
10680 54372 MT
(A> DEBUG setcom3.com)SH
10680 55403 MT
(-u)SH
/Times-Italic SF
29880 XM
(unassemble to see if all is well)SH
/Courier SF
10680 56434 MT
(-q)SH
/Times-Italic SF
29880 XM
(quit debug)SH
/Times-Roman SF
8280 58151 MT
(Note, for COM4, use)157 W
/Courier SF
17629 XM
([6])SH
/Times-Roman SF
19836 XM
(above rather than)157 W
/Courier SF
27499 XM
([4])SH
/Times-Roman SF
(, and of course employ your board's port)
157 W( address in place of)158 W
8280 59347 MT
(02E8H \050check the manual\051.  Finally, try it:)SH
/Courier SF
10680 61062 MT
(A> setcom3)SH
/Times-Italic SF
29880 XM
(run the program)SH
/Courier SF
10680 62093 MT
(A> DEBUG)SH
/Times-Italic SF
29880 XM
(now see what's down there)SH
/Courier SF
10680 63124 MT
(-d 40:00)SH
/Times-Italic SF
29880 XM
(display bytes in seg 40H)SH
14880 64839 MT
(\050 Shows many bytes.  See yours?  Good. \051)SH
/Courier SF
10680 66494 MT
(-q)SH
10680 67525 MT
(A>)SH
/Times-Roman SF
8280 69917 MT
(A small side effect noted in)
31 W( practice is the first time the extra port is used there may be garbage from it.  Just return)30 W
8280 71113 MT
(to the)
17 W( Kermit prompt and try again, if necessary SET PORT to the other COM lines momentarily, all should be well)18 W
ES
%%Page: 92 93
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 92)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.18.3)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(the second time.)SH
6120 10278 MT
(More technical comments, for those with an interest.  When Kermit finishes with)
15 W( a port it disables interrupts for that)14 W
6120 11474 MT
(serial port)
70 W( and returns the IRQ signal line to its state found when Kermit started since many devices can share the)71 W
6120 12670 MT
(same Interrupt ReQuest line but only one)
2 W( device at a time can be active on it.  If you find that transmissions are good)1 W
6120 13866 MT
(but there is no reception)
80 W( then another device has stolen the IRQ; disable it or find a guru.  Kermit will work with)81 W
6120 15062 MT
(non-standard addresses for COM1 and COM2 but the IRQ's must)
5 W( be as in the table above.  Accessing a non-existent)4 W
6120 16258 MT
(port produces a message and all communications are discarded safely in the bit bucket.)SH
12 /Times-Bold AF
6120 19374 MT
(1.18.4. CTTY COMx for IBM Machines)SH
10 /Times-Roman AF
6120 21316 MT
(The DOS command)
327 W( CTTY COMx redirects the standard input and output from the keyboard and screen,)328 W
6120 22512 MT
(respectively, to the indicated communications channel.)
70 W( If)
388 W( a Kermit Server is operated this way, "through the back)69 W
6120 23708 MT
(port", then both DOS and Kermit can access the port hardware simultaneously; a deadlock)
214 W( develops on IBM)215 W
6120 24904 MT
(machines. The)
250 W( items below refer to only the IBM version of Kermit-MS.)SH
6120 27296 MT
(Kermit-MS/IBM version)
128 W( successfully resolves the deadlock in the following manner.  When Kermit requires the)127 W
6120 28492 MT
(serial port it also attaches itself to Interrupt 16H, the Bios RS232 serial port routine.)
64 W( Code)
380 W( within Kermit receives)65 W
6120 29688 MT
(the DOS serial port requests via Interrupt 14H)
60 W( and either passes the request to the Bios if the COM line is not that)59 W
6120 30884 MT
(used by Kermit or it handles the request internally for conflicting)
80 W( situations.  When the same port is used by both)81 W
6120 32080 MT
(DOS and Kermit, Kermit discards DOS output material \050typically a prompt, but could be)
46 W( the dreaded Abort, Retry,)45 W
6120 33276 MT
(Ignore message\051 and returns a success code)
19 W( to DOS, it returns an ascii Backspace code to DOS read requests \050this is)20 W
6120 34472 MT
(a key item to keep DOS complacent while Kermit communicates\051, and it returns reasonable status for)
10 W( modem status.)9 W
6120 35668 MT
(The interception ceases when Kermit releases)
75 W( the port, such as when the Kermit prompt is displayed, and this lets)76 W
6120 36864 MT
(DOS converse out the serial port.)SH
6120 39256 MT
(It is worth restating that a large number of programs bypass DOS to achieve higher performance.)
167 W( When)
583 W( such)166 W
6120 40452 MT
(programs are started through the back door they may still require input from the real keyboard and will)
176 W( hang,)177 W
6120 41648 MT
(waiting for it.  There)
45 W( is nothing to do about this situation except a\051 don't let it happen, b\051 contact the local operator)44 W
6120 42844 MT
(to push some keys.)SH
12 /Times-Bold AF
6120 45960 MT
(1.18.5. Screen Sizes and the EGA Board, IBM Versions)SH
10 /Times-Roman AF
6120 47902 MT
(Support has been included for Enhanced Graphics Adapter \050EGA\051 video display boards which can be configured for)16 W
6120 49098 MT
(other than the standard 80 columns by 25 lines, say 132 columns or 43 lines or other.  Several boards,)
94 W( the Tseng)93 W
6120 50294 MT
(Labs EVA \050also Orchid Designer\051 board with the)
143 W( 132 column kit installed, the ATI EGA Wonder, the Video 7)144 W
6120 51490 MT
(Deluxe and VGA, and the Everex EV-659 \050ega\051 and EV-673 \050vga\051, can be controlled directly by)
36 W( Kermit for 80/132)35 W
6120 52686 MT
(column changes.  Other boards need to be placed in the desired display mode by the user.  Kermit then adapts to)
19 W( the)20 W
6120 53882 MT
(settings if the board)
131 W( obeys standard rules for using the Bios EGA memory areas in segment 40H.  The Video-7)130 W
6120 55078 MT
(boards have been used successfully in all screen sizes, including 132 columns by 43 lines, with an NEC)
57 W( Multisync)58 W
6120 56274 MT
(monitor.)SH
6120 58666 MT
(The IBM EGA board has)
51 W( several noteworthy bugs which are now standards.  One is the cursor dots are not always)50 W
6120 59862 MT
(on the correct)
52 W( scan lines when the number of screen lines is other than 25.  Kermit-MS attempts to compensate for)53 W
6120 61058 MT
(this attribute.  Screen roll back space is fixed in)
137 W( size so there are fewer pages for more dense screens; standard)136 W
6120 62254 MT
(screens use an internal buffer, non-standard screens use)
19 W( a buffer plus video page 1.)20 W
/Courier SF
39772 XM
(ANSI.SYS)SH
/Times-Roman SF
44842 XM
(is hard coded for 25)20 W
6120 63450 MT
(line displays so all)
236 W( DOS i/o will eventually overwrite itself on line 25; the emulator does not use DOS i/o.)235 W
6120 64646 MT
(Commercial replacements for)SH
/Courier SF
18256 XM
(ANSI.SYS)SH
/Times-Roman SF
23306 XM
(should be able to use all screen lines.)SH
6120 67038 MT
(Screen dumps work correctly if done with)
4 W( Kermit commands.  DOS PrintScreen may or may not, depending on your)5 W
6120 68234 MT
(EGA board. Graphics dumps are not managed by Kermit.)SH
6120 70626 MT
(When the VT102 receives escape)
7 W( sequences to change between 80 and 132 column modes the screen is reset and the)6 W
6120 71822 MT
(ATI EGA Wonder,)
128 W( or Everex EV-659 \050EGA\051 or EV-673 \050vga\051, Tseng Labs Multipak \050and Orchid Designer\051, or)129 W
ES
%%Page: 93 94
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(1.18.5. Screen Sizes and the EGA Board, IBM Versions)SH
10 /Times-Italic AF
51775 XM
(Page 93)SH
46800 50 8280 5709 UL
/Times-Roman SF
8280 7886 MT
(Video 7 Vega or VGA board is)
30 W( asked to change modes \050but only if that board is present\051; other display adapters are)29 W
8280 9082 MT
(left in their current state.)
8 W( Users)
268 W( of Tseng boards must run the Tseng BIGSCR /R:25 program before starting Kermit.)9 W
8280 10278 MT
(The right margin is enforced strongly so a board)
163 W( in 132 column mode will not display material to the right of)162 W
8280 11474 MT
(column 80 if the emulator is in 80 column mode.  Similarly, material to the right of column)
64 W( 80 is not preserved in)65 W
8280 12670 MT
(the emulator if the display adapter is operating)
141 W( in 80 column mode; real VT102s keep that invisible material in)140 W
8280 13866 MT
(hardware memory whereas the emulator does not.)SH
8280 16258 MT
(Reference is made to line 25 in the emulator; this is normally the status/mode line in Kermit.)
72 W( Real)
395 W( VT102's have)73 W
8280 17454 MT
(only 24 line displays.  If the display adapter is set for)
96 W( a different number of lines per screen then the 25th line is)95 W
8280 18650 MT
(interpreted to mean the bottom display adapter line, such as line 43.  Should the)
102 W( host access the status/mode line)103 W
8280 19846 MT
(then the line is declared to be disabled \050same as SET MODE OFF\051 so that Kermit's own status information does not)18 W
8280 21042 MT
(overwrite the host's when the screen is restored.  Toggling a disabled mode line has no effect; only SET MODE ON)14 W
8280 22238 MT
(will enable it again.  The Heath-19 terminal has the)
50 W( unusual feature that disabling the mode line)49 W
/Courier SF
47672 XM
(\050ESC y 1\051)49 W
/Times-Roman SF
53469 XM
(also)SH
8280 23434 MT
(clears it.)SH
12 /Times-Bold AF
8280 26550 MT
(1.18.6. Kermit-MS/IBM Printer Control)SH
10 /Times-Roman AF
8280 28492 MT
(The IBM PC MS-Kermit VT102 terminal emulator also supports full transparent printing of 8-bit binary bytes.)
21 W( The)294 W
8280 29688 MT
(escape sequence ``)20 W
/Courier SF
(ESC [ 5 i)20 W
/Times-Roman SF
('' turns on transparent printing, in which all further 8-bit)
20 W( characters are sent directly)19 W
8280 30884 MT
(to the printer, bypassing the SET TRANSLATION INPUT filter, and are)
9 W( not shown on the screen.  Escape sequence)10 W
8280 32080 MT
(``)SH
/Courier SF
(ESC [ 4 i)70 W
/Times-Roman SF
('' turns off transparent printing and the escape sequence is not sent to)
70 W( the printer.  Non-transparent)69 W
8280 33276 MT
(printing is controlled by the ``)209 W
/Courier SF
(ESC [ ? 5 i)209 W
/Times-Roman SF
('' and ``)209 W
/Courier SF
(ESC [ ?)
209 W( 4 i)210 W
/Times-Roman SF
('' sequences.  Such printing simply)210 W
8280 34472 MT
(duplicates text intended for the screen, excluding escape sequences.  The text also appears on the screen.)SH
8280 36864 MT
(Kermit-MS accesses the system printer through DOS calls several)
22 W( ways; neither the Bios nor the hardware are used.)21 W
8280 38060 MT
(Files directed to the printer by the SET DESTINATION PRINTER)
35 W( command are written by opening a file with the)36 W
8280 39256 MT
(name PRN \050DOS's name for the system printer\051)
72 W( and writing to it the same as to a disk file; DOS provides limited)71 W
8280 40452 MT
(buffering. LOGging)
362 W( to)
56 W( device PRN works the same way, as can be noticed by the last line or so not being printed)57 W
8280 41648 MT
(until the log file is CLOSED.  DOS is used again while emulating a terminal in CONNECT mode.)
82 W( If)
413 W( the VT102)81 W
8280 42844 MT
(emulator found in the IBM PC is used for transparent or)
86 W( Controller printing, single characters are written to DOS)87 W
8280 44040 MT
(file handle 4, the DOS)
35 W( standard print device.  If the screen is echoed to the printer via the typical Control PrtSc key)34 W
8280 45236 MT
(combination, or equivalent, single characters are written by the DOS function 05H Printer Output)
6 W( call.  In both cases)7 W
8280 46432 MT
(of terminal emulation the printer's ready status is found by the DOS IOCTL 44H call.  Only the)
39 W( Control PrtSc case)38 W
8280 47628 MT
(results in the PRN message being displayed on the status line.)
49 W( Finally,)
349 W( the classical IBM PC Shift PrtSc command)50 W
8280 48824 MT
(to copy the whole screen to the printer is unknown to Kermit because the system Bios traps the key combination)
7 W( and)6 W
8280 50020 MT
(does not tell Kermit about it.)
35 W( If)
321 W( the Control P command is given to DOS before Kermit starts then again characters)36 W
8280 51216 MT
(are echoed by the system Bios without Kermit's knowledge; this situation can result in lost characters.)SH
8280 53608 MT
(Print spoolers generally operate by being told an existing filename)
33 W( and then in the background they steal cpu cycles)32 W
8280 54804 MT
(to read from disk and write to the printer.  The DOS PRINT command invokes such a spooler.  Although an active)45 W
8280 56000 MT
(Kermit does not feed these software programs directly the spooler and Kermit can)
164 W( compete for cpu cycles and)163 W
8280 57196 MT
(characters can be lost.  If a non-DOS resident program intercepts)
152 W( characters destined for the printer device and)153 W
8280 58392 MT
(spools them Kermit does not know about it and similar competion can occur.)SH
8280 60784 MT
(During file transfers printing is carefully sequenced to occur only when the)
215 W( local Kermit is in control of the)214 W
8280 61980 MT
(communications line so that a small pause will not result)
112 W( in missing characters arriving at the serial port.  When)113 W
8280 63176 MT
(terminal emulation is)
58 W( active then printing competes for cpu time with the serial port routines.  Generally, the serial)57 W
8280 64372 MT
(port wins such contests)
30 W( if the port is interrupt driven \050Generic Kermit is not interrupt driven, so beware\051.  However,)31 W
8280 65568 MT
(the printing itself)
157 W( can use enough cpu cycles to delay processing of characters to the screen and eventually the)156 W
8280 66764 MT
(receive buffer of the serial port fills to the high water mark and an XOFF flow control character is)
12 W( sent to the host to)13 W
8280 67960 MT
(suspend further transmissions until we send an XON.  If)
84 W( FLOW is NONE then expect lost characters at the serial)83 W
8280 69156 MT
(port. Experience)
376 W( with ordinary IBM PC's through 80386 machines at very high baud rates indicates no characters)64 W
8280 70352 MT
(are lost when FLOW is XON/XOFF.  However, it is possible on some machines for the printer to)
21 W( have priority over)20 W
8280 71548 MT
(the serial port, and hence to)
227 W( have lost characters, especially if a Terminate Stay Resident program intercepts)228 W
ES
%%Page: 94 95
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 94)SH
12 /Times-Bold AF
29085 XM
(Kermit User Guide: MS-DOS KERMIT 1.18.6)SH
46800 50 6120 5709 UL
10 /Times-Roman AF
6120 7886 MT
(characters destined for the printer and keeps interrupts turned off too long.)SH
ES
%%Page: 95 96
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(MS-DOS Kermit)SH
10 /Times-Italic AF
51775 XM
(Page 95)SH
46800 50 8280 5709 UL
16 /Times-Bold AF
8280 8272 MT
(Index)SH
8 /Times-Roman AF
12280 10429 MT
(-F Command)
SH( 8,)
400 W( 17)SH
31720 XM
(File Warning)
SH( 50)400 W
31720 11353 MT
(Flow Control)
SH( 38,)
400 W( 93)SH
12280 12277 MT
(.BOO Files)
SH( 70)400 W
12280 13201 MT
(.PIF Files)
SH( 10)400 W
31720 XM
(Generic MS-DOS Kermit)
SH( 43,)
400 W( 72)SH
31720 14125 MT
(German 49)400 W
12280 15049 MT
(132 Column Mode)
SH( 92)400 W
31720 XM
(GOTO Command)
SH( 58)400 W
31720 15973 MT
(Graphics 23,)
400 W( 83)SH
12280 16897 MT
(7171 60)400 W
31720 XM
(Graphics Screen Capture)
SH( 85)400 W
12280 18745 MT
(Alarm 35)400 W
31720 XM
(Handicapped 37,)
400 W( 90)SH
12280 19669 MT
(ANSI Printer Control)
SH( 93)400 W
31720 XM
(Handshake 39)400 W
12280 20593 MT
(ANSI.SYS 14,)
400 W( 17, 41, 44, 47, 67, 92)SH
31720 XM
(HANGUP 21)400 W
12280 21517 MT
(ASCII 13)400 W
31720 XM
(Heath/Zenith-19 Emulation)
SH( 74)400 W
12280 22441 MT
(ASSIGN 54)400 W
31720 XM
(Hebrew 65)400 W
12280 23365 MT
(Asynchronous Communication Server)
SH( 10)400 W
31720 XM
(Help 12)400 W
12280 24289 MT
(ATI EGA Wonder)
SH( 92)400 W
12280 25213 MT
(Attributes 25,)
400 W( 36)SH
31720 XM
(IBM Mainframe)
SH( 60)400 W
12280 26137 MT
(Autoanswer Modem)
SH( 30)400 W
31720 XM
(IBM PC Family)
SH( 1)400 W
12280 27061 MT
(AUTOEXEC.BAT 10)400 W
31720 XM
(IF Command)
SH( 58)400 W
31720 27985 MT
(Incomplete File Disposition)
SH( 27,)
400 W( 39)SH
12280 28909 MT
(Backslash Number Format)
SH( 12)400 W
31720 XM
(INPUT Command)
SH( 39,)
400 W( 43, 55)SH
12280 29833 MT
(Batch Operation of Kermit-MS)
SH( 9)400 W
31720 XM
(International Characters)
SH( 62)400 W
12280 30757 MT
(Baud Rate)
SH( 4,)
400 W( 47)SH
12280 31681 MT
(Bell 36)400 W
31720 XM
(Japanese 4)400 W
12280 32605 MT
(Binary Files)
SH( 6,)
400 W( 25, 43)SH
12280 33529 MT
(BIOS 87)400 W
31720 XM
(Kana, Kanji)
SH( 4)400 W
12280 34453 MT
(Bios LAN)
SH( 89)400 W
31720 XM
(Key Redefinition)
SH( 39)400 W
12280 35377 MT
(Blind 21,)
400 W( 37, 90)SH
12280 36301 MT
(Block Check)
SH( 36)400 W
31720 XM
(Labels 58)400 W
12280 37225 MT
(BOO Files)
SH( 70)400 W
31720 XM
(LAN 10)400 W
12280 38149 MT
(Bootstrapping MS-DOS Kermit)
SH( 70)400 W
31720 XM
(Local Area Network)
SH( 10,)
400 W( 31)SH
31720 39073 MT
(Local Echo)
SH( 20,)
400 W( 41)SH
12280 39997 MT
(Cancelling a File Transfer)
SH( 26,)
400 W( 27)SH
31720 XM
(LOG Command)
SH( 34)400 W
12280 40921 MT
(Checksum 36)400 W
31720 XM
(LOG PACKETS)
SH( 34)400 W
12280 41845 MT
(CLOSE Command)
SH( 34)400 W
31720 XM
(LOG SESSION)
SH( 29)400 W
12280 42769 MT
(Code Page)
SH( 66,)
400 W( 76)SH
31720 XM
(LOG TRANSACTION)
SH( 34)400 W
12280 43693 MT
(COM3 and COM4)
SH( 43,)
400 W( 90)SH
31720 XM
(Long Packets)
SH( 45)400 W
12280 44617 MT
(Command Files)
SH( 47)400 W
12280 45541 MT
(Command Macro)
SH( 51)400 W
31720 XM
(Macro 51)400 W
12280 46465 MT
(COMMENT Command)
SH( 17)400 W
31720 XM
(MAIL Command)
SH( 33)400 W
12280 47389 MT
(Completion 8,)
400 W( 12)SH
31720 XM
(MASM 72)400 W
12280 48313 MT
(Concurrent DOS)
SH( 10)400 W
31720 XM
(Menu 12)400 W
12280 49237 MT
(CONFIG.SYS 9)400 W
31720 XM
(Mode Line)
SH( 22,)
400 W( 42)SH
12280 50161 MT
(CONNECT Command)
SH( 19)400 W
31720 XM
(Modem 5,)
400 W( 15, 20, 21, 51, 59)SH
12280 51085 MT
(Control-X,-Z 26,)
400 W( 27)SH
31720 XM
(MS-DOS 1)400 W
12280 52009 MT
(Count 36)400 W
31720 XM
(MS-Windows 2,)
400 W( 10)SH
12280 52933 MT
(CRC 36)400 W
31720 XM
(MSKERMIT.INI 7,)
400 W( 15, 40, 47, 60)SH
12280 53857 MT
(CTTY 9,)
400 W( 45, 66)SH
31720 54781 MT
(National Characters)
SH( 12,)
400 W( 19, 37)SH
12280 55705 MT
(Debugging 36)400 W
31720 XM
(NEC APC3)
SH( 67)400 W
12280 56629 MT
(DEFINE 51)400 W
31720 XM
(NetBIOS 10,)
400 W( 44, 88)SH
12280 57553 MT
(DG/1 2)400 W
31720 XM
(Network 10)400 W
12280 58477 MT
(DIAL Command)
SH( 53)400 W
31720 XM
(Network security)
SH( 31,)
400 W( 89)SH
12280 59401 MT
(Display, File Transfer)
SH( 37,)
400 W( 90)SH
31720 XM
(Novell 88)400 W
12280 60325 MT
(DO Command)
SH( 52)400 W
12280 61249 MT
(Dump Screen)
SH( 22,)
400 W( 38)SH
31720 XM
(OUTPUT Command)
SH( 56)400 W
12280 63097 MT
(ECHO Command)
SH( 17)400 W
31720 XM
(Parity 29,)
400 W( 43, 56)SH
12280 64021 MT
(EGA Boards)
SH( 92)400 W
31720 XM
(PATH 5,)
400 W( 8, 10, 15, 17, 27)SH
12280 64945 MT
(Eighth-Bit Prefix)
SH( 43)400 W
31720 XM
(PC-DOS 1)400 W
12280 65869 MT
(End Of File)
SH( 6,)
400 W( 38)SH
31720 XM
(POP 16)400 W
12280 66793 MT
(ERRORLEVEL 9,)
400 W( 38)SH
31720 XM
(POP Command)
SH( 59)400 W
12280 67717 MT
(Escape Character for CONNECT)
SH( 19,)
400 W( 21, 38)SH
31720 XM
(Printer 19,)
400 W( 22, 29, 37, 43, 93)SH
12280 68641 MT
(Everex EV-659)
SH( 92)400 W
31720 XM
(ProKey 41)400 W
12280 69565 MT
(EXEPACK 2)400 W
31720 XM
(Protocol Converter)
SH( 60)400 W
31720 70489 MT
(PUSH Command)
SH( 15)400 W
12280 71413 MT
(File Attributes)
SH( 25)400 W
ES
%%Page: 96 97
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page 96)SH
12 /Times-Bold AF
43052 XM
(Kermit User Guide)SH
46800 50 6120 5709 UL
8 /Times-Roman AF
10120 7749 MT
(Rainbow 66,)
400 W( 67)SH
10120 8673 MT
(RAM Disk)
SH( 9,)
400 W( 25)SH
10120 9597 MT
(RECEIVE Command)
SH( 27)400 W
10120 10521 MT
(Redirected input and output)
SH( 9)400 W
10120 11445 MT
(REINPUT Command)
SH( 56)400 W
10120 12369 MT
(Rollback 22)400 W
10120 14217 MT
(Screen Dump)
SH( 22,)
400 W( 38)SH
10120 15141 MT
(Screen Rollback)
SH( 22)400 W
10120 16065 MT
(Script Files)
SH( 54)400 W
10120 16989 MT
(Security 31,)
400 W( 89)SH
10120 17913 MT
(SEND Command)
SH( 26)400 W
10120 18837 MT
(Server 30)400 W
10120 19761 MT
(SET PORT NETBIOS)
SH( 10,)
400 W( 44)SH
10120 20685 MT
(SET PORT UB-NET1)
SH( 10,)
400 W( 44)SH
10120 21609 MT
(SET TERMINAL)
SH( 47)400 W
10120 22533 MT
(Speaking Device)
SH( 37)400 W
10120 23457 MT
(Speed 47)400 W
10120 24381 MT
(Starlan 88)400 W
10120 25305 MT
(STAY 8)400 W
10120 26229 MT
(STAY Command)
SH( 15)400 W
10120 27153 MT
(STOP 16)400 W
10120 28077 MT
(STOP Command)
SH( 59)400 W
10120 29001 MT
(SuperKey 41)400 W
10120 30849 MT
(Tab Stops)
SH( 49)400 W
10120 31773 MT
(Tektronix 23,)
400 W( 47, 83)SH
10120 32697 MT
(Telenet 43)400 W
10120 33621 MT
(Terminal Emulation)
SH( 2,)
400 W( 21)SH
10120 34545 MT
(Terminal Settings)
SH( 47)400 W
10120 35469 MT
(Timeout 49)400 W
10120 36393 MT
(Token Ring)
SH( 88)400 W
10120 37317 MT
(TopView 2)400 W
10120 38241 MT
(TRANSLATION 49)400 W
10120 39165 MT
(TRANSMIT 28)400 W
10120 40089 MT
(Tseng Labs Multipak)
SH( 92)400 W
10120 41937 MT
(UART 2)400 W
10120 42861 MT
(Ungermann Bass Net One LAN)
SH( 89)400 W
10120 43785 MT
(Ungermann-Bass 10,)
400 W( 89)SH
10120 45633 MT
(Variables, substitution)
SH( 52)400 W
10120 46557 MT
(VERSION 14)400 W
10120 47481 MT
(Video 7 Vega)
SH( 92)400 W
10120 48405 MT
(VT102 Emulation)
SH( 2,)
400 W( 47, 74)SH
10120 49329 MT
(VT52 Emulation)
SH( 74)400 W
10120 51177 MT
(Warning 50)400 W
10120 52101 MT
(Wildcard 6,)
400 W( 26)SH
10120 53949 MT
(Xmodem 70)400 W
10120 54873 MT
(XON/XOFF 2,)
400 W( 28, 38)SH
10120 55797 MT
(XSEND 27)400 W
ES
%%Page: i 98
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(MS-DOS Kermit)SH
10 /Times-Italic AF
52497 XM
(Page i)SH
46800 50 8280 5709 UL
16 /Times-Bold AF
25591 8272 MT
(Table of Contents)SH
12 SS 
8280 10684 MT
(1. MS-DOS KERMIT)SH
54480 XM
(1)SH
10 SS 
9780 12074 MT
(1.1. System Requirements)SH
54580 XM
(2)SH
9780 13154 MT
(1.2. History)SH
54580 XM
(2)SH
9780 14234 MT
(1.3. Using MS-Kermit)SH
54580 XM
(4)SH
9780 15314 MT
(1.4. The MS-DOS File System)SH
54580 XM
(5)SH
11780 16394 MT
(1.4.1. File Specifications)SH
54580 XM
(5)SH
11780 17474 MT
(1.4.2. File Formats)SH
54580 XM
(6)SH
9780 18554 MT
(1.5. Program Setup and Invocation)SH
54580 XM
(7)SH
9780 19634 MT
(1.6. Kermit-MS Commands)SH
54080 XM
(11)SH
11780 20714 MT
(1.6.1. Program Management Commands)SH
54080 XM
(14)SH
11780 21794 MT
(1.6.2. Local File Management Commands)SH
54080 XM
(17)SH
11780 22874 MT
(1.6.3. COMMANDS FOR TERMINAL CONNECTION)SH
54080 XM
(19)SH
11780 23954 MT
(1.6.4. COMMANDS FOR FILE TRANSFER)SH
54080 XM
(25)SH
11780 25034 MT
(1.6.5. Hints for Transferring Large Files)SH
54080 XM
(28)SH
11780 26114 MT
(1.6.6. Commands for Raw Uploading and Downloading)SH
54080 XM
(28)SH
11780 27194 MT
(1.6.7. Kermit Server Commands)SH
54080 XM
(30)SH
11780 28274 MT
(1.6.8. Commands for Controlling Remote Kermit Servers)SH
54080 XM
(32)SH
11780 29354 MT
(1.6.9. The LOG and CLOSE Commands)SH
54080 XM
(34)SH
11780 30434 MT
(1.6.10. The SET Command)SH
54080 XM
(35)SH
11780 31514 MT
(1.6.11. The STATUS and SHOW Commands)SH
54080 XM
(50)SH
9780 32594 MT
(1.7. Macros)SH
54080 XM
(51)SH
9780 33674 MT
(1.8. SCRIPTS)SH
54080 XM
(54)SH
9780 34754 MT
(1.9. Initialization Files Revisited)SH
54080 XM
(60)SH
9780 35834 MT
(1.10. International Character Sets)SH
54080 XM
(62)SH
9780 36914 MT
(1.11. MS-Kermit Features for Different Systems)SH
54080 XM
(66)SH
9780 37994 MT
(1.12. Compatibility with Older Versions of MS-DOS Kermit)SH
54080 XM
(69)SH
9780 39074 MT
(1.13. What's Missing)SH
54080 XM
(69)SH
9780 40154 MT
(1.14. Installation of Kermit-MS)SH
54080 XM
(70)SH
9780 41234 MT
(1.15. Program Organization)SH
54080 XM
(71)SH
9780 42314 MT
(1.16. Bringing Kermit to New Systems)SH
54080 XM
(72)SH
9780 43394 MT
(1.17. Kermit-MS VT102 Terminal Emulator Technical Summary)SH
54080 XM
(74)SH
11780 44474 MT
(1.17.1. Treatment of Inbound Characters During Terminal Emulation)SH
54080 XM
(74)SH
11780 45554 MT
(1.17.2. Keyboard Layout and Characters Sent)SH
54080 XM
(77)SH
11780 46634 MT
(1.17.3. Responses To Characters Received By the Terminal Emulator)SH
54080 XM
(79)SH
11780 47714 MT
(1.17.4. DEC VT102 Functions While in VT52 Mode)SH
54080 XM
(81)SH
11780 48794 MT
(1.17.5. Heath-19 Functions While in Non-ANSI Mode)SH
54080 XM
(82)SH
11780 49874 MT
(1.17.6. Heath-19 Functions While in ANSI Mode)SH
54080 XM
(83)SH
11780 50954 MT
(1.17.7. Tektronix 4010/4014 Graphics Terminal Functions)SH
54080 XM
(83)SH
9780 52034 MT
(1.18. IBM PC Kermit Technical Summaries)SH
54080 XM
(87)SH
11780 53114 MT
(1.18.1. Kermit-MS/IBM on Local Area Networks)SH
54080 XM
(88)SH
11780 54194 MT
(1.18.2. Use of Kermit-MS with External Device Drivers)SH
54080 XM
(90)SH
11780 55274 MT
(1.18.3. Kermit-MS/IBM Serial Port Information)SH
54080 XM
(90)SH
11780 56354 MT
(1.18.4. CTTY COMx for IBM Machines)SH
54080 XM
(92)SH
11780 57434 MT
(1.18.5. Screen Sizes and the EGA Board, IBM Versions)SH
54080 XM
(92)SH
11780 58514 MT
(1.18.6. Kermit-MS/IBM Printer Control)SH
54080 XM
(93)SH
12 SS 
8280 60038 MT
(Index)SH
53880 XM
(95)SH
ES
%%Page: ii 99
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page ii)SH
12 /Times-Bold AF
43052 XM
(Kermit User Guide)SH
46800 50 6120 5709 UL
ES
%%Page: iii 100
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(MS-DOS Kermit)SH
10 /Times-Italic AF
51941 XM
(Page iii)SH
46800 50 8280 5709 UL
16 /Times-Bold AF
26702 8272 MT
(List of Figures)SH
10 SS 
9780 10550 MT
(Figure 1-1:)
SH( MS-Kermit)
500 W( File Transfer Display Screen)SH
54080 XM
(25)SH
9780 11630 MT
(Figure 1-2:)
SH( MS-Kermit)
500 W( Script for Logging In)SH
54080 XM
(60)SH
9780 12710 MT
(Figure 1-3:)
SH( MS-Kermit)
500 W( Script for More Control of a Hayes 2400 bps Modem)SH
54080 XM
(61)SH
9780 13790 MT
(Figure 1-4:)
SH( MS-DOS)
500 W( Batch File Invoking Kermit to Send VAX Mail)SH
54080 XM
(62)SH
9780 14870 MT
(Figure 1-5:)
SH( MS-Kermit)
500 W( Script for Logging into VAX and Sending Mail)SH
54080 XM
(63)SH
9780 15950 MT
(Figure 1-6:)
SH( An)
500 W( Advanced MS-Kermit Initialization File)SH
54080 XM
(64)SH
ES
%%Page: iv 101
BS
0 SI
10 /Times-Italic AF
6120 4404 MT
(Page iv)SH
12 /Times-Bold AF
43052 XM
(Kermit User Guide)SH
46800 50 6120 5709 UL
ES
%%Page: v 102
BS
0 SI
12 /Times-Bold AF
8280 4404 MT
(MS-DOS Kermit)SH
10 /Times-Italic AF
52331 XM
(Page v)SH
46800 50 8280 5709 UL
16 /Times-Bold AF
27013 8272 MT
(List of Tables)SH
10 SS 
9780 10550 MT
(Table 1-1:)
SH( MS-DOS)
500 W( Kermit Backslash Codes)SH
54080 XM
(12)SH
9780 11630 MT
(Table 1-2:)
SH( The)
500 W( US ASCII Character Set \050ANSI X3.4-1977\051)SH
54080 XM
(13)SH
9780 12710 MT
(Table 1-3:)
SH( RS-232-C)
500 W( Modem Signals)SH
54080 XM
(20)SH
9780 13790 MT
(Table 1-4:)
SH( Kermit-MS)
500 W( Single-Character CONNECT Escape Commands)SH
54080 XM
(21)SH
9780 14870 MT
(Table 1-5:)
SH( Adapters)
500 W( Supported by IBM PC MS-Kermit for Tektronix Emulation)SH
54080 XM
(24)SH
9780 15950 MT
(Table 1-6:)
SH( Kermit-MS)
500 W( Verbs for the IBM PC Family)SH
54080 XM
(42)SH
9780 17030 MT
(Table 1-7:)
SH( Kermit-MS)
500 W( Terminal Emulation Options)SH
54080 XM
(66)SH
9780 18110 MT
(Table 1-8:)
SH( Kermit-MS)
500 W( Screen Scroll Keys)SH
54080 XM
(67)SH
9780 19190 MT
(Table 1-9:)
SH( Kermit-MS)
500 W( Verbs for the DEC Rainbow)SH
54080 XM
(68)SH
9780 20270 MT
(Table 1-10:)
SH( Response)
500 W( of MS-Kermit Tektronix Emulator to Received Characters)SH
54080 XM
(83)SH
9780 21350 MT
(Table 1-11:)
SH( Tektronix)
500 W( Dot-Drawing Commands)SH
54080 XM
(85)SH
9780 22430 MT
(Table 1-12:)
SH( MS-Kermit)
500 W( Tektronix Coordinate Interpretation)SH
54080 XM
(86)SH
9780 23510 MT
(Table 1-13:)
SH( IBM)
500 W( PC/XT/AT Serial Port Numbers)SH
54080 XM
(91)SH
ES
%%Trailer
%%Pages: 102 
%%DocumentFonts: Times-Roman Times-Bold Times-Italic Courier Symbol