1SDCV(1) General Commands Manual SDCV(1)
2
3
4
6 sdcv - console version of StarDict program
7
9 sdcv [ options ] [list of words]
10
12 sdcv is simple, cross-platform text-base utility for work with dictio‐
13 naries in StarDict's format. The word from "list of words" may be
14 string with leading '/' for using Fuzzy search algorithm, with leading
15 '|' for using full-text search, string may contain '?' and '*' for
16 using regexp search. It work in interactive and not interactive mode.
17 To exit from interactive mode press Ctrl+D. In interactive mode, if
18 sdcv was compiled with readline library support, you can use UP and
19 DOWN keys to work through history.
20
22 -h --help
23 display help message and exit
24
25 -v --verbose
26 display version and exit
27
28 -l --list-dicts
29 display list of available dictionaries and exit
30
31 -u --use-dict filename
32 for search use only dictionary with this bookname
33
34 -n --non-interactive
35 for use in scripts
36
37 --utf8-output
38 Force sdcv not use conversation to locale charset, output in
39 utf8
40
41 --utf8-input
42 Force sdcv not use conversation from locale charset, suppose
43 that input in utf8
44
45 --data-dir path/to/directory
46 Use this directory as path to stardict data directory. This is
47 mean that sdcv search dictionaries in data-dir/dic directory.
48
49 --color Use ANSI escape code for colorize sdcv output
50
52 /usr/share/stardict/dic
53
54 $(HOME)/.stardict/dic
55
56 Place, where sdcv expect to find dictionaries. Instead of
57 /usr/share/stardict/dic you can use everything that you want,
58 just set STARDICT_DATA_DIR environment variable. For example,
59 if you have dictionaries in /mnt/data/stardict-dicts/dic, set
60 STARDICT_DATA_DIR to /mnt/data/stardict-dicts.
61
62 $(HOME)/.sdcv_history
63
64 This file include last $(SDCV_HISTSIZE) words, which you seek
65 with sdcv. SDCV use this file only if it was compiled with
66 readline library support.
67
68
70 Environment Variables Used By sdcv:
71
72 STARDICT_DATA_DIR If set, sdcv use this variable as data directory,
73 this is mean that sdcv search dictionaries in
74 $STARDICT_DATA_DIR\dic
75
76 SDCV_HISTSIZE If set, sdcv wrote in $(HOME)/.sdcv_history only
77 last $(SDCV_HISTSIZE) words, which you seek using
78 sdcv. If it is not set, then last 2000 words saved
79 in $(HOME)/.sdcv_history.
80
81 SDCV_PAGER If SDCV_PAGER is set, its value is used as the
82 name of the program to use to display the dictio‐
83 nary's article.
84
86 Email bug reports to dushistov at mail dot ru. Be sure to include the
87 word "sdcv" somewhere in the "Subject:" field.
88
90 Evgeniy A. Dushistov, Hu Zheng
91
93 stardict(1), http://sdcv.sourceforge.net/, http://stardict.source‐
94 forge.net
95
96
97
98sdcv-0.4.2 2006-04-24 SDCV(1)