      (                              SPELL_CHECK    H This directory contains the source code and the executable images for anM interactive spelling checker utility for VAXTPU based editors as discussed in A the Spring 1988 Decus Symposium in Cincinnati Ohio session LT108.   J This utility, when added to a VAXTPU based editor, gives the capability toP interactively check the spellings of the words in the editing buffer. It does soJ by identifying a word and checking for its presence in two dictionaries: A4 system dictionary, and a user's personal dictionary.  L Requirements: A VAXTPU based editor with a PROMPT AREA, and a MESSAGE_BUFFER'               mapped to MESSAGE_WINDOW.   J When invoked, the procedure starts at the beginning of the editing buffer,K scanning each word and checking to see if it is in the dictionaries or not. ; If a word is not found, it is highlighted in reverse video.    The message window shows: +    Word "word" not found in the dictionary!    The prompt area shows:D    Press C)orrect; Add to U)ser, S)ystem dictionary; I)gnore; Q)uit.  I If the user presses <C>, a replacement spelling for the word is prompted. M If the user presses <U>, the word is added to the User's personal dictionary. O If the user presses <S> then, if the user has not been previously identified as P a system user, the user is prompted for a password. If the user correctly entersM the password, the user is identified as a system user. Once the user has been L identified as a system user, the word is added to the System dictionary. TheL current password is BOZO. To change the password for your editor, change theF initialization of the global variable SCH$EDT_SPELL_PASWRD in the file SPELL_CHECK.INC.  O Although the current dictionary is in English, any language that can be written / in DEC multinational character set can be used.   , This directory contains the following files:   000README.MEM   - This file  SPELL_CHECK.TPU - TPU program   SPELL_CHECK.INC - Global symbols! SPELL_CHECK.FOR - Fortran program  SPELL_CHECK.OBJ - Object module % SPELL_CHECK.OPT - Linker Options file " SPELL_CHECK.EXE - Executable image( SPELL_CHECK.DAT - 10,000 word dictionary  7                 ADDING THIS TO YOUR VAXTPU BASED EDITOR   N 1) If you have your own VAXTPU based editor (it may be layered on EDTSECINI or    EVESECINI) then,   7    - Add SPELL_CHECK.TPU to your VAXTPU editor program. 8    - Add SPELL_CHECK.INC to the INIT_VARIABLE procedure.A    - If desired, bind a key to the procedure SCH$EDT_SPELL_CHECK. !    - Compile your editor program. G    - Load SPELL_CHECK.EXE, and SPELL_CHECK.DAT in suitable directories.     - Define following logicals: K      TPUSECINI to point to the image (.GBL or .TPU$SECTION) of your editor. ,      TPU$SECINI to point to SPELL_CHECK.EXE.2      DICTIONARY$SYSTEM to point to SPELL_CHECK.DAT:      DICTIONARY$USER to a user's personal dictionary file.  P      The first three logicals may be system logicals. Initially there will be noP      user's dictionary file. It will be created the first time this procedure is
      used.  N 2) If you do not have your own VAXTPU based editor and you use EDT Emulator or    EVE then,  <    - Append SPELL_CHECK.INC at the bottom of SPELL_CHECK.TPU<    - Set up a symbol similar to following in your LOGIN.COM:  L      ED*IT :== EDIT/TPU/SECTION=<section>/COMMAND=<directory>SPELL_CHECK.TPU1      where, <section>   is EDTSECINI or EVESECINI C             <directory> is the directory containing SPELL_CHECK.TPU     1                   USING SPELL CHECK INTERACTIVELY   L Type SPELL_CHECK at TPU Command prompt, or press the key if the procedure is bound to a key. 