bbdb-srv - Converts Mail-Headers to an Emacs-Lisp String.
echo Some Headers | bbdb-srv
This script reads a block of message headers on stdin, and converts
them to an emacs-lisp string (quoting all dangerous characters) and
then uses the ‘gnudoit’ program to cause a running Emacs process to
invoke the ‘bbdb-srv’ function with that string.
This has the effect of causing the running Emacs to display the BBDB
record corresponding to these headers.
See the Emacs side of things in bbdb-srv.el for more info.
A trivial application of this is the shell command:
echo ’From: Jamie Zawinski <email@example.com>’ | bbdb-srv.perl
which will cause the corresponding record to be displayed. A more
interesting application of this is:
setenv NS_MSG_DISPLAY_HOOK bbdb-srv.perl
which will hook BBDB up to Mozilla (Unix Netscape Mail and Netscape
News versions 3.0b2 and later only.)
This manual page was written for the Debian distribution because the
original program does not have a manual page. Instead, it has
documentation in the GNU Info format; see below.
bbdb-areacode-split(1), bbdb-unlazy-lock(1). bbdb-srv(1).
The bbdb is fully documented by The insidious Big Brother Database for
mail and news, available via the Infonode bbdb
This manual page was written by Joerg Jaspert (JJ)
<firstname.lastname@example.org>, for the Debian GNU/Linux system (but
may be used by others).
March 31, 2002 >BBDB-SRV.PL(1)