home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
wp_dtp
/
scheck60.lha
/
spellcheck.doc
< prev
next >
Wrap
Text File
|
1992-07-10
|
9KB
|
221 lines
C-Net SpellCheck v6.0
----------------
For C-Net AMIGA ** v2.0+ **
Written by Ray Akey (AKA Heavy Metal)
Call the support board - The Metal Shoppe BBS (CLink 1:5178/0)
(519) 255-7378 1200-2400 baud
(519) 256-0278 2400-38400 baud
What is it?
-----------
Simple! A spell CHECKER for C-Net Amiga.
** Changes 6.0!:
----------------
1: A HUMONGOUS bug was fixed which caused the editor to be trashed due
to SAS C's strncpy() function. This was fixed by writing my own version
of strncpy() which ALWAYS appends the NULL terminator. Much thanks to
Grimalkin for bringing this to my attention!!
[Programmer's Quote of the day: If others' functions don't]
[ work, write them yourself ]
** Changes 5.1:
---------------
1: SpellChecking routines even faster now.
2: The "More (Y/n)" prompt is now disabled during a dictionary import.
**NOTE ON DICTIONARY SORTING: I've come across a serious problem with
the WB "Sort" command that Spellcheck uses and the stack. If you are sorting
a large dictionary, you may get a visit from our Guru friend. If so, increase
your stack. The highest I've ever needed the stack for the WB SORT command
is 150,000 (OUTRAGEOUS!!). SO: As of the next version, sorting will be done
INTERNALLY and on a much more liberal stack - Within Ken's recommended 40k
C-Net stack.
** Changes 5.0:
---------------
1: New MCI colors now used.
2: MOST text is now external and can be edited as BBSTEXT can be.
3: Works with C-net AMIGA v1.98v and up.
** Changes 4.1:
---------------
1: Bug fixed where text in 2 prompts were overwritten.
2: Now skips Quoted lines. See Spellcheck.config for more on this.
** Changes 4.0:
---------------
1. A **MAJOR** bug has been fixed where the program caused a software failure
in the suggestion routines. Seems AmigaDOS only allows 16 files open at a
time and I missed a file close in the Suggestion forward (+) and suggestion
backward (-) routines causing that limit to be exceeded.
2. Now tells how many words were checked, how many were not found in the
dictionaries and also displays a percentage of unfound/total words in
the message.
** Changes 3.2:
---------------
1. Bug fixed in the suggestion routines where Spellcheck would jump back
to previous lines already checked.
2. Now displays words to Log that are not found in the dictionary when a user
activates SpellCheck.
** Changes 3.1: (re-compiled for 1.98D)
---------------
1. Sysop definable MINIMUM length before spellchecking is performed on a word
( Edit this in the "Spellcheck.config" that is in your pfiles directory.
More info on this function can be found in the SPELLCHECK.CONFIG included
in this .zip package )
2. If your TEMP path and HARD path are the same, sorting is preformed only on
the one file.. The program will no longer try to sort both paths or try
to copy them to the original path unless they are different.
** Changes 3.0:
---------------
1. Replace option has been enhanced and now gives the user options to change
the word, get suggested replacements, and scroll forward/backward through
the replacement suggestions.
2. Maint accessed users can add words to the dictionary and words added are
written to a log for viewing by #1.
3. Log reflects users who have used SpellCheck.
4. Sysop can request a dictionary sort of a single or ALL dictionary files.
** Changes 2.1:
---------------
1. NOW ALLOWS spellchecking OF Lines x-x (!!!!)
2. Now has a REPLACE option where the user is prompted for a replacement and
may hit RETURN to keep the unfound word.
3. Now has it's own log viewable only by account #1.
4. Users with MAINT are now allowed to Adopt words from their SpellCheck into
the dictionary. Adopted words are the only thing presently written to the
log.
5. Some other minor things that make it better that elude me at the moment.
Changes 2.0:
--------
Now uses MULTIPLE dictionaries (26) to achieve a faster processing time.
(tested on a 278 line text file, processed in 2 minutes 22 seconds)
YOU CAN [I]MPORT your old dictionaries via the import function.
Instead of printing "xxx already in dictionary", words already in dictionary
are displayed in red and newlines are specified by cyan periods "."
Dictionaries can now be referenced from ram: or regular hard storage via
configuration file.
Hyphenated words are now supported.
New look when words not found in dictionary are displayed as well as displaying
the original line the misspelled word was found in.
If you want to use the dictionaries from ram, the config file is already set to do
so... BUT you must copy these manually into ram or have it done when your
system boots. For users not familiar with this (like who isn't right???) add
the following line in your startup-sequence somewhere near the bottom before
any ENDCLI >NIL's:
copy pfiles:Dictionary/#? ram:
How it works:
-------------
Using a set of special dictionaries, the program parses the whole C-Net Text
editor and spell checks the words there using these dictionaries.
You can add words to this dictionary very easily by a text editor or via the
program itself and the functions that allow you to do so are accessible ONLY
by account number 1! No-one else has access to the menu that the sysop sees
upon entering "CNET SPELLCHECK".
Installation:
-------------
Copy "SpellCheck" to your PFILES: directory, "SpellCheck.config" to your
SYSTEXT: directory and "SpellCheckText" to your SYSTEXT directory.
Create a directory called "Dictionary" in your Pfiles: directory.
Copy the included dictionary files to the "Pfiles:Dictionary" directory.
Toss this doc file out the door if you like :)
Look for the section in your BBSMENU where it has the label "EDITOR WITH TEXT:"
and after the last command in that part of the menu, add the following line..
U, Userspell |\#2pfiles:SpellCheck\
^ this was the only letter I could find empty on my system, feel free to use
another UNUSED letter.
That's it... When you are in the editor ANYWHERE on your system, enter
.U and you will enter the C-NET SPELLCHECK program.
Menu Commands:
--------------
NOTE: Only the sysop (ID #1) has the menu, ALL OTHER USERS will automatically be
put into SPELLCHECK mode.
[E]ditor SpellCheck: Your basic spellcheck, processes the whole C-Net editor
and gives the user the option to replace the misspelled or
unfound word(s) also.
[L]og : Gives account #1 a log of the words imported by other users
with the Sysop flag.
[A]dd Words : For adding words manually
NOTE: multiple entries are allowed on one line as long as there
is a space between each word.
[I]mport words: One of the MOST useful features besides the spellchecker
itself. Allows you to use a pre-spellchecked ASCII document
(ie. a ProWrite (ASCII ONLY) SPELLCHECKED text file). and import
those words into the dictionary. Multiple words per line are
allowed, presently there is a limit of 199 characters per line
on the import buffer.
NOTE: duplicate words (words already in the dictionary) will be
filtered out and NOT added to the dictionary.
[D]elete words: Future expansion.
[W]ords here : Displays a count of the words in the dictionary, first in alpha
order and then a TOTAL of all.
[Q]uit : Back to the editor..
[S]ort : Sorts a single dictionary, you will be prompted with the
letter (a,b,c,d,e,f,etc,..) of the dictionary to sort.
[G]lobal Sort : Sort all Dictionary files.
NOTE: After a single sort or Global sort, all dictionaries will be copied
to the hard storage specified in SpellCheck.config (again, if they are
not the same path).
After [I]mporting OR [A]dding words, if your paths in the config file are
different, the new dictionary files will be copied to non-volatile storage
automatically after importing the word to the dictionary in RAM. I employ this
method since importing to RAM boosts the efficiency of this program by a
longshot..
Those who use hard storage ( such as DH0: or df0: ) for both paths
will not get the speed benefits that using RAM would give you.
If you run into ANY problems, check your "SpellCheck.config" to be sure the
proper paths are specified. An explanation of the lines exists in that file.
If YOU have any possible suggestions, please E-Mail me or respond to this file
on Future World.