<<< Date Index >>>     <<< Thread Index >>>

Re: save body of text message to txt or pdf file



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday, August 29 at 12:49 PM, quoth Joseph:
> How to save body of text message (without headers) to /home/dir in text or 
> pdf format?
> By default "s" only saves in a specific folder.

Heh, AND "s" includes the full headers! :)

Well, the simplest way is this:

     set pipe_decode=yes

... and then use | to pipe the message into a simple command, for 
example:

     cat - > ~/message.txt

You could also try hijacking the print feature, if you really want. 
Either way, PDF creation would depend on using some tool to generate a 
PDF or a postscript version that can then be converted into a PDF.

~Kyle
- -- 
Those who can make you believe absurdities can make you commit 
atrocities.
                                                            -- Voltaire
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAki4T5AACgkQBkIOoMqOI14b7wCfVvSaqhgPKWIdjK21b6IRGUs1
CnoAoIkaA7bF9IlrEWa6MBZay9wg7JcO
=V9jl
-----END PGP SIGNATURE-----