home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional Developers Kit 1992 November / Disc01 / Disc01.mdf / prodtool / tinyed / read.me next >
Encoding:
Text File  |  1992-08-05  |  90.9 KB  |  3,026 lines

  1.  
  2.  
  3.                                                                 TDoc-v200-0
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.         ===================================================================
  35.         T
  36.         A Tiny Editor
  37.         By Tim Baldwin
  38.         Version 2.00
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.         (C) Copyright IBM Corporation 1987, 1992
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.         (C) Copyright IBM Corporation 1987, 1992
  68.         
  69.         
  70.         
  71.         PREFACE
  72.  
  73.         This document describes T - a very small yet very powerful full
  74.         screen text editor for IBM PC, PS/2 and compatible machines.  The
  75.         document is divided into two main parts: "Part 1.  Using The
  76.         Editor" and "Part 2.  Editor Reference".
  77.  
  78.         Part 1 is a user's guide containing these sections:
  79.  
  80.         -  "1.0 Introduction".  This describes T, giving an overview of its
  81.            main features and omissions.  It also details the hardware and
  82.            software you will need to be able to use the editor and how you
  83.            can obtain a copy.
  84.  
  85.         -  "2.0 Getting Started".  This describes how to install T ready
  86.            for use.  It describes how to start up the editor, what the
  87.            screen looks like and how to use the help files.
  88.  
  89.         -  "3.0 Editing".  Contains a brief introduction to editing with
  90.            T describing how to issue commands and functions and the basics
  91.            of editing.  This section also covers searching and replacing,
  92.            the word processing features, the box drawing functions and
  93.            describes how to print documents when using the editor.
  94.  
  95.         -  "4.0 Customising".  Describes how the editor can be customised
  96.            to change the screen colours, to redefine the keyboard functions
  97.            and to alter some other special editor settings.  This section
  98.            also shows how to customise the help files supplied with
  99.            T.
  100.  
  101.         Part 2 is the reference manual, divided into three sections:
  102.  
  103.         -  "1.0 Commands".  An alphabetical list of all the editor's
  104.            commands.
  105.  
  106.         -  "2.0 Keyboard Functions".  An alphabetical list of all the
  107.            editor's keyboard functions.
  108.  
  109.         -  "3.0 Settings".  An alphabetical list of all the editor's
  110.            special settings.
  111.  
  112.         Two appendices are also included:
  113.  
  114.         -  "Appendix A.  Messages".  Lists all the messages T can produce,
  115.            giving the meaning of the message and any possible action that
  116.            may need to be taken.
  117.  
  118.         -  "Appendix B.  User Definable Keys".  Lists all the valid names
  119.            and shift- combinations for the user-definable keys.
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.         
  128.                                                                  Preface  i
  129.  
  130.  
  131.         (C) Copyright IBM Corporation 1987, 1992
  132.         
  133.         
  134.         
  135.         CONTENTS
  136.  
  137.  
  138.           Part 1.  Using The Editor   . . . . . . . . . . . . . . . . . . 1
  139.  
  140.           1.0 Introduction  . . . . . . . . . . . . . . . . . . . . . . . 2
  141.           1.1 Features and Omissions  . . . . . . . . . . . . . . . . . . 2
  142.           1.2 What You Need   . . . . . . . . . . . . . . . . . . . . . . 3
  143.  
  144.           2.0 Getting Started   . . . . . . . . . . . . . . . . . . . . . 4
  145.           2.1 Starting T  . . . . . . . . . . . . . . . . . . . . . . . . 4
  146.           2.2 Screen Layout   . . . . . . . . . . . . . . . . . . . . . . 4
  147.           2.3 The Help File   . . . . . . . . . . . . . . . . . . . . . . 5
  148.  
  149.           3.0 Editing   . . . . . . . . . . . . . . . . . . . . . . . . . 6
  150.           3.1 Simple Editing  . . . . . . . . . . . . . . . . . . . . . . 6
  151.             3.1.1 The Command Line  . . . . . . . . . . . . . . . . . . . 6
  152.             3.1.2 The Data Area   . . . . . . . . . . . . . . . . . . . . 6
  153.             3.1.3 Marking and Copying Lines   . . . . . . . . . . . . . . 7
  154.             3.1.4 Saving Documents  . . . . . . . . . . . . . . . . . . . 7
  155.             3.1.5 Working On Several Documents  . . . . . . . . . . . . . 7
  156.           3.2 Search and Replace  . . . . . . . . . . . . . . . . . . . . 8
  157.             3.2.1 Searching   . . . . . . . . . . . . . . . . . . . . . . 8
  158.             3.2.2 Replacing   . . . . . . . . . . . . . . . . . . . . . . 8
  159.           3.3 Word Processing   . . . . . . . . . . . . . . . . . . . . . 9
  160.             3.3.1 The Right Margin and Word Spill   . . . . . . . . . . . 9
  161.             3.3.2 The ADJUST LINE Function  . . . . . . . . . . . . . . . 9
  162.           3.4 Drawing Boxes  . . . . . . . . . . . . . . . . . . . . . . 10
  163.           3.5 Printing   . . . . . . . . . . . . . . . . . . . . . . . . 10
  164.             3.5.1 Printer Control Codes  . . . . . . . . . . . . . . . . 11
  165.             3.5.2 Printer Set Up   . . . . . . . . . . . . . . . . . . . 11
  166.  
  167.           4.0 Customising  . . . . . . . . . . . . . . . . . . . . . . . 12
  168.           4.1 The Custom Definition File   . . . . . . . . . . . . . . . 12
  169.             4.1.1 Colour Commands  . . . . . . . . . . . . . . . . . . . 13
  170.             4.1.2 Key Commands   . . . . . . . . . . . . . . . . . . . . 14
  171.             4.1.3 Set Commands   . . . . . . . . . . . . . . . . . . . . 16
  172.           4.2 The HELP and USER Functions  . . . . . . . . . . . . . . . 16
  173.           4.3 The Enhanced Keyboard  . . . . . . . . . . . . . . . . . . 17
  174.  
  175.           Part 2.  Editor Reference  . . . . . . . . . . . . . . . . . . 18
  176.  
  177.           1.0 Commands   . . . . . . . . . . . . . . . . . . . . . . . . 19
  178.           1.1 APPEND   . . . . . . . . . . . . . . . . . . . . . . . . . 19
  179.           1.2 CHANGE   . . . . . . . . . . . . . . . . . . . . . . . . . 19
  180.           1.3 DOS  . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
  181.           1.4 EDIT   . . . . . . . . . . . . . . . . . . . . . . . . . . 20
  182.           1.5 FILE   . . . . . . . . . . . . . . . . . . . . . . . . . . 20
  183.           1.6 GET  . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
  184.           1.7 GOTO   . . . . . . . . . . . . . . . . . . . . . . . . . . 21
  185.           1.8 LOCATE   . . . . . . . . . . . . . . . . . . . . . . . . . 21
  186.           1.9 MARGIN   . . . . . . . . . . . . . . . . . . . . . . . . . 21
  187.           1.10 NAME  . . . . . . . . . . . . . . . . . . . . . . . . . . 22
  188.           1.11 PRINT   . . . . . . . . . . . . . . . . . . . . . . . . . 22
  189.           1.12 PUT   . . . . . . . . . . . . . . . . . . . . . . . . . . 22
  190.  
  191.         
  192.                                                                Contents  ii
  193.  
  194.  
  195.         (C) Copyright IBM Corporation 1987, 1992
  196.         
  197.         
  198.         
  199.           1.13 QUIT  . . . . . . . . . . . . . . . . . . . . . . . . . . 22
  200.           1.14 SAVE  . . . . . . . . . . . . . . . . . . . . . . . . . . 22
  201.           1.15 VERSION   . . . . . . . . . . . . . . . . . . . . . . . . 23
  202.  
  203.           2.0 Keyboard Functions   . . . . . . . . . . . . . . . . . . . 24
  204.           2.1 ADJUST LINE  . . . . . . . . . . . . . . . . . . . . . . . 24
  205.           2.2 BACKSPACE  . . . . . . . . . . . . . . . . . . . . . . . . 24
  206.           2.3 BACKTAB  . . . . . . . . . . . . . . . . . . . . . . . . . 24
  207.           2.4 BOTTOM OF FILE   . . . . . . . . . . . . . . . . . . . . . 24
  208.           2.5 BOTTOM OF MARK   . . . . . . . . . . . . . . . . . . . . . 25
  209.           2.6 BOTTOM OF SCREEN   . . . . . . . . . . . . . . . . . . . . 25
  210.           2.7 CLEAR MARK   . . . . . . . . . . . . . . . . . . . . . . . 25
  211.           2.8 COMMAND TOGGLE   . . . . . . . . . . . . . . . . . . . . . 25
  212.           2.9 COPY MARK  . . . . . . . . . . . . . . . . . . . . . . . . 25
  213.           2.10 DELETE CHARACTER  . . . . . . . . . . . . . . . . . . . . 25
  214.           2.11 DELETE LINE   . . . . . . . . . . . . . . . . . . . . . . 25
  215.           2.12 DELETE MARK   . . . . . . . . . . . . . . . . . . . . . . 26
  216.           2.13 DOWN  . . . . . . . . . . . . . . . . . . . . . . . . . . 26
  217.           2.14 EDIT  . . . . . . . . . . . . . . . . . . . . . . . . . . 26
  218.           2.15 END OF LINE   . . . . . . . . . . . . . . . . . . . . . . 26
  219.           2.16 ESCAPE  . . . . . . . . . . . . . . . . . . . . . . . . . 26
  220.           2.17 FILE  . . . . . . . . . . . . . . . . . . . . . . . . . . 26
  221.           2.18 HELP  . . . . . . . . . . . . . . . . . . . . . . . . . . 27
  222.           2.19 INSERT LINE   . . . . . . . . . . . . . . . . . . . . . . 27
  223.           2.20 INSERT TOGGLE   . . . . . . . . . . . . . . . . . . . . . 27
  224.           2.21 JOIN LINE   . . . . . . . . . . . . . . . . . . . . . . . 27
  225.           2.22 LEFT  . . . . . . . . . . . . . . . . . . . . . . . . . . 27
  226.           2.23 MARK LEFT   . . . . . . . . . . . . . . . . . . . . . . . 27
  227.           2.24 MARK LINE   . . . . . . . . . . . . . . . . . . . . . . . 28
  228.           2.25 MARK RIGHT  . . . . . . . . . . . . . . . . . . . . . . . 28
  229.           2.26 MOVE MARK   . . . . . . . . . . . . . . . . . . . . . . . 28
  230.           2.27 NAME  . . . . . . . . . . . . . . . . . . . . . . . . . . 28
  231.           2.28 NEW LINE  . . . . . . . . . . . . . . . . . . . . . . . . 28
  232.           2.29 NEXT FILE   . . . . . . . . . . . . . . . . . . . . . . . 29
  233.           2.30 NEXT LINE   . . . . . . . . . . . . . . . . . . . . . . . 29
  234.           2.31 NEXT WORD   . . . . . . . . . . . . . . . . . . . . . . . 29
  235.           2.32 NOTHING   . . . . . . . . . . . . . . . . . . . . . . . . 29
  236.           2.33 PAGE DOWN   . . . . . . . . . . . . . . . . . . . . . . . 29
  237.           2.34 PAGE UP   . . . . . . . . . . . . . . . . . . . . . . . . 29
  238.           2.35 PREVIOUS FILE   . . . . . . . . . . . . . . . . . . . . . 29
  239.           2.36 PREVIOUS WORD   . . . . . . . . . . . . . . . . . . . . . 29
  240.           2.37 QUIT  . . . . . . . . . . . . . . . . . . . . . . . . . . 30
  241.           2.38 REPEAT FIND   . . . . . . . . . . . . . . . . . . . . . . 30
  242.           2.39 REPEAT LINE   . . . . . . . . . . . . . . . . . . . . . . 30
  243.           2.40 RIGHT   . . . . . . . . . . . . . . . . . . . . . . . . . 30
  244.           2.41 SAFE FILE   . . . . . . . . . . . . . . . . . . . . . . . 30
  245.           2.42 SAVE  . . . . . . . . . . . . . . . . . . . . . . . . . . 30
  246.           2.43 SCROLL DOWN   . . . . . . . . . . . . . . . . . . . . . . 30
  247.           2.44 SCROLL LEFT   . . . . . . . . . . . . . . . . . . . . . . 31
  248.           2.45 SCROLL RIGHT  . . . . . . . . . . . . . . . . . . . . . . 31
  249.           2.46 SCROLL UP   . . . . . . . . . . . . . . . . . . . . . . . 31
  250.           2.47 SPLIT LINE  . . . . . . . . . . . . . . . . . . . . . . . 31
  251.           2.48 START OF LINE   . . . . . . . . . . . . . . . . . . . . . 31
  252.           2.49 TAB   . . . . . . . . . . . . . . . . . . . . . . . . . . 31
  253.           2.50 TOP OF FILE   . . . . . . . . . . . . . . . . . . . . . . 31
  254.  
  255.         
  256.                                                               Contents  iii
  257.  
  258.  
  259.         (C) Copyright IBM Corporation 1987, 1992
  260.         
  261.         
  262.         
  263.           2.51 TOP OF MARK   . . . . . . . . . . . . . . . . . . . . . . 32
  264.           2.52 TOP OF SCREEN   . . . . . . . . . . . . . . . . . . . . . 32
  265.           2.53 TRUNCATE LINE   . . . . . . . . . . . . . . . . . . . . . 32
  266.           2.54 UNDO  . . . . . . . . . . . . . . . . . . . . . . . . . . 32
  267.           2.55 UP  . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
  268.           2.56 USER  . . . . . . . . . . . . . . . . . . . . . . . . . . 32
  269.  
  270.           3.0 Settings   . . . . . . . . . . . . . . . . . . . . . . . . 33
  271.           3.1 AUTOMATIC INDENT   . . . . . . . . . . . . . . . . . . . . 33
  272.           3.2 CGA SNOW   . . . . . . . . . . . . . . . . . . . . . . . . 33
  273.           3.3 COMMAND RECALL   . . . . . . . . . . . . . . . . . . . . . 33
  274.           3.4 COMMAND TOGGLE   . . . . . . . . . . . . . . . . . . . . . 34
  275.           3.5 EXACT MATCH  . . . . . . . . . . . . . . . . . . . . . . . 34
  276.           3.6 FINAL EOF  . . . . . . . . . . . . . . . . . . . . . . . . 34
  277.           3.7 HELP COMMAND   . . . . . . . . . . . . . . . . . . . . . . 34
  278.           3.8 HELP LINE  . . . . . . . . . . . . . . . . . . . . . . . . 35
  279.           3.9 INSERT TOGGLE  . . . . . . . . . . . . . . . . . . . . . . 35
  280.           3.10 KEYBOARD  . . . . . . . . . . . . . . . . . . . . . . . . 35
  281.           3.11 MARGIN  . . . . . . . . . . . . . . . . . . . . . . . . . 35
  282.           3.12 TAB EXPAND  . . . . . . . . . . . . . . . . . . . . . . . 35
  283.           3.13 TAB SPACING   . . . . . . . . . . . . . . . . . . . . . . 36
  284.           3.14 USER COMMAND  . . . . . . . . . . . . . . . . . . . . . . 36
  285.  
  286.           Appendix A.  Messages  . . . . . . . . . . . . . . . . . . . . 37
  287.  
  288.           Appendix B.  User Definable Keys   . . . . . . . . . . . . . . 41
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.         
  320.                                                                Contents  iv
  321.  
  322.  
  323.         (C) Copyright IBM Corporation 1987, 1992
  324.         
  325.         
  326.         
  327.                                                   Part 1.  Using The Editor
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.         
  384.                                                Part 1.  Using The Editor  1
  385.  
  386.  
  387.         (C) Copyright IBM Corporation 1987, 1992
  388.         
  389.         
  390.         
  391.         1.0 INTRODUCTION
  392.  
  393.         T is a full screen text editor for the IBM PC, PS/2 and compatible
  394.         family of machines.  It is designed to be quick and easy to learn
  395.         and simple to use, while remaining both extremely powerful and very
  396.         small - to DOS version being under 9K bytes in size.
  397.  
  398.         A very small editor has a number of advantages:
  399.  
  400.         -  It may be used on machines with a limited amount of memory.
  401.            Even a PC with a full 640K of memory can have a large amount of
  402.            this used up when a number of terminate-and-stay-resident type
  403.            programs are installed - local area network drivers and terminal
  404.            emulators are prime examples.
  405.  
  406.         -  It may be used for editing large files, that would be too large
  407.            to load into memory with a bigger editor.
  408.  
  409.         -  It may be invoked from inside other programs yet still have
  410.            enough free memory to edit a good sized file.
  411.  
  412.         -  It loads and starts very quickly indeed.  If you just wish to
  413.            make a small change to your CONFIG.SYS file it can be very
  414.            frustrating to spend time waiting for a large word processor to
  415.            start up.
  416.  
  417.  
  418.  
  419.         1.1 FEATURES AND OMISSIONS
  420.  
  421.         T has the following main features:
  422.  
  423.         -  Very small size, under 9K bytes.
  424.  
  425.         -  Fast, easy to use, full screen interface that adapts
  426.            automatically to use the full size of the display.
  427.  
  428.         -  Can edit very large files, subject to available memory.
  429.  
  430.         -  Can edit any number of files at once, subject to available
  431.            memory.
  432.  
  433.         -  On screen help
  434.  
  435.         -  Very fast search and replace functions.
  436.  
  437.         -  Customisable keyboard and screen colours.
  438.  
  439.         -  Any DOS command may be run without leaving the editor.
  440.  
  441.         -  A "right hand margin" and word-spill to allow some simple word
  442.            processing to be performed.
  443.  
  444.         To keep T small it necessarily lacks some of the more advanced
  445.         features of larger editors.  In particular:
  446.  
  447.         
  448.                                                             Introduction  2
  449.  
  450.  
  451.         (C) Copyright IBM Corporation 1987, 1992
  452.         
  453.         
  454.         
  455.         -  Copying and moving data can only be performed on blocks of one
  456.            or more whole lines.
  457.  
  458.         -  Lines are limited to 255 characters maximum length.
  459.  
  460.         -  Word processing capabilities are very limited.
  461.  
  462.         -  No programmability, although the appearance and function may be
  463.            customised.
  464.  
  465.  
  466.  
  467.         1.2 WHAT YOU NEED
  468.  
  469.         T should run on any IBM PC, PS/2 or compatible machine.  It needs
  470.         PC-DOS or MS-DOS version 2.00 or later, or any version of OS/2.
  471.         The DOS version may also be run as a DOS application under
  472.         Microsoft Windows.  When used with OS/2 with appropriate versions
  473.         of MS Windows it may be run from both full screen and windowed
  474.         command lines, or may be started by placing an entry in one of the
  475.         OS/2 folders or Windows Program Manager groups.
  476.  
  477.         Note: A very small number of non-IBM machines can give trouble with
  478.         the DOS version of T.  Refer to "4.3 The Enhanced Keyboard" on page
  479.         17 for more details.
  480.  
  481.         T is available from CompuServe and is supplied in a single file
  482.         called TINYED.ZIP.  This .ZIP file should be expanded using PKUNZIP
  483.         in the usual manner and when expanded will give these files:
  484.  
  485.         T.EXE        This is the PC-DOS executable version of the editor.
  486.  
  487.         T2.EXE       This is the OS/2 executable version of the editor.
  488.  
  489.         THELP.HLP    This is a simple help file for the standard editor
  490.                      configuration.
  491.  
  492.         TKEY.EXE     This is the customiser program.  It will run under
  493.                      either PC-DOS or OS/2 and will customise either
  494.                      version of the editor.
  495.  
  496.         TKEYS.DEF    This is a sample custom definition file that describes
  497.                      the standard editor configuration.
  498.  
  499.         T.DOC        This file, the full documentation.
  500.  
  501.         TINYED.ABS   A short introduction to installing and using the
  502.                      editor.
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.         
  512.                                                             Introduction  3
  513.  
  514.  
  515.         (C) Copyright IBM Corporation 1987, 1992
  516.         
  517.         
  518.         
  519.         2.0 GETTING STARTED
  520.  
  521.         This section describes how to get T up and running, what the screen
  522.         looks like and how to ask for help.
  523.  
  524.  
  525.         2.1 STARTING T
  526.  
  527.         Only the executable file (T.EXE for PC-DOS or T2.EXE for OS/2) is
  528.         required to be able to use the editor; this should be located in
  529.         the current directory of the current drive, or in a subdirectory
  530.         listed in your PATH.  The other files are only required if you want
  531.         to customise the editor or if you want to use the supplied help
  532.         file.  These other files are normally be kept on a separate
  533.         diskette or in their own subdirectory (which need not be in the
  534.         PATH).
  535.  
  536.         If you use OS/2 exclusively or use both DOS and OS/2 but keep DOS
  537.         and OS/2 programs in separate subdirectories you might want to
  538.         rename the OS/2 executable to T.EXE also.  This avoids having to
  539.         remember whether to type T or T2 depending on the environment you
  540.         are using.
  541.  
  542.         Since T is so small it makes sense to put it on a RAMDRIVE if you
  543.         have one installed, this means that it will load almost instantly.
  544.  
  545.         To start T simply enter the following command at the DOS or OS/2
  546.         prompt:
  547.  
  548.              T <filename> <filename> ...
  549.  
  550.         You can put any number, including zero, of file names after the
  551.         T command and T will load each file you list into its memory.
  552.  
  553.  
  554.         2.2 SCREEN LAYOUT
  555.  
  556.         The T screen is divided into four areas:
  557.  
  558.         1. The Message Line and the Help line.
  559.  
  560.            The bottom line of the screen is used to display error and
  561.            informational messages.  When no messages are displayed this
  562.            line instead shows a single line of "help".  Typically the
  563.            functions assigned to the F-keys are displayed, but this can be
  564.            customised to whatever you want.
  565.  
  566.         2. The Status Line.
  567.  
  568.            Above the message line is the status line.  This shows the name
  569.            of the current document and the line and column number of the
  570.            cursor within the document.  If a right-hand margin has been set
  571.            this will also be displayed following an "M" margin indicator.
  572.            The current typing mode (either "replace" or "insert") is also
  573.            indicated.
  574.  
  575.         
  576.                                                          Getting Started  4
  577.  
  578.  
  579.         (C) Copyright IBM Corporation 1987, 1992
  580.         
  581.         
  582.         
  583.         3. The Command Line.
  584.  
  585.            Above the status line is the command line.  Any any valid
  586.            T command may be entered here.
  587.  
  588.         4. The Data Area.
  589.  
  590.            The rest of the screen is used to display the document being
  591.            edited.
  592.  
  593.         The size of the data area is automatically adjusted to fill the
  594.         whole of the screen.  Most recent displays (EGAs or better) can
  595.         show more than 25 lines and some can show more than 80 columns.
  596.         T cannot change the size of the display but it will use whatever
  597.         number of lines and columns are set when it is started.  So to see
  598.         rather more data on the screen first switch to a greater than 25
  599.         line mode then invoke T.  For example, the following command will
  600.         switch to a 43 line mode under OS/2 or DOS (this needs DOS 4.00 or
  601.         later):
  602.  
  603.              MODE CO80,43
  604.  
  605.  
  606.  
  607.         2.3 THE HELP FILE
  608.  
  609.         T is supplied with a simple help file which describes the default
  610.         key settings and the commands available.  When using T for the
  611.         first time ensure that the help file, THELP.HLP, is available in
  612.         the current directory of the current drive.  Later you can
  613.         customise the editor to allow the help file to be kept somewhere
  614.         else.
  615.  
  616.         Press the F1 key to load and display the help file.  Then use the
  617.         PgUp and PgDn keys to view the various help panels it contains.  If
  618.         you have a 40-column display use the Home and End keys to view the
  619.         left and right hand panels.
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.         
  640.                                                          Getting Started  5
  641.  
  642.  
  643.         (C) Copyright IBM Corporation 1987, 1992
  644.         
  645.         
  646.         
  647.         3.0 EDITING
  648.  
  649.         This section gives a brief introduction to editing with T.  It
  650.         assumes the editor is used in its default configuration, as
  651.         supplied.  Later sections describe how to customise the editor.
  652.         Anyone who is familiar with the IBM Personal Editor will recognise
  653.         the way T works immediately and should be able to skip most of this
  654.         section - although a glance at "3.3 Word Processing" on page 9 and
  655.         "3.4 Drawing Boxes" on page 10 might be worthwhile.
  656.  
  657.  
  658.         3.1 SIMPLE EDITING
  659.  
  660.         If T is started without any filename (by just entering T on the
  661.         command line) it displays and edits a new, empty, un-named
  662.         document.  A "Top Of File" marker line indicates the top of the
  663.         document and a "Bottom Of File" marks the bottom.  These marker
  664.         lines are not part of the document and may not be edited, although
  665.         the cursor may be moved onto them.
  666.  
  667.  
  668.         3.1.1 THE COMMAND LINE
  669.  
  670.         The cursor starts off on the command line, which is the third line
  671.         up from the bottom of the screen.  Any T command can be entered on
  672.         the command line, it is executed when the Enter key is pressed.  As
  673.         a command is typed in mistakes can be corrected using the cursor
  674.         Left, cursor Right and Backspace keys.  When the editor is in
  675.         "replace" mode any characters typed overwrite those already on the
  676.         screen; when in "insert" mode any characters to the right of the
  677.         cursor are shifted right to make room for the new text.  Switch
  678.         between "insert" and "replace" mode by pressing the Ins key.
  679.  
  680.         When on the command line the cursor Up and cursor Down keys recall
  681.         any previous commands entered.  These can then either be entered
  682.         again directly by pressing Enter or can be altered before being
  683.         reused.
  684.  
  685.  
  686.         3.1.2 THE DATA AREA
  687.  
  688.         The cursor may be switched into the data area by pressing the Esc
  689.         key.  When the cursor is on the command line a shadow cursor marks
  690.         the position in the data where the real cursor will appear when Esc
  691.         is pressed.
  692.  
  693.         When the cursor is in the data area it may be moved anywhere
  694.         between the "Top Of File" and "Bottom Of File" markers using the
  695.         cursor keys.  At any place text may be typed from the keyboard.  If
  696.         the editor is in "replace" mode any text typed will overwrite
  697.         whatever was there before, if it is in "insert" mode anything to
  698.         the right of the cursor will be shifted to the right to make room
  699.         for the new text.
  700.  
  701.  
  702.  
  703.         
  704.                                                                  Editing  6
  705.  
  706.  
  707.         (C) Copyright IBM Corporation 1987, 1992
  708.         
  709.         
  710.         
  711.         To add a new line press Ctrl-Enter, and to delete a line press
  712.         Ctrl-Backspace.  Alternatively if the editor is in "insert" mode
  713.         just pressing Enter will insert a new blank line.
  714.  
  715.  
  716.         3.1.3 MARKING AND COPYING LINES
  717.  
  718.         A block of one or more lines may be marked by pressing the key
  719.         Alt-L n the first and last lines of the required block.
  720.  
  721.         Marked blocks may be deleted by pressing Alt-D or they be moved or
  722.         copied somewhere else.  To move or copy first position the cursor
  723.         at the line above the desired new position, then press either Alt-M
  724.         or Alt-C respectively.
  725.  
  726.         Marked blocks are also useful for limiting the scope of a CHANGE or
  727.         LOCATE command.
  728.  
  729.         It is also possible to shift all marked lines one character to the
  730.         left or right by pressing Alt-F7 or Alt-F8 respectively.  This can
  731.         be useful when writing programs to indent a block of code.
  732.  
  733.         To duplicate a copy of the current line just press Alt-R.
  734.  
  735.  
  736.         3.1.4 SAVING DOCUMENTS
  737.  
  738.         If a document has a name (displayed on the status line) it can be
  739.         saved to disk simply by pressing F2; once saved you may quit the
  740.         document by pressing F3.  Alternately you can perform a save and
  741.         quit in one operation by pressing F4.  If a document doesn't have a
  742.         name you must give it one: either use the NAME command to name the
  743.         document or use the SAVE or FILE commands along with a filename
  744.         parameter.
  745.  
  746.         Note: Pressing F4 (the SAFE FILE function) will not cause the file
  747.         to be written to disk if it has not been changed.  If you want to
  748.         force an unchanged document to be re-written to disk simply use the
  749.         FILE command from the command line.
  750.  
  751.  
  752.         3.1.5 WORKING ON SEVERAL DOCUMENTS
  753.  
  754.         T can edit any number of documents at once.  The documents are held
  755.         in an edit ring, and although only one can be displayed on the
  756.         screen at one time, you can cycle through the ring by pressing the
  757.         F10 and F11 keys.  The actual number of documents you can hold in
  758.         the ring depends on the size of each document and how much memory
  759.         your machine has; each document has to be completely loaded in
  760.         memory.
  761.  
  762.         To load multiple documents you can either enter several filenames
  763.         when T is started from the command line, or you can issue EDIT
  764.         commands to load more files once T is running.
  765.  
  766.  
  767.         
  768.                                                                  Editing  7
  769.  
  770.  
  771.         (C) Copyright IBM Corporation 1987, 1992
  772.         
  773.         
  774.         
  775.         The marked line functions move (Alt-M) and copy (Alt-C) are
  776.         particularly useful when editing several documents as lines can be
  777.         moved and copied to and from different documents.
  778.  
  779.  
  780.         3.2 SEARCH AND REPLACE
  781.  
  782.  
  783.  
  784.         3.2.1 SEARCHING
  785.  
  786.         To search for a particular word or phrase in a document switch onto
  787.         the command line and use the LOCATE command.  In its simplest form
  788.         you just enter a command rather like this:
  789.  
  790.              /word
  791.  
  792.         This will search the document for the next occurrence of "word".
  793.         Remember this only searches from the current position onwards, to
  794.         search from the top you need to first move to the top by pressing
  795.         Ctrl-Home.
  796.  
  797.         Having found a match you can repeat the search to find the next
  798.         match simply by pressing Alt-F.  If no further matches can be found
  799.         before the end of the document the message "No match found" will be
  800.         displayed.
  801.  
  802.         Normally LOCATE commands are case-sensitive i.e. a search for
  803.         "word" would not find "Word".  To do a case-insensitive search add
  804.         the "c" option to the command:
  805.  
  806.              /word/c
  807.  
  808.  
  809.  
  810.         3.2.2 REPLACING
  811.  
  812.         To change one word or phrase into something else switch onto the
  813.         command line and use the CHANGE command, for example:
  814.  
  815.              C/this/that
  816.  
  817.         This will search for the next occurrence of the word "this" and
  818.         then prompt for an action: "Yes/No/Go/Last/Quit?".  Hit either Y,
  819.         N, G, L or Q as appropriate:
  820.  
  821.         Yes    To change this occurrence of "this" into "that" and to
  822.                search for the next occurrence of "this".
  823.  
  824.         No     To skip this change, but to continue searching.
  825.  
  826.         Go     To make this change and all further changes to the end of
  827.                the document without any further prompting.
  828.  
  829.         Last   To make this change and to stop searching, so this becomes
  830.  
  831.         
  832.                                                                  Editing  8
  833.  
  834.  
  835.         (C) Copyright IBM Corporation 1987, 1992
  836.         
  837.         
  838.         
  839.                the last change.
  840.  
  841.         Quit   To skip this change and stop searching.
  842.  
  843.         To avoid the prompt message and to make all changes straightaway
  844.         add the "*" option to the command:
  845.  
  846.              C/this/that/*
  847.  
  848.  
  849.  
  850.         3.3 WORD PROCESSING
  851.  
  852.         T is not designed to be a word processor, but it does provide some
  853.         very simple word processing functions that are useful for creating
  854.         quick notes or for entering marked-up documents that will later be
  855.         formatted with a batch formatter.
  856.  
  857.  
  858.         3.3.1 THE RIGHT MARGIN AND WORD SPILL
  859.  
  860.         The command MARGIN allows a right hand margin column to be set.
  861.         When a margin is set the status line indicates its column number
  862.         with "M nnn".  To set the right hand margin to column 72 you would
  863.         enter the command:
  864.  
  865.              MARGIN 72
  866.  
  867.         As text is entered into the document any words that are typed
  868.         across the right hand margin are automatically word-spilled onto a
  869.         new inserted line.  This means it is possible to type whole
  870.         paragraphs without having to worry about hitting Enter at the end
  871.         of each line.  As words spill onto a new line they are
  872.         automatically indented from the left hand side so as they align
  873.         under the first non-blank character of the line above.  This makes
  874.         it very simple to leave a left margin or to enter whole sections
  875.         indented.
  876.  
  877.  
  878.         3.3.2 THE ADJUST LINE FUNCTION
  879.  
  880.         If corrections need to be made to text entered with a right margin
  881.         the text will not be reflowed automatically to keep the margins
  882.         correct.  In fact after making a number of corrections it will tend
  883.         to end up in rather a mess.  The ADJUST LINE function is provided
  884.         to tidy up this mess and re-align everything correctly.  ADJUST
  885.         LINE is performed by pressing Alt-A and will adjust the current
  886.         line based on the current right margin setting.  If the line is too
  887.         short it will be filled out with words from the next line down and
  888.         if it is too long it will be split in two.  As with the word-spill,
  889.         when ADJUST LINE spills words onto the next line they are aligned
  890.         under the first non-blank character of the preceding line.
  891.  
  892.         ADJUST LINE will ignore blank lines skipping over them and moving
  893.         the cursor to the next line down, and if a line needs to be split
  894.  
  895.         
  896.                                                                  Editing  9
  897.  
  898.  
  899.         (C) Copyright IBM Corporation 1987, 1992
  900.         
  901.         
  902.         
  903.         in two the cursor will move down to the split-off portion.  This
  904.         makes re-adjusting whole paragraphs very simple, just place the
  905.         cursor on the first line of the paragraph and keep pressing Alt-A
  906.         until it is re-flowed correctly.
  907.  
  908.         Note: When a line is too short and ADJUST LINE fills with words
  909.         from the next line, these words are joined to the line with just
  910.         one intervening blank.  If before the ADJUST LINE the last
  911.         character happened to be a full stop at the end of a sentence you
  912.         may need to go back and insert an extra space to maintain the
  913.         convention of two blanks following a sentence end.
  914.  
  915.  
  916.         3.4 DRAWING BOXES
  917.  
  918.         The PC character set contains a group of special symbols that can
  919.         be used to draw boxes.  T assigns the box corner and intersection
  920.         characters to the keys Alt-1 to Alt-9.  As a reminder of which box
  921.         corner is assigned to which key, just look at the numeric keypad
  922.         which is arranged like this:
  923.  
  924.              7  8  9
  925.              4  5  6
  926.              1  2  3
  927.  
  928.         So the Alt-7 key produces a top left box corner, the Alt-3 a bottom
  929.         right and so on.  Remember though that the keypad just provides a
  930.         mnemonic - you must actually enter characters using the Alt-key and
  931.         the numerals along the top of the main keyboard area.
  932.  
  933.         The horizontal line is assigned to Alt-- (Alt-minus) and the
  934.         vertical line to Alt-= (Alt-equals).  These two may need
  935.         reassigning to use other keys on non-English language keyboards,
  936.         where the "-" and "=" keys don't appear on the top row just after
  937.         the numerals.  This can be done by customising the editor (see "4.0
  938.         Customising" on page 12).
  939.  
  940.  
  941.         3.5 PRINTING
  942.  
  943.         To print the current document switch onto the command line and
  944.         enter the PRINT command.  No special facilities are provided for
  945.         formatted printing, the PRINT command will simply write a copy of
  946.         the current document to the printer.  If used with no parameters
  947.         PRINT will write to the device PRN, which for most people will be
  948.         the printer attached to their machine.  If you have a serially
  949.         attached printer or use use a LAN printer you may need to specify a
  950.         device to print to, for example:
  951.  
  952.              PRINT COM1
  953.          or  PRINT LPT2
  954.  
  955.         To print a piece of a document first mark the block of lines to be
  956.         printed, then use the PUT command to write them to a device.  A
  957.         device must be specified with the PUT command, so normally you
  958.  
  959.         
  960.                                                                 Editing  10
  961.  
  962.  
  963.         (C) Copyright IBM Corporation 1987, 1992
  964.         
  965.         
  966.         
  967.         would use:
  968.  
  969.              PUT PRN
  970.  
  971.  
  972.  
  973.         3.5.1 PRINTER CONTROL CODES
  974.  
  975.         You may embed printer control codes directly in your documents if
  976.         you want to produce special effects such as bold or emphasised.
  977.         Control codes normally require the use of the function ESCAPE
  978.         (assigned to Alt-X) to allow them to be entered.  Press Alt-X
  979.         followed by the control code you want.
  980.  
  981.         All control codes can be entered using the keypad on the right of
  982.         the keyboard.  After pressing Alt-X, press and hold down the Alt
  983.         key, then type the decimal number of the control code on the keypad
  984.         and release the Alt key.  Most control codes show up on the screen
  985.         as odd little symbols.
  986.  
  987.         You will need to refer to your printer manual to see what control
  988.         codes are available and what they do on your printer.
  989.  
  990.  
  991.         3.5.2 PRINTER SET UP
  992.  
  993.         You may prefer not to place the printer control codes directly in
  994.         the document, but to keep the document as plain, readable text.
  995.         But you may want to send a few special characters to the printer
  996.         before printing a document, perhaps to switch the printer to NLQ
  997.         mode.
  998.  
  999.         These printer set up sequences can be issued with a DOS ECHO
  1000.         command, for example to put a Proprinter into NLQ mode issue the
  1001.         following command:
  1002.  
  1003.              DOS ECHO xG >PRN
  1004.  
  1005.         where the "x" should be an ASCII "Esc" control code entered by
  1006.         hitting Alt-X followed by the Esc key.
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.         
  1024.                                                                 Editing  11
  1025.  
  1026.  
  1027.         (C) Copyright IBM Corporation 1987, 1992
  1028.         
  1029.         
  1030.         
  1031.         4.0 CUSTOMISING
  1032.  
  1033.         This section describes how you can customise T to match your own
  1034.         preferences for screen colours, keyboard layouts and special
  1035.         settings.  Even if you like T exactly the way it is supplied and
  1036.         don't want to change any of the colours or keys, you will probably
  1037.         still need to customise some of the special settings, at least to
  1038.         tell the editor where you keep its help file.
  1039.  
  1040.         To customise T you must first construct a Custom Definition
  1041.         File, which is described in detail in the next section.  Then use
  1042.         the TKEY.EXE customiser program to customise your copy of the
  1043.         editor, by entering this command:
  1044.  
  1045.              TKEY  custom-file  editor-file
  1046.  
  1047.         Replace custom-file with the name of your custom definition file
  1048.         and replace editor-file with the name the editor you want to
  1049.         customise.  Unless you tell it otherwise TKEY will assume the
  1050.         custom definition file has an extension of .DEF and the editor of
  1051.         .EXE.  So to customise both the PC-DOS and the OS/2 versions with a
  1052.         custom definition file called TCUST.DEF you would use the two
  1053.         commands:
  1054.  
  1055.              TKEY TCUST T
  1056.          and TKEY TCUST T2
  1057.  
  1058.         Once the customising is complete the changes are recorded
  1059.         permanently inside the .EXE file.  You no longer need either the
  1060.         TKEY program or your custom definition file, unless you decide to
  1061.         make further changes.
  1062.  
  1063.  
  1064.         4.1 THE CUSTOM DEFINITION FILE
  1065.  
  1066.         The custom definition file contains a description of the way you
  1067.         want T to be configured.  An example of a custom definition file is
  1068.         supplied with T, this is called TKEYS.DEF and contains the
  1069.         description of the default configuration.  This file serves as a
  1070.         good example of how to write a custom definition, but should be
  1071.         used for reference only.  You should create your own custom
  1072.         definition file and call it something other than TKEYS.DEF.  This
  1073.         will ensure that if you ever obtain a new copy the T package you do
  1074.         not lose any changes you made.  Of course a good way to start your
  1075.         own definition file would be to copy TKEYS.DEF under another name.
  1076.  
  1077.         The custom definition file contains four sorts of item.  Normally
  1078.         each item is placed on a new line, although one item can be split
  1079.         over several lines or several items can be placed on one line, if
  1080.         desired.
  1081.  
  1082.         1. Comments.
  1083.  
  1084.            Comments are ignored by the customiser program and serve to make
  1085.            the definition file more readable.  Comments come in three
  1086.  
  1087.         
  1088.                                                             Customising  12
  1089.  
  1090.  
  1091.         (C) Copyright IBM Corporation 1987, 1992
  1092.         
  1093.         
  1094.         
  1095.            flavours:
  1096.  
  1097.            a. Anything between the comment markers /* and */.  Comments of
  1098.               this sort can extend over several lines if required.
  1099.  
  1100.            b. Anything between the comment marker // and the end of the
  1101.               line.
  1102.  
  1103.            c. Several special words and symbols are ignored: blank lines,
  1104.               blank spaces, ON, OF, TO, IS, ;, =, [ and ].
  1105.  
  1106.         2. Colour Commands
  1107.  
  1108.            Colour commands define the colours used for the various parts of
  1109.            the screen.
  1110.  
  1111.         3. Key Commands
  1112.  
  1113.            Key commands assign keyboard functions or single characters to
  1114.            keys.
  1115.  
  1116.         4. Set Commands
  1117.  
  1118.            Set commands alter the editor's special settings.
  1119.  
  1120.         In the following descriptions uppercase will be used to indicate
  1121.         keywords and lowercase to indicate parameters you must enter.
  1122.         Items in angle brackets are optional.  In your custom definition
  1123.         file you may use any mixture of upper- or lowercase.
  1124.  
  1125.  
  1126.         4.1.1 COLOUR COMMANDS
  1127.  
  1128.              COLOUR screen area = fore <ON back>
  1129.          or  COLOR  screen area = fore <ON back>
  1130.  
  1131.         Colour commands define the colours that will be used for the
  1132.         various areas of the screen, the following parameters should be
  1133.         provided:
  1134.  
  1135.         screen   is either MONO or COLOUR (or COLOR).  Two sets of colours
  1136.                  are defined, one set is used with the colour modes of the
  1137.                  colour displays and the other with the monochrome display
  1138.                  or with the colour display when in black-and-white modes
  1139.                  (this latter setting can be useful when a colour card
  1140.                  drives a mono screen like Portable PC's built in amber
  1141.                  screen).
  1142.  
  1143.         area     is an area of the screen.  It should be one of:
  1144.                      DATA
  1145.                      MARK
  1146.                      SHADOW CURSOR
  1147.                      STATUS LINE
  1148.                      HELP LINE
  1149.                      MESSAGE LINE
  1150.  
  1151.         
  1152.                                                             Customising  13
  1153.  
  1154.  
  1155.         (C) Copyright IBM Corporation 1987, 1992
  1156.         
  1157.         
  1158.         
  1159.         fore     is the foreground colour, one of:
  1160.                      BLACK
  1161.                      BLUE
  1162.                      GREEN
  1163.                      TURQUOISE or CYAN
  1164.                      RED
  1165.                      PINK or MAGENTA
  1166.                      BROWN
  1167.                      WHITE
  1168.                      GREY or GRAY
  1169.                      YELLOW
  1170.  
  1171.                  Optionally each colour may be preceded by one or more
  1172.                  attributes chosen from:
  1173.                      UNDERLINED
  1174.                      BLINKING
  1175.                      BRIGHT or LIGHT
  1176.  
  1177.                  Not all combinations are meaningful or useable on the PC,
  1178.                  although the customiser program will accept them.  In
  1179.                  particular: UNDERLINED is only meaningful with the mono
  1180.                  screen, YELLOW is the same as BRIGHT BROWN and GREY is the
  1181.                  same as BRIGHT BLACK.
  1182.  
  1183.         back     is an optional background colour specified from the same
  1184.                  choices as the foreground colours, although only the
  1185.                  BRIGHT or LIGHT attributes may be used.  Note that on some
  1186.                  machines a BRIGHT background will actually produce a
  1187.                  BLINKING foreground instead.  (Bear this in mind
  1188.                  particularly if YELLOW i.e. BRIGHT BROWN or GREY i.e.
  1189.                  BRIGHT BLACK are chosen as background colours.)
  1190.  
  1191.                  If no background is given BLACK will be used.
  1192.  
  1193.  
  1194.  
  1195.         4.1.2 KEY COMMANDS
  1196.  
  1197.              KEY <shift->keyname = function
  1198.          or  DEF <shift->keyname = function
  1199.          or  KEY <shift->keyname = character
  1200.          or  DEF <shift->keyname = character
  1201.  
  1202.         Key commands assign the editor's keyboard functions or single ASCII
  1203.         characters to user definable keys.  The parameters are:
  1204.  
  1205.         shift-      is the shift key that must be pressed.  It is omitted
  1206.                     for unshifted keys or specified as one of:
  1207.  
  1208.                     S-   for either of the shift keys.
  1209.  
  1210.                     C-   for the Ctrl key.
  1211.  
  1212.                     A-   for the Alt key.
  1213.  
  1214.  
  1215.         
  1216.                                                             Customising  14
  1217.  
  1218.  
  1219.         (C) Copyright IBM Corporation 1987, 1992
  1220.         
  1221.         
  1222.         
  1223.         keyname     is chosen from:
  1224.                         A to Z
  1225.                         0 to 9
  1226.                         F1 to F12
  1227.                         - (the minus key)
  1228.                         = (the equals key)
  1229.                         [ (the open square bracket key)
  1230.                         ] (the close square bracket key)
  1231.                         \ (the backslash key)
  1232.                         ESC
  1233.                         TAB
  1234.                         BACKSPACE
  1235.                         ENTER
  1236.                         HOME
  1237.                         END
  1238.                         PGUP
  1239.                         PGDN
  1240.                         UP
  1241.                         DOWN
  1242.                         LEFT
  1243.                         RIGHT
  1244.                         INS
  1245.                         DEL
  1246.                         PAD5
  1247.  
  1248.                     Not all shift-keyname combinations are valid, and some
  1249.                     are not available for use on the older PC keyboard -
  1250.                     the one with 10 F-keys over on the left.  See "Appendix
  1251.                     B.  User Definable Keys" on page 41 for a full list of
  1252.                     combinations.
  1253.  
  1254.                     Note: The following pairs of keys are considered
  1255.                     identical by T, so assigning a function to one will
  1256.                     also assign it to the other:
  1257.                         C-M and ENTER
  1258.                         C-[ and ESC
  1259.                         C-I and TAB
  1260.                         C-H and BACKSPACE
  1261.                         C-J and C-ENTER
  1262.  
  1263.         function    is one of the keyboard functions.  The full list of
  1264.                     keyboard functions is defined in "2.0 Keyboard
  1265.                     Functions" on page 24.
  1266.  
  1267.         character   is a single ASCII character.  This can either be
  1268.                     specified as the character itself in quotes, or using
  1269.                     the form:
  1270.  
  1271.              ASCII nnn
  1272.  
  1273.                     where nnn is the character's ASCII code point.  This
  1274.                     allows characters not normally present on the keyboard
  1275.                     (such as the box drawing characters) to be assigned to
  1276.                     keys.
  1277.  
  1278.  
  1279.         
  1280.                                                             Customising  15
  1281.  
  1282.  
  1283.         (C) Copyright IBM Corporation 1987, 1992
  1284.         
  1285.         
  1286.         
  1287.         4.1.3 SET COMMANDS
  1288.  
  1289.              SET item = value
  1290.  
  1291.         Set command allow customising of the special editor settings.
  1292.         These are described in detail in "3.0 Settings" on page 33.
  1293.  
  1294.  
  1295.         4.2 THE HELP AND USER FUNCTIONS
  1296.  
  1297.         The HELP and USER keyboard functions are rather special, and quite
  1298.         powerful features.  The HELP and USER functions work in an
  1299.         identical way, the fact that one is called "HELP" is only really to
  1300.         suggest a good use for the function; once you are familiar with the
  1301.         way T works you may decide you no longer really need a help system,
  1302.         and you can then use HELP for something else completely.
  1303.  
  1304.         The functions are defined by two items in the custom definition
  1305.         file.  Firstly the keyboard function is assigned to key, and
  1306.         secondly a Tcommand is assigned to the function.  For example:
  1307.  
  1308.              KEY F1 = HELP
  1309.              SET HELP COMMAND = "EDIT THELP.HLP"
  1310.  
  1311.         In this example the HELP keyboard function is assigned to the F1
  1312.         key, and the help function is assigned the command "EDIT
  1313.         THELP.HLP".
  1314.  
  1315.         When the HELP keyboard function is pressed (i.e. F1 is pressed)
  1316.         T will execute the HELP command, just as if it had been typed on
  1317.         the command line.  In this example it will therefore load and
  1318.         display a help file.
  1319.  
  1320.         The command that is assigned to the function can be any command
  1321.         that could be entered on the T command line, so some other useful
  1322.         applications might be:
  1323.  
  1324.         -  Use the standard T help file but locate it in the
  1325.            \EDITORS\T subdirectory on the C: drive:
  1326.  
  1327.              KEY F1 = HELP
  1328.              SET HELP COMMAND = "T C:\EDITORS\T\THELP.HLP"
  1329.  
  1330.         -  Set Alt-P to print the current document to COM1:
  1331.  
  1332.              KEY A-P = USER
  1333.              SET USER COMMAND = "PRINT COM1"
  1334.  
  1335.         -  Set Alt-H to invoke an external HELP program for a subject
  1336.            called "T":
  1337.  
  1338.              KEY A-H = HELP
  1339.              SET HELP COMMAND = "DOS HELP T"
  1340.  
  1341.         -  Set the F5 key to shell out to a DOS or OS/2 command prompt:
  1342.  
  1343.         
  1344.                                                             Customising  16
  1345.  
  1346.  
  1347.         (C) Copyright IBM Corporation 1987, 1992
  1348.         
  1349.         
  1350.         
  1351.              KEY F5 = USER
  1352.              SET USER COMMAND = "DOS"
  1353.  
  1354.  
  1355.  
  1356.         4.3 THE ENHANCED KEYBOARD
  1357.  
  1358.         Most recent PCs and all PS/2s come with IBM's Enhanced Keyboard.
  1359.         This is the keyboard with twelve function keys arranged across the
  1360.         top and an extra set of cursor control keys between the typewriter
  1361.         keys and the numeric keypad.  Older PCs and some notebook style
  1362.         machines have a keyboard with just ten function keys.  To make use
  1363.         of the extra keys on the Enhanced Keyboard a program must work in a
  1364.         different way from that which was used to handle the old-style
  1365.         keyboards, if the old-style interface is used only the subset of
  1366.         keys present on the older keyboard will be recognised.  This is
  1367.         necessary to maintain compatibility with old programs.
  1368.  
  1369.         T attempts to determine which type of keyboard interface to use, so
  1370.         that if an Enhanced Keyboard is attached all its keys will be
  1371.         available.  However the tests used to decide which type of keyboard
  1372.         is present can be fooled by some non-IBM BIOSs, and by some older
  1373.         TSR programs that were created before the Enhanced Keyboard was
  1374.         available.  This usually shows up as a problem when the editor
  1375.         starts: the command line becomes full of a repeated character and
  1376.         the editor hangs.
  1377.  
  1378.         In situations like these you must force T to use the old keyboard
  1379.         interface by putting this line in your custom definition file:
  1380.  
  1381.              SET KEYBOARD = STANDARD
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.         
  1408.                                                             Customising  17
  1409.  
  1410.  
  1411.         (C) Copyright IBM Corporation 1987, 1992
  1412.         
  1413.         
  1414.         
  1415.                                                   Part 2.  Editor Reference
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.         
  1472.                                               Part 2.  Editor Reference  18
  1473.  
  1474.  
  1475.         (C) Copyright IBM Corporation 1987, 1992
  1476.         
  1477.         
  1478.         
  1479.         1.0 COMMANDS
  1480.  
  1481.         This section describes each of the commands that may be entered on
  1482.         the T command line.  In describing the syntax of the commands,
  1483.         upper-case letters are used for the command name and lower-case
  1484.         letters for any parameters you must supply.  Optional parameters
  1485.         are enclosed in angle brackets.  Commands may actually be entered
  1486.         in any mixture of upper- or lower-case.
  1487.  
  1488.         Where the parameters call for a filename enter any valid DOS or
  1489.         OS/2 file name.  This may include the drive letter and directory
  1490.         path if required; if none is given the current drive and directory
  1491.         will be used.  When using the OS/2 High Performance File System
  1492.         (HPFS) filenames are not limited to the DOS "8-dot-3" format and
  1493.         any upper- or lower-case characters used will be preserved.
  1494.  
  1495.  
  1496.         1.1 APPEND
  1497.  
  1498.              APPEND filename
  1499.  
  1500.         The currently marked lines are written to the file
  1501.         "filename".  The lines are added to the end of the file, preserving
  1502.         any former contents.  The file is created if it does not exist.
  1503.  
  1504.  
  1505.         1.2 CHANGE
  1506.  
  1507.              C /target/replacement</options>
  1508.  
  1509.         The next occurrence of the text "target" starting from the current
  1510.         cursor position, is located.  Then the message
  1511.         "Yes/No/Go/Last/Quit?" is displayed, to which you should reply with
  1512.         one of:
  1513.  
  1514.         Y   to change this instance of "target" into
  1515.             "replacement".  The next occurrence of "target" is then found
  1516.             and the process repeats.
  1517.  
  1518.         N   to not change this instance of "target", but to continue
  1519.             searching for the the next occurrence.
  1520.  
  1521.         G   to change this instance of "target" into
  1522.             "replacement" and then to change all further instances (until
  1523.             to end of the document) without further prompting.
  1524.  
  1525.         L   to change this instance of "target" into
  1526.             "replacement" and then to stop the command, so this becomes the
  1527.             last change made.
  1528.  
  1529.         Q   to stop the change command without making any further changes.
  1530.  
  1531.         The "/" character is a delimiter and it can be replaced with any
  1532.         character that does not occur in either the "target" or the
  1533.         "replacement".  Note that the delimiter is the first non-blank
  1534.  
  1535.         
  1536.                                                                Commands  19
  1537.  
  1538.  
  1539.         (C) Copyright IBM Corporation 1987, 1992
  1540.         
  1541.         
  1542.         
  1543.         character following the C command.
  1544.  
  1545.         Following a final delimiter any of these options may be used:
  1546.  
  1547.         m   to restrict the changes to the marked lines only.
  1548.  
  1549.         *   to change all occurrences of "target" to
  1550.             "replacement" without prompting.
  1551.  
  1552.         Note: Change commands are always case-sensitive.
  1553.  
  1554.  
  1555.         1.3 DOS
  1556.  
  1557.              DOS <command>
  1558.          or  .<command>
  1559.  
  1560.         A secondary DOS or OS/2 shell is started to execute the
  1561.         "command".  A full stop, ".", may be used as a quick abbreviation
  1562.         for the word DOS.
  1563.  
  1564.         If no "command" is given the DOS or OS/2 command line prompt will
  1565.         appear.  You can return to T by entering the command EXIT.
  1566.  
  1567.  
  1568.         1.4 EDIT
  1569.  
  1570.              EDIT <filename>
  1571.          or  E <filename>
  1572.          or  T <filename>
  1573.  
  1574.         If a "filename" is given T will switch directly to display that
  1575.         document.  The file will be loaded from disk, if it is not already
  1576.         in the edit ring.
  1577.  
  1578.         If no "filename" is given the next document in the edit ring will
  1579.         be selected.
  1580.  
  1581.  
  1582.         1.5 FILE
  1583.  
  1584.              FILE <filename>
  1585.          or  F <filename>
  1586.  
  1587.         The current document will be saved to disk and then removed from
  1588.         the edit ring.  If a "filename" is given the document will be saved
  1589.         under this name, otherwise the name shown on the status line will
  1590.         be used.
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.         
  1600.                                                                Commands  20
  1601.  
  1602.  
  1603.         (C) Copyright IBM Corporation 1987, 1992
  1604.         
  1605.         
  1606.         
  1607.         1.6 GET
  1608.  
  1609.              GET filename
  1610.  
  1611.         The contents of "filename" will be inserted into the current
  1612.         document following the current line.
  1613.  
  1614.  
  1615.         1.7 GOTO
  1616.  
  1617.              GOTO linenum
  1618.          or  linenum
  1619.  
  1620.         Line number "linenum" will become the current line.  If
  1621.         "linenum" is bigger than the number of lines in the document the
  1622.         last line will become the current line.  The word GOTO is optional,
  1623.         just entering the required "linenum" on the command line is
  1624.         sufficient.
  1625.  
  1626.  
  1627.         1.8 LOCATE
  1628.  
  1629.              L /target</options>
  1630.          or  /target</options>
  1631.  
  1632.         The next occurrence of the text "target", starting from the current
  1633.         cursor position, will be located.  If the "L /target" form of the
  1634.         command is used the delimiter, "/", may be replaced by any
  1635.         character that does not occur in "target".
  1636.  
  1637.         Following a final delimiter any of these options may be used:
  1638.  
  1639.         m   to restrict the search to the marked lines only.
  1640.  
  1641.         e   to force an exact-case match.
  1642.  
  1643.         c   to force an any-case match.  (Apologies to non-English
  1644.             speakers: only the 26 letters "a" to "z" are correctly
  1645.             handled.)
  1646.  
  1647.         Note: if neither e nor c is given the editor's MATCH CASE setting
  1648.         is used.  This may be customised - refer to "4.0 Customising" on
  1649.         page 12 for more details.
  1650.  
  1651.  
  1652.         1.9 MARGIN
  1653.  
  1654.              MARGIN column
  1655.          or  MA column
  1656.          or  M column
  1657.  
  1658.         The right hand margin will be set to "column".  To remove the right
  1659.         hand margin enter a column value of zero.  The margin column is
  1660.         displayed on the status line in the form "M col".
  1661.  
  1662.  
  1663.         
  1664.                                                                Commands  21
  1665.  
  1666.  
  1667.         (C) Copyright IBM Corporation 1987, 1992
  1668.         
  1669.         
  1670.         
  1671.         The margin is used by the word-spill features: as words are typed
  1672.         across the margin column they are automatically spilled onto the
  1673.         next line.  It is also used by the ADJUST LINE keyboard function
  1674.         (see "3.3 Word Processing" on page 9).
  1675.  
  1676.  
  1677.         1.10 NAME
  1678.  
  1679.              NAME <name>
  1680.          or  N <name>
  1681.  
  1682.         The current document will be renamed to "name".
  1683.  
  1684.  
  1685.         1.11 PRINT
  1686.  
  1687.              PRINT <device>
  1688.  
  1689.         The current document will be printed.  It is printed to the named
  1690.         "device", if one is specified, otherwise the device PRN is used.
  1691.  
  1692.  
  1693.         1.12 PUT
  1694.  
  1695.             PUT filename
  1696.  
  1697.         The currently marked lines will be written to the file
  1698.         "filename".  Any former contents of the file are lost.
  1699.  
  1700.         Note: The marked lines can be printed using the command PUT
  1701.         PRN.
  1702.  
  1703.  
  1704.         1.13 QUIT
  1705.  
  1706.              QUIT
  1707.          or  Q
  1708.  
  1709.         The current document will be removed from the edit ring.  It will
  1710.         not be saved to disk.  If any changes have been made, since the
  1711.         document was last saved, the message "Throw away changes? (y/n)" is
  1712.         displayed; hit either Y or N as appropriate.
  1713.  
  1714.  
  1715.         1.14 SAVE
  1716.  
  1717.              SAVE <filename>
  1718.          or  S <filename>
  1719.  
  1720.         The current document will be saved to disk.  If a
  1721.         "filename" is given the document will be saved under this name,
  1722.         otherwise the name shown on the status line will be used.
  1723.  
  1724.  
  1725.  
  1726.  
  1727.         
  1728.                                                                Commands  22
  1729.  
  1730.  
  1731.         (C) Copyright IBM Corporation 1987, 1992
  1732.         
  1733.         
  1734.         
  1735.         1.15 VERSION
  1736.  
  1737.              VER
  1738.  
  1739.         The T name and version number will be displayed.
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.         
  1792.                                                                Commands  23
  1793.  
  1794.  
  1795.         (C) Copyright IBM Corporation 1987, 1992
  1796.         
  1797.         
  1798.         
  1799.         2.0 KEYBOARD FUNCTIONS
  1800.  
  1801.         This section describes each of the keyboard functionsthat are
  1802.         available to the editor.  Keyboard functions are invoked by
  1803.         pressing the key to which they have been assigned.  This assignment
  1804.         is made in a custom definition file using entries of the form:
  1805.  
  1806.              KEY key = function
  1807.          or  DEF key = function
  1808.  
  1809.         The descriptions which follow include the default key to which the
  1810.         function is assigned.
  1811.  
  1812.  
  1813.         2.1 ADJUST LINE
  1814.  
  1815.         Default key: Alt-A
  1816.  
  1817.         Adjusts the current line to the right hand margin setting.  If the
  1818.         line extends beyond the margin it is split; if it does not reach
  1819.         the margin it is filled with words from the next line.  If a split
  1820.         occurs and the special setting AUTOMATIC INDENT is ON (see "3.0
  1821.         Settings" on page 33), the split-off portion will align under the
  1822.         first non-blank character of the previous line.
  1823.  
  1824.         ADJUST LINE will ignore blank lines and, when a line is split, the
  1825.         cursor will move to the split-off portion.  This makes it
  1826.         particularly simple to re-adjust a paragraph after making changes
  1827.         or altering the right margin.
  1828.  
  1829.  
  1830.         2.2 BACKSPACE
  1831.  
  1832.         Default key: Backspace
  1833.  
  1834.         Deletes the character to the left of the cursor, and moves the
  1835.         cursor one character to the left.
  1836.  
  1837.  
  1838.         2.3 BACKTAB
  1839.  
  1840.         Default key: Shift-Tab
  1841.  
  1842.         Moves the cursor left to the previous tab stop.  Tab stops are
  1843.         defined by the special setting TAB SPACING (see "3.0 Settings" on
  1844.         page 33).
  1845.  
  1846.  
  1847.         2.4 BOTTOM OF FILE
  1848.  
  1849.         Default key: Ctrl-End
  1850.  
  1851.         Makes the current line the last line in the document, and positions
  1852.         this line at the bottom of the screen.
  1853.  
  1854.  
  1855.         
  1856.                                                      Keyboard Functions  24
  1857.  
  1858.  
  1859.         (C) Copyright IBM Corporation 1987, 1992
  1860.         
  1861.         
  1862.         
  1863.         2.5 BOTTOM OF MARK
  1864.  
  1865.         Default key: Alt-E
  1866.  
  1867.         Makes the current line the last marked line.  If the marked lines
  1868.         are in a different document that document will become the current
  1869.         document.
  1870.  
  1871.  
  1872.         2.6 BOTTOM OF SCREEN
  1873.  
  1874.         Default key: Ctrl-PgDn
  1875.  
  1876.         Moves the cursor to the last line of the document on the screen.
  1877.  
  1878.  
  1879.         2.7 CLEAR MARK
  1880.  
  1881.         Default key: Alt-U
  1882.  
  1883.         Un-marks any marked lines.
  1884.  
  1885.  
  1886.         2.8 COMMAND TOGGLE
  1887.  
  1888.         Default key: Esc
  1889.  
  1890.         Switches the cursor between the command line and the data area.
  1891.         When the cursor is on the command line a shadow cursor marks the
  1892.         current position in the data.
  1893.  
  1894.  
  1895.         2.9 COPY MARK
  1896.  
  1897.         Default key: Alt-C
  1898.  
  1899.         Inserts a copy the marked lines following the current line.  If
  1900.         there are several documents in the edit ring this may be used to
  1901.         copy lines from one document to another.
  1902.  
  1903.  
  1904.         2.10 DELETE CHARACTER
  1905.  
  1906.         Default key: Del
  1907.  
  1908.         Deletes the character at the cursor.
  1909.  
  1910.  
  1911.         2.11 DELETE LINE
  1912.  
  1913.         Default key: Ctrl-Backspace
  1914.  
  1915.         Deletes the current line.
  1916.  
  1917.  
  1918.  
  1919.         
  1920.                                                      Keyboard Functions  25
  1921.  
  1922.  
  1923.         (C) Copyright IBM Corporation 1987, 1992
  1924.         
  1925.         
  1926.         
  1927.         2.12 DELETE MARK
  1928.  
  1929.         Default key: Alt-D
  1930.  
  1931.         Deletes the marked lines.
  1932.  
  1933.  
  1934.         2.13 DOWN
  1935.  
  1936.         Default key: Down
  1937.  
  1938.         Moves the cursor down one line.
  1939.  
  1940.  
  1941.         2.14 EDIT
  1942.  
  1943.         Default key: F8
  1944.  
  1945.         Switches to the command line and keys in the command EDIT, ready
  1946.         for you to enter a filename.
  1947.  
  1948.  
  1949.         2.15 END OF LINE
  1950.  
  1951.         Default key: End
  1952.  
  1953.         Moves the cursor to the position one character after the last
  1954.         character on the current line.
  1955.  
  1956.  
  1957.         2.16 ESCAPE
  1958.  
  1959.         Default key: Alt-X
  1960.  
  1961.         This allows the entry of any ASCII character from the keyboard.
  1962.         This is useful for entering, for example, printer control codes
  1963.         into a document.  The next character typed after the ESCAPE
  1964.         function is entered directly into the document.
  1965.  
  1966.         For example to enter an ASCII "Esc" character, press ESCAPE
  1967.         followed by the Esc key, or to enter an ASCII 255, press
  1968.         ESCAPE then press and hold the Alt key and type 2 5 5 on the
  1969.         numeric keypad then release the Alt key.
  1970.  
  1971.         Note: To enter an ASCII NUL (character code 0) use the Ctrl-2 key.
  1972.  
  1973.  
  1974.         2.17 FILE
  1975.  
  1976.         Default key: None
  1977.  
  1978.         Writes the current document to disk using the name shown on the
  1979.         status line, then removes the document from the edit ring.
  1980.  
  1981.  
  1982.  
  1983.         
  1984.                                                      Keyboard Functions  26
  1985.  
  1986.  
  1987.         (C) Copyright IBM Corporation 1987, 1992
  1988.         
  1989.         
  1990.         
  1991.         2.18 HELP
  1992.  
  1993.         Default key: F1
  1994.  
  1995.         Causes the command specified by the special setting HELP COMMAND
  1996.         (see "3.0 Settings" on page 33) to be executed.  Refer to "4.2 The
  1997.         HELP and USER Functions" on page 16 for more details about using
  1998.         the HELP function.
  1999.  
  2000.  
  2001.         2.19 INSERT LINE
  2002.  
  2003.         Default key: Ctrl-Enter
  2004.  
  2005.         Inserts a new blank line following the current line.  If the
  2006.         special setting AUTOMATIC INDENT is ON the cursor will be aligned
  2007.         under the first non-blank character of the preceding line.
  2008.  
  2009.  
  2010.         2.20 INSERT TOGGLE
  2011.  
  2012.         Default key: Ins
  2013.  
  2014.         Toggles the editor between "insert" and "replace" modes.  The shape
  2015.         of the cursor and the Rep/Ins indicator on the status line show
  2016.         which mode is active.
  2017.  
  2018.  
  2019.         2.21 JOIN LINE
  2020.  
  2021.         Default key: Alt-J
  2022.  
  2023.         Joins together the current line and the following line.  The lines
  2024.         are joined with a single blank between them.
  2025.  
  2026.  
  2027.         2.22 LEFT
  2028.  
  2029.         Default key: Left
  2030.  
  2031.         Moves the cursor one character to the left.
  2032.  
  2033.  
  2034.         2.23 MARK LEFT
  2035.  
  2036.         Default key: Alt-F7
  2037.  
  2038.         The marked lines are shifted one character to the left.  Any
  2039.         characters moved to the left of column one are lost.
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.         
  2048.                                                      Keyboard Functions  27
  2049.  
  2050.  
  2051.         (C) Copyright IBM Corporation 1987, 1992
  2052.         
  2053.         
  2054.         
  2055.         2.24 MARK LINE
  2056.  
  2057.         Default key: Alt-L
  2058.  
  2059.         Marks one or more lines thus:
  2060.  
  2061.         -  If no lines are marked the current line only is marked.
  2062.  
  2063.         -  If one or more lines are already marked and the current line is
  2064.            outside the mark, the mark is extended to include the current
  2065.            line.
  2066.  
  2067.         -  If one or more lines are already marked and the current line is
  2068.            inside the mark, the mark is shrunk so the current line becomes
  2069.            the bottom of the mark.
  2070.  
  2071.  
  2072.  
  2073.         2.25 MARK RIGHT
  2074.  
  2075.         Default key: Alt-F8
  2076.  
  2077.         The marked lines are shifted one character to the right.  Any
  2078.         characters moved to the right of column 255 are lost.
  2079.  
  2080.  
  2081.         2.26 MOVE MARK
  2082.  
  2083.         Default key: Alt-M
  2084.  
  2085.         Moves the marked lines so they come after the current line.  If
  2086.         there are several documents in the edit ring this may be used to
  2087.         move lines from one document to another.
  2088.  
  2089.  
  2090.         2.27 NAME
  2091.  
  2092.         Default key: F7
  2093.  
  2094.         Switches to the command line and keys in the command NAME, ready
  2095.         for you to enter a new document name.
  2096.  
  2097.  
  2098.         2.28 NEW LINE
  2099.  
  2100.         Default key: Enter
  2101.  
  2102.         If in "insert" mode this will perform an INSERT LINEfunction, if in
  2103.         "replace" mode it will perform a NEXT LINE function.
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.         
  2112.                                                      Keyboard Functions  28
  2113.  
  2114.  
  2115.         (C) Copyright IBM Corporation 1987, 1992
  2116.         
  2117.         
  2118.         
  2119.         2.29 NEXT FILE
  2120.  
  2121.         Default key: F10
  2122.  
  2123.         Makes the next document in the edit ring the current document.
  2124.  
  2125.  
  2126.         2.30 NEXT LINE
  2127.  
  2128.         Default key: None
  2129.  
  2130.         Moves the cursor to the start of the next line in the document.
  2131.  
  2132.  
  2133.         2.31 NEXT WORD
  2134.  
  2135.         Default key: Ctrl-Right
  2136.  
  2137.         Moves the cursor to the first character of the next word on the
  2138.         line.  A word is considered to be sequence of non-blank characters.
  2139.  
  2140.  
  2141.         2.32 NOTHING
  2142.  
  2143.         This function does nothing.  It is used when customising the editor
  2144.         to remove the default function from a key.
  2145.  
  2146.  
  2147.         2.33 PAGE DOWN
  2148.  
  2149.         Default key: PgDn
  2150.  
  2151.         Scrolls the current document down by one screen-full.
  2152.  
  2153.  
  2154.         2.34 PAGE UP
  2155.  
  2156.         Default key: PgUp
  2157.  
  2158.         Scrolls the current document up by one screen-full.
  2159.  
  2160.  
  2161.         2.35 PREVIOUS FILE
  2162.  
  2163.         Default keys: F11 and Alt-F10
  2164.  
  2165.         Makes the previous document in the edit ring the current document.
  2166.  
  2167.  
  2168.         2.36 PREVIOUS WORD
  2169.  
  2170.         Default key: Ctrl-Left
  2171.  
  2172.         Moves the cursor to the first character of the previous word on the
  2173.         line.  A word is considered to be sequence of non-blank characters.
  2174.  
  2175.         
  2176.                                                      Keyboard Functions  29
  2177.  
  2178.  
  2179.         (C) Copyright IBM Corporation 1987, 1992
  2180.         
  2181.         
  2182.         
  2183.         2.37 QUIT
  2184.  
  2185.         Default key: F3
  2186.  
  2187.         Removes the current document from the edit ring.  If changes have
  2188.         been made to the document since it was last saved the message
  2189.         "Throw away changes? (y/n)" is displayed; hit either Y or N as
  2190.         appropriate.
  2191.  
  2192.  
  2193.         2.38 REPEAT FIND
  2194.  
  2195.         Default key: Alt-F
  2196.  
  2197.         Repeats the last LOCATE command that was issued.
  2198.  
  2199.  
  2200.         2.39 REPEAT LINE
  2201.  
  2202.         Default key: Alt-R
  2203.  
  2204.         Inserts a copy of the current line immediately following the
  2205.         current line.
  2206.  
  2207.  
  2208.         2.40 RIGHT
  2209.  
  2210.         Default key: Right
  2211.  
  2212.         Moves the cursor one character to the right.
  2213.  
  2214.  
  2215.         2.41 SAFE FILE
  2216.  
  2217.         Default key: F4
  2218.  
  2219.         If the document has changed this performs the FILEfunction, if the
  2220.         document has not changed it performs a QUIT.
  2221.  
  2222.  
  2223.         2.42 SAVE
  2224.  
  2225.         Default key: F2
  2226.  
  2227.         Writes the current document to disk under the name shown on the
  2228.         status line.
  2229.  
  2230.  
  2231.         2.43 SCROLL DOWN
  2232.  
  2233.         Default key: Shift-F4
  2234.  
  2235.         Scrolls the entire screen down by one line.
  2236.  
  2237.  
  2238.  
  2239.         
  2240.                                                      Keyboard Functions  30
  2241.  
  2242.  
  2243.         (C) Copyright IBM Corporation 1987, 1992
  2244.         
  2245.         
  2246.         
  2247.         2.44 SCROLL LEFT
  2248.  
  2249.         Default key: Shift-F1
  2250.  
  2251.         Scrolls the entire screen left by one character.
  2252.  
  2253.  
  2254.         2.45 SCROLL RIGHT
  2255.  
  2256.         Default key: Shift-F2
  2257.  
  2258.         Scrolls the entire screen right by one character.
  2259.  
  2260.  
  2261.         2.46 SCROLL UP
  2262.  
  2263.         Default key: Shift-F3
  2264.  
  2265.         Scrolls the entire screen up by one line.
  2266.  
  2267.  
  2268.         2.47 SPLIT LINE
  2269.  
  2270.         Default key: Alt-S
  2271.  
  2272.         Splits the current line into two at the cursor position.  If the
  2273.         special setting AUTOMATIC INDENT is ON the split-off portion aligns
  2274.         under the first non-blank character of the preceding line.
  2275.  
  2276.  
  2277.         2.48 START OF LINE
  2278.  
  2279.         Default key: Home
  2280.  
  2281.         Moves the cursor to the beginning of the current line.
  2282.  
  2283.  
  2284.         2.49 TAB
  2285.  
  2286.         Default key: Tab
  2287.  
  2288.         Moves the cursor right to the next tab stop.  Tab stops are defined
  2289.         by the special setting TAB SPACING (see "3.0 Settings" on page 33).
  2290.  
  2291.  
  2292.         2.50 TOP OF FILE
  2293.  
  2294.         Default key: Ctrl-Home
  2295.  
  2296.         Makes the current line the first line in the document, and
  2297.         positions this line at the top of the screen.
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.         
  2304.                                                      Keyboard Functions  31
  2305.  
  2306.  
  2307.         (C) Copyright IBM Corporation 1987, 1992
  2308.         
  2309.         
  2310.         
  2311.         2.51 TOP OF MARK
  2312.  
  2313.         Default key: Alt-Y
  2314.  
  2315.         Makes the current line the first marked line.  If the marked lines
  2316.         are in a different document that document will become the current
  2317.         document.
  2318.  
  2319.  
  2320.         2.52 TOP OF SCREEN
  2321.  
  2322.         Default key: Ctrl-PgUp
  2323.  
  2324.         Moves the cursor to the first line of the document on the screen.
  2325.  
  2326.  
  2327.         2.53 TRUNCATE LINE
  2328.  
  2329.         Default keys: Alt-T and Ctrl-Del
  2330.  
  2331.         Deletes all the characters on the current line to the right of the
  2332.         cursor.
  2333.  
  2334.  
  2335.         2.54 UNDO
  2336.  
  2337.         Default key: F9
  2338.  
  2339.         Provides a very limited error recovery.  Any changes made to the
  2340.         current line since the last keyboard function was executed are
  2341.         undone.
  2342.  
  2343.  
  2344.         2.55 UP
  2345.  
  2346.         Default key: Up
  2347.  
  2348.         Moves the cursor up one line.
  2349.  
  2350.  
  2351.         2.56 USER
  2352.  
  2353.         Default key: F5
  2354.  
  2355.         Causes the command specified by the special setting USER COMMAND
  2356.         (see "3.0 Settings" on page 33) to be executed.  Refer to "4.2 The
  2357.         HELP and USER Functions" on page 16 for more information about the
  2358.         USER function.
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.         
  2368.                                                      Keyboard Functions  32
  2369.  
  2370.  
  2371.         (C) Copyright IBM Corporation 1987, 1992
  2372.         
  2373.         
  2374.         
  2375.         3.0 SETTINGS
  2376.  
  2377.         This section describes each of the special settings that may be
  2378.         defined when customising the editor.  These are entered in a custom
  2379.         definition file using entries of the form:
  2380.  
  2381.              SET item = value
  2382.  
  2383.  
  2384.  
  2385.         3.1 AUTOMATIC INDENT
  2386.  
  2387.              SET AUTOMATIC INDENT = ON
  2388.          or  SET AUTOMATIC INDENT = OFF
  2389.  
  2390.         This defines what the cursor will do when a new line is inserted.
  2391.         If it is set ON the cursor will be automatically indented so it
  2392.         aligns under the first non-blank character of the preceding line.
  2393.         If it is set OFF the cursor will always move the the left hand
  2394.         edge.
  2395.  
  2396.         The action of word-spill and the functions SPLIT LINE and ADJUST
  2397.         LINE are also affected by this setting.
  2398.  
  2399.  
  2400.         3.2 CGA SNOW
  2401.  
  2402.              SET CGA SNOW = AUTOMATIC
  2403.          or  SET CGA SNOW = ON
  2404.          or  SET CGA SNOW = OFF
  2405.  
  2406.         The old CGA card for the PC can produce "snow" on the display if
  2407.         the display is updated at the wrong times.  This can be eliminated
  2408.         but at the expense of slowing down scrolling speed.  When set to
  2409.         AUTOMATIC T will look for the presence of the old CGA card and if
  2410.         it finds one it will ensure the snow does not occur.
  2411.  
  2412.         The test to detect the CGA may give incorrect results on some
  2413.         machines (possibly on PCJrs or 3270PCs) and may be unnecessary on
  2414.         some clone machines so the function can be explicitly set ON or
  2415.         OFF.
  2416.  
  2417.         This setting is irrelevant for all more recent display cards (EGAs,
  2418.         VGAs, etc.) since these do not suffer from the "snow" problem.
  2419.  
  2420.  
  2421.         3.3 COMMAND RECALL
  2422.  
  2423.              SET COMMAND RECALL = number
  2424.  
  2425.         This specifies how many previous command line commands will be kept
  2426.         available for recall by the cursor up and cursor down keys.  Any
  2427.         number up to 255 may be kept; specifying zero disables the command
  2428.         recall feature.
  2429.  
  2430.  
  2431.         
  2432.                                                                Settings  33
  2433.  
  2434.  
  2435.         (C) Copyright IBM Corporation 1987, 1992
  2436.         
  2437.         
  2438.         
  2439.         For example:
  2440.  
  2441.              SET COMMAND RECALL = 10
  2442.  
  2443.  
  2444.  
  2445.         3.4 COMMAND TOGGLE
  2446.  
  2447.              SET COMMAND TOGGLE = DATA
  2448.          or  SET COMMAND TOGGLE = COMMAND
  2449.  
  2450.         This determines whether, when a new document is loaded, the cursor
  2451.         starts in the data area or on the command line.
  2452.  
  2453.  
  2454.         3.5 EXACT MATCH
  2455.  
  2456.              SET EXACT MATCH = ON
  2457.          or  SET EXACT MATCH = OFF
  2458.  
  2459.         This determines whether, by default, LOCATE commands take account
  2460.         of upper and lower case during searching.  If set ON the search
  2461.         must match exactly, if set OFF upper and lower case are considered
  2462.         identical.  The default can always be overridden with the locate
  2463.         command options "e" or "c".
  2464.  
  2465.         Note: Exact case match searches are very much faster and would be
  2466.         preferable when searching large documents.
  2467.  
  2468.  
  2469.         3.6 FINAL EOF
  2470.  
  2471.              SET FINAL EOF = ON
  2472.          or  SET FINAL EOF = OFF
  2473.  
  2474.         If set ON all files written to disk are terminated with a
  2475.         hexadecimal 1A end-of-file character.  If set OFF this character is
  2476.         not written.
  2477.  
  2478.  
  2479.         3.7 HELP COMMAND
  2480.  
  2481.              SET HELP COMMAND = command
  2482.  
  2483.         The "command" should be a enclosed in single or double quotes.  It
  2484.         is the T command that will be executed when the HELPkeyboard
  2485.         function is pressed.  Any valid T command can given.
  2486.  
  2487.         For example:
  2488.  
  2489.              SET HELP COMMAND = "T THELP.HLP"
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.         
  2496.                                                                Settings  34
  2497.  
  2498.  
  2499.         (C) Copyright IBM Corporation 1987, 1992
  2500.         
  2501.         
  2502.         
  2503.         3.8 HELP LINE
  2504.  
  2505.              SET HELP LINE = text
  2506.  
  2507.         The "text" should be enclosed in single or double quotes.  It is
  2508.         the text that will be displayed on the bottom line of the screen
  2509.         when there are no messages.
  2510.  
  2511.         For example:
  2512.  
  2513.              SET HELP LINE = "F1=Help F2=Save F3=Quit"
  2514.  
  2515.  
  2516.  
  2517.         3.9 INSERT TOGGLE
  2518.  
  2519.              SET INSERT TOGGLE = REPLACE
  2520.          or  SET INSERT TOGGLE = INSERT
  2521.  
  2522.         This determines whether T initially starts up in "insert" or
  2523.         "replace" mode.
  2524.  
  2525.  
  2526.         3.10 KEYBOARD
  2527.  
  2528.              SET KEYBOARD = AUTOMATIC
  2529.          or  SET KEYBOARD = STANDARD
  2530.  
  2531.         If set to AUTOMATIC T will test if an Enhanced Keyboard (with 12
  2532.         F-keys) is installed and if it finds one it will automatically make
  2533.         use of it.
  2534.  
  2535.         If set to STANDARD T will assume the keyboard is an old style
  2536.         keyboard (with 10 F-keys).  This provides compatibility with some
  2537.         clone BIOSs and with some older TSR programs, but loses the ability
  2538.         to use the newer keys like F11 and F12.  See "4.3 The Enhanced
  2539.         Keyboard" on page 17 for more details.
  2540.  
  2541.  
  2542.         3.11 MARGIN
  2543.  
  2544.              SET MARGIN = column
  2545.          or  SET MARGIN = OFF
  2546.  
  2547.         This sets an initial right hand margin column.  See "3.3 Word
  2548.         Processing" on page 9 for details about the function of the margin.
  2549.  
  2550.  
  2551.         3.12 TAB EXPAND
  2552.  
  2553.              SET TAB EXPAND = ON
  2554.          or  SET TAB EXPAND = OFF
  2555.  
  2556.         This setting determines how T will treat tab characters in
  2557.         documents that are read from disk.  If set ON tabs will be expanded
  2558.  
  2559.         
  2560.                                                                Settings  35
  2561.  
  2562.  
  2563.         (C) Copyright IBM Corporation 1987, 1992
  2564.         
  2565.         
  2566.         
  2567.         with spaces up to the next tab stop (as determined by the TAB
  2568.         SPACING setting).  If set OFF tabs are treated just like any other
  2569.         character.
  2570.  
  2571.         Note: If set ON the tabs are expanded to spaces as the document is
  2572.         loaded from disk and are then discarded.  If the document is saved
  2573.         it will not contain the original tab characters.
  2574.  
  2575.  
  2576.         3.13 TAB SPACING
  2577.  
  2578.              SET TAB SPACING = number
  2579.  
  2580.         Tabs are equally spaced across the document starting from column 1.
  2581.         The spacing is set with this option.
  2582.  
  2583.         For example:
  2584.  
  2585.              SET TAB SPACING = 8
  2586.  
  2587.  
  2588.  
  2589.         3.14 USER COMMAND
  2590.  
  2591.              SET USER COMMAND = command
  2592.  
  2593.         The "command" should be enclosed in single or double quotes.  It is
  2594.         the T command that will be executed when the USERkeyboard function
  2595.         is pressed.  Any valid T command can given.
  2596.  
  2597.         For example:
  2598.  
  2599.              SET USER COMMAND = "DOS"
  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.                                                                Settings  36
  2625.  
  2626.  
  2627.         (C) Copyright IBM Corporation 1987, 1992
  2628.         
  2629.         
  2630.         
  2631.         APPENDIX A.  MESSAGES
  2632.  
  2633.         This section provides a list of all the messages that T produces.
  2634.         It gives the reasons for each message and the action that should be
  2635.         taken.
  2636.  
  2637.         Except where noted these messages will all be displayed in the
  2638.         editor's message line and will be removed at the next keystroke.
  2639.  
  2640.         Cannot open file
  2641.  
  2642.         T is unable to open the requested disk file.  Normally this means
  2643.         that the filename is invalid for some reason, perhaps it contains
  2644.         characters not valid in a file name, or perhaps it conflicts with
  2645.         the name of a device or directory already on the disk.
  2646.  
  2647.         On a diskette system it may also indicate that the diskette drive
  2648.         is not ready, perhaps it does not contain a diskette or the drive
  2649.         door is open.
  2650.  
  2651.         Cannot invoke DOS
  2652.  
  2653.         The DOS command was unable to start up a secondary DOS or OS/2
  2654.         command processor.  Normally this indicates that there is not
  2655.         enough free memory, you will have to remove some documents from the
  2656.         ring if you want to issue the DOS command.
  2657.  
  2658.         If you believe there is enough free memory and the problem still
  2659.         exists it may be that DOS cannot locate the command processor.
  2660.         From the DOS prompt issue the command SET; you should see a series
  2661.         of lines one of which is of this form indicating where your copy of
  2662.         COMMAND.COM is located:
  2663.  
  2664.              COMSPEC=d:\path\COMMAND.COM
  2665.  
  2666.         If this is not present you may need to add a SET
  2667.         COMSPEC=xxxxxx line to your AUTOEXEC.BAT file.
  2668.  
  2669.         Disk error - file NOT saved
  2670.  
  2671.         An error occurred while a document was being written to disk.
  2672.         Normally this means the disk became full while the file was being
  2673.         written.  You should save the file to another disk, one that has
  2674.         enough free space.
  2675.  
  2676.         Error reading file
  2677.  
  2678.         An error occurred while a document was being read from disk.  This
  2679.         is rare error and might indicate there are problems with the disk.
  2680.  
  2681.         File not found
  2682.  
  2683.         You attempted to GET a file that does not exist.  Check the
  2684.         spelling of the filename, maybe the file you want is not in the
  2685.         current directory and so needs a drive and/or directory path
  2686.  
  2687.         
  2688.                                                   Appendix A.  Messages  37
  2689.  
  2690.  
  2691.         (C) Copyright IBM Corporation 1987, 1992
  2692.         
  2693.         
  2694.         
  2695.         pre-pended to it.
  2696.  
  2697.         Line(s) split
  2698.  
  2699.         The file you attempted to load has lines longer than 255
  2700.         characters.  T cannot handle lines longer than 255 characters and
  2701.         so has to split them.  Normally this indicates you have attempted
  2702.         to edit a file that is not a text file, perhaps it is a program or
  2703.         data file in some internal format.  Files of this sort should not
  2704.         be edited with T - you should QUIT straight away, without saving.
  2705.  
  2706.         Loading...
  2707.  
  2708.         Displays while a document is being loaded from disk.
  2709.  
  2710.         Mark already set
  2711.  
  2712.         You tried to mark a line, but a mark already exists in another
  2713.         document in the ring, only one document at a time may contain a
  2714.         mark.  If you no longer require the other mark first press the
  2715.         CLEAR MARK function.
  2716.  
  2717.         New file
  2718.  
  2719.         You asked to edit a document that does not exist on disk.  T has
  2720.         created a new empty document.
  2721.  
  2722.         No filename given
  2723.  
  2724.         The commands GET, PUT and APPEND must have a filename parameter
  2725.         specified.
  2726.  
  2727.         No marked block
  2728.  
  2729.         The commands PUT and APPEND work on the currently marked lines.
  2730.         Some lines must be marked if the command is used.
  2731.  
  2732.         No match found
  2733.  
  2734.         The "target" specified in a LOCATE or CHANGE command cannot be
  2735.         found.  Remember that these commands only search from the current
  2736.         position forwards to the end of the document.  To search from the
  2737.         top first press the TOP OF FILE function.
  2738.  
  2739.         No room to join
  2740.  
  2741.         A JOIN function cannot work if the resulting line would be longer
  2742.         than 255 characters.  This message can also occur when using the
  2743.         ADJUST LINEfunction, which internally makes a call to JOIN.
  2744.  
  2745.         Not enough memory for T
  2746.  
  2747.         This message is printed by DOS if, when T is first loaded, there is
  2748.         not enough free memory get it started.  This can happen if you have
  2749.         a lot of TSR type programs loaded or if you are nested inside
  2750.  
  2751.         
  2752.                                                   Appendix A.  Messages  38
  2753.  
  2754.  
  2755.         (C) Copyright IBM Corporation 1987, 1992
  2756.         
  2757.         
  2758.         
  2759.         several other applications.
  2760.  
  2761.         Out of memory
  2762.  
  2763.         T has run out of memory, you should save one or more of the
  2764.         documents in the ring to make space before continuing.  Most
  2765.         T commands and functions have no effect while the "Out of
  2766.         memory" condition exists.
  2767.  
  2768.         Press any key to continue
  2769.  
  2770.         This message is printed by the secondary DOS or OS/2 command shell
  2771.         started by the DOS command.  It is produced just before the command
  2772.         shell returns to T, and allows you some time to read whatever
  2773.         output is on the screen.
  2774.  
  2775.         Printer not ready
  2776.  
  2777.         The PRINT command could not complete correctly.  This may mean the
  2778.         printer is not turned on or set online, or it is not connected, or
  2779.         that it has run out of paper.  Or any number of other reasons that
  2780.         cause printers to fail.
  2781.  
  2782.         Printing...
  2783.  
  2784.         Displays while a document is being printed.
  2785.  
  2786.         Saving...
  2787.  
  2788.         Displays while a document is being saved.
  2789.  
  2790.         Source & destination conflict
  2791.  
  2792.         You cannot move or copy marked lines on top of themselves.  Move
  2793.         the cursor out of the marked area any try again.
  2794.  
  2795.         T needs DOS v2.00 or later
  2796.  
  2797.         This message is printed by DOS versions below 2.00 if an attempt is
  2798.         made to run T, which requires at least DOS 2.00.
  2799.  
  2800.         Throw away changes? (y/n)
  2801.  
  2802.         You tried to QUIT a document that has been changed since it was
  2803.         last saved.  This message gives you a chance to save changes if the
  2804.         QUIT was selected accidentally.
  2805.  
  2806.         Type a character...
  2807.  
  2808.         The ESCAPE function takes the next character entered on the
  2809.         keyboard as an absolute ASCII code and enters it into the document.
  2810.         While ESCAPE is waiting for this character it displays a message.
  2811.  
  2812.         Unknown command
  2813.  
  2814.  
  2815.         
  2816.                                                   Appendix A.  Messages  39
  2817.  
  2818.  
  2819.         (C) Copyright IBM Corporation 1987, 1992
  2820.         
  2821.         
  2822.         
  2823.         You entered a command on the command line that is not a T command.
  2824.         Check the spelling of the command, or precede it by the word DOS
  2825.         (or a full stop) if it is a DOS or OS/2 command rather than a
  2826.         T command.
  2827.  
  2828.         This message is also produced by the GOTO and MARGIN commands if
  2829.         the parameter specified is not numeric.
  2830.  
  2831.         Yes/No/Go/Last/Quit?
  2832.  
  2833.         The CHANGE command issues this message when it finds its
  2834.         "target" text.  Refer to "1.2 CHANGE" on page 19 for details of the
  2835.         CHANGE command.
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.  
  2844.  
  2845.  
  2846.  
  2847.  
  2848.  
  2849.  
  2850.  
  2851.  
  2852.  
  2853.  
  2854.  
  2855.  
  2856.  
  2857.  
  2858.  
  2859.  
  2860.  
  2861.  
  2862.  
  2863.  
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878.  
  2879.         
  2880.                                                   Appendix A.  Messages  40
  2881.  
  2882.  
  2883.         (C) Copyright IBM Corporation 1987, 1992
  2884.         
  2885.         
  2886.         
  2887.         APPENDIX B.  USER DEFINABLE KEYS
  2888.  
  2889.         This section lists all the valid names and combinations of the user
  2890.         definable keys that can be entered in a custom definition file.
  2891.  
  2892.         Keys marked with an asterisk (*) are only available with the
  2893.         Enhanced Keyboard.
  2894.  
  2895.         -------------------------------------------------------------------
  2896.           Table 1. Unshifted Keys
  2897.           Esc           Enter        Tab          Backspace              
  2898.           F1            F2           F3           F4           F5        
  2899.           F6            F7           F8           F9           F10       
  2900.           F11(*)        F12(*)                                           
  2901.           Home          End          PgUp         PgDn                   
  2902.           Left          Right        Up           Down                   
  2903.           Ins           Del          Pad5(*)                             
  2904.                                                                          
  2905.         -------------------------------------------------------------------
  2906.  
  2907.         -------------------------------------------------------------------
  2908.           Table 2. Shift Keys
  2909.           s-Tab                                                          
  2910.           s-F1          s-F2         s-F3         s-F4         s-F5      
  2911.           s-F6          s-F7         s-F8         s-F9         s-F10     
  2912.           s-F11(*)      s-F12(*)                                         
  2913.                                                                          
  2914.         -------------------------------------------------------------------
  2915.  
  2916.         -------------------------------------------------------------------
  2917.           Table 3. Ctrl Keys
  2918.           c-Enter       c-Tab(*)     c-Backspace                          
  2919.           c-a           c-b          c-c          c-d          c-e       
  2920.           c-f           c-g          c-h          c-i          c-j       
  2921.           c-k           c-l          c-m          c-n          c-o       
  2922.           c-p           c-q          c-r          c-s          c-t       
  2923.           c-u           c-v          c-w          c-x          c-y       
  2924.           c-z                                                            
  2925.           c-2           c-6                                              
  2926.           c-F1          c-F2         c-F3         c-F4         c-F5      
  2927.           c-F6          c-F7         c-F8         c-F9         c-F10     
  2928.           c-F11(*)      c-F12(*)                                         
  2929.           c-Home        c-End        c-PgUp       c-PgDn                 
  2930.           c-Left        c-Right      c-Up(*)      c-Down(*)              
  2931.           c-Ins(*)      c-Del(*)     c-Pad5(*)                           
  2932.           c--           c-[          c-]          c-\                    
  2933.                                                                          
  2934.         -------------------------------------------------------------------
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.         
  2944.                                        Appendix B.  User Definable Keys  41
  2945.  
  2946.  
  2947.         (C) Copyright IBM Corporation 1987, 1992
  2948.         
  2949.         
  2950.         
  2951.         -------------------------------------------------------------------
  2952.           Table 4. Alt Keys
  2953.           a-Enter(*)    a-Tab(*)     a-Backspace(*)                          
  2954.           a-a           a-b          a-c          a-d          a-e       
  2955.           a-f           a-g          a-h          a-i          a-j       
  2956.           a-k           a-l          a-m          a-n          a-o       
  2957.           a-p           a-q          a-r          a-s          a-t       
  2958.           a-u           a-v          a-w          a-x          a-y       
  2959.           a-z                                                            
  2960.           a-1           a-2          a-3          a-4          a-5       
  2961.           a-6           a-7          a-8          a-9          a-0       
  2962.           a-F1          a-F2         a-F3         a-F4         a-F5      
  2963.           a-F6          a-F7         a-F8         a-F9         a-F10     
  2964.           a-F11(*)      a-F12(*)                                         
  2965.           a-Home(*)     a-End(*)     a-PgUp(*)    a-PgDn(*)              
  2966.           a-Left(*)     a-Right(*)   a-Up(*)      a-Down(*)              
  2967.           a-Ins(*)      a-Del(*)                                         
  2968.           a--           a-=                                              
  2969.                                                                          
  2970.         -------------------------------------------------------------------
  2971.  
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977.  
  2978.  
  2979.  
  2980.  
  2981.  
  2982.  
  2983.  
  2984.  
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.         
  3008.                                        Appendix B.  User Definable Keys  42
  3009.  
  3010.  
  3011.         ===================================================================
  3012.  
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.         ===================================================================
  3028.  
  3029.         (C) Copyright IBM Corporation 1987, 1992
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.  
  3068.  
  3069.  
  3070.  
  3071.  
  3072.                                                         Printed in the U.K.
  3073.