🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #857

Re: forward from curses interface

#857
From: Barton E. Schaefer
Date: Fri, 12 May 1989 05:53
31 lines
1702 bytes
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
Technical Details
Message-ID: <2661@ogccse.ogc.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!pasteur!ucbvax!tut.cis.ohio-state.edu!husc6!ogccse!schaefer
References: <8080@killer.Dallas.TX.US>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!pasteur!ucbvax!tut.cis.ohio-state.edu!husc6!ogccse!schaefer
From: schaefer@ogccse.ogc.edu (Barton E. Schaefer)
Newsgroups: comp.mail.mush
Subject: Re: forward from curses interface
Keywords: forward and multiple prints
Message-ID: <2661@ogccse.ogc.edu>
Date: 12 May 89 05:53:07 GMT
References: <8080@killer.Dallas.TX.US>
Reply-To: schaefer@ogccse.UUCP (Barton E. Schaefer)
Organization: Oregon Graduate Center, Beaverton, OR
Lines: 31