[Alpine-info] saving index/printing to file?
Barry Landy via Alpine-info
alpine-info at u.washington.edu
Wed Jun 11 02:17:32 PDT 2025
On windows you can simply redirect the output, for example to a
PDF instead of to a printer.
On Wed, 11 Jun 2025, Andrew C Aitchison via Alpine-info wrote:
:>On Tue, 10 Jun 2025, Matt Ackeret via Alpine-info wrote:
:>
:>>
:>> I see that if I turn this on:
:>> [X] Print Index Enabled
:>>
:>> then I can use the % print command from the INDEX screen.. and I see I
:>> can even set up multiple printers, even a custom command..
:>>
:>> but I don't see quite exactly how to do what I want:
:>>
:>> What I'd really like it to be able to save my current INDEX screen (e.g.
:>> selected messages) to a file..
:>> if it's some randomly generated filename in /tmp, fine..
:>>
:>> just so I can get a specific list of messages in a file that I can then
:>> do some
:>> other things on them (e.g. pipe to some cut commands then sort then
:>> unique)
:>> to figure out some specific things from subjects of messages I save.
:>>
:>> Can someone explain how to do that, get print to go to some filename,
:>> even if
:>> it's the SAME filename always (but preferably not)?
:>> thanks.
:>
:>Use a custom printer with the value
:> cat > /path/to/my/printout
:>
:>This should work on unix and mac,
:>but would need changing on windows.
:>
:>Note that this file will contain the whole index of the
:>folder, not just the portion that was on the screen.
:>
:>
--
Barry Landy Home: +44-1223-570417
192, Gilbert Road College: +44-1223-362062
Mobile +44-7771-933945
Cambridge CB4 3PB
England Email BarryLandy at cantab.net
More information about the Alpine-info
mailing list