home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
usenet
/
altsrcs
/
3
/
3001
/
README
< prev
Wrap
Text File
|
1991-03-06
|
3KB
|
77 lines
-------
Program name: jargon
Source language: icon
Purpose: quickly find entries in the hacker's jargon file
-------
Description:
This shell archive contains a jargon database program, aptly enough
named "jargon." If you have the recently posted (March 1, 1991, alt.
sources) hacker's jargon file around, you can use this package for
quick access to entries within that file, as in "jargon word" (where
"word" is the bit of hacker's jargon you want a definition for).
-------
Installation:
Cp Makefile.dist to Makefile and edit it to reflect local naming con-
ventions. After editing, type "make all." If, after seeing a lot of
garbage go by, you get the message "everything seems OK," then su root
and make install. Be sure to set default ownership and permissions in
the makefile to some value that makes sense for your system. If you
don't have root priviledges, you must change the DESTDIR and LIBDIR
variables in the makefile so that they reflect directories you have
access to. Note that I am assuming a Unix installation in the
makefile. If you are using some other platform, you'll need to edit
the file "jargon.src" so that the variable "database" is set to the
full path of the jargon.wrd file (i.e. $(LIBDIR)/jargon.wrd in the
makefile). Then type:
icont jarg2get.icn
icont -o idxtext idxtext.icn adjuncts.icn
copy jargon.src jargon.icn
icont -o jargon jargon.icn gettext.icn adjuncts.icn
thes2get < JARGONFILE > jargon.wrd
idxtext jargon.wrd
where "copy" is your system's file copy or rename command, and
JARGONFILE is the name of the original jargon.ascii file. To test a
non-UNIX installation, type
(ficonx) jargon zork
The ficonx part may not be necessary. If you get a definition for
"zork," then everything is probably OK. If you altered jargon.src so
that the database variable points to a jargon.wrd file in the current
directory, then there is no need to do anything more. If you named a
database file in a different directory than the current one, then you
should copy the jargon.wrd file to that directory, and then type
(ficonx) idxtext DATABASE
where DATABASE gives the full path of your jargon.wrd file. Running
this command may take a minute, so be patient.
Note that I have not tried installing jargon on anything but a Unix
system, so I have no idea how it will work. In particular, there
might be difficulties on systems for which newline translation is
necessary.
-------
Admission:
Jargon is really just a cheap trick I use to get people to test a
small text retrieval package. This package is fully documented in the
files
gettext.icn
adjuncts.icn
idxtext.icn
Icon programmers will find gettext a nice, easy way to access