🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Aaron Denney Fri, 07 Mar 2003 01:15
[slrn] charset handling
#121392
Author: Aaron Denney
Date: Fri, 07 Mar 2003 01:15
13 lines
1471 bytes
So, I have a UTF-8 terminal, and would like to be able to read UTF-8
posts.  Unfortunately, slrn seems to filter out characters in the
decimal range 128-159 (the CSI characters from VT control codes).
This normally makes sense because the normal 8-bit character sets don't
use them, and on many terminals they have the effect of control
characters.  Is there any way I can disable this behaviour, short
of modifying the source?  Or should I modify the source and wait for
real character set support to make it in?

-- 
Aaron Denney
-><-
Re: [slrn] charset handling
#121610
Author: Aaron Denney
Date: Mon, 10 Mar 2003 06:58
17 lines
1601 bytes
In article <slrnb6fslf.8j0.wnoise@ofb.net>, Aaron Denney wrote:
> So, I have a UTF-8 terminal, and would like to be able to read UTF-8
> posts.  Unfortunately, slrn seems to filter out characters in the
> decimal range 128-159 (the CSI characters from VT control codes).
> This normally makes sense because the normal 8-bit character sets don't
> use them, and on many terminals they have the effect of control
> characters.  Is there any way I can disable this behaviour, short
> of modifying the source?  Or should I modify the source and wait for
> real character set support to make it in?

Oops, thinko:
Where I said "CSI", please read "C1".

-- 
Aaron Denney
-><-
Re: [slrn] charset handling
#121612
Author: J.B. Nicholson-Owens
Date: Mon, 10 Mar 2003 07:42
12 lines
1573 bytes
Aaron Denney wrote:
> Is there any way I can disable this behaviour [filtering out characters
> in the decimal range 128-159 -- the CS1 characters from VT control codes],
> short of modifying the source?  Or should I modify the source and wait for
> real character set support to make it in?

Skimming the slrn documentation I don't find any setting that would let you
disable the filtering you describe.  So, I think you'll have to modify the
slrn source code.  I'm guessing support for UTF-8 will make it in S-Lang 2.x
and then appear in slrn (see <slrnb69tfc.hu8.davis@aluche.mit.edu> for
more).
Re: [slrn] charset handling
#121630
Author: John E. Davis
Date: Mon, 10 Mar 2003 16:13
13 lines
1404 bytes
On 10 Mar 2003 07:42:21 GMT, J.B. Nicholson-Owens <jbn@forestfield.org>
wrote:
>Skimming the slrn documentation I don't find any setting that would let you
>disable the filtering you describe.  So, I think you'll have to modify the
>slrn source code.  I'm guessing support for UTF-8 will make it in S-Lang 2.x
>and then appear in slrn (see <slrnb69tfc.hu8.davis@aluche.mit.edu> for
>more).

I am actively working on it.  Sometime this year, I intend to pre-release
a developemnt 2.X version with UTF-8 support for testing.

--John
Re: [slrn] charset handling
#122730
Author: Thomas Schultz
Date: Sat, 05 Apr 2003 18:06
18 lines
1685 bytes
* Aaron Denney [2003-03-07 01:15] :
[...]
> Or should I modify the source and wait for real character set support
> to make it in?

We will see "real character set support" as soon as slang 2 gets
available (AFAIK, a first snapshot has been announced for this fall).

I don't think you can really get what you want before this point - as
most people still don't post in UTF-8, but use local charsets, leaving
the characters untouched would not be sufficient: Instead, slrn would
need to recode them properly.
-- 
Thomas Schultz <tststs@gmx.de>  News on slrn: http://slrn.sf.net/news.html
.-----------------------------. [2002-03-13] slrn 0.9.7.4 is out
| Home of the slrn newsreader | [2002-02-03] Screenshot page online
| http://slrn.sourceforge.net | [2002-02-03] "Port" to Mac OS X
Re: [slrn] charset handling
#122758
Author: Aaron Denney
Date: Sun, 06 Apr 2003 04:20
29 lines
1962 bytes
Thomas Schultz wrote:
> * Aaron Denney [2003-03-07 01:15] :
> [...]
>> Or should I modify the source and wait for real character set support
>> to make it in?
> 
> We will see "real character set support" as soon as slang 2 gets
> available (AFAIK, a first snapshot has been announced for this fall).

Cool.

> I don't think you can really get what you want before this point - as
> most people still don't post in UTF-8, but use local charsets, leaving
> the characters untouched would not be sufficient: Instead, slrn would
> need to recode them properly.

In general, yes.  Most of the posts in one particular newsgroup are
UTF-8 though (with smaller numbers in latin-1 and latin-3).  Just
passing everything through, in combination with running it under a
recent version of screen, with on-the-fly recoding switching would
hack around it sufficiently.

But I haven't bothered and am instead saving threads to file, and then
reading with mutt.

-- 
Aaron Denney
-><-
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