|
NAMEdico - GNU dictionary client programSYNOPSISdico [-DHISamqtv] [-c STRING] [-d NAME] [-i DBNAME] [-k STRING] [-p SERVICE] [-s NAME] [-u NAME] [--autologin=NAME] [--client=STRING] [--database=NAME] [--dbs] [--help] [--host=SERVER] [--info=DBNAME] [--key=STRING] [--levdist=N] [--levenshtein-distance=N] [--match] [--noauth] [--nosasl] [--password=STRING] [--port=SERVICE] [--quiet] [--sasl] [--serverhelp] [--serverinfo] [--source-info] [--source=ADDR] [--strategies] [--strategy=NAME] [--time-stamp] [--transcript] [--user=NAME] [--verbose] [URL-or-WORD]dico -h dico --help dico --usage dico --version NOTEThis manpage is a short description of GNU dico. For a detailed discussion, including examples and usage recommendations, refer to the GNU Dico Manual available in texinfo format. If the info reader and GNU Dico documentation are properly installed on your system, the commandinfo dico
should give you access to the complete manual. You can also view the manual using the info mode in emacs(1), or find it in various formats online at http://www.gnu.org.ua/software/dico/manual
If any discrepancies occur between this manpage and the GNU Dico Manual, the later shall be considered the authoritative source. DESCRIPTIONConsole-based utility for querying dictionary servers. It has two operation modes.In single query mode, dico performs a query, displays its result and exits immediately. This mode is enabled if a word or a URL was given in the command line. In interactive mode, dico enters a read-and-eval loop, in which it reads requests from the keyboard, performs the necessary searches, and displays obtained results on the screen. Upon startup, dico looks for initialization files named .dico in the current user's home directory, and the current working directory. If found, these files are read in order, and their contents is treated as a sequence of commands, which are executed. See the section COMMANDS, for a discussion of available commands. OPTIONSServer Selection
Operation Modes
Authentication
Debugging
Other Options
COMMANDSIn interactive mode dico reads commands from the standard input, executes them and displays results on the standard output. If the standard input is connected to a terminal, the readline and history facilities are enabled.The input syntax is designed so as to save you the maximum amount of typing. A line beginning with a # sign introduces a comment and is ignored. Typing quiestion mark alone shows a short usage summary. All commands begin with a command prefix, a single punctuation character used to tell a command from a define or match request. The default command prefix is a dot. Any input starting with a slash is a match request. For example, /sail will display all headwords matching the word sail in the currently selected database. Any input not starting with / or command prefix is a definition request. It is looked up using the defaault server and database settings, and the result is displayed on the screen. Dico initialization files have the same syntax, excepting that no command prefix is used by default. Available commands (without prefix) are summarized in the table below:
AUTOLOGIN FILEAfter connecting to a remote server, dico checks if the server supports authentication and attempts to authenticate itself if so. The authentication credentials are taken from the following sources:
These three sources are consulted in that order, i.e., a user name supplied with the --user command line option takes precedence over the one found in an URL and over any names supplied by autologin files. If, after consulting all these sources, the user name is established, while the password is not, the resulting action depends on whether the standard input is connected to a terminal. If it is, dico will ask the user to supply a password. If it is not, authentication is aborted and connection to the server is closed. Some authentication mechanisms require additional credentials. For example, GSSAPI authentication requires a service name. These credentials can be supplied only in autologin file. Autologin file is a plaintext file that contains authentication information for various DICT servers. At most two autologin files are consulted: first the session-specific file, if it is supplied by autologin command or by the --autologin command line option, next the default file .dicologin in the user's home directory. The default autologin file is examined only if no matching record was found in the session-specific one. The file format is similar to that of .netrc. Empty lines and comments are ignored. Comments are introduced by a pound sign. Non-empty lines constitute statements. Tokens in a statement are separated with spaces, tabs, or newlines. A valid statement must begin with one of the following:
The following clauses can follow:
SEE ALSOdicod(8).Complete GNU Dico manual: run info dico or use emacs(1) info mode to read it. Online copies of GNU Dico documentation in various formats can be found at:
AUTHORSSergey PoznyakoffBUG REPORTSReport bugs to <bug-dico@gnu.org.ua>.COPYRIGHTCopyright © 2008-2014 Sergey PoznyakoffLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Visit the GSP FreeBSD Man Page Interface. |