delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/03/03:31:45

Date: Mon, 3 Nov 1997 10:29:23 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ryuji Yokoyama <rqy1319 AT is4 DOT nyu DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: OFF TOPIC: question about ispell
In-Reply-To: <345b98d5.2185350@netnews.nyu.edu>
Message-ID: <Pine.SUN.3.91.971103102904.14641G-100000@is>
MIME-Version: 1.0

On Sat, 1 Nov 1997, Ryuji Yokoyama wrote:

> I read the document, but I could not find out the way to solve the
> problem, so I posted the question.

You need to put the following lines into your DJGPP.ENV file:

[ispell]
+ISPELL_HOME=%DJDIR%/lib
+ISPELL_DICTDIR=%DJDIR%/lib

You also have to ensure that your machine defines the DJGPP
environment variable to point to the full pathname of your DJGPP.ENV
file.

Did you do both of the above?

>  The error message I get is that "Can't open c:/djgpp/lib/englishx.hash"  

This message indicates that Ispell doesn't see the ISPELL_DICTDIR
variable defined, so it uses the default pathname built into it when
it is compiled.  You need to make sure that the above setup with
DJGPP.ENV is correct.  You might try defining ISPELL_DICTDIR from the
DOS prompt, like this:

    set ISPELL_DICTDIR=c:/djgpp/lib

(replace "c:/djgpp" with the actual name of the parent of the lib
directory where you installed the englishx.hash file).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019