Man Linux: Main Page and Category List

NAME

       bbdb-srv - Converts Mail-Headers to an Emacs-Lisp String.

SYNOPSIS

       echo Some Headers | bbdb-srv

DESCRIPTION

       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 <jwz@netscape.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.

SEE ALSO

       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

AUTHOR

       This   manual   page   was    written    by    Joerg    Jaspert    (JJ)
       <joerg@goliathbbs.dnsalias.net>,  for  the Debian GNU/Linux system (but
       may be used by others).

                                March 31, 2002                  >BBDB-SRV.PL(1)