🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #234962

Re: [slrn] How can I killfile out of office posts?

#234962
From: Peter J Ross
Date: Mon, 10 Aug 2009 18:35
110 lines
5019 bytes
In news.software.readers on 8 Aug 2009 21:08:45 GMT, Allodoxaphobia
<bit-bucket@config.com> wrote:

> On Tue, 04 Aug 2009 20:21:41 +0100, Peter J Ross wrote:
>> In news.software.readers on 2 Aug 2009 16:43:06 GMT, Allodoxaphobia
>><bit-bucket@config.com> wrote:
>>
>><...>
>>
>>> (A recent slrn update has me in locale hell...)
>>
>> Please elaborate.
>
> Peter,
> 	I'm sorry to take this long with my reply.
>
> OK, so maybe "locale hell" was a bit of a hyperbole.
>
> The system is FreeBSD and I have no admin permissions. 
> A couple of weeks ago the Sysadmin informed me that he would be
> installing a lot of updated ports on the system -- _not_ upgrading
> the FreeBSD version (6.2). `slrn` was one of the updated ports.
>
> Pretty much everthing went well.  But, after the dust finally
> settled, I had an 'aggravation' in slrn.
>
> The "IBM Graphic Characters" used in the article window tree view
> were whacked.  They were now displaying as accented 'foreign'
> characters (that, perhaps, the graphic chars lined up with in the
> upper ASCII table. But, I did not attempt to determine that.)
> Too, some of the truly accented characters in headers that
> previously would have displayed properly were now displaying
> incorrectly -- even as double garbage chars, IIRC.
>
> Here's the new `slrn`.
>
>   slrn 0.9.9p1
>   S-Lang Library Version: 2.1.4
>   Compiled at: Jul 13 2009 15:06:45
>   Operating System: FreeBSD
>
>   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.
>
> (I couldn't remember what the old slrn was until I went back and
> looked at an old posting of mine: User-Agent: slrn/0.9.8.1 (FreeBSD) )
>
> In my _old_ .profile
>
>        |export   LANG=en_US.UTF-8
>        |export LC_ALL=en_US.UTF-8
>
> In my _old_ .login_conf
>
>        |#me:\
>        |#       :charset=iso-8859-1:\
>        |#       :lang=de_DE.ISO8859-1:
>
>         ... yes: Commented out. I'd never messed with this before.
>
> After some Googling -- v-a-v FreeBSD and "LANG" problems,
> I changed .profile and .login_conf as follows:
>
> Changed .profile to:
>
>        |export LANG="en_US"
>        |export LC_ALL="en_US"
>
> Changed .login_conf to:
>
>        |me:\
>        |       :charset=iso-8859-1:\
>        |       :lang=en_US.ISO8859-1:\
>        |       :tc=default:
>
> ... and the "IBM character Graphics" in the article navigation
> window were once again 'OK'.
>
> I just did a test, and changing (just) the  .profile GLOBALs back 
> to UTF-8 whacks the article navigation "graphics" once more.
>
> Anyway, that's my story and I'm sticking to it.

There's a detailed discussion of your kind of difficulty with the
"tree" here:
<http://slrn.sourceforge.net/docs/slrn-FAQ-2.html#ss2.6>

Basically, set simulate_graphic_chars 1 in your slrnrc often works.
But this is a clumsy, obsolescent workaround for an underlying
problem, which is that your slrn was set to use UTF-8 on a system that
seems not to support it.

If the UTF-8 locale isn't available, slrn can't use it. You need to
persuade your sysadmin to pay a visit to the 21st Century.

I've used UTF-8-aware versions of slrn on FreeBSD 6.2 in the past
without the kind of problems you describe, but being my own sysadmin
helped.

-- 
PJR :-)
slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Technical Details
Message-ID: <slrnh80q38.4nd.pjr@pjr.gotdns.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!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!post01.iad!news.shared-secrets.com!not-for-mail
References: <slrnh6tfis.9pj.how2killfile@invalid.com> <Xns9C56CC7FB8331emteedee@188.40.43.213> <slrnh6tkq4.cmp.how2killfile@invalid.com> <Xns9C57F85D6876emteedee@188.40.43.213> <slrnh6vush.4pt.how2killfile@invalid.com> <Xns9C5810E96BC90emteedee@85.214.113.135> <nulek6xcse.ln2@news.ducksburg.com> <slrnh7bggq.gk4.bit-bucket@shell.config.com> <slrnh7h2i5.e7m.pjr@pjr.gotdns.org> <slrnh7rqat.pqa.bit-bucket@shell.config.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnh80q38.4nd.pjr@pjr.gotdns.org>
Subject: Re: [slrn] How can I killfile out of office posts?
Date: Mon, 10 Aug 2009 19:35:20 +0100
From: Peter J Ross <pjr@example.invalid>
References: <slrnh6tfis.9pj.how2killfile@invalid.com> <Xns9C56CC7FB8331emteedee@188.40.43.213> <slrnh6tkq4.cmp.how2killfile@invalid.com> <Xns9C57F85D6876emteedee@188.40.43.213> <slrnh6vush.4pt.how2killfile@invalid.com> <Xns9C5810E96BC90emteedee@85.214.113.135> <nulek6xcse.ln2@news.ducksburg.com> <slrnh7bggq.gk4.bit-bucket@shell.config.com> <slrnh7h2i5.e7m.pjr@pjr.gotdns.org> <slrnh7rqat.pqa.bit-bucket@shell.config.com>
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!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!post01.iad!news.shared-secrets.com!not-for-mail
Newsgroups: news.software.readers
Organization: none
Reply-To: Peter J Ross <peadar.ruadh@gmail.com>
User-Agent: slrn/pre1.0.0-11 (Linux)
Lines: 109
X-Complaints-To: abuse@shared-secrets.com