[Tfug] Any recommendations for address management?

Claude Rubinson rubinson at u.arizona.edu
Mon May 19 12:28:57 MST 2008


On Mon, May 19, 2008 at 09:17:04AM -0700, Glen Pfeiffer wrote:
> Thanks for that! It's all setup now. There is one thing in
> particular that I have not yet figured out, and that is how to
> search on a particular field in abook. It seems that a search/query
> only looks at email and name. I'd love to be able to search on any
> field I specify.

Are you using lbdb to search abook or are you querying abook directly
from mutt?  I've never written a script for querying from mutt
directly but from what I've seen, I don't think that it should be too
difficult.

If you're using lbdb, it's pretty easy to write lbdb modules so you
should be able to take the default abook module (at
/usr/lib/lbdb/m_abook) and modify it to your needs.  Actually, I'm
looking at the module right now and unless I'm misunderstanding the
abook format, it appears to be querying across all fields by default.

Claude




More information about the tfug mailing list