On 2002-01-01 10:03 +0000, Benjamin Smith wrote: > On Mon, Dec 31, 2001 at 01:36:03PM +0100, Andre Majorel wrote: > > On 2001-12-28 18:22 +0100, Roman Neuhauser wrote: > > > > > > I thought that > > > > > > > > message-hook "~f joe@blow\.com" "pipe-message /usr/local/bin/unmangle" > > > > > > > > would do the trick but Mutt says "pipe-message: unknown command". > > > > > > It's <pipe-message> (incl. the angle brackets) isn't it? > > > > I've tried that too and Mutt doesn't like it either. > > If you're trying to call a function you need to push or exec it onto the > keyboard buffer ie. > > message-hook "~f joe@blow\.com" "push > '<pipe-message>/usr/local/bin/unmangle<Return>'" (untested)
When hitting [return] on one of joe's messages, Mutt displays the message with more(1) or some other pager, displays "press any key to continue" and displays it again ad nauseam. > or > > message-hook "~f joe@blow\.com" "exec pipe-message > /usr/local/bin/unmangle" (untested) When hitting [return] on one of joe's messages, Mutt pauses for one second and then displays the message normally (*without* filtering it). Obviously, I don't understand pipe-message. Thanks, folks. -- André Majorel <URL:http://www.teaser.fr/~amajorel/> std::disclaimer ("Not speaking for my employer");