[126] in bug-owl
Re: .owlconfig
daemon@ATHENA.MIT.EDU (James M. Kretchmar)
Tue Feb 4 11:35:40 2003
Message-Id: <200302041631.LAA27063@mission-control.mit.edu>
To: Marleigh I Norton <marleigh@MIT.EDU>
cc: "James M. Kretchmar" <kretch@MIT.EDU>, bug-owl@MIT.EDU
In-Reply-To: Your message of "Tue, 04 Feb 2003 11:17:02 EST."
<200302041617.LAA18827@magic-pi-ball.mit.edu>
Date: Tue, 04 Feb 2003 11:31:41 -0500
From: "James M. Kretchmar" <kretch@MIT.EDU>
> Is there a document somewhere on how .owlconf works, and what you can
> customize with it? Me personally, I just want a few changes, like
> setting my zephyr logger, random zsigs, a few custom filters, and
> formatting zsigs such that the whole thing is displayed. Is there some
> way one can just set particular things, but let the rest be default, or
> once you start messing with formatting, you have to redefine the entire
> owl::format_msg? Also, is there a template config kicking around
> somewhere?
Yeah, I do need to get some better documentation up. I've included
most of my .owlconf at the end, which I think has examples of the
things you want. If you don't want to do custom message formating
just don't define a owl::format_msg function. You can also take a
look at:
The files in /mit/ktools/src/owl/src/examples/ especially
owlconf.simple
/mit/ktools/src/owl/doc/intro.txt
kretch
-----------------------------------------------------------------------------
###
### kretch's .owlconf
###
sub owl::startup {
owl::command("set logging on");
owl::command("set classlogging on");
owl::command("set bell on");
owl::command("set personalbell on");
owl::command("set rxping on");
owl::command("set txping off");
owl::command("set zsigproc /mit/kretch/bin/getzsig");
owl::command("set startuplogin off");
owl::command("set shutdownlogout off");
owl::command("alias zt zwrite -c test -i test");
owl::command("alias phone zaway on the phone");
owl::command("alias zops start-command zwrite -c ops -i");
owl::command("alias znl pexec znl -e -t");
owl::command("alias quiet ( unsubscribe -t help * * ; unsubscribe -t consult * * )");
owl::command("alias loud ( subscribe -t help * * ; subscribe -t consult * * )");
owl::command("filter personal -c white ");
owl::command("filter reply-lockout -c blue class ^noc\$ or class ^mail\$");
owl::command("filter class-foobar -c red class ^foobar\$ ");
owl::command("filter class-mail -c magenta class ^mail\$ ");
owl::command("filter class-ops -c yellow class ^ops\$ ");
owl::command("filter class-network -c yellow class ^network\$ ");
owl::command("filter class-noc -c yellow class ^noc\$ ");
owl::command("filter class-geek -c cyan class ^geek\$ ");
owl::command("filter priority body kretch or instance kretch or ( class message and instance personal and recipient kretch ) or ( class login and ( sender rnr or sender lavin or sender hoffmann or sender bootes ) )");
owl::command("filter none not class .*");
owl::command("bindkey recv M-p command view priority");
}
sub owl::shutdown {
# turn off terminal bell when I quit owl, for Ted.
system("xset b 0");
}
-----------------------------------------------------------------------------