🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #8154

Re: [nn] pgp support (Re: Saving an article in a macro)

#8154
From: John Henders
Date: Sat, 09 Nov 1996 00:00
61 lines
1994 bytes
In <55u190$r4s@server05.icaen.uiowa.edu> mtpins@icaen.uiowa.edu (Michael T Pins) writes:

>guckes@somerville.math.fu-berlin.de (Sven Guckes) writes:

>>Incidentally - what are the plans for PGP support for NN? (paging Mr Pins)

>The plans are: eventually.
>Likely not in 6.6, which means not until 7.0.

How's this for now. Diffs against aux to add a pgp sign option to the
posting menu.








*** aux	Wed Jun 26 16:20:32 1996
--- /home/jhenders/aux.pgp	Fri Aug 16 07:05:56 1996
***************
*** 152,159 ****
--- 166,174 ----
  ?*)
    pr="$pr i)spell"
    ;;
  esac
+ pr="$pr S)ign"
  pr="$pr m)ail"
  case "$OPERATION" in
  post|follow)
    pr="$pr p)ost"

***************
*** 344,351 ****
--- 359,374 ----
        ;;
      esac
      ;;
  
+   S*)
+     sed -e '/^$/q' < $WORK > $WORK.HDRS
+     awk '{if (S== 1)  print $0; if ($0 == "")  S=1}' < $WORK > $WORK.BDY
+     pgp -stfaw < $WORK.BDY > $WORK.SGN
+     cat $WORK.HDRS $WORK.SGN > $WORK
+     rm -f $WORK.*
+     ;;
+ 
    h*)
      $AWK 'END{printf "Complete response later: (y) "}' < /dev/null
      read act
      case "$act" in
-- 
      Artificial Intelligence stands no chance against Natural Stupidity.
                GAT d- -p+(--) c++++ l++ u++ t- m--- W--- !v
                     b+++ e* s-/+ n-(?) h++ f+g+ w+++ y*


Technical Details
Message-ID: <5634s0$498@stdismas.bogon.com>
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
References: <55qufb$ggi@yuggoth.ucsb.edu> <slrn583pkj.rij.guckes@somerville.math.fu-berlin.de> <55u190$r4s@server05.icaen.uiowa.edu>

Show Full Headers
Complete Article Headers
Message-ID: <5634s0$498@stdismas.bogon.com>
Subject: Re: [nn] pgp support (Re: Saving an article in a macro)
Date: Sat, 09 Nov 1996 00:00:00 +0000
From: jhenders@bogon.com (John Henders)
References: <55qufb$ggi@yuggoth.ucsb.edu> <slrn583pkj.rij.guckes@somerville.math.fu-berlin.de> <55u190$r4s@server05.icaen.uiowa.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: 195570103
Organization: Bogon Research
Newsgroups: news.software.nn