home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / TEXT / UTILITY / TEA100.ZIP / TEA100.DOC < prev    next >
Encoding:
Text File  |  1992-04-11  |  36.2 KB  |  1,001 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                            The Electronic Alveary
  7.  
  8.            A word match program for crossword solvers and setters
  9.  
  10.  
  11.  
  12.                                      by
  13.  
  14.                               Ross Beresford
  15.  
  16.  
  17.  
  18.                                Version  1.00
  19.  
  20.                               12th April 1992
  21.  
  22.  
  23.  
  24.                     Copyright (c) J Ross Beresford 1992
  25.  
  26.                             All Rights Reserved
  27.  
  28.  
  29.  
  30.  
  31.  
  32.                     The Electronic Alveary is a FREEWARE
  33.                     package: it can be freely copied and
  34.                     distributed under the terms of the
  35.                     licensing agreement at the end of
  36.                     this document.
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.         The program author can be reached on the following systems:
  47.  
  48.         CIX
  49.              Phone            +44 81 399 5252
  50.              Account name     rberesfo
  51.              Internet address rberesfo@cix.compulink.co.uk (preferred)
  52.                               rberesfo%cix@uknet.ac.uk (if above fails)
  53.  
  54.  
  55.         Golly!
  56.              Phone            +44 734 320812
  57.              Account name     Ross Beresford
  58.              Fidonet address  2:252/21
  59.              Internet address ross.beresford@f21.n252.z2.fidonet.org
  60.  
  61.  
  62.         MANIFEST
  63.         --------
  64.  
  65.         This release of TEA should contain the following files:
  66.  
  67.                 READ.ME         Quick start document
  68.                 TEA100.DOC      This manual
  69.                 TEA.EXE         The TEA pattern matching program
  70.                 TEA.RSC         The default (colour) configuration file
  71.                 COLOUR.RSC      Colour screen configuration file
  72.                 MONO.RSC        Monochrome screen configuration file
  73.                 WORDS.nn        TEA database files
  74.  
  75.         A compression program that builds TEA database files from an
  76.         ASCII word list is distributed separately as TEABDnnn.ZIP,
  77.         where nnn is the version number. This includes 'C' source and
  78.         an MS-DOS binary.
  79.  
  80.  
  81.         CONTENTS
  82.         --------
  83.  
  84.                 1. Introduction
  85.                 2. Interactive Mode
  86.                 3. Command Line Mode
  87.                 4. Patterns
  88.                 5. Controls
  89.                 Appendix A. Messages
  90.                 Appendix B. Video Modes
  91.                 Appendix C. Resource File
  92.                 Appendix D. Release History
  93.                 Appendix E. Licensing Information
  94.  
  95.  
  96.         1. INTRODUCTION
  97.            ------------
  98.  
  99.         TEA can be run in either command line mode or interactive
  100.         mode.
  101.  
  102.         The first two sections give information about how to use TEA
  103.         in each of these modes.
  104.  
  105.         The remaining sections describe the underlying functionality
  106.         of TEA which is the same for both modes.
  107.  
  108.         2. INTERACTIVE MODE
  109.            ----------------
  110.  
  111.         In this mode, TEA runs continuously and its behaviour is
  112.         controlled using a text mode user interface.
  113.  
  114.  
  115.         TEA determines the colours used in the interactive mode
  116.         display from a resource file. TEA is pre-configured for a
  117.         colour screen. If you have a monochrome screen, make sure TEA
  118.         uses the monochrome resource file before you start by typing:
  119.  
  120.                 copy mono.rsc tea.rsc
  121.  
  122.         See "Appendix C. Resource File" for more information about the
  123.         format of the resource file.
  124.  
  125.  
  126.         To enter interactive mode, just type the name of the program:
  127.  
  128.                 tea
  129.  
  130.         All the command line mode options may also be entered as
  131.         options when starting interactive mode: they become the
  132.         initial settings.
  133.  
  134.         By default, TEA assumes the dictionary database files are
  135.         named WORDS.nn and are stored in the same directory as
  136.         TEA.EXE. If you have moved the database files to a different
  137.         directory, or renamed them, you must use the -d option to
  138.         specify their path, for example:
  139.  
  140.                 tea -d d:\dict\words
  141.  
  142.         Once TEA has started, you can begin to enter match patterns
  143.         immediately. To exit TEA at this point, press Esc; pressing
  144.         Ctrl-C or Ctrl-Break at any time will also cause TEA to exit.
  145.  
  146.         See the PATTERNS section for a description of the types of
  147.         pattern that can be specified.
  148.  
  149.  
  150.         Help:             Once interactive mode has started, you can
  151.                           get help at any time by pressing F1.
  152.                           Pressing a key when the help screen is
  153.                           displayed returns you to the program.
  154.  
  155.  
  156.         Field editing:    The field being edited is displayed in a
  157.                           different colour. Characters can be entered
  158.                           at the cursor in the usual way.
  159.  
  160.                           The Ins key toggles between insert and
  161.                           overwrite mode (the default is insert mode);
  162.                           the Left and Right arrow keys move the
  163.                           cursor along a field; Home and End move the
  164.                           cursor to the beginning and end of a field;
  165.                           Del deletes the character at the cursor.
  166.  
  167.                           The Return key accepts a changed field; the
  168.                           Esc key causes any changes to be abandoned.
  169.  
  170.         Matching:         The program starts matching when Return is
  171.                           pressed after the pattern has been edited.
  172.  
  173.                           Matching can be paused by pressing any key.
  174.                           Pressing the space bar resumes the match;
  175.                           any other key aborts the match.
  176.  
  177.                           While matching is paused, the output buffer
  178.                           can be scrolled, printed or written to a
  179.                           file.
  180.  
  181.  
  182.         Scrolling output: If the matched output for a pattern
  183.                           overflows the output window, it is stored
  184.                           in a buffer up to a limit of 200 lines.
  185.  
  186.                           This buffer can be scrolled: a line at a
  187.                           time using the Up and Down arrow keys; a
  188.                           page at a time using PgUp and PgDn; to the
  189.                           top using Ctrl-PgUp and to the bottom using
  190.                           Ctrl-PgDn.
  191.  
  192.  
  193.         Printing output:  To print the contents of the output buffer,
  194.                           use ALT-W and then press Return.
  195.  
  196.  
  197.         Filing output:    To dump the contents of the output buffer to
  198.                           a file, press ALT-W, enter the name of the
  199.                           file to be created and then press return.
  200.  
  201.                           Note that the output buffer size is limited
  202.                           to 200 lines. If you want to dump large
  203.                           amounts of output (for example, all the
  204.                           words of a particular length), it is better
  205.                           to use command line mode and DOS file
  206.                           redirection.
  207.  
  208.  
  209.         Editing controls: The options affecting pattern matching are
  210.                           displayed just above the pattern in the TEA
  211.                           main screen. They can be changed by pressing
  212.                           ALT with the letter highlighted in the
  213.                           option name. Press:
  214.  
  215.                           ALT-S to change the shortest word length
  216.                           ALT-L to change the longest word length
  217.                           ALT-P to toggle the playfair filter setting
  218.                           ALT-A to change the alternate word filter
  219.                           ALT-I to change the included word filter
  220.  
  221.                           See the CONTROLS section for a description
  222.                           of how the controls affect pattern matching.
  223.  
  224.  
  225.         TEA tries to adapt to the active video mode when it starts up:
  226.         if the active video mode is one it supports (see "Appendix B:
  227.         Video Modes" for a list), then it continues to use that mode.
  228.         If the active video mode isn't supported, TEA switches to mode
  229.         3 (colour 80 column mode).
  230.  
  231.         3. COMMAND LINE MODE
  232.            -----------------
  233.  
  234.         In this mode, TEA matches the single pattern specified on the
  235.         command line, then exits. The output is displayed directly on
  236.         the screen.
  237.  
  238.         This mode is used when -c is specified as an option. TEA's
  239.         behaviour is controlled solely by the options and pattern
  240.         specified on the command line.
  241.  
  242.         The command line syntax is as follows:
  243.  
  244.  
  245.            tea [-h] [-d <database>] [-i <string>] [-a <string>] [-p]
  246.                [-s <length>]  [-l <length>] [-c] <pattern>
  247.  
  248.  
  249.            -h            prints usage information about TEA
  250.  
  251.  
  252.            -d <database> instructs TEA to use the dictionary database
  253.                          files beginning with <database>.
  254.  
  255.                          By default, TEA uses the dictionary database
  256.                          files beginning WORDS in the same directory
  257.                          as TEA.EXE.
  258.  
  259.                          If you rename the dictionary database files,
  260.                          or store them in a different directory, you
  261.                          must specify this option so that TEA knows
  262.                          where to find them.
  263.  
  264.                          For example, if the dictionary database files
  265.                          are called MYDICT.1, MYDICT.2 etc and are
  266.                          stored in D:\DICT, then specify:
  267.  
  268.                                 -d D:\DICT\MYDICT
  269.  
  270.  
  271.           -i <string>    instructs TEA to use <string> as the included
  272.                          word filter. See the CONTROLS section for
  273.                          information about how this affects pattern
  274.                          matching.
  275.  
  276.  
  277.           -a <string>    instructs TEA to use <string> as the
  278.                          alternate word filter. See the CONTROLS
  279.                          section for information about how this
  280.                          affects pattern matching.
  281.  
  282.  
  283.           -p             instructs TEA to set the playfair filter to
  284.                          ON (the default is OFF). See the CONTROLS
  285.                          section for information about how this
  286.                          affects pattern matching.
  287.  
  288.           -s <length>    instructs TEA to set the shortest word length
  289.                          matched to <length>. See the CONTROLS section
  290.                          for information about how this affects
  291.                          pattern matching.
  292.  
  293.  
  294.           -l <length>    instructs TEA to set the longest word length
  295.                          matched to <length>. See the CONTROLS section
  296.                          for information about how this affects
  297.                          pattern matching.
  298.  
  299.  
  300.           -c             instructs TEA to use command line mode rather
  301.                          than interactive mode.
  302.  
  303.  
  304.           <pattern>      instructs TEA to print words matching
  305.                          <pattern>, which must be the last thing
  306.                          specified on the command line. See the
  307.                          PATTERNS section for a description of the
  308.                          types of pattern that can be used.
  309.  
  310.  
  311.         The TEA output can be redirected to a file using standard
  312.         MS-DOS output redirection. For example:
  313.  
  314.                 tea -c .... > four.txt
  315.  
  316.         will write all the four letter words in the database into a
  317.         file called FOUR.TXT, and:
  318.  
  319.                 tea -c .a.e. > prn
  320.  
  321.         will output all the words matching the template -A-E- to the
  322.         printer.
  323.  
  324.         4. PATTERNS
  325.            --------
  326.  
  327.         This section shows how to enter patterns that match the words
  328.         you need, using examples of increasing complexity. The sample
  329.         output given is based on the Webster's 2nd Edition word list.
  330.  
  331.  
  332.  
  333.         Simple templates:
  334.  
  335.             The simplest form of pattern is just a template with
  336.             letters at the positions that must be matched and
  337.             match-all characters at other positions.
  338.  
  339.             In the examples given in this section, '.' is used as
  340.             the match-all character. In fact, TEA accepts any
  341.             printable character that isn't otherwise used in the
  342.             pattern syntax as a match-all character.
  343.  
  344.  
  345.             tea -c ....
  346.  
  347.                 lists all the four letter words, and
  348.  
  349.  
  350.             tea -c m.nt.a
  351.  
  352.                 lists all the words matching the template M-NT-A:
  353.  
  354.                     mantra      mantua      Mentha      Montia
  355.  
  356.  
  357.  
  358.         Templates with choice lists:
  359.  
  360.             If the character at a position in a word is known to be
  361.             one of a set of letters, then this situation can be
  362.             represented using a choice list.
  363.  
  364.             A choice list is entered by giving the list of possible
  365.             letters between square brackets '[' and ']'. The complete
  366.             choice list matches just one letter in the word.
  367.  
  368.  
  369.             tea -c [abcd]ean
  370.  
  371.                 lists the four letter words starting with either A, B,
  372.                 C or D and ending EAN:
  373.  
  374.                     bean    dean
  375.  
  376.  
  377.             tea -c we[air]..er
  378.  
  379.                 lists the 7 letter words starting with either WEA, WEI
  380.                 or WER and ending --ER:
  381.  
  382.                     weanyer     wearier     weather     weigher     Werther
  383.  
  384.         Templates with wildcards:
  385.  
  386.             Gaps in the template that can be of variable length are
  387.             indicated by the '*' wildcard. The '*' wildcard matches
  388.             zero or more letters in the word. The use of wildcards
  389.             implies that different lengths of words may be found.
  390.  
  391.  
  392.             tea -c bluest*
  393.  
  394.                 lists words of any length starting with BLUEST:
  395.  
  396.                     bluestem          bluestone          blue-starry
  397.                     bluestoner        blue-stained       blue-stemmed
  398.                     blue-striped      bluestocking       blue star grass
  399.                     bluestockingish   bluestockingism
  400.  
  401.  
  402.             tea -c *robin*
  403.  
  404.                 lists words of any length including ROBIN anywhere:
  405.  
  406.                     Robin       robin       robing      eurobin
  407.                     robinet     Robinia     robinin     sea robin
  408.                     antirobin   bush robin  cock robin  robin chat
  409.                     Robin hood  wake-robin  wood robin  algarrobin
  410.                     beach robin     marsh robin     robinoside
  411.                     robin snipe     round robin     scare-robin
  412.                     scrub robin     swamp robin     chrysarobin
  413.                     ground robin    robin dipper    robin runaway
  414.                     robin accentor  robin redbreast robin sandpiper
  415.  
  416.  
  417.             tea -c *.boule.*
  418.  
  419.                 lists words of any length including BOULE anywhere
  420.                 except the start and end of the word:
  421.  
  422.                     upboulevard     probouleutic    proboulevard
  423.                     symbouleutic
  424.  
  425.         Simple anagrams:
  426.  
  427.             The place where the anagram part of a pattern begins is
  428.             marked using a semicolon ';'. After the ';' character, the
  429.             elements of the pattern can be matched in any order.
  430.  
  431.             tea -c ;easting
  432.  
  433.                 lists all the anagrams of EASTING:
  434.  
  435.                     easting     gainset     Genista     genista
  436.                     ingesta     seating     signate     teasing
  437.  
  438.  
  439.             Anagrams can also include match-all characters. Like the
  440.             anagram letters, they can be matched at any position in
  441.             the word.
  442.  
  443.             tea -c ;string.
  444.  
  445.                 lists all the words including the letters in STRING
  446.                 plus one arbitrary letter:
  447.  
  448.                     gastrin     G string    resting     staring
  449.                     stinger     stringy
  450.  
  451.  
  452.  
  453.         Anagrams with choice lists:
  454.  
  455.             Choice lists can also be used in anagram patterns, when
  456.             one of the constituent letters in the anagram isn't known
  457.             exactly.
  458.  
  459.  
  460.             tea -c ;br[au]sh
  461.  
  462.                 lists the anagrams of BRUSH and BRASH:
  463.  
  464.                     brash       brush       shrab       shrub
  465.  
  466.  
  467.  
  468.         Anagrams with wildcards:
  469.  
  470.             Wildcards can also be used in anagram patterns, when the
  471.             word being sought is known to contain a particular set of
  472.         letters, but its exact length isn't known.
  473.  
  474.             tea -c ;abcdefg*
  475.  
  476.                 lists the words of any length including all the
  477.                 letters A-G:
  478.  
  479.             back-fanged         bright-faced
  480.             black-figured        cartridge buff
  481.             deflecting bar        bleaching field
  482.             boarding officer        comb-fringed grass
  483.             double-refracting        proficiency badge
  484.             Black-faced highland    vertical lift bridge
  485.             green-backed goldfinch
  486.  
  487.     Combined templates and anagrams:
  488.  
  489.             A template and anagram can be used together. A ';' marks
  490.         the boundary between the template part of the pattern and
  491.         the anagram part of the pattern.
  492.  
  493.             tea -c ..a....;easting
  494.  
  495.         lists the anagrams of EASTING that also match the
  496.         template --A----:
  497.  
  498.             seating    teasing
  499.  
  500.  
  501.         The number of letter positions specified in the template
  502.         and anagram do not have to agree. When the anagram has
  503.         more letters than the template, only the number of letters
  504.             required for the template need to be matched from the
  505.         anagram part.
  506.  
  507.             tea -c ....;beard
  508.  
  509.         lists all the words that can be made up from 4 out of
  510.         the 5 letters of BEARD:
  511.  
  512.                     abed    ared    bade    bard    Bare    bare    bead
  513.                     bear    brad    brae    bred    daer    dare    dear
  514.                     drab    read
  515.  
  516.  
  517.             If the template includes a wildcard, then the range of
  518.             word lengths from the smallest length implied by the
  519.             template to the length implied by the anagram is treated
  520.             as above.
  521.  
  522.  
  523.             tea -c .........*;sportscaster
  524.  
  525.                 lists all the words of 9 letters or more that can be
  526.                 made up of the letters in SPORTSCASTER:
  527.  
  528.                     attercrop       cross seat      cross-star
  529.                     pastoress       prostrate       Sarcoptes
  530.                     spectator       tapstress       cross strap
  531.  
  532.  
  533.             When the anagram has fewer letters than the template, the
  534.             anagram is automatically padded with match-all characters
  535.             to the length of the template.
  536.  
  537.             tea -c .......w;krs
  538.             tea -c .......w;krs*
  539.             tea -c .......w;krs.....
  540.  
  541.                 are all equivalent and list the 8 letter words ending
  542.                 W and including the letters K, R and S anywhere along
  543.                 their length:
  544.  
  545.                     rickshaw    stark-new
  546.  
  547.         Sub-patterns:
  548.  
  549.             Sub-patterns can also be used as a match element within
  550.             the template or anagram part of a pattern. Sub-patterns
  551.             are surrounded with round brackets '(' and ')'.
  552.  
  553.  
  554.             If a sub-pattern is specified as part of the template, the
  555.             sub-pattern is matched at the exact position within the
  556.             template. The usual reason for doing this is to include an
  557.             anagram specification within a template.
  558.  
  559.             tea -c .(;reed).
  560.  
  561.                 lists the 6 letter words that have an anagram of REED
  562.                 as the middle 4 letters:
  563.  
  564.                     breedy      greedy      Hedera      herder
  565.                     teredo      verdea      verdet
  566.  
  567.  
  568.             If the sub-pattern is specified as part of the anagram,
  569.             then the sub-pattern can AS A UNIT be matched anywhere in
  570.             a word. This is useful when a word is known to contain a
  571.             particular sequence of letters, but where the exact
  572.             position isn't known:
  573.  
  574.             tea -c .a.........er;(and)
  575.  
  576.                 lists the 13 letter words that match the template
  577.                 -A---------ER and include the letters AND together, at
  578.                 any position in the word:
  579.  
  580.                     candlelighter       candle snuffer
  581.                     garland flower      landing waiter
  582.                     Pan-afrikander      salt-and-pepper
  583.                     wall germander
  584.  
  585.  
  586.             The above examples just scrape the surface of the sorts of
  587.             patterns it is possible to specify. All the components of
  588.             a pattern:
  589.  
  590.                 letters
  591.                 match-all characters
  592.                 choice lists
  593.                 wild cards
  594.                 sub-patterns
  595.  
  596.             can be used as often as necessary in the template and/or
  597.             anagram parts of a pattern. Sub-patterns can include other
  598.             sub-patterns to the depth required.
  599.  
  600.  
  601.         5. CONTROLS
  602.            --------
  603.  
  604.  
  605.         This section describes the controls that affect the matching
  606.         process in addition to the pattern.
  607.  
  608.         In interactive mode, the control settings are displayed above
  609.         the pattern. They keep their value until they are changed by
  610.         pressing ALT-letter, where letter is the highlighted letter
  611.         in the control name.
  612.  
  613.         In command line mode, the control settings are specified using
  614.         options on the command line.
  615.  
  616.  
  617.         Shortest word   These controls determine the shortest and
  618.         Longest word    longest words that will be considered for
  619.                         matching.
  620.  
  621.                         In interactive mode, use ALT-S and ALT-L to
  622.                         change the values.
  623.  
  624.                         In command line mode, using -s <length> and -l
  625.                         <length> on the command line to set the
  626.                         values.
  627.  
  628.  
  629.         Included word   This control is a filter that is applied after
  630.                         normal pattern matching.
  631.  
  632.                         If an included word string is specified, only
  633.                         words included in the string either forwards
  634.                         or backwards will be output.
  635.  
  636.                         In interactive mode, use ALT-I to change the
  637.                         included word string.
  638.  
  639.                         In command line mode, use -i <string> to set
  640.                         the included word string.
  641.  
  642.                         This control is mostly used with a pattern of
  643.                         *, for example:
  644.  
  645.                                 tea -c -i gutter -s 3 *
  646.  
  647.                         will list all the words of three or more
  648.                         letters that are contained in GUTTER, either
  649.                         forwards or reversed.
  650.  
  651.         Alternate word  This control is a filter that is applied after
  652.                         normal pattern matching.
  653.  
  654.                         If an alternate word string is specified, only
  655.                         words that include the letters in the string
  656.                         specified as alternate letters will be output.
  657.  
  658.                         In interactive mode, use ALT-A to change the
  659.                         alternate word string.
  660.  
  661.                         In command line mode, use -a <string> to set
  662.                         the alternate word string.
  663.  
  664.                         This control is mostly used with a pattern of
  665.                         *, for example:
  666.  
  667.                                 tea -c -a isle *
  668.  
  669.                         will list all the words that contain the
  670.                         letters I S L E as alternate letters. It is
  671.                         equivalent to specifying:
  672.  
  673.                                 tea -c -l 8 *i.s.l.e*
  674.  
  675.  
  676.         Playfair        This control is a filter that is applied after
  677.                         normal pattern matching.
  678.  
  679.                         If the playfair filter is ON, only words that
  680.                         are usable as a playfair key word are output.
  681.  
  682.                         (Playfair codes are employed fairly frequently
  683.                         in British thematic cryptic puzzles. Only
  684.                         words that have no repeating letters and don't
  685.                         include a 'j' are allowable playfair
  686.                         codewords.)
  687.  
  688.                         In interactive mode, use ALT-P to toggle the
  689.                         state of the playfair filter between OFF and
  690.                         ON.
  691.  
  692.                         In command line mode, specify -p to set the
  693.                         playfair filter to ON. The default is OFF.
  694.  
  695.                         This control is mostly used with a pattern of
  696.                         *, for example:
  697.  
  698.                                 tea -c -p -s 12 *
  699.  
  700.                         lists all the words of 12 letters and over
  701.                         that could be used as a Playfair codeword.
  702.  
  703.         Appendix A. MESSAGES
  704.                     --------
  705.  
  706.         This section lists the error messages that TEA can produce and
  707.         describes how to correct them:
  708.  
  709.  
  710.             Couldn't find the data files
  711.  
  712.                 TEA prints this error message if it can't find any
  713.                 dictionary database files to use.
  714.  
  715.                 If you specified -d on the command line, you may have
  716.                 entered the wrong path for <database>. Remember to
  717.                 specify the file prefix, leaving off the numbered file
  718.                 suffixes, for example:
  719.  
  720.                                 -d D:\DICT\MYDICT
  721.  
  722.                 If you didn't specify -d on the command line, then you
  723.                 may need to if the database files are in a different
  724.                 directory to TEA.EXE or called something different to
  725.                 WORDS.nn.
  726.  
  727.  
  728.             ERROR: option -X requires an argument
  729.  
  730.                 Add a parameter value following -d, -i, -a, -s or -l
  731.                 (for example a <length> or a <string>).
  732.  
  733.  
  734.             ERROR: option -X unrecognised
  735.  
  736.                 An option has been entered which TEA does not
  737.                 understand. Study the usage information to find out
  738.                 what went wrong.
  739.  
  740.  
  741.             Edit the pattern, then press Return (Press F1 for more help)
  742.  
  743.                 This message is displayed in interactive mode when TEA
  744.                 is ready for you to edit the pattern. Type in
  745.                 characters to edit the pattern, then press Return to
  746.                 start matching.
  747.  
  748.  
  749.             Error during printing
  750.  
  751.                 This message is displayed in interactive mode when TEA
  752.                 fails to print the output buffer completely. The
  753.                 problem is usually that the printer is not plugged
  754.                 into the computer, not switched on, not on-line or
  755.                 that it has run out of paper.
  756.  
  757.             Error occurred during file output
  758.  
  759.                 This message is displayed in interactive mode when TEA
  760.                 fails to write the output to a file completely. The
  761.                 problem is usually that the disk you are using is
  762.                 full.
  763.  
  764.  
  765.             Filename (leave blank to print):
  766.  
  767.                 This message is displayed in interactive mode when you
  768.                 press ALT-W. At this point you should press Return to
  769.                 print the output buffer, or enter a file name to dump
  770.                 the output buffer to a file.
  771.  
  772.  
  773.             Output file could not be opened
  774.  
  775.                 This message is displayed in interactive mode when TEA
  776.                 failed to create the output file specified after ALT-W
  777.                 has been pressed. The problem is usually that a drive
  778.                 or directory specified does not exist, or that the
  779.                 file name contains invalid characters.
  780.  
  781.  
  782.             Output to file completed successfully
  783.  
  784.                 This message is displayed in interactive mode when TEA
  785.                 has written the complete output buffer without
  786.                 encountering any problems.
  787.  
  788.  
  789.             PAUSED: Press SPACE to resume
  790.  
  791.                 This message is displayed in interactive mode when a key
  792.                 is pressed while TEA is matching a pattern. At this
  793.                 point you can scroll through or write the output that
  794.                 has already appeared. You can press the space bar to
  795.                 resume the matching process. Any other key aborts the
  796.                 matching process, and you resume editing the pattern.
  797.  
  798.  
  799.             Pattern Syntax Error: choice list not terminated by ]
  800.  
  801.                 This message is displayed when the pattern includes a
  802.                 choice list [ character that doesn't have a
  803.                 corresponding ] character. Choice list brackets must
  804.                 be specified in matching pairs.
  805.  
  806.  
  807.             Pattern Syntax Error: choice list terminator without matching [
  808.  
  809.                 This message is displayed when the pattern includes a ]
  810.                 without a preceding [ to match it. Choice list
  811.                 brackets must be specified in matching pairs.
  812.  
  813.             Pattern Syntax Error: invalid characters in [] choice list
  814.  
  815.                 This message is displayed when non-alphabetic
  816.                 characters are specified inside choice list brackets.
  817.                 It is only meaningful to include alphabetic characters
  818.                 inside a choice list.
  819.  
  820.  
  821.             Pattern Syntax Error: more than one ; in pattern
  822.  
  823.                 This message is displayed when a pattern or
  824.                 sub-pattern contains more than one ';' character.
  825.                 Since this character separates the left (template) and
  826.                 right (anagram) parts of a pattern, it is incorrect to
  827.                 have more than one in a pattern.
  828.  
  829.  
  830.             Pattern Syntax Error: subpattern not terminated by )
  831.  
  832.                 This message is displayed when the pattern includes a
  833.                 sub-pattern ( character that doesn't have a
  834.                 corresponding ) character. Sub-pattern brackets must
  835.                 be specified in matching pairs.
  836.  
  837.  
  838.             Pattern Syntax Error: subpattern terminator without matching (
  839.  
  840.                 This message is displayed when the pattern includes a )
  841.                 without a preceding ( to match it. Sub-pattern
  842.                 brackets must be specified in matching pairs.
  843.  
  844.  
  845.             Pattern Syntax Error: too many characters in template
  846.  
  847.                 This message is displayed in command line mode when
  848.                 a template is 80 characters or more long. The program
  849.                 cannot match words of that length.
  850.  
  851.  
  852.             Printing completed successfully
  853.  
  854.                 This message is displayed in interactive mode when TEA
  855.                 has printed the complete output buffer without
  856.                 encountering any problems.
  857.  
  858.  
  859.             SEARCHING: Press any key to pause
  860.  
  861.                 This message is displayed in interactive mode when TEA
  862.                 is in the middle of matching a pattern. Pressing any
  863.                 key at this point will pause the match, allowing you
  864.                 to browse the output or resume editing the pattern.
  865.  
  866.         Appendix B. VIDEO MODES
  867.                     -----------
  868.  
  869.         TEA supports the following video modes in interactive mode:
  870.  
  871.                 Mode 2          Black and white, 80 columns
  872.                 Mode 3          Colour, 80 columns
  873.                 Mode 7          Monochrome, 80 columns
  874.                 Mode 64         EGA 43 line, or VGA 50 line
  875.  
  876.         If you want to use a particular mode, set it up before
  877.         starting the program.
  878.  
  879.  
  880.         Appendix C. RESOURCE FILE
  881.                     -------------
  882.  
  883.         TEA decides what colours to use for various parts of the
  884.         display from the resource file named TEA.RSC in the directory
  885.         containing TEA.EXE.
  886.  
  887.         The default resource file provided with the package is
  888.         configured for colour screens. A resource file suitable for
  889.         monochrome screens is provided in MONO.RSC. A copy of the
  890.         default colour resource file is provided in COLOUR.RSC.
  891.  
  892.         To change to the monochrome resource file, type:
  893.  
  894.                 copy mono.rsc tea.rsc
  895.  
  896.         To change the colours used on a colour display, edit the
  897.         TEA.RSC file using the information about the format given
  898.         below.
  899.  
  900.  
  901.         The resource file includes a list of names that describe a
  902.         part of the screen, together with a number defining the colour
  903.         that will be displayed there.
  904.  
  905.         The following table shows the names of the resources and the
  906.         range of values allowable for the resource:
  907.  
  908.                 DefaultWindowForeground         0-7
  909.                 DefaultWindowBackground         0-15
  910.                 EditWindowForeground            0-15
  911.                 EditWindowBackground            0-15
  912.                 StatusWindowForeground          0-15
  913.                 StatusWindowBackground          0-15
  914.                 OutputWindowForeground          0-15
  915.                 OutputWindowBackground          0-15
  916.                 HelpWindowForeground            0-7
  917.                 HelpWindowBackground            0-15
  918.  
  919.         The significance of the numbers for the foreground colour
  920.         resources is as follows:
  921.  
  922.                 0       Black
  923.                 1       Blue
  924.                 2       Green
  925.                 3       Cyan
  926.                 4       Red
  927.                 5       Magenta
  928.                 6       Brown
  929.                 7       Light Grey
  930.                 8       Dark Grey
  931.                 9       Light Blue
  932.                 10      Light Green
  933.                 11      Light Cyan
  934.                 12      Light Red
  935.                 13      Light Magenta
  936.                 14      Yellow
  937.                 15      White
  938.  
  939.         The significance of the numbers for the background colour
  940.         resources is as follows:
  941.  
  942.                 0       Black
  943.                 1       Blue
  944.                 2       Green
  945.                 3       Cyan
  946.                 4       Red
  947.                 5       Magenta
  948.                 6       Brown
  949.                 7       Light Grey
  950.                 8       Black      )
  951.                 9       Blue       )
  952.                 10      Green      )
  953.                 11      Cyan       ) with foreground blinking
  954.                 12      Red        )
  955.                 13      Magenta    )
  956.                 14      Brown      )
  957.                 15      Light Grey )
  958.  
  959.         Appendix D. RELEASE HISTORY
  960.                     ---------------
  961.  
  962.  
  963.         TEA100: Version 1.00 - 12th April 1992
  964.  
  965.           This is the first full release of TEA for the MS-DOS
  966.           platform. It will be distributed worldwide via SIMTEL
  967.           and directly to UK bulletin boards.
  968.  
  969.  
  970.         Appendix E. LICENSING INFORMATION
  971.                     ---------------------
  972.  
  973.         Copyright (c) J Ross Beresford 1992. All Rights Reserved.
  974.  
  975.         Commercial distribution and/or use is prohibited without prior
  976.         written permission.
  977.  
  978.         Non-Commercial distribution and/or use is permitted under the
  979.         following terms:
  980.  
  981.         You may copy and distribute verbatim copies of the TEA
  982.         executable code and documentation as you receive it, in any
  983.         medium, provided that you conspicuously and appropriately
  984.         publish on each copy a valid copyright notice "Copyright (c) J
  985.         Ross Beresford 1992", and keep intact the notices on all files
  986.         that refer to these Licensing Terms and to the absence of any
  987.         warranty.
  988.  
  989.         You may charge a distribution fee for the physical act of
  990.         transferring a copy, but no more than is necessary to recover
  991.         your actual costs incurred in the transfer.
  992.  
  993.         NO WARRANTY. Because TEA is licensed free of charge, there is
  994.         absolutely no warranty. Except when otherwise stated in
  995.         writing, TEA is provided "as is" without warranty of any kind,
  996.         either expressed or implied, including but not limited to, the
  997.         implied warranties of merchantability and fitness for a
  998.         particular purpose. The entire risk as to the quality and
  999.         performance of TEA, and the accuracy of its associated
  1000.         documentation, is with you.
  1001.