From owner-freebsd-questions Wed Nov 27 03:07:45 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA12108 for questions-outgoing; Wed, 27 Nov 1996 03:07:45 -0800 (PST) Received: from frosk.zoo.uib.no (frosk.zoo.uib.no [129.177.64.31]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA12103 for ; Wed, 27 Nov 1996 03:07:42 -0800 (PST) Received: (from oystein@localhost) by frosk.zoo.uib.no (8.7.5/8.7.3) id MAA28895; Wed, 27 Nov 1996 12:02:17 +0100 (MET) Date: Wed, 27 Nov 1996 12:02:16 +0100 (MET) From: Oystein Soreide To: "Victor A. Sudakov" cc: freebsd-questions@freebsd.org Subject: Re: How can I check spelling of a text? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 27 Nov 1996, Victor A. Sudakov wrote: > > how about `ispell`? >=20 > Does it use the dictionary files in /usr/share/dict I wonder? > It does not seem to. If you have read the manual , you can see that there are several=20 environment variables you can set. In this case DICTIONARY can be set. ispell uses /usr/local/lib/english.hash for hashed dictionary. and the dictionary at /usr/share/web2 from ispell(1) : ENVIRONMENT DICTIONARY Default dictionary to use, if no -d flag is given. WORDLIST Personal dictionary file name FILES /usr/local/lib/english.hash Hashed dictionary (may be found in some other local directory, depending on the system). /usr/local/lib/english.aff Affix-definition file for munchlist /usr/dict/web2 or /usr/dict/words For the Lookup function (depending on the WORDS compilation option). =D8ystein