ftp.nice.ch/pub/next/unix/text/define.2.0.N.bs.tar.gz#/define

README
 
README_SYSTEM_2.x
 
addfulltextindex
 
addfulltextindex.c
[View addfulltextindex.c] 
addfulltextindex.notes
 
define
 
define.System1.0
 
define.c
[View define.c] 

README

//
// Define: a simple dictionary lookup program
// for the Unix shell on the NeXT
//

 I wrote this one slow afternoon (as if there are any slow afternoons
Cornell), using the examples from the man notes on webster's dictionary.
It does not have many frills, but it should serve as a good example
of how to access the dictionary and thesaurus from the shell interface.

 I've included binaries for both System 1.0 and 2.x. Which is which
should be obvious.
 To compile the program from the source, you will need to obtain
libtext.a and libbtree.a from NeXT Tech Support. Don't ask me for them,
please..... 

	cc -O -o define define.c -ltext -lbtree -lsys_s


 The program is pretty much self explanatory. The command to call it is

      csh>   define word

  It will print out the definition of word on the standard output. You can
redirect the output using the standard redirection command (>). There are
two options:

     csh>  define -t word
     csh>  define +t word

  Note, these two options cannot be used together. The -t option will define
word using only the thesaurus. The +t option will define it using BOTH the
dictionary and thesaurus.

  The format of webster's dictionary is a bit strange if you are using a 
shell window. If the word is a compound word, just run them together, 
for example:
     csh> define hurricanelamp
will define "hurricane lamp." 

  All bugs are my own. Send you comments, mail, money (if you feel like
it, I would be very grateful) to:

    Jiro Nakamura  |
    ----------------   
	E-mail:   jiro@shaman.com
	
	Snail-mail:	Jiro Nakamura
			c/o The Reppy's
			493 Ellis Hollow Creek Rd.
			Ithaca, NY 14850

README_SYSTEM_2.x

//
// Hiya 
//

   System 2.x people will note that the thesuarus feature will not work
on System 2.0 and System 2.1 releases. It may be fixed in later ones.

   The workaround is the addfulltextindex program by Steve Hayman. You
must be root in order to run this:
	localhost> addfulltextindex /NextLibrary/References/Webster-Thesaurus/Thesaurus.nxbf


   Please see the file addfulltextindex.notes for Steve's notes on this
subject.

	- Jiro Nakamura
	jiro@shaman.com

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