Article View: news.software.readers
Article #56170Re: slrn: how to view image
From: Peter Steiner
Date: Fri, 31 Dec 1999 00:00
Date: Fri, 31 Dec 1999 00:00
31 lines
1665 bytes
1665 bytes
John E. Davis <davis@space.mit.edu> wrote:
>I would like to eliminate the shell script altogether and simply use
>something like:
>
> pipe_article ("uudecode --stdout $1 | xv - &");
>
>but I was unsuccessful.
I tried:
define xv_view_article ()
{
call ("art_bob");
if (re_search_article ("^begin \\d+ "))
pipe_article ("uudecode2 --stdout | xv - &");
else
pipe_article ("uudecode2 --stdout -64 | xv - &");
}
and it seems to work.
Peter
--
_ x ___ p.steiner@t-online.de (Peter Steiner)
/ \_/_\_ /,--' Linux User #55148 (http://counter.li.org/)
\/>'~~~~//
\_____/ perl -e'while(<>){s/=\n//g;s/=([\dA-F]{2})/chr(hex($1))/eg;print;}'
Technical Details
Message-ID:
<slrng8500.5ef.peter@p.steiner.dialin.t-online.de>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-mailReferences:
<slrn86cssg.p7f.k.w.wibowo@isnet-2.isnet.org> <slrn86l224.ik.davis@aluche.mit.edu>Show Full Headers
Complete Article Headers
Message-ID: <slrng8500.5ef.peter@p.steiner.dialin.t-online.de> Subject: Re: slrn: how to view image Date: Fri, 31 Dec 1999 00:00:00 +0000 From: p.steiner@t-online.de (Peter Steiner) References: <slrn86cssg.p7f.k.w.wibowo@isnet-2.isnet.org> <slrn86l224.ik.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!not-for-mail X-Deja-AN: 566685578 Content-Transfer-Encoding: 8bit X-Powered-by: Linux 2.3.34 X-Sender: 0610462662-0002@t-dialin.net Content-Type: text/plain; charset=ISO-8859-1 X-Complaints-To: abuse@t-online.de X-Trace: news02.btx.dtag.de 946597312 31013 0610462662-0002 991230 23:41:52 Organization: private (powered by Linux) User-Agent: slrn/0.9.6.0 (Linux) Mime-Version: 1.0 Newsgroups: news.software.readers