On Mon, May 14, 2001 at 08:43:59PM -0700, Christian H. Stork wrote:

> How do I print something to the status line eg from a macro?
> 
> Even better, how could I get input for some scripts on the status line?

It depends on how the scripts are invoked.  If they're invoked from
macros, their stdin and stdout should already be connected to the tty,
so you don't need to do anything special.  If the scripts are invoked as
part of a filter, you can probably use /dev/tty for input and output,
e.g.,

    echo "Enter file name:" > /dev/tty
    read file_name < /dev/tty

As I recall, this doesn't work for scripts referred to in the "sendmail"
variable.

Is that what you meant?

Gary

-- 
Gary Johnson                               | Agilent Technologies
[EMAIL PROTECTED]                   | RF Communications PGU
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA

Reply via email to