🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
20 messages
20 total messages Started by Mike Bailey Mon, 09 Dec 2013 11:35
[slrn] decode base64 in slrn?
#256511
Author: Mike Bailey
Date: Mon, 09 Dec 2013 11:35
9 lines
1062 bytes
Howdy gents,

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.

Thanks,

Mike
Re: [slrn] decode base64 in slrn?
#256504
Author: Sandman
Date: Mon, 09 Dec 2013 12:28
20 lines
1569 bytes
In article <l849u4$725$1@speranza.aioe.org>, Mike Bailey wrote:

> Howdy gents,

> 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.

> Thanks,

> Mike

I don't know if you can decode articles on the fly for reading, but the 
decode command (default key ":") decodes UU and base64, but you have to 
specify directory where the files should be saved, so I don't think that 
helps if the text is encoded as well. 


-- 
Sandman[.net]
Re: [slrn] decode base64 in slrn?
#256505
Author: Whiskers
Date: Mon, 09 Dec 2013 12:59
29 lines
2400 bytes
On 2013-12-09, Sandman <mr@sandman.net> wrote:
> In article <l849u4$725$1@speranza.aioe.org>, Mike Bailey wrote:
>
>> Howdy gents,
>
>> 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.
>
>> Thanks,
>
>> Mike
>
> I don't know if you can decode articles on the fly for reading, but the 
> decode command (default key ":") decodes UU and base64, but you have to 
> specify directory where the files should be saved, so I don't think that 
> helps if the text is encoded as well. 

It's a long time since I had to cope with a message in base64, but as
far as I can remember slrn will decode whatever part of the article
isn't in plain text and save that as a file in the ~/News/Decoded or
~/News/Saved directory or wherever else you specify in your ~/.slrnrc

Assuming that your slrn hasn't been compiled with decoding disabled.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn] decode base64 in slrn?
#256506
Author: Steve Crook
Date: Mon, 09 Dec 2013 14:26
17 lines
1424 bytes
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>

-- 
What shall we use 
To fill the empty spaces 
Where we used to talk?
Re: [slrn] decode base64 in slrn?
#256507
Author: Mike Bailey
Date: Mon, 09 Dec 2013 16:32
32 lines
2361 bytes
On 2013-12-09, Whiskers <catwheezel@operamail.com> wrote:
> On 2013-12-09, Sandman <mr@sandman.net> wrote:
>> In article <l849u4$725$1@speranza.aioe.org>, Mike Bailey wrote:
>>
>>> Howdy gents,
>>
>>> 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.
>>
>>> Thanks,
>>
>>> Mike
>>
>> I don't know if you can decode articles on the fly for reading, but the 
>> decode command (default key ":") decodes UU and base64, but you have to 
>> specify directory where the files should be saved, so I don't think that 
>> helps if the text is encoded as well. 
>
> It's a long time since I had to cope with a message in base64, but as
> far as I can remember slrn will decode whatever part of the article
> isn't in plain text and save that as a file in the ~/News/Decoded or
> ~/News/Saved directory or wherever else you specify in your ~/.slrnrc
>
> Assuming that your slrn hasn't been compiled with decoding disabled.
>

Thanks Sandman and Andrew. The : works ok. It saves the fully decoded
article. I would prefer to actually view it in slrn instead of having to go
to the directory where it gets saved but it's better than nothing.

Mike
Re: [slrn] decode base64 in slrn?
#256509
Author: Mike Bailey
Date: Mon, 09 Dec 2013 16:34
25 lines
1665 bytes
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
Re: [slrn] decode base64 in slrn?
#256508
Author: Steve Crook
Date: Mon, 09 Dec 2013 17:27
35 lines
2416 bytes
On Mon, 9 Dec 2013 16:34:31 +0000 (UTC), Mike Bailey wrote in
Message-Id: <l84ren$r6i$2@speranza.aioe.org>:

> 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.

Hi Mike,

Sorry but I don't have a solution for within slrn itself.  As you say,
my answer would require you doing a reply or follow-up in order to get
the article into the editor.

-- 
What shall we use 
To fill the empty spaces 
Where we used to talk?
--
#256510
Author: Jeff-Relf.Me
Date: Mon, 09 Dec 2013 17:56
7 lines
1362 bytes
slrn's maintainer, John E. Davis is hardly ever here.

If I were you, Mike⋅Bailey, I'd try to email him directly.

Also, Mozilla Thunderbird might be better for those Yahoo posts.

Please give us a Message-ID, so we can see a Yahoo post.
Re: [slrn] decode base64 in slrn?
#256513
Author: Whiskers
Date: Mon, 09 Dec 2013 18:27
38 lines
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 
-- ~~~~~~~~~~
Re: [slrn] decode base64 in slrn?
#256512
Author: Thomas Wiegner
Date: Mon, 09 Dec 2013 19:03
19 lines
1574 bytes
On Mon, 09 Dec 2013, Mike Bailey <mikebaily1984@orwell.com> wrote:
> 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.

Could you point to a message ID? slrn should not have a problem with 
base64 encoded text.

Just created a post in de.test:
<slrnlac48b.asd.wiegner@wiegner.user.individual.de>

My slrn displays it fine.

Cheers,

 Thomas

-- 
[X] Nail here for new Monitor
--
#256514
Author: Jeff-Relf.Me
Date: Mon, 09 Dec 2013 20:22
8 lines
1319 bytes
Thomas⋅Wiegner,

Re: <slrnlac48b.asd.wiegner@wiegner.user.individual.de>

You posted:  Content-Type: text/plain; charset=utf8

The "utf8" should've been "UTF-8", no ?
Was that a typo, or did slrn make the mistake ?
Re: [slrn] decode base64 in slrn? 
#256515
Author: Lewis
Date: Mon, 09 Dec 2013 20:36
16 lines
2139 bytes
In message <Jeff-Relf.Me@Dec.9{12.22.Seattle.2013}> 
  Jeff-Relf.Me <> wrote:
> Thomas⋅Wiegner,

> Re: <slrnlac48b.asd.wiegner@wiegner.user.individual.de>

> You posted:  Content-Type: text/plain; charset=utf8

> The "utf8" should've been "UTF-8", no ?

No.

utf8 is equivalent to utf-8 and charsets labels are not case sensitive.

-- 
What beep from yonder speaker sounds?
Re: [slrn] decode base64 in slrn?
#256516
Author: Whiskers
Date: Mon, 09 Dec 2013 20:59
24 lines
2076 bytes
On 2013-12-09, Thomas Wiegner <wiegner@gmx.de> wrote:
> On Mon, 09 Dec 2013, Mike Bailey <mikebaily1984@orwell.com> wrote:
>> 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.
>
> Could you point to a message ID? slrn should not have a problem with 
> base64 encoded text.
>
> Just created a post in de.test:
> <slrnlac48b.asd.wiegner@wiegner.user.individual.de>
>
> My slrn displays it fine.
>
> Cheers,
>
>  Thomas

So does mine.  Interesting; I'm sure it used not to.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
--
#256556
Author: Jeff-Relf.Me
Date: Mon, 09 Dec 2013 21:26
16 lines
1541 bytes
@Lewis,  You told me:
> utf8 is equivalent to utf-8

What makes you say that ?

According to this, "utf8" is -not- valid:

  http://www.iana.org/assignments/character-sets/character-sets.xhtml
  http://tools.ietf.org/html/rfc3629#page-10

Preferred MIME Name:  N/A
Name: UTF-8 
MIBenum: 106
Source: RFC3629
Reference RFC3629
Aliases: csUTF8 
Re: [slrn] decode base64 in slrn?
#256518
Author: Allodoxaphobia
Date: Tue, 10 Dec 2013 15:37
11 lines
1507 bytes
On Mon, 9 Dec 2013 17:27:24 +0000 (UTC), Steve Crook wrote:
>
> Sorry but I don't have a solution for within slrn itself.  As you say,
> my answer would require you doing a reply or follow-up in order to get
> the article into the editor.

Or do what I do.  heh...  Life is too short.
When I come across a base64 body, I move on.
I can probably read it later in a forthcoming followup.  :-)

Jonesy
Re: [slrn] decode base64 in slrn?
#256519
Author: Mike Yetto
Date: Tue, 10 Dec 2013 16:57
21 lines
2449 bytes
In a world where Allodoxaphobia <knock_yourself_out@example.net>
posts to Usenet...
> On Mon, 9 Dec 2013 17:27:24 +0000 (UTC), Steve Crook wrote:
>>
>> Sorry but I don't have a solution for within slrn itself.  As you say,
>> my answer would require you doing a reply or follow-up in order to get
>> the article into the editor.

> Or do what I do.  heh...  Life is too short.
> When I come across a base64 body, I move on.
> I can probably read it later in a forthcoming followup.  :-)

So what you're saying is that the burden of being readable is
with the writer.

Mike "works for me" Yetto
-- 
"Skepticism is not a position; skepticism is an approach to
claims, in the same way that science is not a subject but a
method."
 - Michael Shermer
Re: [slrn] decode base64 in slrn?
#256523
Author: Mike Bailey
Date: Tue, 10 Dec 2013 19:12
8 lines
1163 bytes
On 2013-12-09, Whiskers <catwheezel@operamail.com> wrote:

> is | of course).  An S-Lang script would be better (based on the way
> slrn handles ROT13 perhaps?).

That's an idea. I will try and check if rot13 is actually a script or it's
in the C code of slrn.
Re: [slrn] decode base64 in slrn?
#256520
Author: Mike Bailey
Date: Tue, 10 Dec 2013 19:16
40 lines
2318 bytes
On 2013-12-09, Thomas Wiegner <wiegner@gmx.de> wrote:
> On Mon, 09 Dec 2013, Mike Bailey <mikebaily1984@orwell.com> wrote:
>> 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.
>
> Could you point to a message ID? slrn should not have a problem with 
> base64 encoded text.

Message-ID: <l6tk7b+rrmf5n@YahooGroups.com>
Archived-At: <http://permalink.gmane.org/gmane.comp.programming.extreme-programming/113353>

> My slrn displays it fine.

That's odd. Most of the yahoo groups archived by gmane seem to be base64 and
I can't read any of them in slrn anymore.

$ slrn --version
slrn pre1.0.2-8
	* Note: This version is a developer preview.
S-Lang Library Version: 2.2.3
Compiled on: May 23 2013 12:36:40
Operating System: Linux

COMPILE TIME OPTIONS:
 Backends: +nntp -slrnpull +spool
 External programs / libs: -canlock -inews +ssl -uudeview +iconv
 Features: +decoding +emphasized_text +end_of_thread +fake_refs -gen_msgid
    -grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
 Using 64 bit integers for article numbers.

DEFAULTS:
 Default server object:     nntp
 Default posting mechanism: nntp

$

Thanks,

Mike
Re: [slrn] decode base64 in slrn?
#256521
Author: Thomas Wiegner
Date: Wed, 11 Dec 2013 15:51
51 lines
2762 bytes
On Tue, 10 Dec 2013, Mike Bailey <mikebailey1984@orwell.com> wrote:
> On 2013-12-09, Thomas Wiegner <wiegner@gmx.de> wrote:

>> Could you point to a message ID? slrn should not have a problem with 
>> base64 encoded text.
>
> Message-ID: <l6tk7b+rrmf5n@YahooGroups.com>
> Xref: news.gmane.org gmane.comp.programming.extreme-programming:113353
> Archived-At: <http://permalink.gmane.org/gmane.comp.programming.extreme-programming/113353>
>
>> My slrn displays it fine.

> That's odd. Most of the yahoo groups archived by gmane seem to be base64 and
> I can't read any of them in slrn anymore.

Your problem is not the base64 encoding, your problem is the
multipart/mine posting.

> $ slrn --version
> slrn pre1.0.2-8
> 	* Note: This version is a developer preview.
> S-Lang Library Version: 2.2.3
> Compiled on: May 23 2013 12:36:40
> Operating System: Linux
>
> COMPILE TIME OPTIONS:
>  Backends: +nntp -slrnpull +spool
>  External programs / libs: -canlock -inews +ssl -uudeview +iconv
>  Features: +decoding +emphasized_text +end_of_thread +fake_refs -gen_msgid
>     -grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
>  Using 64 bit integers for article numbers.
>
> DEFAULTS:
>  Default server object:     nntp
>  Default posting mechanism: nntp

Your slrn is new enough to handle multipart mime correctly. You'll have
to add "interpret mime.sl" to you slrn.rc.

Not sure if your slang version is recent enough. See:
http://newsgroups.derkeiler.com/Archive/Misc/news.software.readers/2012-05/msg00115.html

With 2.2.2 it is not working, with 2.2.4 it works. 

Cheers,

 Thomas


-- 
[X] Nail here for new Monitor
Re: [slrn] decode base64 in slrn?
#256526
Author: Mike Bailey
Date: Wed, 11 Dec 2013 18:48
9 lines
1213 bytes
On 2013-12-11, Thomas Wiegner <wiegner@gmx.de> wrote:

> Your slrn is new enough to handle multipart mime correctly. You'll have
> to add "interpret mime.sl" to you slrn.rc.

It works! Thanks so much!

Mike
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