[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Yet another dictionary program
The subject just about says it all. I've been fooling around with this
for a while, and it's time I let someone else use it.
Features:
* Written in a portable scripting language, so you can run it on
Macs, Windows 95/NT/3.1+Win32s, and Unix (including Linux)
* Clickable `hyperlinks' for `see-also's
* Uses the regular gismu list, so you don't have to download another
weird-format database
Drawbacks:
* Written in a portable scripting language, so you have to download
a big interpreter
* Simple user interface -- one word at a time
* Uses the regular gismu list, so there aren't any cmavo, rafsi, or
lujvo yet
What you need to download:
* The Tcl/Tk interpreter.
see http://sunscript.sun.com/TclTkCore/8.0.html
There are binaries for Windows and Mac. A version also comes with
most Linux distributions. I'm not sure if it will work with
versions before Tcl7.4/Tk4.0.
* The program itself.
http://www.mcs.net/~alias/public_stuff/lojdict.txt
Save it as plain text in a file with a `.tcl' extension
(`lojdict.tcl').
* The gismu list
ftp://ftp.access.digex.net/pub/access/lojbab/wordlists/gismu
A regular text file; `gismu' (no extention) is a good name.
The program and the gismu list should be in the same directory. On the
Mac, you also need to copy the `wish' program (the Tcl/Tk interpreter)
into the same folder too. If you called the gismu list something other
than `gismu', you'll need to edit the line in lojdict.tcl that starts
with `set dictionary' so that it names whatever you did call it. To
run the program:
Windows: Double click on the `lojdict.tcl' file.
Mac: Run the `wish' application, choose `Source' from the File menu,
and choose the `lojdict.tcl' file.
Unix: cd to the directory where you put the program and dictionary,
and say `wish -f lojdict.tcl'
You can customize the program by editing the `lojdict.tcl' file -- use
a plain text editor (e.g, SimpleText on a Mac, or Notepad on Windows).
If you have problems, I'd be more than happy to help.
--
____________________________________________________________
Stephen McCamant ======== alias@mcs.com (finger for PGP key)