Article View: news.software.readers
Article #256513Re: [slrn] decode base64 in slrn?
From: Whiskers
Date: Mon, 09 Dec 2013 18:27
Date: Mon, 09 Dec 2013 18:27
38 lines
2803 bytes
2803 bytes
On 2013-12-09, Mike Bailey <mikebailey1984@orwell.com> wrote: > On 2013-12-09, Steve Crook <steve@mixmin.net> wrote: >> On Mon, 9 Dec 2013 11:35:32 +0000 (UTC), Mike Bailey wrote in >> Message-Id: <l849u4$725$1@speranza.aioe.org>: >> >>> Is it possible to decode base64 in slrn? Several newsgroups I'm following >>> on gmane that originate at yahoo groups seem to have switched to base64 and >>> I can't see the text now in slrn. >> >> What editor do you use in slrn? In the case of vim, you can map a >> function key to perform the base64 decode. Edit .vimrc and insert the >> following:- >> >> map <F9> :g/./.!base64 -d<CR> >> > > Hi Steve, > > I use Emacs but I was asking about viewing the article in slrn. Is there a > way to get slrn to pipe the article to the editor without trying to reply or > follow-up in slrn? Emacs does have base64 support but I would like to find > something that works inside slrn itself. > > Thanks, > > Mike Quick and dirty: open a terminal, run base64, copy/paste the text into it, Ctrl-d to encode; or open a terminal, run base64 -d, copy/paste the text into it, Ctrl-d to decode. I expect a shell script could be devised to which you could pipe from within slrn (the slrn pipe command is | of course). An S-Lang script would be better (based on the way slrn handles ROT13 perhaps?). -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Technical Details
Message-ID:
<slrnlac2sm.epf.catwheezel@ID-107770.user.individual.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.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!rt.uk.eu.org!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<l849u4$725$1@speranza.aioe.org> <slrnlabkob.6jn.steve@snorky.mixmin.net> <l84ren$r6i$2@speranza.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnlac2sm.epf.catwheezel@ID-107770.user.individual.net> Subject: Re: [slrn] decode base64 in slrn? Date: Mon, 09 Dec 2013 18:27:34 +0000 From: Whiskers <catwheezel@operamail.com> References: <l849u4$725$1@speranza.aioe.org> <slrnlabkob.6jn.steve@snorky.mixmin.net> <l84ren$r6i$2@speranza.aioe.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!rt.uk.eu.org!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: is an alien concept Lines: 38 X-Trace: individual.net c+Ul5bII3RuslEl2FGAxLQPL+oB7xLAoM9QwZ6WhbO+dW2nbtL X-Orig-Path: ID-107770.user.individual.net!not-for-mail Cancel-Lock: sha1:BqRuRcdSkpVUGNbvrv5tGkeJq+8= X-Face: (8UIp\C%, 7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_ "Pmt)1xC~QW%bU/xrlDuux"; aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00 xYer]; 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@ p& g^8<z5>HA User-Agent: slrn/1.0.1 (Linux) X-Original-Bytes: 2504