fixing the aspell error about nroff mode

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
User avatar
miriam
Posts: 373
Joined: Wed 06 Dec 2006, 23:46
Location: Queensland, Australia
Contact:

fixing the aspell error about nroff mode

#1 Post by miriam »

I installed the aspell pet packages on my Puppy 4.3.1, but when I tried to use it from the command line it displayed an error message:

Code: Select all

WARNING: Unable to enter Nroff mode: Unknown mode: "nroff".
The program worked fine, but the error message was annoying.

The solution was simple, though took a little searching to find the it. I got the following files from my Debian installation:

Code: Select all

nroff.amf
nroff-filter.info
nroff-filter.la
nroff-filter.so
and added them to the
/usr/lib/aspell/
folder on my Puppy.

You probably don't have a separate partition containing Debian on your machine, so feel free to download the files from here:
http://miriam-english.org/files/aspell-nroff-fix/

Incidentally, if you find aspell clumsy the way it doesn't like to check single words from the commandline the way ispell does, then you might like this simple little script:

Code: Select all

#! /bin/sh

# spell

while [ 1 ]
do
	read -e -p "word: "
	echo $REPLY | aspell pipe | tail -n 2
done
It sits in a permanent loop, prompting for a word and then printing its suggestions after you press ENTER. I keep a terminal open running this script while I'm writing, so if I need help with a word I type it in there and go back to my writing with the answer.
[color=blue]A life! Cool! Where can I download one of those from?[/color]

Post Reply