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

Re: Return automatically from a shell-escape



On Fri, Feb 22, 2008 at 03:41:34PM -0600, Kyle Wheeler wrote:
> On Friday, February 22 at 09:34 PM, quoth Matt Richards:
> > I use a shell-escape to invoke fetchmail aswell as other things and 
> > it always says Press any key to continue at the end.
> >
> > Is it possible to just return to mutt without this halt?
> 
>  From the manual:
> 
>      wait_key
>          Type: boolean
>          Default: yes
> 
>          Controls whether Mutt will ask you to press a key after
>          shell-escape, pipe-message, pipe-entry, print-message, and
>          print-entry commands.
> 
>          It is also used when viewing attachments with "auto_view",
>          provided that the correspondin gmailcap entry has a
>          needsterminal flag, and the external program is interactive.
> 
>          When set, Mutt will always ask for a key. When unset, mutt
>          will wait for a key only if the external command returned a
>          non-zero status.
> 
> 
> ~Kyle

Hello, 

yea I probuly should of read the manual, lol

I now have an issue with fetchmail returning 1 if theres no mail to be 
collected but I think i'm just going to create a wrapper script that always 
returns 0.

Cheers,

Matt.

-- 
Matt Richards

Attachment: signature.asc
Description: Digital signature