diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-02-20 21:13:15 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-02-20 21:14:09 +0200 |
commit | 53b4faf1ad9079681e060183eb709301a6fe1e1f (patch) | |
tree | a327017b507981e4ebdf494273f8035c13625e5e | |
parent | d73de059368bedf3a7341b8c9578585c585fde2b (diff) | |
download | gcide-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-- | .gitignore | 1 | ||||
-rw-r--r-- | README | 43 | ||||
-rw-r--r-- | gcide.conf | 42 |
3 files changed, 10 insertions, 76 deletions
@@ -5 +5,2 @@ | |||
5 | *.zip | 5 | *.zip |
6 | GCIDE.IDX | ||
@@ -270,36 +270,11 @@ file also explains the Greek transliteration syntax used in it. | |||
270 | 270 | ||
271 | The GNU Dico project contains a module for reading GCIDE files. This | 271 | The GNU Dico project contains a browser for GCIDE, called "Gcider". It |
272 | distribution provides a configuration file "gcide.conf" which you can use | 272 | provides a windowing interface allowing user to search for matching |
273 | with the "dicod" server in order to look up words in the dictionary. See | 273 | headwords using several match strategies and browse their definitions. |
274 | http://www.gnu.org.ua/software/dico for a description of GNU Dico, including | 274 | |
275 | links to download. | 275 | The package also provides a loadable module which allows to use GCIDE with |
276 | 276 | the dictionary server. | |
277 | The instructions below describe how to configure GNU Dico server (dicod) to | 277 | |
278 | access a copy of the GCIDE dictionary. | 278 | See http://www.gnu.org.ua/software/dico for more information, including |
279 | 279 | links to download and documentation. | |
280 | 1. Unpack the GCIDE dictionary; | ||
281 | |||
282 | 2. Copy the file "gcide.conf" to a directory where you keep your local | ||
283 | configuration files (/etc or /usr/local/etc are usual choices). | ||
284 | |||
285 | 3. Replace the word GCIDE_PATH in the "gcide.conf" statement with the path | ||
286 | to the gcide-0.51 dicrectory. You can omit this step and use the -D option | ||
287 | instead: | ||
288 | |||
289 | 4. Check the configuration file. Run: | ||
290 | dicod --config /path/to/gcide.conf --lint | ||
291 | If you skipped the step 3, supply the -D option with the acual path to | ||
292 | the dictionary. For example, if you copied "gcide.conf" to /etc and | ||
293 | unpacked GCIDE to /usr/local, then run: | ||
294 | dicod --config /etc/gcide.conf -D GCIDE_PATH=/usr/local --lint | ||
295 | If no errors are reported, then go to the step 5. | ||
296 | |||
297 | 5. Start "dicod". Run the same command as described in step 4, but without | ||
298 | the "--lint" option. This will start the dictionary server which will be | ||
299 | avaialble on localhost (127.0.0.1) port 2628. The server provides extensive | ||
300 | searching facilities. It also parses the GCIDE markup and automatically | ||
301 | reformats the articles before returning them. | ||
302 | |||
303 | Now you can access the dictionary using dico (a GNU dictionary command line | ||
304 | utility), 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 | */ | ||
25 | capability (mime); | ||
26 | timing yes; | ||
27 | listen localhost; | ||
28 | mode daemon; | ||
29 | pidfile /tmp/dicod.pid; | ||
30 | |||
31 | load-module (stratall,substr,word); | ||
32 | |||
33 | load-module gcide; | ||
34 | |||
35 | database { | ||
36 | name "gcide"; | ||
37 | handler "gcide dbdir=/GCIDE_PATH/gcide-0.51"; | ||
38 | } | ||
39 | |||
40 | server-info "This server provides a local copy of GCIDE version 0.51"; | ||
41 | |||
42 | /* End of gcide.conf */ \ No newline at end of file | ||