(Documentation)

indexinfodocsdownscreenlinkslang

COMMAND LINE OPTIONS:

-h or --help
Show usage.

-c or --config filename
Use given file as config (the default is: $HOME/.otak/config).

-B or --baseconfig filename
Use given file as a database config (default is: $HOME/.otak/baseconfig).

-b or --basefile filename
Use an alternative database file (for example from the

abook program. Default is: $HOME/.otak/base-dir/main).

-v or --verbose
Verbose mode. All messages about reading and writing otak`s files.

-Q or --quiet or --silent
Quiet; Do not write anything to standard output (Do not display error messages too). Also see the

-s or --no-messages option.

-s or --no-messages
Suppress error messages about noexistent or unreadable files (or tsys errors).

-n or --new-email or --add-email
Read an e-mail message from stdin and add the sender to the addressbook. This option parse mailbox, so it required something like: From: "foo" bar@foobar

-q or --query
Make a query (search the addressbook for ). See the

otakrc section to get more info (how to change searching parametrs). To see "whole query" don`t give any string or give 'a'.

--basefile option,
as documented above, may be used to search a different addressbook file. If you want to use otak with mutt you should add following lines to your ~/.muttrc or to the systemwide /etc/Muttrc file.
set query_command="otak --query '%s'"
macro pager A |'otak --add-email'\n
After this you can make queries from mutt using the query command ('Q') and add sender e-mail addresses to the addressbook from pager using 'A' command. (Of course you can choose another keybinding if you like.)

COMMANDS DURING USE:

Press '?' or 'f1' during use to get a list of commands. If Ctrl-c (^C) is pressed otak won`t save database. (It could be helpful, if you remove someone by accident) see the otakrc section to get more info.

copyright © 2003-2005, grzegorz moskal http://nemerle.org/~eldevarth