🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #82987

Re: [slrn] How do I get slrn to check PGP signatures ?

#82987
From: John E. Davis
Date: Wed, 15 Aug 2001 22:57
26 lines
1831 bytes
On 10 Aug 2001 18:45:37 GMT, Jurriaan (note: this is a working address!) <no_spam_here@rivierenland.xs4all.nl>
wrote:
>            () = system ("cat /home/jurriaan/News/hdr_xface | view-x-face > /home/jurriaan/News/rslt_xface");
>            face = "";
>            xfce_fp = fopen("/home/jurriaan/News/rslt_xface", "r");
>            if (xfce_fp == NULL)
>              return;
>            while (fgets(&line, xfce_fp) != -1)
>            {
>               face = strcat(face, line);
>            }
>            () = fclose(xfce_fp);
>            popup_window("X-Face:", face);

You might be able to recode this as:

#v+
   xfce_fp = popen ("cat /home/jurriaan/News/hdr_xface | view-x-face", "r");
   if (xfce_fp == NULL)
     return;
   popup_window ("X-Face:", strjoin (fgetslines (xfce_fp), ""));
   () = pclose (xfce_fp);
#v-

--John
Technical Details
Message-ID: <slrn9nlvi4.vb2.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail
References: <9kklf9$2cqf$1@news.tht.net> <slrn9mrooa.cq.alex@whizzo.wasmuth.org> <9kvf2g$1fl2$1@news.tht.net> <slrn9n8a5r.98u.no_spam_here@middle.of.nowhere>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9nlvi4.vb2.davis@aluche.mit.edu>
Subject: Re: [slrn] How do I get slrn to check PGP signatures ?
Date: Wed, 15 Aug 2001 22:57:12 +0000
From: davis@space.mit.edu (John E. Davis)
References: <9kklf9$2cqf$1@news.tht.net> <slrn9mrooa.cq.alex@whizzo.wasmuth.org> <9kvf2g$1fl2$1@news.tht.net> <slrn9n8a5r.98u.no_spam_here@middle.of.nowhere>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail
Newsgroups: news.software.readers
Organization: Center for Space Research
Reply-To: davis@space.mit.edu
User-Agent: slrn/0.9.6.4 (Linux)
Lines: 25
NNTP-Posting-Host: ALUCHE.MIT.EDU
X-Trace: 997916232 senator-bedfellow.mit.edu 1917 18.75.2.45