<<< Date Index >>>     <<< Thread Index >>>

Re: Howto run a command in message hooks



Hi Patrick!

On Wed, 24 Oct 2007, Patrick Schoenfeld wrote:

> On Wed, Oct 24, 2007 at 05:30:45PM +0200, Christian Brabandt wrote:
> > If you have used <pipe-message> I think your stdin has changed to the
> > messages you piped. And read expects your answer from that filehandle.
> > So you might try explicitly setting your tty with read yn </dev/tty
> 
> Okay, that might be an explanation why it does immedetiately print those
> mutt press any key message (btw. is it possible to suppress this message
> when calling the script?), 

set wait_key=no

> but why does it recall and recall the script endlessly?

I don't know.

regards,
Christian
-- 
Everything can be filed under "miscellaneous".