🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #113961

Re: slrn bug

#113961
From: Sylvan Butler
Date: Thu, 07 Nov 2002 21:25
36 lines
2935 bytes
On Wed, 6 Nov 2002 21:42:21 +0000 (UTC), Thomas Schultz <tststs@gmx.de> wrote:
> If you tell slrn not to do MIME decoding when saving / piping (which
> is the default with use_mime set to 5), it should use the original
> character set.

Yup, and supposedly since I have no use_mime setting, '5' it is.

> However, I just looked at the code and found that it tries to do so by
> reversing the character mapping, which is not possible (without

Ugh.  Sounds like a problem.

> implement this in future releases, possibly by keeping both the
> original and the modified article in memory.

How expensive is the mapping from original to 'display' version?  It
might be better to only keep the modified in memory while it is
being viewed.  Or maybe keep an exception list of characters found
during mapping which have no reverse mapping -- perhaps by
associating offset and original value -- which could be applied to
convert the modified bytes back to the original.

Specifically, I am concerned about keep two copies of a potentially
rather large article in memory (eg if the user stumbles onto a 1MB
yenc post).

sdb
-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   >>>> change ^ to @ <<<< |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
          Stop Senator Fritz Hollings-S2048, Palladium, and TCPA, NOW!
      http://www.freedom-to-tinker.com/archives/cat_fritzs_hit_list.html
           Or else like Fritz, fight piracy -- regulate potty chairs!
Technical Details
Message-ID: <slrnaslmj0.hf8.Znospam+noZs_0211@hpb13799Z.Zboi.hpZ.com.invalid>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!hpb10302.boi.hp.com!localhost!nobody
References: <slrnaqsisk.tkd.notMe@suncity.newport.attbi.com> <slrnaqtftp.qti.jewa@message-id.wahnes-world.de> <slrnaru677.1h8.Znospam+noZs_0210@hpb13799Z.Zboi.hpZ.com.invalid> <slrnas4816.b9u.no_spam_here@middle.of.nowhere> <slrnase1t5.sv8.Znospam+noZs_0211@hpb13799Z.Zboi.hpZ.com.invalid> <slrnasff5a.6e5.jewa@message-id.wahnes-world.de> <slrnasj35t.88b.tststs@moonlight.tststs.ddns.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnaslmj0.hf8.Znospam+noZs_0211@hpb13799Z.Zboi.hpZ.com.invalid>
Subject: Re: slrn bug
Date: Thu, 7 Nov 2002 14:25:59 -0700
From: Sylvan Butler <Znospam+noZs_0211@hpb13799Z.Zboi.hpZ.com.invalid>
References: <slrnaqsisk.tkd.notMe@suncity.newport.attbi.com> <slrnaqtftp.qti.jewa@message-id.wahnes-world.de> <slrnaru677.1h8.Znospam+noZs_0210@hpb13799Z.Zboi.hpZ.com.invalid> <slrnas4816.b9u.no_spam_here@middle.of.nowhere> <slrnase1t5.sv8.Znospam+noZs_0211@hpb13799Z.Zboi.hpZ.com.invalid> <slrnasff5a.6e5.jewa@message-id.wahnes-world.de> <slrnasj35t.88b.tststs@moonlight.tststs.ddns.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!hpb10302.boi.hp.com!localhost!nobody
Newsgroups: news.software.readers
Organization: Hewlett-Packard
Mail-Copies-To: never
User-Agent: slrn/0.9.7.4 (Linux)
NNTP-Posting-Host: 15.62.64.216
X-Trace: hpb10302.boi.hp.com 1036704613 15.62.64.216 (7 Nov 2002 14:30:13 -0700)
Lines: 35
X-Original-NNTP-Posting-Host: 127.0.0.1