home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / c64cross / c64ker.txt < prev    next >
Text File  |  2020-01-01  |  85KB  |  3,107 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.             Commodore 64/128 Kermit User's Guide
  22.  
  23.                         Version 2.2
  24.  
  25. Electronic Version -- Copyright 1988  Dr. Evil Laboratories
  26.  
  27.                     All rights reserved
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.                   Commodore 64/128 Kermit
  49.      Version 2.0, 2.1, & 2.2 enhancements by Ray Moody
  50.              User's Guide v2.2 by Kent Sullivan
  51.  
  52.                        Kent Sullivan
  53.                      16611 NE 26th St.
  54.                      Bellevue, WA 98008
  55.  
  56.  
  57.  
  58.                       Rev. 4 - 1/1/92
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.                                                            i
  72.  
  73.  
  74. Summary: C-64/128 Kermit Version 2.2
  75.  
  76.  
  77.  
  78.   What Kermit Is
  79.  
  80.  
  81. The term "Kermit" denotes both a specific protocol for
  82. transferring files between computers AND those computer pro-
  83. grams which can do the transferring.  Kermit as a protocol
  84. is often called the Kermit Protocol to distinguish it from
  85. an actual computer program.  Various versions of the Kermit
  86. program for different computers also have longer, official
  87. names to distinguish themselves.  Commodore 64/128 Kermit is
  88. a public-domain telecommunications program that utilizes the
  89. Kermit protocol for file transfers.
  90.  
  91. C-64/128 Kermit was originally known as Kermit-65.  Begin-
  92. ning with version 2.0, the name was officially changed to
  93. Commodore 64/128 Kermit to reflect the fact that support for
  94. the C-128's 80 column screen had been added.
  95.  
  96. The "65" in Kermit-65 signifies that the Commodore 64 has as
  97. its CPU the 6510A, a member of the 6500 series family, which
  98. also includes the Apple II.  In fact, Kermit for the Commo-
  99. dore 64/128 was originally translated from Apple II Kermit.
  100.  
  101.  
  102.   Recent Improvements
  103.  
  104.  
  105. The following describes the improvements made to Kermit for
  106. version 2.2.  If you are a first-time user of Kermit, you
  107. may want to move directly to the Introduction section.  As
  108. this manual was originally intended to accompany v2.1
  109. (released in May, 1988), also included is a summary of v2.1
  110. improvements.
  111.  
  112. V2.2 really only has one significant change from v2.1: reli-
  113. able communication at 2400 bps is now possible (but ONLY
  114. when using the C-128 screen driver).  There was quite a bit
  115. of interest in this feature so we decided it was worth
  116. adding right away, before any of the other scheduled
  117. additions/fixes listed in the Future Plans for Kermit sec-
  118. tion of Appendix A.
  119.  
  120. The main improvements to v2.1 are as follows:
  121.  
  122.  + Enhanced DEC VT-100 terminal emulation with support for
  123.    the VT-100 keypad.  Kermit should now work fine with
  124.    operating systems such as VMS.  V2.1 has some VT-102
  125.    features added as well: Insert/Delete Line/Character.
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137. ii
  138.  
  139.  
  140.  + Limited Tektronix 4010 graphics terminal emulation.  Ker-
  141.    mit can plot both graphics and text with a resolution of
  142.    320 x 200 (C-64) or 640 x 200 (C-128).
  143.  
  144.  + Commodore 128 grey key and numeric keypad support.  The
  145.    grey keys and the numeric keypad, not normally accessible
  146.    on a C-128 in C-64 mode, are active within Kermit.
  147.  
  148.  + A special file-type for transferring C Power (now sold as
  149.    Power C) source code files.  You can now download C
  150.    source code ASCII files as well as upload C Power source
  151.    files.  All necessary character translations are handled
  152.    automatically.
  153.  
  154.  + A screen driver for the Batteries Included BI-80 80
  155.    column card.  This device gives a display as nice as the
  156.    Commodore 128's 80-column hardware, but lacks many attri-
  157.    butes such as blinking and bold.
  158.  
  159.  
  160. In addition to these major improvements, many smaller
  161. changes were made.  Several bugs were squashed that affected
  162. VT-100 emulation, the STATUS command, and other things.  For
  163. related information, please see Appendix A: Implementation
  164. Notes.
  165.  
  166.  
  167.   Hall of Fame
  168.  
  169.  
  170. Many people have worked on Commodore 64/128 Kermit since its
  171. first appearance in March, 1984, continually adding improve-
  172. ments and fixing bugs.  Below is a list of the people who
  173. have worked on the C-64/128 Kermit project over the years.
  174.  
  175. Programming:
  176.  
  177.     David Dermott
  178.     Eric Lavitsky
  179.     Michael Marchiondo
  180.     Ray Moody
  181.     Frank Prindle
  182.  
  183. Documentation:
  184.  
  185.     Eric Lavitsky
  186.     Kent Sullivan
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203. C-64/128 Kermit User's Guide                        Page iii
  204.  
  205.  
  206.                      Table of Contents
  207.  
  208.  
  209. Summary: C-64/128 Kermit Version 2.2 ..................    i
  210.   What Kermit Is ......................................    i
  211.   Recent Improvements .................................    i
  212.   Hall of Fame ........................................   ii
  213. Introduction: The Kermit User's Guide .................    1
  214.   What You Need to Know ...............................    1
  215.   Recommended Texts ...................................    1
  216.   Kermit Availability .................................    2
  217.   Syntax of Commands ..................................    2
  218. Tutorial: Introduction to Kermit ......................    3
  219.   Booting Kermit ......................................    3
  220.   Choosing a Screen Driver ............................    3
  221.   The Three Modes of Kermit ...........................    4
  222.     Command Mode ......................................    4
  223.     Connect Mode ......................................    6
  224.     File-Transfer Mode ................................    7
  225. Troubleshooting: If You Have Problems .................   10
  226. Emulation: Terminal-Type Features .....................   11
  227.   VT-100 Emulation ....................................   11
  228.   VT-102 Emulation ....................................   12
  229.   VT-52 Emulation .....................................   12
  230.   Tektronix 4010 Emulation ............................   13
  231.     Alpha Text Mode ...................................   13
  232.     Point Plot Mode ...................................   14
  233.     Vector Plot Mode ..................................   14
  234. Displays: Screen Driver Comparison ....................   15
  235.   C-128 80 Column Driver ..............................   15
  236.   C-64 80 Column Driver ...............................   15
  237.   Batteries Included BI-80 Driver (Standard) ..........   15
  238.   Batteries Included BI-80 Driver (Custom) ............   16
  239.   C-64 40-Column Driver ...............................   16
  240. File Transfers: Transferring Files ....................   17
  241.   Choosing the Correct File-type ......................   17
  242.     ASCII File-type ...................................   17
  243.     Binary File-type ..................................   17
  244.     C-Power File-type .................................   18
  245.     PETSCII File-type .................................   18
  246.     Script File-type ..................................   18
  247.   Setting the File-byte-size ..........................   18
  248.   Using Eight-bit-quoting .............................   19
  249.   Special File-Transfer Mode Features .................   19
  250. Reference: Command Descriptions .......................   20
  251.   Command List ........................................   20
  252.   Command Summary .....................................   20
  253.     Bye ...............................................   20
  254.     Connect ...........................................   20
  255.     Directory .........................................   21
  256.     Disk ..............................................   21
  257.     Exit ..............................................   22
  258.     Finish ............................................   22
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269. Page iv                         C-64/128 Kermit User's Guide
  270.  
  271.  
  272.     Get ...............................................   22
  273.     Quit ..............................................   22
  274.     Receive ...........................................   23
  275.     Restore ...........................................   23
  276.     Save ..............................................   23
  277.     Send ..............................................   24
  278.     Set ...............................................   24
  279.       Set Baud ........................................   24
  280.       Set Bold ........................................   25
  281.       General Notes on Color ..........................   25
  282.       Set Border ......................................   25
  283.       Set Character ...................................   26
  284.       Set Dark-background .............................   26
  285.       Set Debugging ...................................   26
  286.       Set Eight-bit-quoting ...........................   26
  287.       Set Escape ......................................   27
  288.       Set File-byte-size ..............................   27
  289.       Set File-type ...................................   27
  290.       Set File-warning ................................   28
  291.       Set Flow-control ................................   28
  292.       Set IBM .........................................   28
  293.       Set Light-background ............................   29
  294.       Set Local-echo ..................................   29
  295.       Set Parity ......................................   29
  296.       Set Receive .....................................   30
  297.         Set Receive Eight-bit-quote-char ..............   30
  298.         Set Receive End-of-line .......................   31
  299.         Set Receive Packet-length .....................   31
  300.         Set Receive Pad-char ..........................   31
  301.         Set Receive Padding ...........................   31
  302.         Set Receive Quote-char ........................   32
  303.         Set Receive Timeout ...........................   32
  304.       Set RS232-registers .............................   32
  305.       Set Screen-driver ...............................   33
  306.       Set Send ........................................   33
  307.       Set Terminal-emulation ..........................   34
  308.       Set Word-size ...................................   34
  309.     Show ..............................................   34
  310.     Status ............................................   35
  311. Appendix A: Implementation Notes ......................   36
  312.   Summary of Kermit Capabilities ......................   36
  313.   Known Restrictions ..................................   36
  314.   Future Plans for Kermit .............................   37
  315. Appendix B: Default Initialization Settings ...........   38
  316. Appendix C: Keyboard Layouts ..........................   39
  317.   Commodore 64 Map ....................................   39
  318.   Commodore 128 Map ...................................   40
  319. Appendix D: UNIX (TM) Termcap Settings ................   41
  320. Appendix E: BI-80 Replacement ROM Information .........   42
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335. C-64/128 Kermit User's Guide                          Page 1
  336.  
  337.  
  338. Introduction: The Kermit User's Guide
  339.  
  340.  
  341.  
  342.   What You Need to Know
  343.  
  344. This manual introduces Kermit to new users as well as pro-
  345. vides an organized reference for experienced users.  Some
  346. basic knowledge of computers is required to use Kermit.  New
  347. users should understand the basics of computers and telecom-
  348. munications.  Please see Recommended Texts below for a short
  349. list of books recommended for background knowledge.
  350.  
  351. Don't become frustrated if you have problems initially using
  352. Kermit.  Careful reading of this manual will clear up most
  353. problems that you might have.  If you have questions, don't
  354. be afraid to ask around.  Kermit is a very popular program,
  355. so many people know how to use it.  You may direct any ques-
  356. tions to Ray or me at the address on the front of this
  357. manual as well.
  358.  
  359. This manual is available in both laser-printed and elec-
  360. tronic form.  This, the electronic version, comes as part of
  361. the standard Kermit disk from most distribution sites
  362. (including Kent Sullivan).  The electronic version
  363. can be printed out using most any sequential file printer or
  364. word processor since all special features like underlining
  365. and bold have been removed.  The laser-printed version of
  366. the manual is available from Kent Sullivan for $7.50
  367. (US funds ONLY; WA residents please add 8.2% sales tax).
  368.  
  369.  
  370.   Recommended Texts
  371.  
  372. The following is a short list of recommended background
  373. texts.  The area covered is listed first, followed by the
  374. title of the text and publishing information.
  375.  
  376.    + Basic Commodore Computing: Commodore 64/64C/128 User's
  377.      Guides.
  378.  
  379.    + Basic Telecommunications: Compute!'s Telecomputing on
  380.      the Commodore 64, Compute! Books.
  381.  
  382.    + The Kermit Protocol: Kermit: A File-Transfer Protocol
  383.      for Universities, 2 parts, Byte magazine, June & July,
  384.      1984, & Kermit, A File Transfer Protocol, Digital Press
  385.      (1987).
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401. Page 2                          C-64/128 Kermit User's Guide
  402.  
  403.  
  404.   Kermit Availability
  405.  
  406. All Kermit distribution for versions that Ray and I have
  407. worked on (versions 2.0 and later) is now handled by Kent
  408. Sullivan.  In the past, Dr. Evil Laboratories handled
  409. distribution, but that company is now out of business.
  410. If you have any questions or recommendations
  411. concerning Kermit, please contact Kent Sullivan.  Kermit
  412. is also available for download on many local BBS systems
  413. and national information services.
  414.  
  415.  
  416.   Syntax of Commands
  417.  
  418. Most Kermit commands are simple English phrases.  Commands
  419. are represented in this document in capital letters (i.e.
  420. CONNECT) to set them off from any surrounding text.  Many
  421. standard representations for keys are used.  Below is a
  422. table showing the representations and the corresponding
  423. keys:
  424.  
  425.     Representation       Actual key
  426.  
  427.     <C=>                 Commodore
  428.     <CAPS LOCK>          Caps Lock *
  429.     <CLR>                Clear (Shifted Home)
  430.     <CTRL>               Control
  431.     <DEL>                Delete
  432.     <ESC>                Escape *
  433.     <F1>,<F2>,...,<F8>   Function key 1,2,...,8
  434.     <HELP>               Help *
  435.     <HOME>               Home
  436.     <INST>               Insert (Shifted Delete)
  437.     <LINEFEED>           Linefeed *
  438.     <RETURN>             Return
  439.     <SPACE>              Spacebar
  440.     <STOP>               Stop
  441.     <TAB>                Tab *
  442.  
  443. (*) These keys are available on the C-128 keyboard only.
  444.  
  445. For a list of keys that have been re-defined to implement
  446. special characters, please see Appendix C: Keyboard Layouts.
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471. C-64/128 Kermit User's Guide                          Page 3
  472.  
  473.  
  474. Tutorial: Introduction to Kermit
  475.  
  476.  
  477.  
  478.   Booting Kermit
  479.  
  480. Kermit is written for the Commodore 64 and 128 (in 64 mode).
  481. One Commodore disk drive (or compatible) is required, and a
  482. modem.  Almost any modem will work except the Commodore
  483. 1660.  To boot Kermit, follow these easy steps:
  484.  
  485. For Commodore 64:
  486.  
  487. 1. Turn on monitor, drive, and computer.
  488. 2. Insert the Kermit disk, label side up, into device 8,
  489.    drive 0, and close the drive door.
  490. 3. Type: LOAD ""BOOT"",8,1 and press <RETURN>.
  491.  
  492. For Commodore 128:
  493.  
  494. 1. Insert the Kermit disk, label side up, into device 8,
  495.    drive 0, and close the drive door.
  496. 2. Turn on the monitor, drive, and computer.
  497. 3. Kermit will automatically boot on power-up.
  498.  
  499. Once loaded, you should see the following in black on a grey
  500. screen with a blue border:
  501.  
  502. Commodore 64/128 Kermit version 2.2 (70)
  503. Type '?' for help
  504.  
  505. Kermit-65>
  506.  
  507. A blinking block cursor should be just to the right of the
  508. ">".  If you don't see this on your screen, turn off all
  509. your equipment and try again.  If you still have problems
  510. booting Kermit, please see the Troubleshooting section.
  511.  
  512.  
  513.   Choosing a Screen Driver
  514.  
  515. Kermit can use many kinds of displays.  You can use either
  516. 40 columns or 80 columns (software-driven) on a standard C-
  517. 64, or, if you have a Batteries Included BI-80 80-column
  518. card, you can use it too.  All of these options are avail-
  519. able on a C-128, plus the C-128's built-in 80-column
  520. display.  Kermit defaults to the setting found in its ini-
  521. tialization file.
  522.  
  523. Each of the screen drivers has its advantages and disadvan-
  524. tages.  Not all of the drivers, for example, are capable of
  525. supporting features such as underlining or bold.  Please see
  526. the Screen Driver Comparison section for further details.
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537. Page 4                          C-64/128 Kermit User's Guide
  538.  
  539.  
  540. If you want to switch to a different screen driver now,
  541. please see the example given in the Command Mode section
  542. below.
  543.  
  544.  
  545.   The Three Modes of Kermit
  546.  
  547. Kermit has three basic operational modes: Command, Connect,
  548. and File-Transfer.  In Command mode, you can communicate
  549. directly with Kermit to change various program settings and
  550. also enter either of the two other modes.  In Connect mode
  551. you can communicate with another computer (known in many
  552. other terminal programs as Terminal mode).  In File-Transfer
  553. mode you may send to and receive files from the computer to
  554. which you are connected.  Let's begin by learning about Com-
  555. mand mode and the Kermit parser.
  556.  
  557.     Command Mode
  558.  
  559. When Kermit first boots, you are placed automatically in
  560. Command mode.  From here you can communicate with the pro-
  561. gram by typing commands at the "Kermit-65>" prompt.  Command
  562. mode is really the program's command "parser", which is that
  563. part of a computer program which takes your command input
  564. and tries to interpret it and then execute the appropriate
  565. action.
  566.  
  567. Kermit's command parser is very easy to use.  Let's begin
  568. with a look at the main level commands.  At the top of the
  569. screen you should see "Type '?' for help".  So let's do just
  570. that: Type a "?".  A list of Kermit's main commands (there
  571. are 16 of them) should appear on the screen in two columns
  572. like this:
  573.  
  574.     Kermit-65>? Keyword, one of the following:
  575.     bye         connect
  576.     directory   disk
  577.     exit        finish
  578.     get         help
  579.     quit        receive
  580.     restore     save
  581.     send        set
  582.     show        status
  583.  
  584. The "?" is a very helpful feature of the command parser.
  585. You can type a "?" at ANY point in the middle of a command
  586. to receive a list of the valid ways to complete the command.
  587. A complete list of commands may be found in the Command
  588. Descriptions section.
  589.  
  590. Let's try a slightly more difficult command to give you
  591. practice with the parser.  For example, let's say we want to
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603. C-64/128 Kermit User's Guide                          Page 5
  604.  
  605.  
  606. change which screen display we are using.  After looking at
  607. the various main level commands, we deduce that the SET com-
  608. mand might be the way to get the job done.  Type: SET fol-
  609. lowed by a space and then a "?".  Kermit should respond with
  610. a list that looks like this:
  611.  
  612.     Kermit-65>set ? Keyword, one of the following:
  613.     baud                 bold
  614.     border               character
  615.     dark-background      debugging
  616.     eight-bit-quoting    escape
  617.     file-byte-size       file-type
  618.     file-warning         flow-control
  619.     ibm                  light-background
  620.     local-echo           parity
  621.     receive              rs232-registers
  622.     send                 screen-driver
  623.     terminal-emulation   word-size
  624.  
  625. After looking through this list, we can determine we need
  626. the SCREEN-DRIVER sub-option.  Notice that the parser con-
  627. veniently reprinted the SET command so that we can continue
  628. where we left off.  So, type: SCREEN-DRIVER followed by a
  629. space and a "?".  Now we have another list, looking like
  630. this:
  631.  
  632.     Kermit-65> set screen-driver ? Keyword, one of the following:
  633.     40-columns     80-columns
  634.     bi-80          commodore-128
  635.     custom-bi-80
  636.  
  637. It should now be obvious what to do to change to a different
  638. screen driver.  Try it out.  Now, let's go back to 80
  639. columns.
  640.  
  641. One thing you are probably wondering is, "Do I have to type
  642. ALL of that out?" Luckily, no, you don't.  The left arrow
  643. key (upper left corner of the keyboard) is the "Escape" key
  644. in Kermit.  This key will spell out a command one level at a
  645. time for you if you provide it with the first few characters
  646. of the command.  Note: if you are using a C-128, you can
  647. also use <ESC>.  To try this out, type: SET SC and hit the
  648. left arrow key.  Kermit should spell out SCREEN-DRIVER and
  649. put a space at the end.  Notice that we had to use "sc" and
  650. not just "s".  Consulting the list above, we can see why.
  651.  
  652. Both SEND and SCREEN-DRIVER begin with an "s".  If we had
  653. just typed "s", Kermit would have chosen SEND because it is
  654. the first command in the list that meets the specified
  655. requirements.  The same applies for why we spelled out SET.
  656. SEND is before SET in the main command list, making the left
  657. arrow useless.  So keep in mind that you must always use
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669. Page 6                          C-64/128 Kermit User's Guide
  670.  
  671.  
  672. enough characters to uniquely identify the command before
  673. hitting the left arrow.  Ok, let's finish our command.  Type
  674. "8" and hit the left arrow.  Kermit should finish the com-
  675. mand.  Now press <RETURN>.
  676.  
  677. Presto!  We're back to 80-column mode, saving 19 character's
  678. worth of typing.  Not all commands are nearly this long, but
  679. the left arrow (along with the "?") can be very helpful.
  680.  
  681. NOTE: Once you are familiar with the parser, you can save
  682. even more keystrokes by using just the abbreviations for the
  683. commands.  In other words, you don't HAVE to use the left
  684. arrow key.  For example, you could just type "SET SC 8" to
  685. set the screen driver to C-64 80 columns.
  686.  
  687. There are a few other useful tricks to know about the
  688. parser.  They are:
  689.  
  690.   1) Pressing <CLR> or <CTRL> - <L> instead of <RETURN> to
  691.      execute a command will clear the screen first and then
  692.      execute the command.
  693.  
  694.   2) Pressing <CTRL> - <W> while typing a command will back
  695.      the cursor up to the previous word, erasing any associ-
  696.      ated text.
  697.  
  698.   3) Pressing <CTRL> - <U> while typing a command will can-
  699.      cel the command by backing the cursor up to the
  700.      "Kermit-65>" prompt.
  701.  
  702.     Connect Mode
  703.  
  704. Connect mode is the mode in which you will spend most of
  705. your time while using Kermit because it is in this mode that
  706. you can communicate with another computer (often known as
  707. the remote host).  Now let's prepare to connect to another
  708. computer.  Type: CONNECT.  This command will take us out of
  709. Command mode and into Connect mode.  If you type CONNECT
  710. then hit <CLR>, the screen will be cleared before entering
  711. Connect mode.  Every time you enter Connect mode, you will
  712. see the message:
  713.  
  714. [Connecting to host: Type ^Y c to return]
  715.  
  716. This tells us that we are in Connect mode and that to return
  717. to Command mode we should type <CTRL> - <Y> then type "c".
  718. Try it out.  Then return to Connect mode.
  719.  
  720. Now we will call the other computer.  A Commodore 1670 or
  721. other Hayes compatible modem can dial directly from Connect
  722. mode via its built-in dialing commands, but with most other
  723. modems you will have to dial manually.  In other words, Ker-
  724. mit does NOT have the capability to auto-dial a modem
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735. C-64/128 Kermit User's Guide                          Page 7
  736.  
  737.  
  738. directly.  Also please note that Kermit currently does NOT
  739. work with the Commodore 1660 modem.  It will, however, be
  740. supported in a future version.  Please see Appendix A:
  741. Implementation Notes for further information.
  742.  
  743. We need to check a few things before dialing.  Each computer
  744. you connect to may have different baud, parity, and word-
  745. size requirements.  Kermit defaults to the settings found in
  746. the initialization file: 1200 bps transmission speed, eight
  747. bit word length, no parity, and VT-100 terminal emulation.
  748. These settings may be different if you did not get your copy
  749. of Kermit from Kent Sullivan.  To adjust any of these param-
  750. eters, escape back to Command mode and use the SET command
  751. as we did above to change the screen-driver. For example, to
  752. change to 300 bps transmission speed, type: SET BAUD 300.
  753. Remember to use the "?" to get help at any level.
  754.  
  755. If you wish to save any changes you make as new defaults,
  756. please see the SAVE command explanation in the Command
  757. Descriptions section.
  758.  
  759. Once you have set up your communications parameters
  760. correctly, all that's left to do is dial the phone and con-
  761. nect to the remote host.
  762.  
  763.     File-Transfer Mode
  764.  
  765. Once you have connected to a remote host you may wish to
  766. send and/or receive files.  With Kermit you can send and
  767. receive most any kind of file, as Kermit has automatic
  768. translation features for many types of files.  For example,
  769. you can automatically convert a PETSCII (Commodore's special
  770. ASCII) text file to ASCII when sending it to another
  771. machine, and vice versa.  For a list of the various file-
  772. types supported, see the SET FILE-TYPE command explanation
  773. in the Command Descriptions section.
  774.  
  775. The procedures for transferring files with Kermit can differ
  776. widely depending on the system to which you are connected.
  777. This tutorial can't possibly cover every possible situation.
  778. Instead, we will walk through a simple transfer and point
  779. out some things of which you should be aware.  The MOST
  780. important thing when attempting to transfer files with Ker-
  781. mit is to have your file-transfer parameters set correctly!
  782. You may want to skip ahead to the Transferring Files section
  783. for more information.
  784.  
  785. Now, we will show two examples: 1) uploading a PETSCII
  786. sequential text file, converting it to standard ASCII, and
  787. 2) downloading a C language program source code file for use
  788. with the C Power (now sold as Power C) C compiler for the
  789. 64/128.
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801. Page 8                          C-64/128 Kermit User's Guide
  802.  
  803.  
  804. Text File:
  805.  
  806. We are sending and the other end is receiving.  In note
  807. form, here is what we need to do:
  808.  
  809.   1) Check file-transfer parameters!!  Make sure the FILE-
  810.      TYPE is set to PETSCII.
  811.  
  812.   2) Start Kermit on the host machine using the appropriate
  813.      command.
  814.  
  815.   3) Tell the host Kermit to RECEIVE the file.
  816.  
  817.   4) Escape to Command mode in our Kermit (<CTRL> - <Y> then
  818.      <"c">).  Type SEND followed by the filename of the Com-
  819.      modore text file you wish to send.
  820.  
  821. When the two Kermits have finished transferring the file,
  822. you will be returned to Command mode.  Type: CONNECT and
  823. continue with your login session.
  824.  
  825. NOTE: The recommended parameters (work most of the time)
  826. are:
  827.  
  828.   File type is PETSCII
  829.   File byte size is EIGHT-BIT
  830.  
  831. Everything else should retain its default value.
  832.  
  833.  
  834. C Power File:
  835.  
  836. We are receiving and the host is sending.  In note form,
  837. here is what we need to do:
  838.  
  839.   1) Check parameters!!  Make sure the FILE-TYPE is set to
  840.      C-POWER.
  841.  
  842.   2) Start Kermit on the host machine using the appropriate
  843.      command.
  844.  
  845.   3) Tell the host Kermit to SEND the file.
  846.  
  847.   4) Escape to Command mode in our Kermit (<CTRL> - <Y> then
  848.      <"c">).  Type RECEIVE followed by the filename of the C
  849.      source code file you wish to receive in C Power format.
  850.  
  851.   5) When the two Kermits have finished transferring the
  852.      file, you will be returned to Command mode.  Type: CON-
  853.      NECT and continue with your login session.
  854.  
  855. NOTE: The recommended parameters (work most of the time)
  856. are:
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867. C-64/128 Kermit User's Guide                          Page 9
  868.  
  869.  
  870.   File type is C-POWER
  871.   File byte size is EIGHT-BIT
  872.   Word size is EIGHT-BIT
  873.  
  874. Everything else should retain its default value.
  875.  
  876. If you have persistent problems with transferring files,
  877. don't hesitate to ask someone for help.  Also try VERBOSE
  878. debugging to see more of what is happening during transfers.
  879. Kermit is very flexible, but flexible can mean complicated!
  880.  
  881. We now have completed the introductory tutorial.  The next
  882. section of this manual, Troubleshooting, may help if you
  883. have some problems using Kermit.  The Command Descriptions
  884. section describes in detail each of Kermit's commands and
  885. will prove to be invaluable to successfully using this pro-
  886. gram.  Good Luck with Kermit!
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933. Page 10                         C-64/128 Kermit User's Guide
  934.  
  935.  
  936. Troubleshooting: If You Have Problems
  937.  
  938. Here are some common problems and their most likely solu-
  939. tions.  The best troubleshooting usually comes from someone
  940. who has experience using Kermit, but this isn't always
  941. available.
  942.  
  943.   1) Problem: Kermit won't boot.
  944.  
  945.      Solution: Make sure all of your equipment is hooked up
  946.        correctly.  If the red error light blinks on your
  947.        disk drive, you might a) have a bad disk or b) be
  948.        missing the initialization file, KERMIT.INI.  See the
  949.        Known Restrictions section of Appendix A for more
  950.        information.
  951.  
  952.   2) Problem: I can't get out of Connect mode.
  953.  
  954.      Solution: Remember to type <CTRL> - <Y>, let up, then
  955.        hit the letter "c".  The escape character might also
  956.        be set to something other than <CTRL> - <Y>.  You can
  957.        check it with the SHOW ESCAPE command and change it
  958.        with the SET ESCAPE command.
  959.  
  960.   3) Problem: When I connect to a host machine, all I get is
  961.        garbage.
  962.  
  963.      Solution: Check the baud, parity and word-size parame-
  964.        ters.  You may have to hang up and try again if you
  965.        change some of the parameters.
  966.  
  967.   4) Problem: I can't see what I am typing, but I see what
  968.        the host machine is sending.
  969.  
  970.      Solution: Check to see if the host machine is supposed
  971.        to echo characters back to you.  You might need to
  972.        SET LOCAL-ECHO ON.
  973.  
  974.   5) Problem: I downloaded a binary file but the file I
  975.        received was garbage.
  976.  
  977.      Solution: Remember to SET EIGHT-BIT QUOTING ON.  Also,
  978.        check the file type on the host Kermit.  It should be
  979.        set to BINARY as well as on your end.
  980.  
  981.   6) Problem: All of a sudden output stopped appearing on
  982.        the screen and nothing I type shows up either.
  983.  
  984.      Solution: You may have hit the <C=> key accidently,
  985.        which pauses all data transmission temporarily.
  986.        Press it again to re-start transmission.
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999. C-64/128 Kermit User's Guide                         Page 11
  1000.  
  1001.  
  1002. Emulation: Terminal-Type Features
  1003.  
  1004. Kermit is a very powerful terminal emulator.  For text
  1005. displays, it can emulate both a VT-100 (with or without
  1006. added VT-102 features) and a VT-52.  For graphics work, Ker-
  1007. mit has limited Tektronix 4010 emulation.  Emulation can be
  1008. turned completely off as well.
  1009.  
  1010. It is beyond the scope of this manual to present each of the
  1011. escape sequences that these terminals use.  This section
  1012. will instead describe in general terms what each of the emu-
  1013. lations can do, and provide a table of which Tek commands
  1014. are supported.
  1015.  
  1016.  
  1017.   VT-100 Emulation
  1018.  
  1019. Most people will use Kermit's VT-100 emulation more than any
  1020. other.  The DEC VT-100 terminal is an industry standard, and
  1021. so is supported on virtually every medium-to-large-sized
  1022. operating system.  The VT-100 terminal provides you with
  1023. many powerful features that make communicating with a remote
  1024. host (especially at speeds under 9600 bps) much more effi-
  1025. cient and therefore, quicker.
  1026.  
  1027. The major VT-100 features are summarized below:
  1028.  
  1029.   1) Scrolling regions.  This feature of the VT-100 allows
  1030.      selected parts of the screen to be scrolled, cutting
  1031.      down on character transmission greatly-- making
  1032.      telecommunicating faster.
  1033.  
  1034.   2) Text attributes.  Text on a VT-100 can be displayed in
  1035.      normal or bold, and be vanilla, underlined, or blinking
  1036.      (or any logical combination), and displayed on either a
  1037.      dark or light background.  Kermit has the added feature
  1038.      of selectable colors for text, bold text, dark-
  1039.      background, light-background, and border for most
  1040.      screen drivers.
  1041.  
  1042.   3) Numeric keypad.  A VT-100 has a numeric keypad that
  1043.      includes four personal function (PF) keys.  Kermit has
  1044.      this feature on both a C-64 & 128.
  1045.  
  1046.   4) Graphics characters.  A VT-100 has a wide range of
  1047.      graphics characters that can be used for graphs and
  1048.      charts.
  1049.  
  1050.   5) Status line.  Kermit has an extra 25th screen line that
  1051.      can be used as a system status line on operating sys-
  1052.      tems such as UNIX (TM).  Note that a standard VT-100
  1053.      terminal does NOT have a status line.
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065. Page 12                         C-64/128 Kermit User's Guide
  1066.  
  1067.  
  1068. For a chart showing what keys have been re-defined in Ker-
  1069. mit, please see Appendix C: Keyboard Layouts.  Also, if you
  1070. are using Kermit on a machine running UNIX (TM), please see
  1071. Appendix D: UNIX (TM) Termcap Settings, for information on
  1072. how to customize your termcap to take full advantage of
  1073. Kermit's features.
  1074.  
  1075. Not all of the VT-100's features were feasible to support in
  1076. Kermit.  Below is a list of the restrictions to the VT-100
  1077. emulation:
  1078.  
  1079.   1) No 132 column mode
  1080.   2) No double high/double wide characters
  1081.   3) Limited terminal reports (only the important ones are
  1082.      emulated)
  1083.   4) No foreign character sets
  1084.   5) No smooth scrolling
  1085.   6) No terminal LEDs
  1086.  
  1087. For related information, please see the Screen Driver Com-
  1088. parison section.
  1089.  
  1090.  
  1091.   VT-102 Emulation
  1092.  
  1093. Only the four most important VT-102 terminal features are
  1094. present in Kermit.  These are Insert Character, Delete Char-
  1095. acter, Insert Line, and Delete Line.  The Insert Character
  1096. function, as on a real VT-102 terminal, is really a switch-
  1097. able Insert/Replace mode.
  1098.  
  1099. These additional features allow MUCH faster, more efficient
  1100. communication, since the C-64/128 handles much of the time-
  1101. consuming work (inserting and deleting lines & moving char-
  1102. acters around on a line).  If you are able to utilize the
  1103. VT-102 features, you will be pleasantly surprised at how
  1104. much quicker certain operations are, such as editing text
  1105. files.
  1106.  
  1107.  
  1108.   VT-52 Emulation
  1109.  
  1110. Kermit emulates a VT-52 terminal as a subset of its VT-100
  1111. emulation, just as a real VT-100 terminal does.  It is a
  1112. complete emulation, except that the graphics character set
  1113. is the VT-100's, not a true VT-52's.  All of the real VT-100
  1114. terminals we have seen also use the VT-100 character set in
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131. C-64/128 Kermit User's Guide                         Page 13
  1132.  
  1133.  
  1134. place of the true VT-52 set in VT-52 mode.
  1135.  
  1136.  
  1137.   Tektronix 4010 Emulation
  1138.  
  1139. Kermit supports a limited kind of Tektronix 4010 emulation.
  1140. Two resolutions are supported: 320 x 200 (C-64) and 640 x
  1141. 200 (C-128 80 col.).  You can use the Tektronix emulation
  1142. even if you are using a BI-80 card, as Kermit will automati-
  1143. cally switch between the appropriate graphics screen and the
  1144. BI-80.  All plots and text are plotted using the current
  1145. character color and are plotted on the current background
  1146. color.  Both the 320 x 200 and 640 x 200 screens are a lit-
  1147. tle too wide horizontally scale-wise compared with a real
  1148. Tektronix 4010 terminal.  We thought it was better to use
  1149. the full width of the screen given the limited resolution
  1150. than to have perfect scaling.
  1151.  
  1152. Kermit supports three Tek modes: Alpha Text, Point Plot, and
  1153. Vector Plot, for a total of eight different Tek commands.
  1154. The commands are:
  1155.  
  1156. Sequence                Action
  1157.  
  1158. <ESC> FF (Form Feed)    Activate Tek emulation and clear screen
  1159. RS (Record Separator)   Switch to incremental plot mode
  1160. US (Unit Separator)     Switch to alpha text mode
  1161. GS (Group Separator)    Switch to vector plot mode
  1162. CAN (Cancel)            Deactivate Tek emulation and clear screen
  1163.  
  1164. Tek mode is also exited when many VT-100/52 escape sequences
  1165. are received.  These include any sequences beginning with
  1166. <ESC> "[" or <ESC> <upper-case letter>.  Also, once Tek mode
  1167. is activated, any further <ESC> FF sequences received will
  1168. clear the current graphics screen.  Finally, the current
  1169. text screen is not saved when Tek mode is entered, and the
  1170. current Tek screen is not saved when Tek mode is exited.
  1171.  
  1172.     Alpha Text Mode
  1173.  
  1174. Alpha Text mode uses the standard ASCII character set and
  1175. can display 79 columns by 24 lines of text if Tek mode is
  1176. entered from any of the screen drivers except C-64 40
  1177. columns.  If Tek mode is entered from the C-64 40 column
  1178. screen driver, up to 40 columns of text can be displayed.
  1179.  
  1180. This mode is used generally to label graphs.  No on-screen
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197. Page 14                         C-64/128 Kermit User's Guide
  1198.  
  1199.  
  1200. editing should be attempted while in this mode.
  1201.  
  1202.     Point Plot Mode
  1203.  
  1204. In this mode the drawing pen is given a direction to move
  1205. and whether to have the pen up (no line drawn) or down (line
  1206. drawn) when moving.  This allows considerable freedom in
  1207. drawing odd-shaped objects.
  1208.  
  1209.     Vector Plot Mode
  1210.  
  1211. In Vector Plot Mode, just the endpoints of a line to be
  1212. drawn are specified.  This allows lines to be drawn quickly,
  1213. since not all the points on the lines must be specified
  1214. individually.
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263. C-64/128 Kermit User's Guide                         Page 15
  1264.  
  1265.  
  1266. Displays: Screen Driver Comparison
  1267.  
  1268. Each of Kermit's screen drivers has different capabilities.
  1269. Below is a discussion of the various limitations of the dif-
  1270. ferent screen drivers.
  1271.  
  1272.  
  1273.   C-128 80 Column Driver
  1274.  
  1275. This driver is the best that Kermit has.  All video attri-
  1276. butes are supported with no limitations, and the highest Tek
  1277. resolution (640 x 200) is available. The only feature not
  1278. available with this driver, that is on some others, is a
  1279. border.  This is because the C-128's 80 column chip (the
  1280. 8563 VDC) does not support a border.
  1281.  
  1282. One note: many people who use the 80-column mode on the C-
  1283. 128 do so on a monochrome monitor.  With this setup, only
  1284. THREE colors are possible: bright, normal, and black.  This
  1285. can pose a problem when trying to set up readable light- and
  1286. dark-background screens.  One solution to this is to buy a
  1287. grey scale attachment for the 80-column video cable to pro-
  1288. vide a wider range of grey shades.
  1289.  
  1290.  
  1291.   C-64 80 Column Driver
  1292.  
  1293. This screen driver is traditionally the most popular, mainly
  1294. because more people have C-64s than C-128s.  When using this
  1295. driver, even on a C-128, the Tek 320 x 200 mode will be used
  1296. for graphics.  This driver is full-featured except for one
  1297. minor limitation.
  1298.  
  1299. Because of the way hi-res graphics screens are created on a
  1300. C-64, if two characters with different attributes are placed
  1301. adjacent horizontally, the first character sometimes will
  1302. not have the correct attribute.  For example, if a bold
  1303. character is printed immediately followed by a flashing
  1304. character, the bold character may change to a flashing char-
  1305. acter.  This can easily be avoided by inserting a space
  1306. between the two characters.
  1307.  
  1308.  
  1309.   Batteries Included BI-80 Driver (Standard)
  1310.  
  1311. The BI-80, an excellent 80-column card for the C-64 (also
  1312. C-128 in 64 mode), is no longer in production and generally
  1313. very hard to find used.  We added support for it because it
  1314. offers the same text resolution as the C-128's 80 column
  1315. screen, making it clearer than the standard C-64 80 column
  1316. screen.
  1317.  
  1318. There are several limitations when using this driver.  The
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329. Page 16                         C-64/128 Kermit User's Guide
  1330.  
  1331.  
  1332. main limitation is that the BI-80 character set is not rede-
  1333. finable through software, meaning that some characters like
  1334. the braces, tilde, underscore, etc., are not available.
  1335. Also, the VT-100/52 graphics character set is not available.
  1336. A closest match was made on many of the characters, but some
  1337. of them look pretty unrecognizable.
  1338.  
  1339. Also, the only character attribute available is reverse.
  1340. All other modes, such as blinking, bold, and underlined, are
  1341. mapped into reverse, so you can at least tell when the text
  1342. is not plain vanilla.
  1343.  
  1344. Finally, no color change options are available as the BI-80
  1345. card operates only in black and white mode with no border.
  1346.  
  1347.  
  1348.   Batteries Included BI-80 Driver (Custom)
  1349.  
  1350. This driver is for use with the custom BI-80 character ROM
  1351. available from Kent Sullivan.  This driver makes use
  1352. of the re-defined characters in the replacement ROM.  The
  1353. full ASCII character set is available, as well as the VT-
  1354. 100/52 graphics character set.  All other restrictions from
  1355. the standard BI-80 driver apply.
  1356.  
  1357. Please see Appendix E: BI-80 Replacement ROM Information for
  1358. details on how to obtain a replacement character ROM.
  1359.  
  1360.  
  1361.   C-64 40-Column Driver
  1362.  
  1363. This driver supports all character attributes and screen
  1364. functions.  Its main limitation is its width-- 40 columns is
  1365. generally not very useful when communicating with most large
  1366. computer systems.
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395. C-64/128 Kermit User's Guide                         Page 17
  1396.  
  1397.  
  1398. File Transfers: Transferring Files
  1399.  
  1400. Transferring files with Kermit isn't really any more diffi-
  1401. cult than with most other Commodore telecommunications
  1402. packages/protocols.  In fact, Kermit is much more flexible--
  1403. but flexibility can be confusing.
  1404.  
  1405. There are three major parameters to be concerned with when
  1406. transferring files.  They are: 1) File-type, 2) File-byte-
  1407. size, and 3) Eight-bit-quoting.  Let's discuss each of them
  1408. in turn, beginning with File-type.
  1409.  
  1410.  
  1411.   Choosing the Correct File-type
  1412.  
  1413. Kermit currently supports five different file types. They
  1414. are:
  1415.  
  1416.     a) ASCII
  1417.     b) Binary
  1418.     c) C-Power
  1419.     d) PETSCII
  1420.     e) Script
  1421.  
  1422. Each of these file types has a distinct use.  When to use
  1423. one file-type over another can be confusing initially.  So,
  1424. we'll discuss each of them separately, starting with ASCII.
  1425.  
  1426.     ASCII File-type
  1427.  
  1428. This file-type is used a lot less often than you might think
  1429. at first.  Because Commodore computers (except for the Ami-
  1430. gas and PCs) use their own, modified character set arrange-
  1431. ment (PETSCII), most text files you transfer to and from
  1432. your Commodore will be PETSCII files, not standard ASCII.
  1433.  
  1434. You will use this file-type only when you a) wish to down-
  1435. load a standard ASCII file and NOT convert it to a form
  1436. usable on your Commodore (PETSCII), or b) you have, for some
  1437. reason, a standard ASCII file that you wish to upload to
  1438. another computer.
  1439.  
  1440. If you happen to choose this file-type when you really
  1441. needed PETSCII, you will be able to tell immediately, as the
  1442. case of all the text will be reversed.
  1443.  
  1444.     Binary File-type
  1445.  
  1446. The Binary file-type is not used as often as some of the
  1447. other file-types.  This file-type is used to transfer Commo-
  1448. dore programs that are executable (i.e. a BASIC program or a
  1449. machine language game), or memory images such as graphics
  1450. screens.  In other, more technical, terms, this file-type
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461. Page 18                         C-64/128 Kermit User's Guide
  1462.  
  1463.  
  1464. allows you to transfer files without performing any charac-
  1465. ter translation.  Note that it's generally a good idea to
  1466. have Eight-bit-quoting set on when transferring binary
  1467. files, but more about that below.
  1468.  
  1469.     C-Power File-type
  1470.  
  1471. This file-type is designed specifically to transfer source
  1472. code files for use with the C Power (now sold as Power C) C
  1473. compiler for the C-64 and C-128.  C Power files have, in
  1474. addition to the standard PETSCII file-type base, a few re-
  1475. defined characters that are needed for C programming, such
  1476. as braces, the underscore, the pipe, etc.
  1477.  
  1478. When you use this file-type, any standard C source code
  1479. files you download to your Commodore will be converted to C
  1480. Power format.  On the other side of the coin, any C Power
  1481. files you upload to another computer will be converted to
  1482. standard ASCII source code files.
  1483.  
  1484.     PETSCII File-type
  1485.  
  1486. This file-type is the most common file-type, and so it is
  1487. the default Kermit file-type.  When you use this file-type,
  1488. any Commodore text file you upload to another computer will
  1489. be converted to standard ASCII text.  Going the other direc-
  1490. tion, when you download a standard ASCII text file to your
  1491. Commodore, it will be translated to PETSCII.
  1492.  
  1493. If you choose this file type when you really meant ASCII,
  1494. the case of all the letters in the text will be reversed.
  1495.  
  1496.     Script File-type
  1497.  
  1498. This is a special file-type for use when transferring files
  1499. for the Commodore Speedscript word processor (Compute! Pub-
  1500. lications).  Speedscript files have a special file format.
  1501. If you want to download a standard text file from another
  1502. computer for Speedscript, you must use this format.  The
  1503. same applies for sending a Speedscript file to another com-
  1504. puter that uses standard ASCII text files.  Note that no
  1505. attempt is made to translate any of Speedscript's special
  1506. text formatting or control codes-- you will have to make the
  1507. appropriate changes manually.
  1508.  
  1509.  
  1510.   Setting the File-byte-size
  1511.  
  1512. This parameter is often confusing because it sounds a lot
  1513. like the Word-size parameter.  These two parameters are
  1514. actually quite different.  Whereas Word-size describes the
  1515. width of the data path, File-byte-size describes the size of
  1516. the data words within files being transferred.
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527. C-64/128 Kermit User's Guide                         Page 19
  1528.  
  1529.  
  1530. This parameter can always be left set to EIGHT-BIT.  Techni-
  1531. cally, it is really only necessary to be set to EIGHT-BIT
  1532. when you are transferring Binary or PETSCII files.
  1533.  
  1534.  
  1535.   Using Eight-bit-quoting
  1536.  
  1537. This feature allows you to transfer Binary or PETSCII files
  1538. to and from computers that would normally be unable to han-
  1539. dle them.  Eight-bit-quoting allows you to send files with
  1540. eight-bit data words over a seven-bit data path.  This
  1541. parameter can always be left set to ON.
  1542.  
  1543. For instance, I often communicate with a machine where my
  1544. communications parameters have to be Word-size of Seven-bit
  1545. and Even Parity.  In this kind of environment I would nor-
  1546. mally be unable to send a program file to a friend on that
  1547. machine, as program files are Binary (eight-bits).  But if I
  1548. make sure Eight-bit-quoting is ON, everything will be fine.
  1549.  
  1550. Technically, Eight-bit-quoting prefixes each byte of data
  1551. that is over seven bits long (greater than ASCII 127 decimal
  1552. in value) so that it can be transferred along a seven-bit
  1553. data path.
  1554.  
  1555.  
  1556.   Special File-Transfer Mode Features
  1557.  
  1558. There are three helpful features available when transferring
  1559. files.  These features are standard in most versions of Ker-
  1560. mit.  They are:
  1561.  
  1562.     Key Sequence   Action
  1563.  
  1564.     <RETURN>       Force local Kermit to re-send current packet
  1565.     <CTRL> - <X>   Cancel transmission of current file
  1566.     <CTRL> - <Y>   Cancel transmission of entire batch of files
  1567.  
  1568. All of these commands are available when receiving a file or
  1569. files.  Because C-64/128 Kermit can't send more than one
  1570. file per SEND command (a feature called "wildcard send"),
  1571. the <CTRL> - <Y> feature is not applicable when sending a
  1572. file.
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593. Page 20                         C-64/128 Kermit User's Guide
  1594.  
  1595.  
  1596. Reference: Command Descriptions
  1597.  
  1598.  
  1599.  
  1600.   Command List
  1601.  
  1602.  
  1603. Kermit v2.2 has 16 major commands, many of which have sub-
  1604. options.  Below is a list of the major commands.
  1605.  
  1606.     Bye    Connect   Directory   Disk      Exit      Finish
  1607.     Get    Help      Quit        Receive   Restore   Save
  1608.     Send   Set       Show        Status
  1609.  
  1610.  
  1611.   Command Summary
  1612.  
  1613. Each of the major commands are described below in alphabeti-
  1614. cal order.  Following the description is one or more exam-
  1615. ples using the command previously described.  Please note
  1616. that all commands may be entered in either lower or upper
  1617. case-- case distinction is not made by the Kermit parser.
  1618.  
  1619.     Bye
  1620.  
  1621. This command causes C-64/128 Kermit to tell the remote Ker-
  1622. mit, which must be in server mode, to exit and, if applica-
  1623. ble, terminate its job (or process, etc.).  The remote Ker-
  1624. mit then closes the connection.  C-64/128 Kermit finishes by
  1625. exiting to BASIC.  Bye has no arguments, with the format:
  1626.  
  1627. Kermit-65>bye
  1628.  
  1629.     Connect
  1630.  
  1631. The CONNECT command puts Kermit into Connect Mode (see the
  1632. Introduction to Kermit section for more information on Con-
  1633. nect Mode).  Kermit can then begin communication with
  1634. another computer as a terminal (as defined by the SET
  1635. TERMINAL-EMULATION command).  Connect has no arguments, with
  1636. the format:
  1637.  
  1638. Kermit-65>connect
  1639.  
  1640. To return to Command Mode (see the Introduction to Kermit
  1641. section for more information on Command Mode), type the
  1642. escape character followed by a <"c">.  The default escape
  1643. character is <CTRL> - <Y>.  The escape character may be fol-
  1644. lowed by characters other than <"c">.  The other valid
  1645. options and what they do can be viewed by substituting a
  1646. <"?"> for the <"c">, giving the following display:
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659. C-64/128 Kermit User's Guide                         Page 21
  1660.  
  1661.  
  1662.     One of the following:
  1663.     ?             - this help message.
  1664.     b             - send a break signal.
  1665.     c             - close the connection.
  1666.     s             - status of connection.
  1667.     0             - send a null.
  1668.     escape-char   - transmit the escape character.
  1669.  
  1670.     Directory
  1671.  
  1672. The DIRECTORY command returns a disk directory of the speci-
  1673. fied files on device 8 (the normal device number for the
  1674. first serial Commodore disk drive).  DIRECTORY with no argu-
  1675. ments returns a complete disk directory.  The directory may
  1676. be paused by pressing <SPACE> and resumed by pressing any
  1677. key, and aborted by pressing <STOP>.  The format is:
  1678.  
  1679. Kermit-65>directory [filename]
  1680.  
  1681. where [filename] is a valid CBM DOS filename.  Some exam-
  1682. ples:
  1683.  
  1684.     Kermit-65>directory        (directory of all files
  1685.                                on device 8)
  1686.  
  1687.     Kermit-65>directory ker*   (directory of files be-
  1688.                                ginning with "ker")
  1689.  
  1690.     Kermit-65>directory k?w    (directory of files 3
  1691.                                characters long, begin-
  1692.                                ning with "k" and ending
  1693.                                with "w")
  1694.  
  1695.     Disk
  1696.  
  1697. The DISK command allows you to send DOS commands directly to
  1698. the disk drive controller.  This command is useful for ini-
  1699. tializing the drive, formatting a disk, and deleting
  1700. unwanted files.  This command supports all the standard Com-
  1701. modore DOS commands, except that NO spaces in filenames are
  1702. allowed.  This is actually a "feature" of the parser and
  1703. will be corrected in a future version.  DISK with no argu-
  1704. ments will return the drive error in standard DOS format if
  1705. the drive's red light is blinking.  The format is:
  1706.  
  1707. Kermit-65>disk [string]
  1708.  
  1709. where [string] is a valid CBM DOS command.  Some examples:
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725. Page 22                         C-64/128 Kermit User's Guide
  1726.  
  1727.  
  1728.     Kermit-65>disk s0:k*         (delete all files begin-
  1729.                                  ning with "k" on device
  1730.                                  8)
  1731.  
  1732.     Kermit-65>disk i0:           (initialize device 8)
  1733.  
  1734.     Kermit-65>disk n0:files,01   (format disk in device 8,
  1735.                                  giving it name "files"
  1736.                                  and id "01"-- note the
  1737.                                  lack of spaces in the
  1738.                                  disk name chosen)
  1739.  
  1740.     Exit
  1741.  
  1742. The EXIT command causes C-64/128 Kermit to stop execution
  1743. and return control of the machine to BASIC.  This command is
  1744. the same as the QUIT command.  Kermit may be restarted
  1745. immediately with the command RUN.  If you type NEW, Kermit
  1746. can still be restarted most of the time with the command SYS
  1747. 2064.  Exit has no arguments.  The format of this command
  1748. is:
  1749.  
  1750. Kermit-65>exit
  1751.  
  1752.     Finish
  1753.  
  1754. This command causes C-64/128 Kermit to tell the remote Ker-
  1755. mit, which must be in server mode, to exit.  When C-64/128
  1756. Kermit receives the acknowledgement that this is being done,
  1757. you are prompted for another command.  Finish has no argu-
  1758. ments, with the format:
  1759.  
  1760. Kermit-65>finish
  1761.  
  1762.     Get
  1763.  
  1764. This command causes C-64/128 Kermit to request that the
  1765. other Kermit (which must be running in server mode) to
  1766. transmit the specified file to the C-64/128 Kermit.  The
  1767. format of this command is:
  1768.  
  1769. Kermit-65>get [file-specification]
  1770.  
  1771. where [file-specification] is a valid file specification for
  1772. the system on which the other Kermit is running.
  1773.  
  1774.     Quit
  1775.  
  1776. This command causes C-64/128 Kermit to stop execution and
  1777. return control of the machine to BASIC.  QUIT is identical
  1778. to the EXIT command (see EXIT above for more information).
  1779. QUIT has no arguments.  The format this command is:
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791. C-64/128 Kermit User's Guide                         Page 23
  1792.  
  1793.  
  1794. Kermit-65>quit
  1795.  
  1796.     Receive
  1797.  
  1798. The RECEIVE command causes C-64/128 Kermit to wait for the
  1799. remote Kermit to initiate a file transfer (using a command
  1800. like SEND).  The format for this command is:
  1801.  
  1802. Kermit-65>receive [filename]
  1803.  
  1804. where [filename] is any valid CBM DOS file name not contain-
  1805. ing spaces.  If no file name is given, C-64/128 Kermit will
  1806. wait for a file transfer initialization sequence from the
  1807. other Kermit.  If a file name is given, that file name will
  1808. be used to store the received file(s), regardless of what
  1809. name is supplied by the other Kermit.  If more than one file
  1810. is received, the second file will have a ".00" appended to
  1811. it.  The third file will have a ".01", and so on.  The file
  1812. name will be truncated appropriately to accommodate the
  1813. ".XX" suffix.  If FILE-WARNING is turned OFF, the ".XX" suf-
  1814. fix scheme will not be used-- transmission will stop with
  1815. disk error 63, FILE EXISTS.
  1816.  
  1817. Some examples:
  1818.  
  1819. Kermit-65>receive
  1820.  
  1821. Kermit-65>receive myfile
  1822.  
  1823.     Restore
  1824.  
  1825. The RESTORE command is used to re-initialize Kermit parame-
  1826. ters that have been previously saved with the SAVE command.
  1827. Kermit searches the disk in device 8 for a file named
  1828. KERMIT.INI.  If this file is present on disk, Kermit loads
  1829. the parameters contained therein and restarts itself with
  1830. those new parameters.  If no KERMIT.INI file is found, Ker-
  1831. mit crashes, exiting to BASIC.  You must insert a disk con-
  1832. taining a KERMIT.INI file in order to restart Kermit.
  1833. RESTORE has no arguments, with the command format:
  1834.  
  1835. Kermit-65>restore
  1836.  
  1837.     Save
  1838.  
  1839. The SAVE command saves to the disk in device 8 the current
  1840. Kermit settings and parameters in the file KERMIT.INI.  If a
  1841. KERMIT.INI already exists on the disk, no attempt is made to
  1842. write over the existing file.  The blinking red light on the
  1843. disk drive indicates error #63, FILE EXISTS.  It can be
  1844. scratched using the DISK command, however.  The parameters
  1845. may later be recalled with the RESTORE command.  SAVE has no
  1846. arguments, with the format:
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857. Page 24                         C-64/128 Kermit User's Guide
  1858.  
  1859.  
  1860. Kermit-65>save
  1861.  
  1862.     Send
  1863.  
  1864. The SEND command allows you to send a file to the remote
  1865. Kermit.  The command format is:
  1866.  
  1867. Kermit-65>send [filename]
  1868.  
  1869. where [filename] is any valid CBM DOS filename.  Please note
  1870. that the C-64/128 currently does not have a wildcard send
  1871. capability.  In other words, the entire file name must be
  1872. specified-- no pattern matching is allowed.  Also, only one
  1873. file may be sent per SEND command.
  1874.  
  1875.     Set
  1876.  
  1877. The SET command is used to alter various Kermit parameters.
  1878. The format of this command is:
  1879.  
  1880. Kermit-65>set [option] [suboption]...
  1881.  
  1882. where [option] is one of the following:
  1883.  
  1884.     Baud                Bold               Border
  1885.     Character           Dark-background    Debugging
  1886.     Eight-bit-quoting   Escape             File-byte-size
  1887.     File-type           File-warning       Flow-control
  1888.     IBM                 Light-background   Local-echo
  1889.     Parity              Receive            RS232-registers
  1890.     Screen-driver       Send               Terminal-emulation
  1891.     Word-size
  1892.  
  1893. Many of the above options have sub-options.  A description
  1894. of the options and sub-options follows.
  1895.  
  1896.       Set Baud
  1897.  
  1898. The SET BAUD command is used to set the speed at which com-
  1899. munications will take place.  The format is:
  1900.  
  1901. Kermit-65>set baud [value]
  1902.  
  1903. where [value] is one of the following:
  1904.  
  1905.     300   1200   2400
  1906.  
  1907. Please note that communication speeds above 1200 are possi-
  1908. ble ONLY on a C-128 when using the COMMODORE-128 screen
  1909. driver.  Because of hardware limitations, speeds above 1200
  1910. baud are not possible on a C-64.  Also, please note that
  1911. this command does not support speeds under 300 bps.  You
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923. C-64/128 Kermit User's Guide                         Page 25
  1924.  
  1925.  
  1926. will need to use the SET RS232-REGISTERS command instead.
  1927. See the SET RS232-REGISTERS section and the Known Restric-
  1928. tions section of Appendix A for further information.
  1929.  
  1930.       Set Bold
  1931.  
  1932. The SET BOLD command sets the bold character color, which
  1933. can be used for highlighting text in VT-100 emulation mode.
  1934. An example of bold text is the "Type ? for help" message
  1935. when Kermit boots.  The default bold color is white.  The
  1936. format of this command is:
  1937.  
  1938. Kermit-65>set bold [color]
  1939.  
  1940. where [color] is one of the following:
  1941.  
  1942.     Black        Blue          Brown
  1943.     Cyan         Dark-grey     Green
  1944.     Light-blue   Light-green   Light-grey
  1945.     Light-red    Medium-grey   Orange
  1946.     Purple       Red           White
  1947.     Yellow
  1948.  
  1949.       General Notes on Color
  1950.  
  1951. The above colors correspond to the C-64 VIC chip colors.  A
  1952. closest mapping was done for the C-128 8563 VDC (the 80-
  1953. column chip) BUT: 1) orange is really a dark purple while 2)
  1954. medium-grey has a greenish tint.  Also, note that:
  1955.  
  1956.   1) The C-128 display has no border (just like a real VT-
  1957.      100).
  1958.   2) The BI-80 has no color options or border-- and, any
  1959.      highlighted text is printed as reverse.
  1960.   3) None of the SET commands for color currently have a
  1961.      corresponding SHOW command.
  1962.  
  1963. A real VT-100 terminal doesn't have any color options at
  1964. all-- simply light text on a dark background, or vice versa.
  1965. So, most of Kermit's screen drivers give you an added capa-
  1966. bility with their color options.
  1967.  
  1968.       Set Border
  1969.  
  1970. The SET BORDER command sets the border color, which is
  1971. available only when using the C-64 40 or 80 column screen
  1972. drivers.  The default border color is blue.  The format of
  1973. this command is:
  1974.  
  1975. Kermit-65>set border [color]
  1976.  
  1977. where [color] is one of the colors listed under the "Set
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989. Page 26                         C-64/128 Kermit User's Guide
  1990.  
  1991.  
  1992. Bold" section.
  1993.  
  1994.       Set Character
  1995.  
  1996. The SET CHARACTER command sets the normal character color.
  1997. The default character color is black.  The format for this
  1998. command is:
  1999.  
  2000. Kermit-65>set character [color]
  2001.  
  2002. where [color] is one of the colors listed under the "Set
  2003. Bold" section.
  2004.  
  2005.       Set Dark-background
  2006.  
  2007. The SET DARK-BACKGROUND command sets the VT-100 dark back-
  2008. ground color (the one normally used).  This is also the
  2009. background color used in VT-52 mode or when no terminal emu-
  2010. lation is used.  The default dark-background color is
  2011. medium-grey.  The format for this command is:
  2012.  
  2013. Kermit-65>set dark-background [color]
  2014.  
  2015. where [color] is one of the colors listed under the "Set
  2016. Bold" section.
  2017.  
  2018.       Set Debugging
  2019.  
  2020. The SET DEBUGGING command is used to set the type of debug-
  2021. ging generated by C-64/128 Kermit during a file transfer.
  2022. The format is:
  2023.  
  2024. Kermit-65>set debugging [keyword]
  2025.  
  2026. where [keyword] is either OFF, TERSE, or VERBOSE.  OFF
  2027. causes all debugging output to be suppressed.  TERSE directs
  2028. a copy of each packet to the screen, printing any control
  2029. characters as <CTRL> - <"char">.  VERBOSE prints identifying
  2030. text for each field in the header and prints the actual data
  2031. section of the packet in the same manner TERSE uses.
  2032.  
  2033.       Set Eight-bit-quoting
  2034.  
  2035. This command turns on or turns off the eight-bit-quoting
  2036. feature.  Eight bit quoting is used to transmit eight-bit
  2037. bytes over a seven-bit data path.  If the WORD-SIZE is
  2038. SEVEN-BIT, eight bit quoting allows full eight-bit data to
  2039. still be transmitted.  If the WORD-SIZE is EIGHT-BIT, the
  2040. quoting is ignored as it is not needed.  The format of the
  2041. command is:
  2042.  
  2043. Kermit-65>set eight-bit-quoting [keyword]
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055. C-64/128 Kermit User's Guide                         Page 27
  2056.  
  2057.  
  2058. where [keyword] is ON or OFF.
  2059.  
  2060.       Set Escape
  2061.  
  2062. This command sets the escape character, which is the charac-
  2063. ter used to "escape" back to Command Mode from Connect Mode.
  2064. The command takes a hexadecimal value of the chosen charac-
  2065. ter to use as the escape character.  The default character
  2066. is <CTRL> - <Y> ($19).  It is usually a good idea to set
  2067. this character to something which is not used (or at least
  2068. not used very often) on the system to which C-64/128 Kermit
  2069. is connected.  The format of the command is:
  2070.  
  2071. Kermit-65>set escape [hex value]
  2072.  
  2073. where [hex value] is the ASCII value, in hex, of the charac-
  2074. ter to use as the escape character.
  2075.  
  2076.       Set File-byte-size
  2077.  
  2078. This command sets the byte size C-64/128 Kermit will use for
  2079. files being received or transmitted.  The file byte size can
  2080. almost always be EIGHT-BIT, as this setting will work for
  2081. most SEVEN-BIT and EIGHT-BIT data files.  The format of this
  2082. command is:
  2083.  
  2084. Kermit-65>set file-byte-size [size]
  2085.  
  2086. where [size] is SEVEN-BIT or EIGHT-BIT.
  2087.  
  2088.       Set File-type
  2089.  
  2090. This command tells Kermit what type of file is being sent or
  2091. received.  It is important that this parameter be set
  2092. correctly since it is used to determine the exact file
  2093. length when sending files in addition to determining special
  2094. processing which may have to be done (i.e. when receiving a
  2095. text file, write all characters in PETSCII).  The format of
  2096. this command is:
  2097.  
  2098. Kermit-65>set file-type [type]
  2099.  
  2100. where [type] is ASCII, BINARY, C-POWER, PETSCII, or SCRIPT.
  2101. An ASCII type file is any standard ASCII text file.  A
  2102. BINARY type file is a memory image (i.e. machine language
  2103. program, graphics screen, etc.) and is normally transferred
  2104. in eight-bit mode.  A C-POWER type file is a C language
  2105. source file for use with the C Power C compiler from Pro-
  2106. Line (now sold as Power C by Spinnaker).  A PETSCII type
  2107. file is a CBM ASCII text file.  A SCRIPT type file is a file
  2108. produced by the Speedscript word processor published by Com-
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121. Page 28                         C-64/128 Kermit User's Guide
  2122.  
  2123.  
  2124. pute! Publications.
  2125.  
  2126.       Set File-warning
  2127.  
  2128. This command determines what C-64/128 Kermit will do when it
  2129. receives a file with a filename that already exists.  If
  2130. FILE-WARNING is turned ON, C-64/128 Kermit will not
  2131. overwrite the old file.  Instead, it will create a file with
  2132. the original file name with a ".00" appended to it.  It will
  2133. increment the ".XX" number until it succeeds in creating a
  2134. unique file name.  If FILE-WARNING is turned OFF, C-64/128
  2135. Kermit will stop with disk error 63, FILE EXISTS.  The for-
  2136. mat of this command is:
  2137.  
  2138. Kermit-65>set file-warning [keyword]
  2139.  
  2140. where [keyword] is either ON or OFF.
  2141.  
  2142.       Set Flow-control
  2143.  
  2144. The SET FLOW-CONTROL command enables or disables XON/XOFF
  2145. flow control.  With flow control on, C-64/128 Kermit will
  2146. automatically send a <CTRL> - <S> to the host computer when
  2147. it can't keep up (i.e. buffer full) to prevent loss of char-
  2148. acters.  Kermit will then send a <CTRL> - <Q> when it is
  2149. ready to receive more data.  This option is recommended for
  2150. communication speeds of 1200 baud or higher.  The format of
  2151. this command is:
  2152.  
  2153. Kermit-65>set flow-control [keyword]
  2154.  
  2155. where [keyword] is either ON or OFF.
  2156.  
  2157.       Set IBM
  2158.  
  2159. The SET IBM command sets up C-64/128 Kermit to communicate
  2160. with certain IBM mainframes.  This command is needed on a
  2161. limited number of systems.  The format of this command is:
  2162.  
  2163. Kermit-65>set ibm [keyword]
  2164.  
  2165. where [keyword] is either ON or OFF.  With IBM mode on, C-
  2166. 64/128 Kermit waits for the IBM turnaround character (XON,
  2167. <CTRL> - <Q>) before sending any characters to the other
  2168. Kermit.  It also forces the parity type to be mark, the word
  2169. length to be seven-bit, turns on local echo for the CONNECT
  2170. command and turns off flow-control.  All of these changes
  2171. are temporary.  When IBM mode is turned off, any parameters
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  
  2187. C-64/128 Kermit User's Guide                         Page 29
  2188.  
  2189.  
  2190. altered are returned to their previous values.
  2191.  
  2192.       Set Light-background
  2193.  
  2194. The SET LIGHT-BACKGROUND command sets the VT-100 light back-
  2195. ground color (the one not normally used).  The light back-
  2196. ground is generally used only by programs to catch your
  2197. attention (usually by flashing the background color
  2198. quickly).  The default light-background color is light-grey.
  2199. The format for this command is:
  2200.  
  2201. Kermit-65>set light-background [color]
  2202.  
  2203. where [color] is one of the colors listed under the "Set
  2204. Bold" section.
  2205.  
  2206.       Set Local-echo
  2207.  
  2208. The SET LOCAL-ECHO command specifies whether characters
  2209. should be echoed locally when connected to another computer.
  2210. If LOCAL-ECHO is set ON, any character typed on the C-64/128
  2211. will be echoed immediately to the C-64/128 as well as being
  2212. sent to the other computer.  This setup is useful when you
  2213. are connected to another personal computer.  If LOCAL-ECHO
  2214. is set OFF, the characters typed on the C-64/128 are sent
  2215. only to the other computer (which would normally echo the
  2216. characters).  This arrangement is used by most mainframe
  2217. hosts.  The format of this command is:
  2218.  
  2219. Kermit-65>set local-echo [keyword]
  2220.  
  2221. where [keyword] is either ON or OFF.
  2222.  
  2223.       Set Parity
  2224.  
  2225. This command determines the type of parity to use during
  2226. communication.  Kermit normally uses characters which con-
  2227. sist of eight data bits with no parity bit.  For systems or
  2228. transmission media which require a specific parity type,
  2229. Kermit can send characters as seven data bits plus a parity
  2230. bit.  The format of this command is:
  2231.  
  2232. Kermit-65>set parity [keyword]
  2233.  
  2234. where [keyword] is one of the following:
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253. Page 30                         C-64/128 Kermit User's Guide
  2254.  
  2255.  
  2256.     NONE (default)   -   eight data bits and no
  2257.                          parity bit.
  2258.  
  2259.     MARK             -   seven data bits with the
  2260.                          parity bit set to one.
  2261.  
  2262.     SPACE            -   seven data bits with the
  2263.                          parity bit set to zero.
  2264.  
  2265.     EVEN             -   seven data bits with the
  2266.                          parity bit set to make
  2267.                          the overall parity even.
  2268.  
  2269.     ODD              -   seven data bits with the
  2270.                          parity bit set to make
  2271.                          the overall parity odd.
  2272.  
  2273.       Set Receive
  2274.  
  2275. It is possible to set various parameters associated with the
  2276. receiving of data from the Kermit on the other end of the
  2277. connection (the remote Kermit).  SET RECEIVE will enable you
  2278. to set the various Receive parameters.  The format of this
  2279. command is:
  2280.  
  2281. Kermit-65>set receive <suboption>
  2282.  
  2283. The suboptions of the SET RECEIVE command are:
  2284.  
  2285.     Eight-bit-quote-char   End-of-line   Packet-length
  2286.     Pad-char               Padding       Quote-char
  2287.     Timeout
  2288.  
  2289. These suboptions are described below.
  2290.  
  2291.  
  2292.         Set Receive Eight-bit-quote-char
  2293.  
  2294. This command sets the character to be used to quote charac-
  2295. ters when EIGHT-BIT QUOTING is ON.  The default value is
  2296. hexadecimal 26 (decimal 38, ASCII "&").  Please see Set
  2297. Eight-bit-quoting for further information.  The format of
  2298. this command is:
  2299.  
  2300. Kermit-65>set receive eight-bit-quote-char [value]
  2301.  
  2302. where [value] is the ASCII value of the character (in hex)
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.  
  2318.  
  2319. C-64/128 Kermit User's Guide                         Page 31
  2320.  
  2321.  
  2322. to use for eight-bit quoting.
  2323.  
  2324.         Set Receive End-of-line
  2325.  
  2326. This command sets the end of line character that C-64/128
  2327. Kermit expects to receive from the remote Kermit.  This is
  2328. the character which terminates a packet of data during file
  2329. transmission.  The default value is hexadecimal 0D (ASCII
  2330. <CTRL> - <M>, which is <RETURN>).  The format of this com-
  2331. mand is:
  2332.  
  2333. Kermit-65>set receive end-of-line [value]
  2334.  
  2335. where [value] is the ASCII value of the character to use for
  2336. the end of line character (in hex).
  2337.  
  2338.         Set Receive Packet-length
  2339.  
  2340. This command sets the receive packet length.  The value for
  2341. this parameter must be between hexadecimal 0A (decimal 10)
  2342. and $60 (decimal 96).  Packet lengths outside of this range
  2343. are illegal.  The default value is $5E (94 decimal).  The
  2344. format of this command is:
  2345.  
  2346. Kermit-65>set receive packet-length [value]
  2347.  
  2348. where [value] is the ASCII value of the receive packet
  2349. length (in hex).
  2350.  
  2351.         Set Receive Pad-char
  2352.  
  2353. This parameter is the padding character that is expected
  2354. from the remote Kermit.  The parameter must be a hex number
  2355. between 0 and $1F or $7F.  All other values are illegal.
  2356. The default value is 0 (ASCII NUL).  The format of this com-
  2357. mand is:
  2358.  
  2359. Kermit-65>set receive pad-char [value]
  2360.  
  2361. where [value] is the ASCII value of the character to be used
  2362. as a pad character (in hex).
  2363.  
  2364.         Set Receive Padding
  2365.  
  2366. This command sets the number of padding characters to
  2367. request before each packet coming from the other Kermit.
  2368. The default value is 0.  The format of this command is:
  2369.  
  2370. Kermit-65>set receive padding [value]
  2371.  
  2372. where [value] is the number (in hex) of padding characters
  2373. to use.  NOTE: This command, along with SET RECEIVE PAD-
  2374. CHAR, is only used under very unusual circumstances.  At
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.  
  2384.  
  2385. Page 32                         C-64/128 Kermit User's Guide
  2386.  
  2387.  
  2388. this time, no Kermit program for any machine is known to
  2389. need padding, and if one did, it would request it without
  2390. intervention.
  2391.  
  2392.         Set Receive Quote-char
  2393.  
  2394. This command sets the quoting character that C-64/128 Kermit
  2395. will expect on incoming files.  This is the character used
  2396. to quote control characters.  The default value is $23
  2397. (ASCII "#").  The format of this command is:
  2398.  
  2399. Kermit-65>set receive quote-char [value]
  2400.  
  2401. where [value] is the ASCII value of the quoting character
  2402. (in hex).
  2403.  
  2404.         Set Receive Timeout
  2405.  
  2406. This command sets the number of seconds that C-64/128 Kermit
  2407. will wait for acknowledgement before it will retry sending
  2408. or receiving the current packet of data (during a RECEIVE,
  2409. SEND, or GET).  The default value is 15 seconds (hex 0F).
  2410. The format of this command is:
  2411.  
  2412. Kermit-65>set receive timeout [value]
  2413.  
  2414. where [value] is the number of seconds to wait for a message
  2415. from the remote Kermit (in hex).
  2416.  
  2417.       Set RS232-registers
  2418.  
  2419. This command sets the 2 RS-232 registers in the C-64/128
  2420. that control the baud rate, parity, etc.  The 2 registers
  2421. are treated as a 16 bit hex integer.  The first 2 digits are
  2422. the SECOND register and the last 2 digits are the FIRST
  2423. register.  If only 2 digits are entered, the second register
  2424. is cleared.  The format of this command is:
  2425.  
  2426. Kermit-65>set rs232-registers [value]
  2427.  
  2428. where [value] is a four-byte long hex integer.  Some exam-
  2429. ples:
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.  
  2451. C-64/128 Kermit User's Guide                         Page 33
  2452.  
  2453.  
  2454.     Kermit-65>set rs232-registers 0006   sets the registers
  2455.                                          to 06, 00 for 300
  2456.                                          baud, 8 bits, no
  2457.                                          parity
  2458.  
  2459.     Kermit-65>set rs232-registers a026   sets the registers
  2460.                                          to $26, $A0 for 300
  2461.                                          baud, 7 bits, mark
  2462.                                          parity.
  2463.  
  2464. See the Commodore 64 or 128 Programmer's Reference Guides
  2465. for a complete description of the RS-232 registers.  Please
  2466. note that this command is rarely used-- it is a holdover
  2467. from the earliest versions of Kermit.  You can use the SET
  2468. BAUD and SET PARITY commands to set the baud and parity for
  2469. most cases.  See the Known Restrictions section of Appendix
  2470. A for exceptions.
  2471.  
  2472.       Set Screen-driver
  2473.  
  2474. This command switches the display mode.  Kermit is capable
  2475. of displaying text in 40 and 80 columns, using the Batteries
  2476. Included BI-80 80 column card, and also using the Commodore
  2477. 128's 80 column screen.  Not all of the displays are capable
  2478. of completely accurate displays.  For example, the standard
  2479. Batteries Included 80 column character set does not include
  2480. certain standard ASCII characters.  In all cases the best
  2481. compromise was made to provide the most accurate display
  2482. (Please see the Screen Driver Comparison section for further
  2483. information).  The format of this command is:
  2484.  
  2485. Kermit-65>set screen-driver [keyword]
  2486.  
  2487. where [keyword] is 40-COLUMNS, 80-COLUMNS, BI-80,
  2488. COMMODORE-128, or CUSTOM-BI-80.
  2489.  
  2490.       Set Send
  2491.  
  2492. It is possible to set various parameters associated with the
  2493. sending of data to the remote Kermit.  SET SEND enables you
  2494. to set the various SEND parameters.  These parameters should
  2495. not normally be changed since, as part of the transfer ini-
  2496. tialization process, the two Kermits exchange their RECEIVE
  2497. parameters.  The capability of setting these parameters is
  2498. provided so that the transfer initialization can be com-
  2499. pleted even if the default parameters are not correct.  The
  2500. format of this command is:
  2501.  
  2502. Kermit-65>set send <suboption>
  2503.  
  2504. The suboptions of the SET SEND command are:
  2505.  
  2506.     Eight-bit-quote-char   End-of-line   Packet-length
  2507.     Pad-char               Padding       Quote-char
  2508.     Timeout
  2509.  
  2510. The suboption descriptions for the SET SEND command are the
  2511. same as those for the SET RECEIVE command (except that they
  2512. affect sending, not receiving, parameters). So, to avoid
  2513.  
  2514.  
  2515.  
  2516.  
  2517. Page 34                         C-64/128 Kermit User's Guide
  2518.  
  2519.  
  2520. redundancy, please refer to the appropriate suboption
  2521. descriptions under the Set Receive section for further
  2522. information.
  2523.  
  2524.       Set Terminal-emulation
  2525.  
  2526. Kermit is capable of emulating two popular terminals, as
  2527. well as act as a dummy (glass) terminal.  The SET TERMINAL-
  2528. EMULATION command changes the type of terminal Kermit emu-
  2529. lates.  The format for this command is:
  2530.  
  2531. Kermit-65>set terminal-emulation [type]
  2532.  
  2533. where [type] is NONE, VT-52, or VT-100.  Kermit provides
  2534. very accurate emulation of the DEC VT-52 and VT-100 termi-
  2535. nals.  In VT-100 mode, Kermit can perform most all functions
  2536. of a VT-100 terminal, including displaying a graphics char-
  2537. acter set as well as emulating certain VT-102 sequences.
  2538. See Terminal-Type Features for more info.
  2539.  
  2540.       Set Word-size
  2541.  
  2542. This option sets the data word length for communication with
  2543. another computer.  Although word lengths below seven bits
  2544. exist, C-64/128 Kermit only supports seven and eight bit
  2545. word lengths.  The format of this command is:
  2546.  
  2547. Kermit-65>set word-size [length]
  2548.  
  2549. where [length] is either SEVEN-BIT or EIGHT-BIT.
  2550.  
  2551.     Show
  2552.  
  2553. The SHOW command allows you to examine the status of many of
  2554. the SET parameters.  The format is:
  2555.  
  2556. Kermit-65>show <option> <suboption>...
  2557.  
  2558. The options available to SHOW are:
  2559.  
  2560.     All                  Baud              Debugging
  2561.     Eight-bit-quoting    Escape            File-byte-size
  2562.     File-type            File-warning      Flow-control
  2563.     IBM                  Local-echo        Parity
  2564.     Receive              RS232-Registers   Send
  2565.     Terminal-emulation   Word-size
  2566.  
  2567. The SHOW ALL command will display the settings for most of
  2568. the parameters that may be SET.  The other SHOW options and
  2569. suboptions will display the current value of just that par-
  2570. ticular parameter.  Note: The 4 color commands and the
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583. C-64/128 Kermit User's Guide                         Page 35
  2584.  
  2585.  
  2586. SCREEN-DRIVER command are not currently supported.
  2587.  
  2588.     Status
  2589.  
  2590. STATUS displays the current values of various counts associ-
  2591. ated with the most recent file transfer.  This includes the
  2592. number of characters that have been sent and received from
  2593. the remote Kermit with the amount of characters which were
  2594. actual data as well as the overhead for both send and
  2595. receive.  Also included is the last error encountered (if
  2596. any) and the disk drive error status (absent if no error).
  2597. STATUS has no arguments with the format:
  2598.  
  2599. Kermit-65>status
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648.  
  2649. Page 36                         C-64/128 Kermit User's Guide
  2650.  
  2651.  
  2652. Appendix A: Implementation Notes
  2653.  
  2654. This appendix contains information mainly of interest to
  2655. people who are familiar with Kermit-- experienced users and
  2656. programmers.  First time users may not find too much useful
  2657. information here.
  2658.  
  2659.  
  2660.   Summary of Kermit Capabilities
  2661.  
  2662.  
  2663.     C-64/128 Kermit v2.2 Capabilities at a Glance:
  2664.  
  2665.     Local operation:                  Yes
  2666.     Remote operation:                 Yes
  2667.     Transfer text files:              Yes
  2668.     Transfer binary files:            Yes
  2669.     Wildcard send:                    No
  2670.     ^X/^Y interruption:               Yes
  2671.     Filename collision avoidance:     Yes
  2672.     Can time out:                     Yes
  2673.     8th-bit prefixing:                Yes
  2674.     Repeat count prefixing:           No
  2675.     Alternate block checks:           No
  2676.     Terminal emulation:               Yes
  2677.     Communication settings:           Yes
  2678.     Transmit BREAK:                   Yes
  2679.     IBM communication:                Yes
  2680.     Transaction logging:              No
  2681.     Session logging (raw download):   No
  2682.     Raw upload:                       No
  2683.     Act as server:                    No
  2684.     Talk to server:                   Yes
  2685.     Advanced server commands:         No
  2686.     Local file management:            Yes
  2687.     Handle file attributes:           No
  2688.     Command/init files:               Yes
  2689.     Printer control:                  No
  2690.  
  2691.  
  2692.  
  2693.   Known Restrictions
  2694.  
  2695.  
  2696. Kermit is a comprehensive telecommunications package.
  2697. Because it is continually under development, however, some
  2698. features are not fully implemented.  These incomplete
  2699. features therefore have some restrictions as to their use.
  2700. They are:
  2701.  
  2702.    + The SET BAUD command does not support baud rates under
  2703.      300 bps.  To set speeds of 50, 75, 110, or 150 bps, you
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715. C-64/128 Kermit User's Guide                         Page 37
  2716.  
  2717.  
  2718.      will have to set the RS-232 registers directly.  Please
  2719.      see the SET RS232-REGISTERS section for more informa-
  2720.      tion on this procedure.
  2721.  
  2722.    + Any changes made using the SET RS232-REGISTERS command
  2723.      will not be reflected in the BAUD, PARITY, or WORD-SIZE
  2724.      parameters.
  2725.  
  2726.    + If the initialization file, KERMIT.INI, isn't on the
  2727.      same disk as Kermit when you boot, Kermit will crash,
  2728.      exiting to BASIC.  You can recover from this condition
  2729.      by inserting a disk containing a KERMIT.INI and typing
  2730.      RUN.  You MUST have a disk with a KERMIT.INI file on it
  2731.      in order to boot Kermit.
  2732.  
  2733.    + Kermit currently does not work with the Commodore 1660
  2734.      modem.  This modem is backwards in terms of picking up
  2735.      and hanging up the phone.  We will fix this in a future
  2736.      version of Kermit.
  2737.  
  2738.  
  2739.   Future Plans for Kermit
  2740.  
  2741.  
  2742. New features can always be added, it seems, to a program.
  2743. We are currently considering implementing the following
  2744. features for a future version of Kermit:
  2745.  
  2746.    + Modem support.  Kermit needs to be able to work with
  2747.      the Commodore 1660 modem and other "oddballs".  This
  2748.      would require a SET MODEM-TYPE command.
  2749.  
  2750.    + Long packets.  Long packets allow more data to be sent
  2751.      per packet, speeding up file transmission considerably.
  2752.  
  2753.    + Remote server commands.  With this command Kermit would
  2754.      be able to answer the phone automatically and
  2755.      send/receive files without anyone present.  Kermit
  2756.      would function as a very simple bulletin board in a
  2757.      way.
  2758.  
  2759.    + New parser.  The current parser is VERY large, ineffi-
  2760.      cient, and riddled with numerous bugs.
  2761.  
  2762.    + TAKE command.  This command would allow multiple ini-
  2763.      tialization files.  In other words, you could have an
  2764.      initialization file for every different configuration
  2765.      you use.
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.  
  2779.  
  2780.  
  2781. Page 38                         C-64/128 Kermit User's Guide
  2782.  
  2783.  
  2784. Appendix B: Default Initialization Settings
  2785.  
  2786. This appendix is of use mainly to experienced Kermit users.
  2787. Kermit loads various default settings from disk on power-up
  2788. (or when the command RESTORE is issued).  Kermit reads in
  2789. the settings from a file called KERMIT.INI.  Below are the
  2790. default settings for all of the parameters contained in
  2791. KERMIT.INI.
  2792.  
  2793.     Parameter                       Setting
  2794.  
  2795.     Debugging                       Terse
  2796.     Terminal Emulation              VT-100
  2797.     IBM Mode                        Off
  2798.     Local Echo                      Off
  2799.     Baud Rate                       1200
  2800.     Parity                          None
  2801.     Word Size                       Eight
  2802.     Flow Control                    On
  2803.     Eight Bit Quoting               On
  2804.     File Warning                    On
  2805.     Escape Character                ^Y
  2806.     File Type                       PETSCII
  2807.     File Byte Size                  Eight Bit
  2808.     RS232 Registers                 $0000
  2809.     Receive
  2810.       Padding Character             ^@
  2811.       Amount of Padding             00
  2812.       Eight Bit Quoting Character   &
  2813.       End of Line Character         ^M
  2814.       Packet Length                 $5D
  2815.       Quote Character               #
  2816.       Timeout Character             0A
  2817.     Send
  2818.       Padding Character             ^@
  2819.       Amount of Padding             00
  2820.       Eight Bit Quoting Character   &
  2821.       End of Line Character         ^M
  2822.       Packet Length                 $5D
  2823.       Quote Character               #
  2824.       Timeout Character             0A
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.  
  2844.  
  2845.  
  2846.  
  2847. C-64/128 Kermit User's Guide                         Page 39
  2848.  
  2849.  
  2850. Appendix C: Keyboard Layouts
  2851.  
  2852.  
  2853.  
  2854.   Commodore 64 Map
  2855.  
  2856. Kermit redefines a few keys on the Commodore 64 keyboard
  2857. both to send ASCII characters that are not found in the
  2858. standard Commodore character set and to send some special
  2859. VT-100/52 key sequences.  These redefined keys are most use-
  2860. ful when communicating with a mainframe host.  The following
  2861. is a list of the redefined keys:
  2862.  
  2863. If You Type This                    You Send This
  2864.  
  2865. <Left Arrow>                        <ESC>
  2866. <Up Arrow>                          <Hat>
  2867. <Shifted "="> or <F1>               <Underscore>
  2868. <Shifted British Pound> or <F2>     <Pipe>
  2869. <Shifted "@"> or <F3>               <Grave accent>
  2870. <Shifted Up Arrow> or <F4>          <Tilde>
  2871. <Shifted "+"> or <F5>               <Left Brace>
  2872. <Shifted "-"> or <F6>               <Right Brace>
  2873. <British Pound>                     <Backslash>
  2874. <STOP>                              <CTRL> - <C>
  2875. <CLR>                               <CTRL> - <L>
  2876. <HOME>                              <CTRL> - <H>
  2877. <DEL>                               <DEL>
  2878. <INST>                              <BREAK>
  2879. Cursor Keys                         VT-100/52 Cursor Key
  2880.                                       Sequences
  2881. <CTRL> - <F1>                       VT-100/52 PF 1
  2882. <CTRL> - <F3>                       VT-100/52 PF 2
  2883. <CTRL> - <F5>                       VT-100/52 PF 3
  2884. <CTRL> - <F7>                       VT-100/52 PF 4
  2885. <CTRL> - <0> through <CTRL> - <9>   VT-100/52 Num.
  2886.                                       Keypad 0 through 9
  2887. <CTRL> - "-"                        VT-100/52 Num.
  2888.                                       Keypad "-"
  2889. <CTRL> - "."                        VT-100/52 Num.
  2890.                                       Keypad "."
  2891. <CTRL> - ","                        VT-100/52 Num.
  2892.                                       Keypad ","
  2893. <CTRL> - "+"                        VT-100/52 Num.
  2894.                                       Keypad "," (dupli-
  2895.                                       cate)
  2896. <CTRL> - <RETURN>                   VT-100/52 Num.
  2897.                                       Keypad <ENTER>
  2898.  
  2899. Also, the <C=> key will temporarily stop character display.
  2900. It acts as a toggle, and will start the display again when
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.  
  2912.  
  2913. Page 40                         C-64/128 Kermit User's Guide
  2914.  
  2915.  
  2916. pressed a second time.  This works only in Connect mode.
  2917.  
  2918.  
  2919.   Commodore 128 Map
  2920.  
  2921. The Commodore 128 has an expanded layout that includes all
  2922. of the Commodore 64 redefined keys.  In other words, the
  2923. Commodore 128 keyboard layout is a superset of the Commodore
  2924. 64 layout.  The following is a list of the special C-128
  2925. keys.
  2926.  
  2927.     If You Type This             You Send This
  2928.  
  2929.     <ESC>                        <ESC>
  2930.     <HELP>                       <"?">
  2931.     <LINEFEED>                   <CTRL> - <J>
  2932.     <TAB>                        <CTRL> - <I>
  2933.     Grey Cursor Keys             VT-100/52 Cursor Key
  2934.                                    Sequences
  2935.     Numeric Keypad 0 through 9   VT-100/52 Num.
  2936.                                    Keypad 0 through 9
  2937.     Numeric Keypad "-"           VT-100/52 Num.
  2938.                                    Keypad "-"
  2939.     Numeric Keypad "."           VT-100/52 Num.
  2940.                                    Keypad "."
  2941.     Numeric Keypad "+"           VT-100/52 Num.
  2942.                                    Keypad ","
  2943.  
  2944. Also, <CAPS LOCK> is functional.  All lowercase letters are
  2945. changed to upper case when this key is in the down position.
  2946.  
  2947.  
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.  
  2956.  
  2957.  
  2958.  
  2959.  
  2960.  
  2961.  
  2962.  
  2963.  
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977.  
  2978.  
  2979. C-64/128 Kermit User's Guide                         Page 41
  2980.  
  2981.  
  2982. Appendix D: UNIX (TM) Termcap Settings
  2983.  
  2984. Kermit emulates a DEC VT-100 terminal with a complete VT-52
  2985. mode, graphics character set, and extra VT-102 editing
  2986. features.  On UNIX (TM), you can use most of Kermit's
  2987. features by setting your terminal type to VT-100.  However,
  2988. to use the extra features such as the VT-102 editing
  2989. sequences, a visual bell, and a sysline (25th line used for
  2990. system status programs), you will need to use the following
  2991. as your termcap instead:
  2992.  
  2993. Kc|vt100|Commodore 64/128 Kermit in VT-100 mode:\
  2994.     :ae=\E(1:AL=\E[%dL:al=\E[L:as=\E(0:bc=^H:bl=^G:bs:\
  2995.     :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:\
  2996.     :cr=^M:cs=\E[%i%d;%dr:DC=\E[%dP:dc=\E[P:\
  2997.     :DL=\E[%dM:dl=\E[M:DO=\E[%dB:do=^J:\
  2998.     :ds=\E7\E[25H\E[2K\E8:ei=\E[4l:es:fs=\E8:ho=\E[H:hs:\
  2999.     :im=\E[4h:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
  3000.     :kb=\177:kd=\E[B:ke=\E>:kl=\E[D:kn=4:kr=\E[C:\
  3001.     :ks=\E=:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:\
  3002.     :LE=\E[%dD:le=^H:li#24:ll=\E[24H:mb=\E[5m:\
  3003.     :md=\E[1m:me=\E[m:mi:mr=\E[7m:ms:nd=\E[C:pt:\
  3004.     :rc=\E8:RI=\E[%dC:rs=\E<\Ec:sc=\E7:se=\E[m:\
  3005.     :so=\E[7m:sr=\EM:ta=^I:te=\E[?7h:ti=\E[?7l:\
  3006.     :ts=\E7\E[%i25;%dH\E[m\E(1\E[1K:ue=\E[m:\
  3007.     :UP=\E[%dA:up=\E[A:us=\E[4m:vb=\E[?5h\E,\E[?5l:\
  3008.     :vt#3:xo
  3009.  
  3010. This custom termcap also fixes several minor bugs and omis-
  3011. sions in the standard VT-100 termcap entry found in Berkeley
  3012. 4.3 BSD UNIX.
  3013.  
  3014. Note that any British Pound signs in the above termcap entry
  3015. should really be backslashes.  Commodore computers map the
  3016. backslash onto the British Pound sign, as they don't have
  3017. the backslash in their character sets.
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045. Page 42                         C-64/128 Kermit User's Guide
  3046.  
  3047.  
  3048. Appendix E: BI-80 Replacement ROM Information
  3049.  
  3050. Kent Sullivan is now making available a replacement
  3051. character ROM for the BI-80 card.  This replacement ROM adds
  3052. the ASCII characters that are missing from the Commodore
  3053. character set (backslash, braces, underscore, tilde, grave
  3054. accent, pipe, and hat) plus the VT-100 line graphics charac-
  3055. ter set.
  3056.  
  3057. To add these characters, some sacrifices had to be made.  As
  3058. you may know, the Commodore 64/128 and the BI-80 have two
  3059. separate character sets: upper/lower case and upper
  3060. case/graphics.  The upper/lower case set remains as is in
  3061. the new ROM, so most commercial programs that work on a BI-
  3062. 80 are not affected (such as the Paperclip word processor
  3063. from Batteries Included).  The upper case/graphics character
  3064. set has been changed quite a bit, so some programs may be
  3065. affected (such as a BASIC program that uses extensive char-
  3066. acter graphics).
  3067.  
  3068. The new ROM is $7.50 (US funds only; WA residents please add
  3069. 8.2% sales tax) and comes with complete installation
  3070. instructions.
  3071.  
  3072.  
  3073.  
  3074.  
  3075.  
  3076.  
  3077.  
  3078.  
  3079.  
  3080.  
  3081.  
  3082.  
  3083.  
  3084.  
  3085.  
  3086.  
  3087.  
  3088.  
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.