1DICTL(1) General Commands Manual DICTL(1)
2
3
4
6 dictl - wrapper script for dict that permits using utf-8 encoded dic‐
7 tionaries on a terminal that is not utf-8 aware.
8
10 dictl [OPTIONS] [word]
11
13 dictl calls dict with the arguments given on the command line. dictl
14 takes the value of the environment variable DICTL_CHARSET as the user's
15 preferred character set. If this variable is empty, dictl attempts to
16 determine the character set to be used from the output of the locale
17 command.
18
19 Arguments passed to dictl including word are converted from the user's
20 preferred character set to server's character set specified by
21 DICTL_SERVER_CHARSET variable (utf-8 if it is unset), and passed to
22 dict. The server's output from dict is converted to the user's pre‐
23 ferred character set.
24
25 NOTE: Because iconv omits characters from output that are invalid,
26 recode -f is used for character set conversions by default. If you
27 prefer iconv, set DICTL_USE_ICONV variable to non-empty string. If you
28 want to use konwert, set DICTL_USE_KONWERT to non-empty string.
29
30 Because recode, iconv and konwert do not support conversion to or from
31 the "C" or "POSIX" locales, it is recommended that all users whose
32 locale is "C" or "POSIX", set DICTL_CHARSET to "latin1" (ISO_8859-1).
33
35 dictl accepts all dict options as described in dict(1).
36
38 dictl was written by Aleksey Cheusov <vle@gmx.net>
39 This manual page was written by Robert D. Hilliard
40 <hilliard@debian.org> and Aleksey Cheusov <vle@gmx.net>
41
43 dict(1), recode(1), iconv(1), konwert(1)
44
45
46
47 DICTL(1)