Alias module for BarnOwl
Perl
Latest commit fbce394 Jan 5, 2010 @nelhage 0.2
Permalink
Failed to load latest commit information.
inc/Module M:I Aug 20, 2008
lib/BarnOwl/Module 0.2 Jan 5, 2010
.hgignore initial import Jan 11, 2008
Makefile.PL initial import Jan 11, 2008
README Clarify loading instructions. Nov 18, 2008

README

The Alias modules provides the ability to give aliases to long
classnames for display purposes ONLY. For example, I display
`dirty-owl-hackers' as `d-o-h'.

To use Alias, copy Alias.par into ~/.owl/modules, and create a
~/.owl/classmap file listing the (class, alias) pairs you want,
separated by whitespace. For example, my classmap file contains


--- CUT HERE ---
dirty-owl-hackers               d-o-h
--- END CUT ---

Then, from BarnOwl, execute the ':reload-module Alias' command.
You may need to press 'o' twice to redraw existing messages.


Technical note: Alias assumes that you are using a ``new-style'' style
which uses the ``context'' field of the Message object for
display. Old styles which display $m->class of a zephyr directly will
not be affected by the display map.