[comp.mail.mush] forward from curses interface

phil@killer.Dallas.TX.US (Phil Meyer) (05/12/89)

I don't see a way to forward mail from the curses interface.

Any pointers?

I also am trying to figure out a print[list] function.  Again from
the curses interface.

We run SYSV.3 on a UNISYS 5000/90.

Thanks in advance.

schaefer@ogccse.ogc.edu (Barton E. Schaefer) (05/12/89)

In article <8080@killer.Dallas.TX.US> phil@killer.Dallas.TX.US (Phil Meyer)
writes:
} 
} I don't see a way to forward mail from the curses interface.

You use the [mail-flags] command, which defaults to M (shift-m).   It will
prompt you for flags to be passed to the mail command; type -f followed
by the list of messages you want to forward.

To automate it, use (for example)

    bind-macro F '[mail-flags]-f [getline]'

} I also am trying to figure out a print[list] function.  Again from
} the curses interface.

    bind-macro P '[line-mode]print [getline]'

You can accomplish almost anything by falling back to [line-mode].
A better choice for the print-list function might be

    bind-macro P '[line-mode]pipe [getstr] $pager\n'

Because the first one (using print) starts a separate pager for each
message, but the second one runs all the messages through the same pager.
In both cases you can just press return to print the current message.
-- 
Bart Schaefer       "And if you believe that, you'll believe anything."
							-- DangerMouse
CSNET / Internet                schaefer@cse.ogc.edu
UUCP                            ...{sequent,tektronix,verdix}!ogccse!schaefer