ftp.nice.ch/pub/next/text/services/nextispell.0.8.s.tar.gz#/nextispell-0.8

Dictionaire.h
[View Dictionaire.h] 
Dictionaire.m
[View Dictionaire.m] 
INSTALL
 
Makefile
 
README
 
README.rtf
[View README.rtf] 
common.c
[View common.c] 
common.h
[View common.h] 
configure
 
daemon/
 
language.table
 
nextispell.m
[View nextispell.m] 
obj/
 

README


nextispell
			

Release 0.8, Fri Jan 27 14:28:36 GMT+0100 1995


by	Moritz Willers	(willers@butp.unibe.ch (NeXTMail, MIME))
	University of Bern
	Institute for Theoretical Physics
	Sidlerstr. 5
	CH - 3012 Bern
	Switzerland


Availabe at:

	ftp://ftp.cs.orst.edu/software/NeXT/sources/util/nextispell-0.8.tar.gz


nextispell is a daemon establishing the connection between ispell (by
Geoff Kuenning) and the NeXT spell panel.
ispell is a very flexible spelling correction program. Provided with a
word list and rules ispell checks your text in any language. ispell also
has a special tex mode which is very handy for scientists like me.
nextispell brings all this strength into the NeXT GUI.
You need to have ispell installed, then nextispell may easily be configured
and installed. (The spell server invokes ispell and communicates with
it via a pipe)


nextispell is still worked on. Version 0.8 should however be _the_ version
for some time. There is a bug in the NXSpellServer which has to be fixed
by NeXT before I release a nextispell 1.0. This may still take till NS 4.0.

Thanks to Detlev Droege and Geoff Kuenning for new ideas and thanks
to Christoph Hauert for his ever patient help.
Not to forget Brian Hill at NeXT for checking out a bug in NS 3.x for me.


Installation:


- run the configure script
- the makefile will opened. Somewhere at the top will be a line like:
DAEMONS = nextispell_english.daemon nextispell_english-tex.daemon
nextispell_german.daemon nextispell_german-tex.daemon

  Remove the daemons you don't want to be made. In this example you would
  get by default a spelling checker for English, English in TeX mode, German
  and German in TeX mode. You might want to delete the entry 
  nextispell_english.daemon because NeXT already supplies us with an
  English spelling checker.

- maybe you want to set the INSTALLDIR to /LocalLibrary
  you must then be root to `make install`
- make
- set the nextispell defaults as described below
  use dwrite and dread (-> manpages)or some GUI tool like DefaultMgr,
  the Preferences bundle DefaultsSystem or equivalent.
  make will provide you with a suggestion, which you most certainly must edit
- make install (puts the service in ${INSTALLDIR}/Services)
  or place it by hand in either ~/Library/Services or /LocalLibrary/Services
- make_services in a shell or Update Viewers (Cmd-u) in the Workspace
- restart the App you want to use the spelling checker in
- Choose Edit->Spelling... (sometimes Cmd-:) and select the appropriate
  entry in the popup list
  
Defaults:

The defaults for "nextispell" are

    - ispell:      indicating the path to start ispell
    - tersemode:   to start ispell in terse mode, this may speed things up
    - linesize:    size of the lines send to ispell, should be at most
                   BUFSIZ (1024) - 100, i.e. ~900 and at least the length
                   of some words (40); a good value is 128 (or better
                   127 ?). Test it, which value is best for you. The
                   more mistakes you have in a text, the smaller the
                   linesize should be.
    - and the ispell options for desired languages (none needed for English)
	
      The name of the language, is usually the name of the language in
      English. It must be the same as the one in the entry in the
      service file inside the bundle's wrapper (Cmd-O in Workspace
      or double click). The entry in the service file must be the same
      as the one nextispell's binary is registering for. You can find out
      this name by running the daemon with the -v option from a shell.
	  
      The languages ending in "-tex" have their own default.
      They put ispell into tex mode at start up.
      They must end in "-tex" not "-TeX" or something like that.
	
Your defaults might look like this:

	max (~) > dread -o nextispell
	nextispell tersemode YES
	nextispell linesize 127
	nextispell German-tex "-ddeutsch -C -TNeXT"
	nextispell "American, Medium-Plus" -damericanmed+
	nextispell "Default American" -damerican
	nextispell ispell /usr/local/bin/ispell
	nextispell German "-ddeutsch -C -TNeXT"


Know Problems:

The report of the position of the misspelled word has been changed at
some time in ispell. If your words get constantly selected by one to
far to the right or left, you can accordingly set the define OFFSET_CORR
in Dictionaire.m.


History:

nextispell-0.8:
	- new configuration script and makefile
	- redone the language handling
	- tex spell checker has its own default

nextispell-0.7:
	- multiple languages don't work because of a bug in NS 3.x
	  (yes, NS 3.3 as well)
	- minor changes 

nextispell-0.6:

	- handshaking by signals (no communication problems anymore)
	- does support adding words to ispell's dictionaries (~/.ispell_english,
	  ~/.ispell_german, ...). Unfortunately words can't be removed, except
	  by editing the dictionary files by hand.

nextispell-0.5:
	- faster



Some words about ispell:

You can get ispell from (thanks to Geoff Kuenning)

	ftp.cs.ucla.edu
	/pub/ispell

Current version: ispell-3.1.18.tar.gz (Thu Jan 26 12:33:25 GMT+0100 1995)

	
@(#) International Ispell Version 3.1.18 01/14/95
@(#) Copyright (c), 1983, by Pace Willisson
@(#) International version Copyright (c) 1987, 1988, 1990, 1991, 1992, 1993,
@(#) by Geoff Kuenning, Granada Hills, CA.  All rights reserved.
@(#)
@(#) Redistribution and use in source and binary forms, with or without
@(#) modification, are permitted provided that the following conditions
@(#) are met:
@(#)
@(#) 1. Redistributions of source code must retain the above copyright
@(#)    notice, this list of conditions and the following disclaimer.
@(#) 2. Redistributions in binary form must reproduce the above
@(#)    copyright notice, this list of conditions and the following
@(#)    disclaimer in the documentation and/or other materials provided
@(#)    with the distribution.
@(#) 3. All modifications to the source code must be clearly marked as
@(#)    such.  Binary redistributions based on modified source code
@(#)    must be clearly marked as modified versions in the documentation
@(#)    and/or other materials provided with the distribution.
@(#) 4. All advertising materials mentioning features or use of this
@(#)    software must display the following acknowledgment:
@(#)      This product includes software developed by Geoff Kuenning and
@(#)      other unpaid contributors.
@(#) 5. The name of Geoff Kuenning may not be used to endorse or promote
@(#)    products derived from this software without specific prior
@(#)    written permission.
@(#)
@(#) THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS
@(#) IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@(#) LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
@(#) FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL GEOFF
@(#) KUENNING OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
@(#) INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
@(#) (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
@(#) SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
@(#) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
@(#) STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
@(#) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
@(#) OF THE POSSIBILITY OF SUCH DAMAGE.

Be sure to get ispell 3.1 (or the former 3.0 beta) and not 4.0 which
is something completely different and doesn't work with my program.


README.rtf


nextispell
			

Release 0.8, Fri Jan 27 14:28:36 GMT+0100 1995


by	Moritz Willers	(willers@butp.unibe.ch (NeXTMail, MIME))
	University of Bern
	Institute for Theoretical Physics
	Sidlerstr. 5
	CH - 3012 Bern
	Switzerland


Availabe at:

	ftp://ftp.cs.orst.edu/software/NeXT/sources/util/nextispell-0.8.tar.gz


nextispell is a daemon establishing the connection between ispell (by Geoff Kuenning) and the NeXT spell panel.
ispell is a very flexible spelling correction program. Provided with a word list and rules ispell checks your text in any language. ispell also has a special tex mode which is very handy for scientists like me.
nextispell brings all this strength into the NeXT GUI.
You need to have ispell installed, then nextispell may easily be configured and installed. (The spell server invokes ispell and communicates with it via a pipe)


nextispell is still worked on. Version 0.8 should however be _the_ version for some time. There is a bug in the NXSpellServer which has to be fixed by NeXT before I release a nextispell 1.0. This may still take till NS 4.0.

Thanks to Detlev Droege and Geoff Kuenning for new ideas and thanks to Christoph Hauert for his ever patient help.
Not to forget Brian Hill at NeXT for checking out a bug in NS 3.x for me.


Installation:


- run the configure script
- the makefile will opened. Somewhere at the top will be a line like:
DAEMONS = nextispell_english.daemon nextispell_english-tex.daemon nextispell_german.daemon nextispell_german-tex.daemon

  Remove the daemons you don't want to be made. In this example you would
  get by default a spelling checker for English, English in TeX mode, German
  and German in TeX mode. You might want to delete the entry 
  nextispell_english.daemon because NeXT already supplies us with an
  English spelling checker.

- maybe you want to set the INSTALLDIR to /LocalLibrary
  you must then be root to `make install`
- make
- set the nextispell defaults as described below
  use dwrite and dread (-> manpages)or some GUI tool like DefaultMgr,
  the Preferences bundle DefaultsSystem or equivalent.
  make will provide you with a suggestion, which you most certainly must edit
- make install (puts the service in ${INSTALLDIR}/Services)
  or place it by hand in either ~/Library/Services or /LocalLibrary/Services
- make_services in a shell or Update Viewers (Cmd-u) in the Workspace
- restart the App you want to use the spelling checker in
- Choose Edit->Spelling... (sometimes Cmd-:) and select the appropriate
  entry in the popup list
  
Defaults:

The defaults for "nextispell" are

	- ispell:		indicating the path to start ispell
	- tersemode:	to start ispell in terse mode, this may speed things up
	- linesize:		size of the lines send to ispell, should be at most BUFSIZ (1024) - 100, i.e. ~900 and at least the length of some words (40); a good value is 128 (or better 127 ?). Test it, which value is best for you. The more mistakes you have in a text, the smaller the linesize should be.
	- and the ispell options for desired languages (none needed for English)
	
	  The name of the language, is usually the name of the language in
	  English. It must be the same as the one in the entry in the
	  service file inside the bundle's wrapper (Cmd-O in Workspace
	  or double click). The entry in the service file must be the same
	  as the one nextispell's binary is registering for. You can find out
	  this name by running the daemon with the -v option from a shell.
	  
	  The languages ending in "-tex" have their own default.
	  They put ispell into tex mode at start up.
	  They must end in "-tex" not "-TeX" or something like that.
	
Your defaults might look like this:

	max (~) > dread -o nextispell
	nextispell tersemode YES
	nextispell linesize 127
	nextispell German-tex "-ddeutsch -C -TNeXT"
	nextispell "American, Medium-Plus" -damericanmed+
	nextispell "Default American" -damerican
	nextispell ispell /usr/local/bin/ispell
	nextispell German "-ddeutsch -C -TNeXT"


Know Problems:

The report of the position of the misspelled word has been changed at some time in ispell. If your words get constantly selected by one to far to the right or left, you can accordingly set the define OFFSET_CORR in Dictionaire.m.


History:

nextispell-0.8:
	- new configuration script and makefile
	- redone the language handling
	- tex spell checker has its own default

nextispell-0.7:
	- multiple languages don't work because of a bug in NS 3.x
	  (yes, NS 3.3 as well)
	- minor changes 

nextispell-0.6:

	- handshaking by signals (no communication problems anymore)
	- does support adding words to ispell's dictionaries (~/.ispell_english,
	  ~/.ispell_german, ...). Unfortunately words can't be removed, except by
	  editing the dictionary files by hand.

nextispell-0.5:
	- faster



Some words about ispell:

You can get ispell from (thanks to Geoff Kuenning)

	ftp.cs.ucla.edu
	/pub/ispell

Current version: ispell-3.1.18.tar.gz (Thu Jan 26 12:33:25 GMT+0100 1995)

	
@(#) International Ispell Version 3.1.18 01/14/95
@(#) Copyright (c), 1983, by Pace Willisson
@(#) International version Copyright (c) 1987, 1988, 1990, 1991, 1992, 1993,
@(#) by Geoff Kuenning, Granada Hills, CA.  All rights reserved.
@(#)
@(#) Redistribution and use in source and binary forms, with or without
@(#) modification, are permitted provided that the following conditions
@(#) are met:
@(#)
@(#) 1. Redistributions of source code must retain the above copyright
@(#)    notice, this list of conditions and the following disclaimer.
@(#) 2. Redistributions in binary form must reproduce the above
@(#)    copyright notice, this list of conditions and the following
@(#)    disclaimer in the documentation and/or other materials provided
@(#)    with the distribution.
@(#) 3. All modifications to the source code must be clearly marked as
@(#)    such.  Binary redistributions based on modified source code
@(#)    must be clearly marked as modified versions in the documentation
@(#)    and/or other materials provided with the distribution.
@(#) 4. All advertising materials mentioning features or use of this
@(#)    software must display the following acknowledgment:
@(#)      This product includes software developed by Geoff Kuenning and
@(#)      other unpaid contributors.
@(#) 5. The name of Geoff Kuenning may not be used to endorse or promote
@(#)    products derived from this software without specific prior
@(#)    written permission.
@(#)
@(#) THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS
@(#) IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@(#) LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
@(#) FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL GEOFF
@(#) KUENNING OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
@(#) INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
@(#) (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
@(#) SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
@(#) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
@(#) STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
@(#) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
@(#) OF THE POSSIBILITY OF SUCH DAMAGE.

Be sure to get ispell 3.1 (or the former 3.0 beta) and not 4.0 which is something completely different and doesn't work with my program.


These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.