abook
abook copied to clipboard
CLI Address book
Reviewers wanted! Please add a ticket to ask to get added as a reviewer
Abook
A classic adress book for the command line.
Originally created by JH. And this fork is maintained by Henry Hirsch.
SourceForge Page
- The original repo can be found at http://abook.sourceforge.net/
- The original mailing list can be found at https://lists.sourceforge.net/lists/listinfo/abook-devel
- Lately there is activity on there again which might render this fork obsolete
Compilation
To compile abook you must have ncurses development libraries installed. Starting from version 0.4.10 abook is known to compile with the native curses library of SUN Solaris and OpenBSD. Since version 0.5.0 GNU readline is required. Please note that other readline implementations don't work.
If you compile with --enable-debug flag you should redirect standard error to somewhere. (for example abook 2> debug or abook 2> /dev/null) Abook has been compiled and tested successfully on following platforms: (NOTE: All versions of abook haven't been tested on all platforms.)
Linux (distributions with moderately new GNU ncurses and GNU readline libraries should work)
Installation
See INSTALL for detailed instructions.
If you want to use abook with mutt you should add following lines to your ~/.muttrc or to the systemwide /etc/Muttrc file.
set query_command="abook --mutt-query '%s'" macro pager A |'abook --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.)
It's also recommended to set pipe_decode variable in mutt configuration. See the mutt manual for details.
Abook can also convert from/to mutt alias files and a number of other formats. Mutt groups are fully supported.
Notes
If your language specific characters don't work correctly make sure that your locale configuration has been done properly. (On Linux you must set at least LC_CTYPE environment variable)
If you want to import a ldif file generated by abook in Netscape you must use the extension ``.4ld''.
License
All files in this distribution are released under GNU GENERAL PUBLIC LICENSE. See COPYING for details.