You have to create/modify two configuration files. Both are stored
in /usr/local/etc
if you used the default
installation prefix (/usr/local
).
dict.conf
belongs to the basic
dict client. It contains only one line:
server localhost
. This tells
dict to use the local server.
dictd.conf
configures the server. First you
must add the access statement: access {allow localhost
deny *}
.
This example grants only local access and blocks all external connections. You can use more than one allow and deny rule, for example:
access {allow localhost allow *.workgroup deny *}The database statement configures the location of the index and the data file for a database:
database web1913 { data "/usr/share/dict/web1913.dict.dz" index "/usr/share/dict/web1913.index" }
You must add a statement for each database you want to use.
Now you should be able to start dictd and to use it with dict and KDict.
Please consult the man page of dictd
for a complete description of dictd.conf
.
Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team