Re: pretty-print mutt emails

2021-11-22 Thread Cameron Simpson
On 22Nov2021 13:48, Globe Trotter via Mutt-users wrote: >/home/gt/bin/muttprint_print: /home/gt/bin/muttprint: /usr/bin/perl^M: >bad interpreter: No such file or directory You've got carriage returns in the text of the script (the "^M" above). They are no considered whitespace (and in any

Re: pretty-print mutt emails

2021-11-22 Thread Jon LaBadie
On Mon, Nov 22, 2021 at 01:56:58PM +, Globe Trotter via Mutt-users wrote: On Monday, November 22, 2021, 02:53:17 AM CST, Anders Damsgaard wrote: I use the following sh(1) script to format the message as troff andconvert to pdf: https://adamsgaard.dk/tmp/muttprint-groff.sh It's a bit

Re: pretty-print mutt emails

2021-11-22 Thread Jean Louis
* Globe Trotter via Mutt-users [2021-11-22 03:48]: > What is the recommended way to pretty-print mutt > emails? I found a sourceforge perl script called > muttprint but that was last updated in 2008, and I was > wondering what folks here recommended? I use muttprint without problems. Find it

Re: [Mutt] pretty-print mutt emails

2021-11-22 Thread Globe Trotter via Mutt-users
> On Monday, November 22, 2021, 08:44:58 AM CST, Mihai Lazarescu > wrote: >> I wonder if I can get a dialog that gives me a choice of 1 or 2 pages >> printing. Perhaps I have two scripts for that? > With zathura apparently not, but with evince (and possibly other viewers) yes. Actually,

Re: [Mutt] pretty-print mutt emails

2021-11-22 Thread Mihai Lazarescu
On Monday, November 22, 2021 at 14:32:09 +, Globe Trotter wrote: zathura file.ps I wonder if I can get a dialog that gives me a choice of 1 or 2 pages printing. Perhaps I have two scripts for that? With zathura apparently not, but with evince (and possibly other viewers) yes. Mihai

Re: [Mutt] pretty-print mutt emails

2021-11-22 Thread Globe Trotter via Mutt-users
Thanks! > On Monday, November 22, 2021, 08:19:52 AM CST, Mihai Lazarescu > wrote: > I use without problems muttprint 0.73 in Fedora from within a wrapper script, > which removes spamassassin markings, converts to PDF using ps2pdf, and > finally opens it with xdg-open for checking and

Re: [Mutt] pretty-print mutt emails

2021-11-22 Thread Mihai Lazarescu
On Monday, November 22, 2021 at 00:47:10 +, Globe Trotter via Mutt-users wrote: What is the recommended way to pretty-print mutt emails? I found a sourceforge perl script called muttprint but that was last updated in 2008, and I was wondering what folks here recommended? I use without

Re: pretty-print mutt emails

2021-11-22 Thread Globe Trotter via Mutt-users
> On Monday, November 22, 2021, 02:35:24 AM CST, Jean Louis > wrote: > I use muttprint without problems. Find it attached, as maybe I have changed > something in the script, you canmake the diff. >Then I have this settings in ~/.mutt/defaults which I load from ~/.mutt/muttrc > set

Re: pretty-print mutt emails

2021-11-22 Thread Globe Trotter via Mutt-users
> On Monday, November 22, 2021, 02:53:17 AM CST, Anders Damsgaard > wrote: > I use the following sh(1) script to format the message as troff andconvert to > pdf: https://adamsgaard.dk/tmp/muttprint-groff.sh >It's a bit ugly in places, but it works for me.  This is an example:

Re: pretty-print mutt emails

2021-11-22 Thread Anders Damsgaard
* Globe Trotter via Mutt-users [2021-11-22 00:47:10 +]: What is the recommended way to pretty-print mutt emails? I found a sourceforge perl script called muttprint but that was last updated in 2008, and I was wondering what folks here recommended? Thanks! Hi, I use the following