TIP: Click on subject to list as thread! ANSI
echo: artware
to: All
from: Marc Lewis
date: 2018-11-09 17:41:00
subject: Spell Check for timEd/2

Hello All.

I've run across an old archive on my system from GNU called ISP3009B.ZIP and 
decided to try and implement it with timEd/2... After a bit of fiddling around 
with it, it works quite well.  

SETUP:
First read the README1.DOC text file about how to do the word list compilation. 
 
Then alter the ispell.cfg to suit your directory structure.  Leave the forward 
slashes as is.  Mine looks like this:

-o-o-o-o-o-o-o-o-CUT-o-o-o-o-o-o-o-o-o-
#
# configuration file for Ispell version 19-APR-93
#
ISDEFHASH=c:/max/ispell/englrg.hash         # hashed dictionary
ISDEFPDICT=c:/max/ispell/ispell.wrd         # personal dictionary
ISTEMPNAME=./jjXXXXXX                   # temporary file name
ISWORDS=c:/max/ispell/words                 # additional word list (optional)
ISEGREPCMD=grep                         # grep command (optional)      
-o-o-o-o-o-o-o-o-CUT-o-o-o-o-o-o-o-o-o-

QSLEEP should be available from numerous places with OS/2 files.

Then construct a .cmd file that can be called from timEd/2.  Mine looks like 
this:

-o-o-o-o-o-o-o-o-CUT-o-o-o-o-o-o-o-o-o-
@ECHO OFF
IF NOT EXIST C:\MAX\TIMED.MSG ECHO ..........NO MESSAGE FILE!..........
IF NOT EXIST C:\MAX\TIMED.MSG QSLEEP 2
IF NOT EXIST C:\MAX\TIMED.MSG GOTO QUIT
SET TERMCAP=C:\MAX\ISPELL\TERMCAP.DAT
SET TERM=ANSI
C:
CD \MAX\ISPELL
QSLEEP 1
ISPELL.EXE C:\MAX\TIMED.MSG
CD \MAX 
:QUIT
EXIT          
-o-o-o-o-o-o-o-o-CUT-o-o-o-o-o-o-o-o-o-
Needless to say, adjust to your directory structure.

In your timEd/2 configuration file insert these two lines (if they're not 
already present:

EXESPELL C:\MAX\ISPEL.CMD
SPELLCHECK_DEFAULT Yes

Should work like a champ.

ISP3009B.ZIP is available on my system for /freq or download via the BBS.
QSLEEP is part of a utility group also available here as QUTIL2.ZIP.

Hope you find this useful!

Best regards,
Marc

--- timEd/2 1.10.y2k+
                                                                                                                     
* Origin: Sursum Corda! BBS-Huntsville,AL-bbs.sursum-corda.com (1:396/45)

SOURCE: echomail via QWK@dmine.net

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.