Great Circle Associates Majordomo-Users
(June 1999)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Adding new keys to configs
From: "Bill Houle" <bhoule @ airfiberinc . com>
Date: Tue, 22 Jun 1999 21:23:29 -0700
To: John Grant <grant1_j @ ins . com>
Cc: Majordomo-Users @ GreatCircle . COM
References: <37697F1D.E34BCB1E@ins.com>

Try "&main'new_keyword", not the bare word version.

I prefer using the "API" to dorking with all the individual hashes. The
standard I followed is to place my local enhacements in a separate file,
and then require that file within config_parse.pl, just before the final
exit of '1'.

--bill


John Grant wrote:
> 
> I have tried hand-editing config_parse.pl to add in a new bool type key.
> If I try to use it in a cf_ck_bool, then majordomo does nothing, won't
> even
> write to the log file ! I tried using tbe main'new_keyword call to add
> it, but
> that killed it dead too.
> 
> This is version 1.93 and I want to add several new keys, mainly to hide
> the who
> command and change the length of the welcome message. If someone would
> be kind enough to
> send an example.
> 
> ============
> What I did:
> 
> Added the following to config_parse.pl
>         - known_keys entry ( 'short_welcome', 'no')
>         - comment entry
>         - subsystem entry ('short_welcome','majordomo')
>         - parse_function ('short_welcome','grab_bool')
> 
> VS.
> 
>         manin'new_keyword('short_welcome','no','grab_bool','majordomo','no
> comment');



References:
Indexed By Date Previous: Re: correct behavior for MTA error message?
From: Jeffrey Goldberg <J.Goldberg@Cranfield.ac.uk>
Next: help!
From: "Ricardo Villarroel" <villarroel_ricardo@email.msn.com>
Indexed By Thread Previous: Adding new keys to configs
From: John Grant <grant1_j@ins.com>
Next: help with list
From: Nigt Wolf <NigtWolf@IX.NETCOM.COM>

Google
 
Search Internet Search www.greatcircle.com