🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #51083

Re: are there any X slrn?

#51083
From: John E. Davis
Date: Thu, 26 Aug 1999 00:00
38 lines
1752 bytes
On 17 Aug 1999 09:52:10 PDT, Yee Man Chan <ymc@venus.enjoyweb>
wrote:
>Are there any X slrn for linux? I want to use a software
>that has slrn inteface but also can display images! Any clue?

You can easily view images with slrn when it is running in an xterm.
The method involves a macro that calls the uudecode program shipped
with slrn and then starts `xv':

define xv_view_article () 
{
   call ("art_bob");
   
   if (re_search_article ("^begin \\d+ "))
     pipe_article ("uuxv");
   else
     pipe_article ("uuxv -64");
}		   

definekey ("xv_view_article", "v", "article");

Here, uuxv is a shell script that calls the uudecode program shipped
with slrn:

  (slrn-uudecode --stdout $1 | xv - &) <&0

To create slrn-uudecode, do:

    cd slrn/src
    make uudecode
    mv uudecode slrn-uudecode

The macro along with the shell script and slrn-uudecode will allow you
to view a uuencoded or base64 encoded image via the `v' key.

--John

Technical Details
Message-ID: <slrn7s84vr.5cp.davis@mygir.davis.net>
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!not-for-mail
References: <slrn7riq79.76f.ymc@venus.enjoyweb>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7s84vr.5cp.davis@mygir.davis.net>
Subject: Re: are there any X slrn?
Date: Thu, 26 Aug 1999 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <slrn7riq79.76f.ymc@venus.enjoyweb>
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!not-for-mail
X-Deja-AN: 517380941
X-Complaints-To: usenet@eecs-usenet-02.mit.edu
X-Trace: eecs-usenet-02.mit.edu 935661065 15109 18.75.2.45 (26 Aug 1999 09:51:05 GMT)
Organization: Center for Space Research
User-Agent: slrn/0.9.5.7 (UNIX)
NNTP-Posting-Date: 26 Aug 1999 09:51:05 GMT
Newsgroups: news.software.readers