On Thu, Oct 05, 2000 at 02:30:15PM -0700, Pyuesh Daya wrote:
> Is it possible to run two external programs to run with mutt. I am already
> running the "Shift Q" to query an external perl script which queries an
> Ldap Server....Is this possible...
>
> How do I bind another stroke key to query another external Program !!
How about a pair of macros that set `query_command' to point to the right
query utility and then make a call to <query>? For example:
,----
| macro index "B" "<enter-command>set query_command=\"query1 '%s'\"\n<query>"
| macro index "\eB" "<enter-command>set query_command=\"query2 '%s'\"\n<query>"
`----
So Shift-B will search using the "query1" tool and Esc-Shift-B will search
using the "query2" tool.
Or, if you want a single query to go query more than one source you should
grab lbdb and use that. It's pretty trivial to add new modules to it so that
it can query any database you've got to hand (I wrote one for pulling email
address details from a Palm database for example).
--
Take a look in Hagbard's World: | mutt.octet.filter - autoview octet-streams
http://www.hagbard.demon.co.uk/ | mutt.vcard.filter - autoview simple vcards
http://www.acemake.com/hagbard/ | muttrc2html - muttrc -> HTML utility
Free software, including........| muttrc.sl - Jed muttrc mode