Re: <pipe-message> without the "press any key to continue"
- To: "Nathan Huesken" <mutt@xxxxxxxxxxxxxxx>
- Subject: Re: <pipe-message> without the "press any key to continue"
- From: "Colby W." <colbyw@xxxxxxxxx>
- Date: Fri, 29 Feb 2008 07:58:01 -0700
- Cc: "Mutt Mailinglist" <mutt-users@xxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=tiSy/WwyrBWQU3xL/CTj3XNSfLVeegpuv/eAoDMxDsE=; b=N0haJQ3uvHeYfvSd+yLNSGYFbztsd06KwRIdYqIOuC/1ZMIdTI0jjoZtH31ncLLe2QvdmaqxVOXWgEJGTYnRmJGFLZb6CdHZg2CRuCk42N/vbrH4uBJWQxY93cQS4ZYvrtWLiVIpX+iQ0JVTfLWDiAu1aezyweM94cD9/X16f70=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZBOFvATxwz6LOfRVd7QUdmOJ6vlYsPvBFHxu4ts7/gkdkXiYacPXmSXcfeaLGGwS/C4XZpzkK7OJh//tnaKJ/GvEXxDYBknmk8nxEPtnUl2B+I8s7pW64bCv46M93emp7Ot9IIX0Vm7WH4FWVdbE8fMDxx97Eg0mZ5dJuST6Z9A=
- In-reply-to: <20080229145352.GC30100@SamZwo>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- References: <20080229145352.GC30100@SamZwo>
- Sender: owner-mutt-users@xxxxxxxx
On Fri, Feb 29, 2008 at 7:53 AM, Nathan Huesken <mutt@xxxxxxxxxxxxxxx> wrote:
> Hi,
>
> I have a macro, which pipes a message to a script:
>
> macro index,pager p '<pipe-message>~/.mutt/script<enter><futher-stuf>'
>
> So far so good, what I don't like is the
> Press any key to continue...
> and the fact, that I need to press a key to continue.
>
> Can this somehow be avoided?
To quote Kyle from a previous post about this very subject not too long ago:
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.
--- Colby