[ic] user defined functions?

Peter peter at pajamian.dhs.org
Fri Jun 11 12:04:11 UTC 2010


On 11/06/10 23:52, Angus Rogerson wrote:
> On 10-Jun-10, at 11:55 PM, Samuel Mullen wrote:
> 
>> <mime-attachment><ATT00001..txt>
> 
> 
> 
> It is likely defined in a file in code/UserTags/, or elsewhere under
> code/. The file is not necessarily named the same as the tag. So, to
> find the [fortune] tag (for example):
> 
> $ grep -r "fortune" interchange/code/
> 
> gives a file code/UserTags/fortune.tag which has UserTag statements
> defining the function.
> 
> This might reveal a file which contains the actual code, or it might
> point you to a module in lib which does the work.
> 
> Tags can also be defined in catalog.cfg (and interchange.cfg?)

Yes, usertags can be defined in any config file (catalog or global) or
any file included from one of those files.  The files under the code
directory are simply config files (automatically) included from
interchange.cfg.

> I don't have unlock-code on my system so I can't give you the actual
> answer. Are you sure you have it? Where did you get it?
> 
> Given your example, this seems unlikely, but, is the tag in a
> loop/list/search with prefix "unlock"?

Good point, this could be the case.


Peter




More information about the interchange-users mailing list