home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / tinyed.zip / README < prev    next >
Text File  |  1993-12-01  |  6KB  |  128 lines

  1.  
  2.                     (C) Copyright IBM Corporation 1987, 1993
  3.  
  4.   T v2.20 - A Tiny Editor
  5.   =======================
  6.  
  7.   Changes From Previous Version
  8.   -----------------------------
  9.   The major change between the previous version (v2.00) and this version
  10.   (v2.20) is the support for editing lines longer than 256 characters; lines
  11.   may now be up to 65,528 characters long.  This is particularly useful with
  12.   OS/2, where lines in CONFIG.SYS are often longer than 256 characters.  Also
  13.   please note there is a change to the operation of the MARK RIGHT and MARK
  14.   LEFT functions and there are a few changes in the custom definition file
  15.   syntax, to provide improved readability and consistency.
  16.  
  17.   Introduction
  18.   ------------
  19.   There are times even in today's world of multi-megabyte personal computers
  20.   when a quick, simple and small text editor is of benefit.  With a .EXE file
  21.   of less than 10,000 bytes T is designed to fit that role.  For the DOS user
  22.   trying to cram more and more into 640K the advantages of small size are
  23.   obvious, for the OS/2 user the speed and ability to run when even
  24.   Presentation Manager is unavailable may prove just as useful.
  25.  
  26.   This document gives a very brief introduction to the Tiny Editor. Refer to
  27.   the full documentation in T.DOC for all the details of the editor's commands
  28.   and keyboard functions.  T.DOC also describes how T may be customised to
  29.   suit individual preferences for things like screen colours and keyboard
  30.   layouts.
  31.  
  32.   Installation
  33.   ------------
  34.   The only file required to use T is the single executable: T.EXE for DOS or
  35.   T2.EXE for OS/2.  This should be placed in the current directory or in a
  36.   subdirectory listed in the PATH.
  37.  
  38.   The help file THELP.HLP gives a summary of the editor's features.  It may be
  39.   useful to have this available the first few times T is used.  Pressing the
  40.   F1 help key will attempt to load and show this help file.
  41.  
  42.   Simple Editing
  43.   --------------
  44.   To start the editor just enter the command T from a DOS prompt or T2 from an
  45.   OS/2 prompt.  This command can be followed by any number of filenames which
  46.   will be loaded ready for editing.  If no filenames are given a new empty
  47.   file will be created.
  48.  
  49.   The cursor starts on the editor's command line (the third line up from the
  50.   bottom).  Any valid T command may be entered on the command line and is
  51.   executed when the Enter key is pressed.  Some valid commands include:
  52.  
  53.      EDIT   - To load a new file into the editor.
  54.      FILE   - To write the currently displayed file back to disk.
  55.      PRINT  - To print the currently displayed file.
  56.      DOS    - To run a DOS or OS/2 command.
  57.  
  58.   The cursor can be moved between the command line and the file's data area by
  59.   pressing the Esc key.  In the data area it can be moved anywhere between the
  60.   "Top of File" and "End of File" markers.  At any point new text can be
  61.   entered or the existing text changed.  To add a new line press Ctrl-Enter
  62.   and to delete a line press Ctrl-Backspace.
  63.   
  64.  
  65.   One or more lines can be marked by pressing Alt-L on the first and last
  66.   lines of the block to be marked.  Marked lines can be moved by pressing
  67.   Alt-M, copied with Alt-C or deleted with Alt-D.
  68.  
  69.   The current line can be repeated with Alt-R, split at the cursor position
  70.   with Alt-S and joined with the following line with Alt-J.
  71.  
  72.   If more than one file is being edited at once the "ring" of files can be
  73.   cycled around by pressing F10 or F11.  Editing several files at once is
  74.   particularly useful in conjunction with marked lines, as lines from one file
  75.   can be moved or copied into a different file.
  76.  
  77.   When all the required changes have been made the file can be written back to
  78.   disk by pressing F2 and quitted with F3.  Alternatively F4 will perform both
  79.   these actions in one go.  If you decide to abandon all the changes made just
  80.   press F3 and answer the question "Throw away changes?" with a "y".
  81.  
  82.   To search for a particular piece of text, switch onto the command line and
  83.   enter the command: /text
  84.  
  85.   T will search from the current cursor position forwards to find the next
  86.   occurrence of the "text".  Normally T requires an exact-case match (i.e. it
  87.   would not find TEXT or even Text); to force an any-case match add a "c"
  88.   option to the command like this: /text/c
  89.  
  90.   To do a search and replace, again switch onto the command line and this time
  91.   use the command: c/this/that
  92.  
  93.   This will find the next occurrence of "this" and ask a question
  94.   "Yes/No/Go/Last/Quit?".  Respond with a Y, N, G, L or Q as required:
  95.  
  96.      Yes   - to change "this" to "that" and search for the next "this".
  97.      No    - to not make the change, but continue the search for the next
  98.              "this".
  99.      Go    - to make this change and all subsequent changes up to the end of
  100.              the file without further prompting.
  101.      Last  - to make this change and to stop searching.
  102.      Quit  - to not make this change and to stop searching.
  103.  
  104.   To make all the changes straightaway, without prompting add the "*" option
  105.   to the change command like so: c/this/that/*
  106.  
  107.   Customisation
  108.   -------------
  109.   T may be customised to change the colours, keyboard assignments and one or
  110.   two other settings.  Take a look at the TKEYS.DEF file which describes the
  111.   standard configuration.  If you want to alter it, make a copy of TKEYS.DEF
  112.   and edit it to reflect your required changes.  Then run the TKEY.EXE
  113.   customiser program to update the editor, like this:
  114.  
  115.      TKEY TKEYS.DEF T.EXE
  116.  
  117.   ----------------------------------------------------------------------------
  118.   by: Tim Baldwin
  119.       IBM UK Laboratories Ltd.
  120.       Hursley Park
  121.       Winchester, Hampshire, England.
  122.  
  123.       Internet: baldy@vnet.ibm.com
  124.  
  125.       October 1993
  126.   
  127.  
  128.