Many months ago -- in fact, the first issue of this Newsletter, in July 1995 -- I gave a passing mention to a new feature in Lynx, the ispell spell checker. I don't think that I gave this function justice in less than two lines, so here goes:
ispell is a spell checker, much like the feature that is probably included in your favourite word-processor. You may have noticed the CTRL+T spell check feature in Pine; however, I personally don't like Pine's built-in spell checker. In fact, I detest it, and I know that I'm not alone. So come, rise, ye haters of the Pine spell checker, and find ye something better... ye. Enter ispell! There are two different ways of running ispell.
The first, and most common, is used while you're composing a message in Pine. This is a very neat little command called ^_ , one of those nifty Pine commands that's designed to force you to press as many keys as possible. The keystroke, in simpler terms, is CTRL+SHIFT+UNDERSCORE on most keyboards.
The second way of invoking ispell is used from your personal file browser [go files]. Move the highlight down to the file that you want to spell check, and press the f key for the full files menu. "Spell check" is usually about option #11.
Once that you have entered ispell, the spell checker will proceed to verify every word in the document against its dictionaries. It's important to understand that ispell uses two dictionaries, system-wide and private. Every word is checked against the system dictionary and your private dictionary if necessary. If a word is not found in either dictionary, ispell will look through the system dictionary and display the closest matches on the screen. For example, if you had accidentally typed the word "Chaptr" in your document, ispell would notice that it was not in its dictionaries. It would go through its (mis)spelling rule-book, and decide that "chaptr" is pretty close to the known word "chapter". Thus, "chapter" would be displayed on the screen as a possibility of what you really meant. Just be careful with the spell checker: It can't detect mis-usages of words such as "great" and "grate", and many common words are not present in its default system dictionary.
If your spelling is completely acceptable to ispell, you won't even get a chance to interact with the program. However, it's a pretty safe bet that either you've botched a word up somewhere or ispell doesn't have your favourite spelling of "supercalifragilisticexpialidocious" in its dictionaries. In both cases, you'll be presented with ispell's user interface.
ispell's interface is divided into three parts. In the top two-thirds of the screen, possible corrections for the mis-spelling are displayed, e.g. "0: chapter". Near the bottom of the screen, ispell displays the word in question, e.g. "chaptr". Finally, below "chaptr" one would find a short one-line menu. This menu is pretty useless to you your first session in ispell, but after a while you'll become proficient with it.
This list of commands is available in
shorter form in ispell's internal help facility (press the ? key while in
ispell). Note that,
unlike many UNIX programs (such as the tin newsreader), case doesn't
matter. In other words, ispell doesn't care whether you press R or SHIFT+R.
But alas, ispell is not perfect. For one thing, it's not as good at coming up with suggestions as most commercial spell checkers. Also, its interface is a little spartan, and could probably use, I don't know, an ASCII picture of a horse or something. Finally, there is no word count feature that I've been able to find.
Strangely enough, the word "ispell" is not in ispell's dictionary. |-)
Last Month: March 1996 Next Month: May 1996