Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"The medium is the message." -- Marshall McLuhan


computers / comp.mail.mutt / Re: Mutt internal command to write the entire email message

SubjectAuthor
* Mutt internal command to write the entire email messagecjsmall
`* Re: Mutt internal command to write the entire email messageTavis Ormandy
 `- Re: Mutt internal command to write the entire email messagecjsmall

1
Mutt internal command to write the entire email message

<765e6ddc-cd23-48a2-a278-aa4e2e4a52fen@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=114&group=comp.mail.mutt#114

 copy link   Newsgroups: comp.mail.mutt
X-Received: by 2002:ac8:57cc:0:b0:39c:dd96:f5de with SMTP id w12-20020ac857cc000000b0039cdd96f5demr42818272qta.375.1666904552610;
Thu, 27 Oct 2022 14:02:32 -0700 (PDT)
X-Received: by 2002:a05:6214:c8b:b0:4b4:9f9e:5312 with SMTP id
r11-20020a0562140c8b00b004b49f9e5312mr43511131qvr.111.1666904552377; Thu, 27
Oct 2022 14:02:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.mutt
Date: Thu, 27 Oct 2022 14:02:32 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:600:9100:5ca0:e23f:49ff:fee8:1a31;
posting-account=HkkpOQkAAADsR9HpuB7NpuJa7KNw-XVw
NNTP-Posting-Host: 2601:600:9100:5ca0:e23f:49ff:fee8:1a31
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <765e6ddc-cd23-48a2-a278-aa4e2e4a52fen@googlegroups.com>
Subject: Mutt internal command to write the entire email message
From: jefferys...@gmail.com (cjsmall)
Injection-Date: Thu, 27 Oct 2022 21:02:32 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1926
 by: cjsmall - Thu, 27 Oct 2022 21:02 UTC

Now that I have a Christian Ebert's filter program to display HTML messages
with their embedded images, I've written a macro to filter these messages
from the index and pager menus as follows:

macro index A |viewhtmlmsg\n
macro pager A |viewhtmlmsg\n

This works great.

I'd like to add a macro that does the same thing from the attach page, but
the default is to only pipe out the selected attachment. I'm looking for a
command like the non-existent <save> or <write> that sends the entire
message to stdout regardless of which page you are on. I've tried
<save-message> but it prompts for a location.

Is there another command that does the job or is there a way to instruct
<save-message> to write to stdout? I even tried:

<save-message>/dev/stdout |viewhtmlmsg\n

but this results in a "permission denied" error. Any thoughts?

Re: Mutt internal command to write the entire email message

<js0m09Fi862U1@mid.individual.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=116&group=comp.mail.mutt#116

 copy link   Newsgroups: comp.mail.mutt
Path: i2pn2.org!i2pn.org!aioe.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news-2.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: tav...@gmail.com (Tavis Ormandy)
Newsgroups: comp.mail.mutt
Subject: Re: Mutt internal command to write the entire email message
Date: 28 Oct 2022 00:27:53 GMT
Lines: 39
Message-ID: <js0m09Fi862U1@mid.individual.net>
References: <765e6ddc-cd23-48a2-a278-aa4e2e4a52fen@googlegroups.com>
X-Trace: individual.net gcey6BYqK22M8C4w5vS6FwSCB5XaZGcJH1WIYOiirrlXNp5KB3
Cancel-Lock: sha1:aU0BQeJR0mz8v1+BDb+AqkfhZpE=
User-Agent: slrn/pre1.0.4-5 (Linux)
 by: Tavis Ormandy - Fri, 28 Oct 2022 00:27 UTC

On 2022-10-27, cjsmall wrote:
> Now that I have a Christian Ebert's filter program to display HTML messages
> with their embedded images, I've written a macro to filter these messages
> from the index and pager menus as follows:
>
> macro index A |viewhtmlmsg\n
> macro pager A |viewhtmlmsg\n
>
> This works great.
>
> I'd like to add a macro that does the same thing from the attach page, but
> the default is to only pipe out the selected attachment. I'm looking for a
> command like the non-existent <save> or <write> that sends the entire
> message to stdout regardless of which page you are on. I've tried
><save-message> but it prompts for a location.
>
> Is there another command that does the job or is there a way to instruct
><save-message> to write to stdout? I even tried:
>

Hmm, I guess you have two options, you could do something like this:

macro attach A "<save-message>/tmp/viewmsg<Enter><shell-escape>viewhtmlmsg /tmp/viewmsg<Enter>"

If that's not really what you were hoping for, I think your only option
is to leave the attachment screen:

macro attach A "<exit><pipe-message>viewmsg<Enter>"

Although you could go back when you're done...

macro attach A "<exit><pipe-message>viewmsg<Enter><view-attachments>"

Tavis.

--
_o) $ lynx lock.cmpxchg8b.com
/\\ _o) _o) $ finger taviso@sdf.org
_\_V _( ) _( ) @taviso

Re: Mutt internal command to write the entire email message

<519d4b7d-735e-4808-a01e-988eb934e704n@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=117&group=comp.mail.mutt#117

 copy link   Newsgroups: comp.mail.mutt
X-Received: by 2002:ad4:5c63:0:b0:4bb:9acf:d28e with SMTP id i3-20020ad45c63000000b004bb9acfd28emr735660qvh.0.1666980806741;
Fri, 28 Oct 2022 11:13:26 -0700 (PDT)
X-Received: by 2002:a05:6214:238f:b0:4bb:7bf:770b with SMTP id
fw15-20020a056214238f00b004bb07bf770bmr707235qvb.52.1666980806487; Fri, 28
Oct 2022 11:13:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.mutt
Date: Fri, 28 Oct 2022 11:13:26 -0700 (PDT)
In-Reply-To: <js0m09Fi862U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:600:9100:5ca0:e23f:49ff:fee8:1a31;
posting-account=HkkpOQkAAADsR9HpuB7NpuJa7KNw-XVw
NNTP-Posting-Host: 2601:600:9100:5ca0:e23f:49ff:fee8:1a31
References: <765e6ddc-cd23-48a2-a278-aa4e2e4a52fen@googlegroups.com> <js0m09Fi862U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <519d4b7d-735e-4808-a01e-988eb934e704n@googlegroups.com>
Subject: Re: Mutt internal command to write the entire email message
From: jefferys...@gmail.com (cjsmall)
Injection-Date: Fri, 28 Oct 2022 18:13:26 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2842
 by: cjsmall - Fri, 28 Oct 2022 18:13 UTC

On Thursday, October 27, 2022 at 5:27:55 PM UTC-7, Tavis Ormandy wrote:
> On 2022-10-27, cjsmall wrote:
> > Now that I have a Christian Ebert's filter program to display HTML messages
> > with their embedded images, I've written a macro to filter these messages
> > from the index and pager menus as follows:
> >
> > macro index A |viewhtmlmsg\n
> > macro pager A |viewhtmlmsg\n
> >
> > This works great.
> >
> > I'd like to add a macro that does the same thing from the attach page, but
> > the default is to only pipe out the selected attachment. I'm looking for a
> > command like the non-existent <save> or <write> that sends the entire
> > message to stdout regardless of which page you are on. I've tried
> ><save-message> but it prompts for a location.
> >
> > Is there another command that does the job or is there a way to instruct
> ><save-message> to write to stdout? I even tried:
> >
> Hmm, I guess you have two options, you could do something like this:
>
> macro attach A "<save-message>/tmp/viewmsg<Enter><shell-escape>viewhtmlmsg /tmp/viewmsg<Enter>"
>
> If that's not really what you were hoping for, I think your only option
> is to leave the attachment screen:
>
> macro attach A "<exit><pipe-message>viewmsg<Enter>"
>
> Although you could go back when you're done...
>
> macro attach A "<exit><pipe-message>viewmsg<Enter><view-attachments>"
>
> Tavis.

Two great suggestions Tavis. I like the exit the attach page idea since it
doesn't create a temporary file that needs to be cleaned up.

Thank you for helping me see outside the box! :-)

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor