🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Naota Hashimoto Thu, 15 Apr 2004 04:12
[slrn] displaying images
#146342
Author: Naota Hashimoto
Date: Thu, 15 Apr 2004 04:12
39 lines
2194 bytes
Alright, I've googled the groups and found a bit of info
about a macro to display images with 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");

The shell script that goes with it, uuxv is what I call it:

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

I can't get any of this working; the reason's probably because
of the uudecode in the script.  Everyone's script I look at
renames slrn's uudecode to something else, ensuring that it does
not get in the way of the already standing uudecode command
on most linux boxes (from what the documentation says).  Locate
cannot find another uudecode.  Someone told me they had to recompile
slrn in order to rename the slrn uudecode.  How do I do that?

When I try this with a non-multipart binary image, it bitches about
--stdout being an invalid option.

Also, since everything I read was from 2003 and before, have we come
up with a way to display multipart binary images with xv :) ?

Any help is appreciated.

Naota Hashimoto

-- 
naSota@tPampabay.rAr.cMom - > (remove 'S P A M')
Re: [slrn] displaying images
#146402
Author: Naota Hashimoto
Date: Thu, 15 Apr 2004 21:49
41 lines
2363 bytes
On 2004-04-15, Naota Hashimoto <see@the.signature> wrote:
> Alright, I've googled the groups and found a bit of info
> about a macro to display images with 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");
>
> The shell script that goes with it, uuxv is what I call it:
>
> (uudecode --stdout $1 | xv - &) <&0
>
> I can't get any of this working; the reason's probably because
> of the uudecode in the script.  Everyone's script I look at
> renames slrn's uudecode to something else, ensuring that it does
> not get in the way of the already standing uudecode command
> on most linux boxes (from what the documentation says).

Turns out I had to build slrn's uudecode: make uudecode is what I ran in
src/.  (/home/anithen/gzs/slrn/src/uudecode --stdout $1 | xv - &) <&0 is how
I adjusted the script.  It works fine with non-multipart images :)

> Also, since everything I read was from 2003 and before, have we come
> up with a way to display multipart binary images with xv :) ?
>
> Any help is appreciated.
>
> Naota Hashimoto
>


-- 
naSota@tPampabay.rAr.cMom - > (remove 'S P A M')
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads