aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-02-20 21:13:15 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2012-02-20 21:14:09 +0200
commit53b4faf1ad9079681e060183eb709301a6fe1e1f (patch)
treea327017b507981e4ebdf494273f8035c13625e5e
parentd73de059368bedf3a7341b8c9578585c585fde2b (diff)
downloadgcide-53b4faf1ad9079681e060183eb709301a6fe1e1f.tar.gz
gcide-53b4faf1ad9079681e060183eb709301a6fe1e1f.tar.bz2
Update docs. Mention GCIDER.
* README: Describe the "gcider" browser. * gcide.conf: Remove. * .gitignore: Add GCIDE.IDX.
-rw-r--r--.gitignore1
-rw-r--r--README43
-rw-r--r--gcide.conf42
3 files changed, 10 insertions, 76 deletions
diff --git a/.gitignore b/.gitignore
index ec988f4..30421e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5 +5,2 @@
5*.zip 5*.zip
6GCIDE.IDX
diff --git a/README b/README
index 4a36e8b..6e35a96 100644
--- a/README
+++ b/README
@@ -270,36 +270,11 @@ file also explains the Greek transliteration syntax used in it.
270 270
271The GNU Dico project contains a module for reading GCIDE files. This 271The GNU Dico project contains a browser for GCIDE, called "Gcider". It
272distribution provides a configuration file "gcide.conf" which you can use 272provides a windowing interface allowing user to search for matching
273with the "dicod" server in order to look up words in the dictionary. See 273headwords using several match strategies and browse their definitions.
274http://www.gnu.org.ua/software/dico for a description of GNU Dico, including 274
275links to download. 275The package also provides a loadable module which allows to use GCIDE with
276 276the dictionary server.
277The instructions below describe how to configure GNU Dico server (dicod) to 277
278access a copy of the GCIDE dictionary. 278See http://www.gnu.org.ua/software/dico for more information, including
279 279links to download and documentation.
2801. Unpack the GCIDE dictionary;
281
2822. Copy the file "gcide.conf" to a directory where you keep your local
283configuration files (/etc or /usr/local/etc are usual choices).
284
2853. Replace the word GCIDE_PATH in the "gcide.conf" statement with the path
286to the gcide-0.51 dicrectory. You can omit this step and use the -D option
287instead:
288
2894. Check the configuration file. Run:
290 dicod --config /path/to/gcide.conf --lint
291If you skipped the step 3, supply the -D option with the acual path to
292the dictionary. For example, if you copied "gcide.conf" to /etc and
293unpacked GCIDE to /usr/local, then run:
294 dicod --config /etc/gcide.conf -D GCIDE_PATH=/usr/local --lint
295If no errors are reported, then go to the step 5.
296
2975. Start "dicod". Run the same command as described in step 4, but without
298the "--lint" option. This will start the dictionary server which will be
299avaialble on localhost (127.0.0.1) port 2628. The server provides extensive
300searching facilities. It also parses the GCIDE markup and automatically
301reformats the articles before returning them.
302
303Now you can access the dictionary using dico (a GNU dictionary command line
304utility), or another dictionary client program (such as Kdict or the like).
305 280
diff --git a/gcide.conf b/gcide.conf
deleted file mode 100644
index b3ef41d..0000000
--- a/gcide.conf
+++ /dev/null
@@ -1,42 +0,0 @@
1/* A GNU dicod configuration file for running a local copy of the GNU
2 * Collaborative International Dictionary of English.
3 *
4 * Installation instructions:
5 *
6 * 1. Unpack the GCIDE dictionary;
7 * 2. Copy this file to a directory where you keep your local configuration
8 * files (/etc or /usr/local/etc are usual choices).
9 * 3. Replace the word GCIDE_PATH in the "handler" statement below with
10 * the path to the gcide-0.51 dicrectory. You can omit this step and use
11 * the -D option instead:
12 * 4. Start dicod as follows:
13 * dicod --config /path/to/gcide.conf
14 * If you skipped the step 3, supply the -D option with the acual path to
15 * the dictionary. For example, if you copied gcide.conf to /etc and
16 * unpacked GCIDE to /usr/local, then:
17 * dicod --config /etc/gcide.conf -D GCIDE_PATH=/usr/local
18 *
19 * The server will listen on localhost (127.0.0.1) port 2628.
20 *
21 * 5. Access the dictionary using dico (a GNU dictionary command line
22 * utility), or another dictionary client program (such as Kdict or
23 * the like).
24 */
25capability (mime);
26timing yes;
27listen localhost;
28mode daemon;
29pidfile /tmp/dicod.pid;
30
31load-module (stratall,substr,word);
32
33load-module gcide;
34
35database {
36 name "gcide";
37 handler "gcide dbdir=/GCIDE_PATH/gcide-0.51";
38}
39
40server-info "This server provides a local copy of GCIDE version 0.51";
41
42/* End of gcide.conf */ \ No newline at end of file

Return to:

Send suggestions and report system problems to the System administrator.