• Spell Check for timEd/2

    From Marc Lewis@1:396/45 to All on Fri Nov 9 17:41:52 2018
    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)