X-NEWS: lsl comp.os.vms: 11071 Relay-Version: VMS News - V6.0-3 14/03/91 VAX/VMS V5.4; site lsl.co.uk Path: lsl!acorn!uknet!mcsun!uunet!cis.ohio-state.edu!ucbvax!cdclu1.genrad.com!dongray Newsgroups: comp.os.vms Subject: Re: PD Spelling Checker?, Part II Message-ID: <9202031153.AA06472@genrad.com> From: dongray@cdclu1.genrad.com (Derek Dongray) Date: 3 Feb 92 11:53:21 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 63 > A couple of weeks ago I inquired on the net about a freely available > spelling checker that would work within EVE. I got several offers of > extended EVE editors with spell checkers, but I would prefer not to > replace the DEC-supplied EVE if I don't have to. Several people also > pointed me to the Vassar spell checker, available on the DECUS CD-ROM > collections, and therefore via anonymous ftp from several sites. I > went and retrieved the latest version I could find, and I have installed > it. However, when I attempt to use the EVE SPELL command, I get the > same old "DECspell is not available on your system." message that I got > before. > > There is nothing in any of the documentation that came with the program > to indicate that it works from within EVE, let alone how to make it do > so. Can someone clue me in on what I'm missing? > > Greg Orman greg@pomona.claremont.edu > Systems Manager greg@pomona.bitnet > Seaver Academic Computing Services > Pomona College Standard disclaimer-type stuff > I have the Vassar spell checker (v2.2) installed and working from EVE with no changes to the section files. EVE looks for a file called SYS$SYSTEM:LNGSPLCOR.EXE , which is the main image of DECspell, hence doesn't exist if you don't have it. If it doesn't find it, it complains; if it does, it spawns the command "SPELL tempfile/OUTPUT=tempfile". My method to get EVE to recognize the spell checker: 1. Create a file called SYS$SYSTEM:LNGSPLCOR.EXE. The contents are irrelevant. 2. Modify Vassar Spell's CLD to have a qualifier /OUTPUT. define verb SPELL image DECUS$:[EXE]SPELL parameter P1, label=FILES qualifier PERSONAL, label=PERSO, nonnegatable qualifier UPDATE, label=UPDAT, nonnegatable qualifier CHECK, nonnegatable qualifier LOGGING, label=LOGGI, nonnegatable qualifier OUTPUT, nonnegatable value (type=$outfile) The fact that the program never looks for and hence never uses the /OUTPUT is doesn't matter. EVE's invocation expects the output to overwrite the input which is what the Vassar SPELL program does anyway. This is just to keep the DCL parser happy! 3. Save the original (DEC) SPELL.CLD using VERB and replace in DCLTABLES with Vassar SPELL. 4. Tell users they can now use SPELL from EVE. The reason I wanted to avoid changing the section file is that several users have customized section files that it would be tedious for them to recreate or for me to have to explain how to update the eve_spell() procedure! Derek Dongray, Systems Manager, InterNet: Dongray@cdclu1.GenRad.com GenRad Ltd, Monmouth House. PSS: 234261600119::Dongray Monmouth Road, Cheadle Hulme, CompuServe: 70374,2745 Cheshire, SK8 7AY, UK. Voice: +44 (61) 486 1511