Article View: news.software.nn
Article #8141Saving an article in a macro
From: Graham Hughes
Date: Wed, 06 Nov 1996 00:00
Date: Wed, 06 Nov 1996 00:00
50 lines
2328 bytes
2328 bytes
-----BEGIN PGP SIGNED MESSAGE----- Here's the idea: I'm in comp.os.linux.announce, and I see a PGP signed message. I want to check the signature, but nn doesn't allow me to pipe the message body through another command, and since I'm reading over NNTP, $A doesn't exist. So I try to save the article out to a temporary file, run pgp on that, and delete the temporary file afterwards. My current macro looks like this: map show ^x ( :save-body /tmp/nn.article-graham :!pgp /tmp/nn.article-graham :!rm /tmp/nn.article-graham ) This is unsatisfactory on a couple of points. First; the temporary file could easily get nuked if I start nn twice, which has been known to happen. Second, it simply doesn't work. Basically, I'm trying to write Mailcrypt for nn :). Anybody know what I could do to get this to work, or where I can find some existing documentation on this sort of thing? I'd like to do the same thing with metamail. I can't use NN-TK and exmh for this because I can't always rely on having an X terminal. - -- Graham Hughes (graham.hughes@resnet.ucsb.edu) http://A-abe.resnet.ucsb.edu/~graham/ for HTML ``Unix is many things to many people, but | finger graham@A-abe.resnet it's never been everything to anybody.'' | for PGP key -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBMoD9tyqNPSINiVE5AQEdNgP+LZk7wl3EYjrkTYrDuxxoyDSm6nSKAsjT J3SaCdJcg2EGPyAt2pz8diYkdu+EkK7aNkFt2VAKqxhAYnAhmzyo+NArRc91uANI Iq566Xf9JXmrFEMbNwJ7AiBdD+BbAg2Z5LSDdonZfG5X+7Bo/nsxfbeEjL32rLfY 9GPeH7GeeOE= =jm4e -----END PGP SIGNATURE----- -- Graham Hughes (graham.hughes@resnet.ucsb.edu) http://A-abe.resnet.ucsb.edu/~graham/ for HTML ``Unix is many things to many people, but | finger graham@A-abe.resnet it's never been everything to anybody.'' | for PGP key
Technical Details
Message-ID:
<55qufb$ggi@yuggoth.ucsb.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <55qufb$ggi@yuggoth.ucsb.edu> Subject: Saving an article in a macro Date: Wed, 06 Nov 1996 00:00:00 +0000 From: Graham Hughes <graham.hughes@resnet.ucsb.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail X-Deja-AN: 194939511 Organization: University of California, Santa Barbara Newsgroups: news.software.nn