🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
39 messages
39 total messages Started by Peter Pearson Sat, 28 Oct 2006 00:50
slrn and accented characters
#192042
Author: Peter Pearson
Date: Sat, 28 Oct 2006 00:50
41 lines
2374 bytes
When foreigners post things, I often see garbage like "<F8>"
where I'm pretty sure the poster intended a character with
an umlaut or accent or little Danish Angstrom doughnut or the
like. Googling around, I find some discussion of slrn's
shortcomings with respect to UTF-8 and such, but perhaps due
to my own ignorance, I haven't found anything I can
translate into a fix, and I'm reluctant to believe that
Europeans just don't use slrn.

Here's my situation:
  Ubuntu 6.06 LTS - the Dapper Drake - released in June 2006
  Slrn 0.9.8.1pl1 [2005-02-17]
  LANG=en_US.UTF-8
  LANGUAGE=en
  LC_CTYPE="en_US.UTF-8"
  LC_NUMERIC="en_US.UTF-8"
  LC_TIME="en_US.UTF-8"
  LC_COLLATE=C
  LC_MONETARY="en_US.UTF-8"
  LC_MESSAGES="en_US.UTF-8"
  LC_PAPER="en_US.UTF-8"
  LC_NAME="en_US.UTF-8"
  LC_ADDRESS="en_US.UTF-8"
  LC_TELEPHONE="en_US.UTF-8"
  LC_MEASUREMENT="en_US.UTF-8"
  LC_IDENTIFICATION="en_US.UTF-8"
  LC_ALL=
  From .slrnrc (I think these commented lines are the defaults):
  %set charset isolatin
  %set mime_charset "iso-8859-1"
  %compatible_charsets "Big5,gb2312"
  %set use_metamail 1
  Running in Gnome Terminal 2.14.2 with character
  encoding set to UTF-8. (Changing this setting to
  ISO-8859-1 doesn't help.)

Does any slrn user out there see accented characters
correctly displayed? If so, what are your settings?

-- 
To email me, substitute nowhere->spamcop, invalid->net.
Re: slrn and accented characters
#192044
Author: SINNER
Date: Sat, 28 Oct 2006 01:28
23 lines
2104 bytes
* Peter Pearson wrote in news.software.readers:
> When foreigners post things, I often see garbage like "<F8>"
> where I'm pretty sure the poster intended a character with
> an umlaut or accent or little Danish Angstrom doughnut or the
> like. Googling around, I find some discussion of slrn's
> shortcomings with respect to UTF-8 and such, but perhaps due
> to my own ignorance, I haven't found anything I can
> translate into a fix, and I'm reluctant to believe that
> Europeans just don't use slrn.


Those posts were probably mine :(

I had no issues until I switched to Hoary (Ubuntu) but those were
quickly resolved. I recently upgraded and Peter has diligently helped
and I thought I had it, but I appear to have fudged something up.

I am still playing around, If I get it working, I will post back.

-- 
David
Just because the message may never be received does not mean it is
not worth sending.
Re: slrn and accented characters
#192045
Author: Eggs Zachtly
Date: Sat, 28 Oct 2006 02:33
27 lines
2431 bytes
SINNER said:

> * Peter Pearson wrote in news.software.readers:
>> When foreigners post things, I often see garbage like "<F8>"
>> where I'm pretty sure the poster intended a character with
>> an umlaut or accent or little Danish Angstrom doughnut or the
>> like. Googling around, I find some discussion of slrn's
>> shortcomings with respect to UTF-8 and such, but perhaps due
>> to my own ignorance, I haven't found anything I can
>> translate into a fix, and I'm reluctant to believe that
>> Europeans just don't use slrn.
> 
> Those posts were probably mine :(
> 
> I had no issues until I switched to Hoary (Ubuntu) but those were
> quickly resolved. I recently upgraded and Peter has diligently helped
> and I thought I had it, but I appear to have fudged something up.
> 
> I am still playing around, If I get it working, I will post back.

It's probably because you were effing around with IE.  =P

-- 

Eggs

Are part-time band leaders semi-conductors?
Re: slrn and accented characters
#192046
Author: Ted S.
Date: Sat, 28 Oct 2006 02:43
16 lines
1493 bytes
Somebody claiming to be Peter Pearson <ppearson@nowhere.invalid> wrote at 
Sat, 28 Oct 2006 00:50:47 GMT:

> When foreigners post things, I often see garbage like "<F8>"
> where I'm pretty sure the poster intended a character with
> an umlaut or accent or little Danish Angstrom doughnut or the
> like.

You're lucky.  On my Windows98 box, slrn crashes when it meets such 
characters.

-- 
Ted <fedya at bestweb dot net>
TV Announcer: It's 11:00.  Do you know where your children are?
Homer: I told you last night, *no*!
<http://www.snpp.com/episodes/4F06.html>
Re: slrn and accented characters
#192047
Author: SINNER
Date: Sat, 28 Oct 2006 02:48
28 lines
2320 bytes
* Eggs Zachtly wrote in news.software.readers:
> SINNER said:

>> * Peter Pearson wrote in news.software.readers:
>>> When foreigners post things, I often see garbage like "<F8>"
>>> where I'm pretty sure the poster intended a character with
>>> an umlaut or accent or little Danish Angstrom doughnut or the
>>> like. Googling around, I find some discussion of slrn's
>>> shortcomings with respect to UTF-8 and such, but perhaps due
>>> to my own ignorance, I haven't found anything I can
>>> translate into a fix, and I'm reluctant to believe that
>>> Europeans just don't use slrn.

>> Those posts were probably mine :(

>> I had no issues until I switched to Hoary (Ubuntu) but those were
>> quickly resolved. I recently upgraded and Peter has diligently helped
>> and I thought I had it, but I appear to have fudged something up.

>> I am still playing around, If I get it working, I will post back.

> It's probably because you were effing around with IE.  =P

Now you quit that!

-- 
David
Q:	How do you keep a moron in suspense?
Re: slrn and accented characters
#192053
Author: Abelardo Tordo
Date: Sat, 28 Oct 2006 16:25
16 lines
2156 bytes
In news.software.readers, Peter Pearson <ppearson@nowhere.invalid> wrote:

> When foreigners post things, I often see garbage like "<F8>"
> where I'm pretty sure the poster intended a character with
> an umlaut or accent or little Danish Angstrom doughnut or the
> like. Googling around, I find some discussion of slrn's
> shortcomings with respect to UTF-8 and such, but perhaps due
> to my own ignorance, I haven't found anything I can
> translate into a fix, and I'm reluctant to believe that
> Europeans just don't use slrn.

Slrn has always correctly displayed chars > 127 here. At least with
iso-8859-1(5) (LANG es_ES@euro). Don't know about utf beause iso-8859-15
covers all the languages I can read, so I'm still using it.

Have you tried with another terminal program or direcly in the console?
Re: slrn and accented characters
#192056
Author: Peter Pearson
Date: Sat, 28 Oct 2006 19:42
30 lines
2373 bytes
On 28 Oct 2006 16:25:49 GMT, Abelardo Tordo <atordo@galeon.com> wrote:
> In news.software.readers, Peter Pearson <ppearson@nowhere.invalid> wrote:
>
>> When foreigners post things, I often see garbage like "<F8>"
>> where I'm pretty sure the poster intended a character with
>> an umlaut or accent or little Danish Angstrom doughnut or the
>> like. Googling around, I find some discussion of slrn's
>> shortcomings with respect to UTF-8 and such, but perhaps due
>> to my own ignorance, I haven't found anything I can
>> translate into a fix, and I'm reluctant to believe that
>> Europeans just don't use slrn.
>
> Slrn has always correctly displayed chars > 127 here. At least with
> iso-8859-1(5) (LANG es_ES@euro). Don't know about utf beause iso-8859-15
> covers all the languages I can read, so I'm still using it.

So . . . if you type "echo $LANG", you get es_ES@euro, instead of
the en_US.UTF-8 that I get? I'd be willing to try that, at the
risk of having things show up in Spanish. Are the "settings in
your .slrnrc file also the defaults? If you type
 grep 'set.*char' .slrnrc
what do you see?

> Have you tried with another terminal program or direcly in the console?

I experimented with XTerm (209), but it seemed to act the
same as GNOME Terminal.

-- 
To email me, substitute nowhere->spamcop, invalid->net.
Re: slrn and accented characters
#192064
Author: Abelardo Tordo
Date: Sat, 28 Oct 2006 21:42
23 lines
2237 bytes
In news.software.readers, Peter Pearson <ppearson@nowhere.invalid> wrote:

> So . . . if you type "echo $LANG", you get es_ES@euro, instead of
> the en_US.UTF-8 that I get? I'd be willing to try that, at the
> risk of having things show up in Spanish. Are the "settings in

You have to generate the locales you want to use. In Debian you use
"dpkg-reconfigure locales" and "locale-gen" for that (I presume in
Ubuntu will be the same).

There are other locales more adequate than es_ES@euro if you speak
English. You could try en_US.ISO-8859-1, for example.

But before that, I'd try using slrn in the console (Ctrl-Alt-F1, Ctrl-F7
to get bak to X).

> your .slrnrc file also the defaults? If you type
>  grep 'set.*char' .slrnrc
> what do you see?

set mime_charset "iso-8859-15"

But I think it's just for the headers.
Re: slrn and accented characters
#192075
Author: SINNER
Date: Sun, 29 Oct 2006 00:09
20 lines
1996 bytes
* Abelardo Tordo wrote in news.software.readers:
> In news.software.readers, Peter Pearson <ppearson@nowhere.invalid> wrote:

>> So . . . if you type "echo $LANG", you get es_ES@euro, instead of
>> the en_US.UTF-8 that I get? I'd be willing to try that, at the
>> risk of having things show up in Spanish. Are the "settings in

> You have to generate the locales you want to use. In Debian you use
> "dpkg-reconfigure locales" and "locale-gen" for that (I presume in
> Ubuntu will be the same).

In Ubuntu you need to ... reconfigure localeconf which is not installed
by default

[...]

-- 
David
It's a very *__UN*lucky week in which to be took dead.
		-- Churchy La Femme
Re: slrn and accented characters
#192094
Author: Peter J Ross
Date: Sun, 29 Oct 2006 22:04
52 lines
3039 bytes
On Sat, 28 Oct 2006 01:28:01 GMT, SINNER
<99nesorjd@gates_of_hell.invalid> wrote in news.software.readers:

> * Peter Pearson wrote in news.software.readers:
>> When foreigners post things, I often see garbage like "<F8>"
>> where I'm pretty sure the poster intended a character with
>> an umlaut or accent or little Danish Angstrom doughnut or the
>> like. Googling around, I find some discussion of slrn's
>> shortcomings with respect to UTF-8 and such, but perhaps due
>> to my own ignorance, I haven't found anything I can
>> translate into a fix, and I'm reluctant to believe that
>> Europeans just don't use slrn.
>
>
> Those posts were probably mine :(

You weren't the first. :-)

> I had no issues until I switched to Hoary (Ubuntu) but those were
> quickly resolved. I recently upgraded and Peter has diligently helped
> and I thought I had it, but I appear to have fudged something up.

Not necessarily. The suggestions I made to you and to whoever asked a
similar question a few wekks ago were based on my experience of using
Slrn on the console and in Konsole, on Debian, Kubuntu, FreeBSD,
Solaris 10 and whatever else I've demonstrated my KDE-addiction on. If
you're using the Gnome-Terminal, things may be different.

Anyway, I'm not going to make the same suggestions again, since
they're in Google. I suppose I could install Gnome... but I currently
have LinuxFromScratch compiling kdesdk in a chroot, and FSM alone
knows how long it will be before I can log out. :-/

> I am still playing around, If I get it working, I will post back.

Please post back also if you *don't* get it working.

Oh, and here's a thought: is your Slrn compiled against libslang1 or
libslang2? And are you using an old Slrn version?

pjr@etch:~$ slrn --version | egrep S-Lang\|Slrn
Slrn 0.9.8.1pl1 [2005-02-17]
S-Lang Library Version: 2.0.6


PJR :-)
-- 
  _  _(o)_(o)_  _     | The fool hath said in his heart, "There is no Cabal."
._\`:_ F S M _:' \_,  | FSM: <http://www.venganza.org/>
    / (`---'\ `-.     | AUK: <http://www.netcabal.com/auk/>
 ,-`  _)    (_,   F_P | PJR: <http://insurgent.org/~pjr/>
Re: slrn and accented characters
#192095
Author: Peter J Ross
Date: Sun, 29 Oct 2006 22:08
26 lines
1792 bytes
On Sat, 28 Oct 2006 02:43:22 -0000, Ted S. <fedya@bestweb.spam> wrote
in news.software.readers:

> Somebody claiming to be Peter Pearson <ppearson@nowhere.invalid> wrote at 
> Sat, 28 Oct 2006 00:50:47 GMT:
>
>> When foreigners post things, I often see garbage like "<F8>"
>> where I'm pretty sure the poster intended a character with
>> an umlaut or accent or little Danish Angstrom doughnut or the
>> like.
>
> You're lucky.  On my Windows98 box, slrn crashes when it meets such 
> characters.

Is your charset variable set correctly?

http://www.slrn.org/manual/slrn-manual-6.html#ss6.12


PJR :-)
-- 
  _  _(o)_(o)_  _     | The fool hath said in his heart, "There is no Cabal."
._\`:_ F S M _:' \_,  | FSM: <http://www.venganza.org/>
    / (`---'\ `-.     | AUK: <http://www.netcabal.com/auk/>
 ,-`  _)    (_,   F_P | PJR: <http://insurgent.org/~pjr/>
Re: slrn and accented characters
#192096
Author: Peter J Ross
Date: Sun, 29 Oct 2006 22:17
34 lines
2201 bytes
On Sun, 29 Oct 2006 00:09:54 GMT, SINNER
<99nesorjd@gates_of_hell.invalid> wrote in news.software.readers:

> * Abelardo Tordo wrote in news.software.readers:
>> In news.software.readers, Peter Pearson <ppearson@nowhere.invalid> wrote:
>
>>> So . . . if you type "echo $LANG", you get es_ES@euro, instead of
>>> the en_US.UTF-8 that I get? I'd be willing to try that, at the
>>> risk of having things show up in Spanish. Are the "settings in
>
>> You have to generate the locales you want to use. In Debian you use
>> "dpkg-reconfigure locales" and "locale-gen" for that (I presume in
>> Ubuntu will be the same).
>
> In Ubuntu you need to ... reconfigure localeconf which is not installed
> by default

And you'll want to choose the en_US* locales, not the es* locales,
unless you really want pesetas as your currency symbol. :-)

Incidentally, is this a peseta symbol on your screen?

?

Here in Slrn+Vim, it's a question mark.


PJR :-)
-- 
  _  _(o)_(o)_  _     | The fool hath said in his heart, "There is no Cabal."
._\`:_ F S M _:' \_,  | FSM: <http://www.venganza.org/>
    / (`---'\ `-.     | AUK: <http://www.netcabal.com/auk/>
 ,-`  _)    (_,   F_P | PJR: <http://insurgent.org/~pjr/>
Re: slrn and accented characters
#192097
Author: SINNER
Date: Sun, 29 Oct 2006 22:40
51 lines
2990 bytes
* Peter J Ross wrote in news.software.readers:
> On Sat, 28 Oct 2006 01:28:01 GMT, SINNER
> <99nesorjd@gates_of_hell.invalid> wrote in news.software.readers:

[...]

>> I had no issues until I switched to Hoary (Ubuntu) but those were
>> quickly resolved. I recently upgraded and Peter has diligently helped
>> and I thought I had it, but I appear to have fudged something up.

> Not necessarily.

Well, thats true, I havent, all is as it should be, but I still cant see
special chars like (c)-copyright symbol they show up like <F#><F#> where
# is a number.

> The suggestions I made to you and to whoever asked a
> similar question a few wekks ago were based on my experience of using
> Slrn on the console and in Konsole, on Debian, Kubuntu, FreeBSD,
> Solaris 10 and whatever else I've demonstrated my KDE-addiction on. If
> you're using the Gnome-Terminal, things may be different.

Issue is prevalent in xterm as well.

[...]

>> I am still playing around, If I get it working, I will post back.

> Please post back also if you *don't* get it working.

keeping it in utf-8 and aliasing slrn showed the special chars as
inverse video diamonds with a ? in the center. 

> Oh, and here's a thought: is your Slrn compiled against libslang1 or
> libslang2? And are you using an old Slrn version?

> pjr@etch:~$ slrn --version | egrep S-Lang\|Slrn
> Slrn 0.9.8.1pl1 [2005-02-17]
> S-Lang Library Version: 2.0.6

[04:34 PM][J:0][sinner@~]$ slrn --version | egrep S-Lang\|Slrn
Slrn 0.9.8.1pl1 [2005-02-17]
S-Lang Library Version: 2.0.5

Thanks for looking Peter.

-- 
David
If one cannot enjoy reading a book over and over again, there is no use
in reading it at all.
		-- Oscar Wilde
Re: slrn and accented characters
#192098
Author: SINNER
Date: Sun, 29 Oct 2006 22:40
32 lines
2433 bytes
* Peter J Ross wrote in news.software.readers:
> On Sun, 29 Oct 2006 00:09:54 GMT, SINNER
> <99nesorjd@gates_of_hell.invalid> wrote in news.software.readers:

>> * Abelardo Tordo wrote in news.software.readers:
>>> In news.software.readers, Peter Pearson <ppearson@nowhere.invalid> wrote:

>>>> So . . . if you type "echo $LANG", you get es_ES@euro, instead of
>>>> the en_US.UTF-8 that I get? I'd be willing to try that, at the
>>>> risk of having things show up in Spanish. Are the "settings in

>>> You have to generate the locales you want to use. In Debian you use
>>> "dpkg-reconfigure locales" and "locale-gen" for that (I presume in
>>> Ubuntu will be the same).

>> In Ubuntu you need to ... reconfigure localeconf which is not installed
>> by default

> And you'll want to choose the en_US* locales, not the es* locales,
> unless you really want pesetas as your currency symbol. :-)

> Incidentally, is this a peseta symbol on your screen?

> ?

> Here in Slrn+Vim, it's a question mark.

Same combo, same display.

-- 
David
Cold hands, no gloves.
Re: slrn and accented characters
#192121
Author: Peter Pearson
Date: Mon, 30 Oct 2006 16:38
24 lines
2126 bytes
On 28 Oct 2006 21:42:08 GMT, Abelardo Tordo <atordo@galeon.com> wrote:
> In news.software.readers, Peter Pearson <ppearson@nowhere.invalid> wrote:
>
>> So . . . if you type "echo $LANG", you get es_ES@euro, instead of
>> the en_US.UTF-8 that I get? I'd be willing to try that, at the
>> risk of having things show up in Spanish. Are the "settings in
>
> You have to generate the locales you want to use. In Debian you use
> "dpkg-reconfigure locales" and "locale-gen" for that (I presume in
> Ubuntu will be the same).
>
> There are other locales more adequate than es_ES@euro if you speak
> English. You could try en_US.ISO-8859-1, for example.
>
> But before that, I'd try using slrn in the console (Ctrl-Alt-F1, Ctrl-F7
> to get bak to X).

Interesting: Ctrl-Alt-F1 turns my screen uniformly gray, and
I couldn't guess how to get back to X until I stumbled upon
Ctrl-Alt-Del, which got me back, but not gracefully. I
haven't experimented with the virtual consoles since I
installed Ubuntu a few months ago.

- Peter
Re: slrn and accented characters
#192124
Author: SINNER
Date: Mon, 30 Oct 2006 16:48
12 lines
1601 bytes
* Peter Pearson wrote in news.software.readers:

> Interesting: Ctrl-Alt-F1 turns my screen uniformly gray, and
> I couldn't guess how to get back to X until I stumbled upon
> Ctrl-Alt-Del, which got me back, but not gracefully. I
> haven't experimented with the virtual consoles since I
> installed Ubuntu a few months ago.

CTL-ALT-F7 would have got you back.

-- 
David
Re: slrn and accented characters
#192131
Author: Abelardo Tordo
Date: Mon, 30 Oct 2006 20:36
13 lines
2119 bytes
In news.software.readers, Peter Pearson <ppearson@nowhere.invalid> wrote:

> Interesting: Ctrl-Alt-F1 turns my screen uniformly gray, and
> I couldn't guess how to get back to X until I stumbled upon
> Ctrl-Alt-Del, which got me back, but not gracefully. I
> haven't experimented with the virtual consoles since I
> installed Ubuntu a few months ago.

Perhaps you should try in some Ubuntu group, as your problem seems more
related to your installation than to slrn itself.

I can only say that it always worked fine for me - not of much help, I
know.
Re: slrn and accented characters
#192136
Author: Peter J Ross
Date: Mon, 30 Oct 2006 21:52
69 lines
2603 bytes
On Sat, 28 Oct 2006 00:50:47 GMT, Peter Pearson
<ppearson@nowhere.invalid> wrote in news.software.readers:

> Does any slrn user out there see accented characters
> correctly displayed?

Yes, but the method of configuring it in Ubuntu isn't obvious.

> If so, what are your settings?

I've tested the following in a clean installation of Ubuntu 6.10. It
should also work in 6.06.

1. If necessary, generate the appropriate non-UTF8 locale.

	$ sudo locale-gen en_US

2. The next step depends on the terminal you use.

2.1. Gnome-Terminal (Ubuntu default):

Change the terminal's character encoding to ISO-8859-1:

	Terminal - Set Character Encoding - Add/Remove
	Add Western (ISO-8859-1)
	Switch to the ISO-8859-1 encoding

Then set the LANG variable and open Slrn:

	$ LANG=en_US && slrn

2.2. Konsole (Kubuntu default):

Similar to Gnome-Terminal, but the character encoding is in a
different place:

	Settings - Encoding - ISO-8859-1

	$ LANG=en_US && slrn

2.3. Xterm:

You need to switch off UTF-8 support. I recommend doing this with a
menu entry:

	xterm +u8 -e env LANG=en_US slrn

2.4. Linux console:

To display accented characters in the console, you can change the
console font.

	$ sudo dpkg-reconfigure console-setup

Change the font from "fixed" to "VGA". Then run setupcon as suggested,
and start Slrn

	$ setupcon
	$ LANG=en_US && slrn

All of the above should also work with other Latin-based languages and
encodings.

PJR :-)
-- 
  _  _(o)_(o)_  _     | The fool hath said in his heart, "There is no Cabal."
._\`:_ F S M _:' \_,  | FSM: <http://www.venganza.org/>
    / (`---'\ `-.     | AUK: <http://www.netcabal.com/auk/>
 ,-`  _)    (_,   F_P | PJR: <http://insurgent.org/~pjr/>
Re: slrn and accented characters
#192149
Author: Peter Pearson
Date: Mon, 30 Oct 2006 23:55
20 lines
1989 bytes
On Mon, 30 Oct 2006 16:48:45 GMT, SINNER <arcade.master@gmail.com> wrote:
> * Peter Pearson wrote in news.software.readers:
>
>> Interesting: Ctrl-Alt-F1 turns my screen uniformly gray, and
>> I couldn't guess how to get back to X until I stumbled upon
>> Ctrl-Alt-Del, which got me back, but not gracefully. I
>> haven't experimented with the virtual consoles since I
>> installed Ubuntu a few months ago.
>
> CTL-ALT-F7 would have got you back.

Yeah, I shoulda guessed that. In fact, I did, but I was
hopelessly confused by the fact that I normally run with
CapsLock serving as Ctrl, which made me want to "play it
safe" by using the right-hand Ctrl and Alt instead, but
they aren't equivalent to the left-hand Ctrl and Alt in
this case, . . . What a tangled web we weave.

-- 
To email me, substitute nowhere->spamcop, invalid->net.
Re: slrn and accented characters
#192150
Author: Peter Pearson
Date: Tue, 31 Oct 2006 00:05
28 lines
2288 bytes
Thanks to the several thoughtful responders. I seem to have
arrived in The Happy Place, albeit without a firm grasp on
why this all works. For future generations of explorers,
here's what I did. First,

  sudo locale-gen en_US.ISO-8859-15

generated a locale named en_US.ISO-8859-15 (which "locale
-a" erroneously calls "en_US.iso885915" instead of
"en_US.iso8859-15").  Thereafter, I can get proper accents
running slrn from either GNOME Terminal or XTerm (the only
terminal windows I tried) with the LANG environment variable
set as shown in this table:

Works?  echo $LANG        Application running slrn
------  ----------------  --------------------------------
  No    en_ZW.UTF-8       GNOME Terminal, Character Encoding = ISO-8859-1
 Yes    xyzzy             GNOME Terminal, Character Encoding = ISO-8859-1
  No    en_ZW.UTF-8       GNOME Terminal, Character Encoding = UTF-8
  No    xyzzy             GNOME Terminal, Character Encoding = UTF-8
  No    en_ZW.UTF-8       XTerm
 Yes    xyzzy             XTerm
 Yes    en_US.ISO-8859-15 XTerm

I didn't have to make any adjustments to .slrnrc.

-- 
To email me, substitute nowhere->spamcop, invalid->net.
Re: slrn and accented characters
#192152
Author: SINNER
Date: Tue, 31 Oct 2006 00:10
42 lines
2378 bytes
* Peter J Ross wrote in news.software.readers:
> On Sat, 28 Oct 2006 00:50:47 GMT, Peter Pearson
> <ppearson@nowhere.invalid> wrote in news.software.readers:

>> Does any slrn user out there see accented characters
>> correctly displayed?

> Yes, but the method of configuring it in Ubuntu isn't obvious.

>> If so, what are your settings?

> I've tested the following in a clean installation of Ubuntu 6.10. It
> should also work in 6.06.

> 1. If necessary, generate the appropriate non-UTF8 locale.

> 	$ sudo locale-gen en_US

> 2. The next step depends on the terminal you use.

> 2.1. Gnome-Terminal (Ubuntu default):

> Change the terminal's character encoding to ISO-8859-1:

> 	Terminal - Set Character Encoding - Add/Remove
> 	Add Western (ISO-8859-1)
> 	Switch to the ISO-8859-1 encoding

> Then set the LANG variable and open Slrn:

> 	$ LANG=en_US && slrn

Above confirmed working in a not so clean install of 6.06, I started
@ 2.1

Peter, you fscking rock!

-- 
David
No animal should ever jump on the dining room furniture unless
absolutely certain he can hold his own in conversation.
		-- Fran Lebowitz
Re: slrn and accented characters
#192155
Author: Blinky the Shark
Date: Tue, 31 Oct 2006 01:00
16 lines
1752 bytes
Peter Pearson wrote:
> On Mon, 30 Oct 2006 16:48:45 GMT, SINNER <arcade.master@gmail.com>
> wrote:

>> CTL-ALT-F7 would have got you back.
>
> Yeah, I shoulda guessed that. In fact, I did, but I was hopelessly
> confused by the fact that I normally run with CapsLock serving as Ctrl

Okay, but don't let me catch you running with those scissors...


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: slrn and accented characters
#192157
Author: Eggs Zachtly
Date: Tue, 31 Oct 2006 01:46
20 lines
2112 bytes
Blinky the Shark said:

> Peter Pearson wrote:
>> On Mon, 30 Oct 2006 16:48:45 GMT, SINNER <arcade.master@gmail.com>
>> wrote:
> 
>>> CTL-ALT-F7 would have got you back.
>>
>> Yeah, I shoulda guessed that. In fact, I did, but I was hopelessly
>> confused by the fact that I normally run with CapsLock serving as Ctrl
> 
> Okay, but don't let me catch you running with those scissors...

Running amok, on the other hand, is quite acceptable.

-- 

Eggs

They told me I was gullible.... and I believed them.
Re: slrn and accented characters
#192159
Author: Blinky the Shark
Date: Tue, 31 Oct 2006 01:47
25 lines
2095 bytes
Eggs Zachtly wrote:
> Blinky the Shark said:
>
>> Peter Pearson wrote:
>>> On Mon, 30 Oct 2006 16:48:45 GMT, SINNER <arcade.master@gmail.com>
>>> wrote:
>> 
>>>> CTL-ALT-F7 would have got you back.
>>>
>>> Yeah, I shoulda guessed that. In fact, I did, but I was hopelessly
>>> confused by the fact that I normally run with CapsLock serving as
>>> Ctrl
>> 
>> Okay, but don't let me catch you running with those scissors...
>
> Running amok, on the other hand, is quite acceptable.

I dunno...I think moks, like sweatshops and bordellos, are frowned upon
in some cultures.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: slrn and accented characters
#192160
Author: Eggs Zachtly
Date: Tue, 31 Oct 2006 02:14
32 lines
2705 bytes
Blinky the Shark said:

> Eggs Zachtly wrote:
>> Blinky the Shark said:
>>
>>> Peter Pearson wrote:
>>>> On Mon, 30 Oct 2006 16:48:45 GMT, SINNER <arcade.master@gmail.com>
>>>> wrote:
>>> 
>>>>> CTL-ALT-F7 would have got you back.
>>>>
>>>> Yeah, I shoulda guessed that. In fact, I did, but I was hopelessly
>>>> confused by the fact that I normally run with CapsLock serving as
>>>> Ctrl
>>> 
>>> Okay, but don't let me catch you running with those scissors...
>>
>> Running amok, on the other hand, is quite acceptable.
> 
> I dunno...I think moks, like sweatshops and bordellos, are frowned upon
> in some cultures.

Moks, sure! You can never have more than one. That would be immoral, and
completely unacceptable. But, running a mok is just fine, according to most
people, I'm sure. (Just don't run it too hard, and for too long.)

-- 

Eggs

In the 60's people took acid to make the world weird. Now the world is
weird, people take prozac to make it normal.
Re: slrn and accented characters
#192163
Author: Blinky the Shark
Date: Tue, 31 Oct 2006 02:48
94 lines
2823 bytes
Eggs Zachtly wrote:
> Blinky the Shark said:
>
>> Eggs Zachtly wrote:
>>> Blinky the Shark said:
>>>
>>>> Peter Pearson wrote:
>>>>> On Mon, 30 Oct 2006 16:48:45 GMT, SINNER <arcade.master@gmail.com>
>>>>> wrote:
>>>> 
>>>>>> CTL-ALT-F7 would have got you back.
>>>>>
>>>>> Yeah, I shoulda guessed that. In fact, I did, but I was hopelessly
>>>>> confused by the fact that I normally run with CapsLock serving as
>>>>> Ctrl
>>>> 
>>>> Okay, but don't let me catch you running with those scissors...
>>>
>>> Running amok, on the other hand, is quite acceptable.
>> 
>> I dunno...I think moks, like sweatshops and bordellos, are frowned upon
>> in some cultures.
>
> Moks, sure! You can never have more than one. That would be immoral, and
> completely unacceptable. But, running a mok is just fine, according to most
> people, I'm sure. (Just don't run it too hard, and for too long.)

But is it amok *time*?
..
..
..
..
[spoiler space]
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..

http://www.ericweisstein.com/fun/startrek/AmokTime.html

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: slrn and accented characters
#192168
Author: Ted S.
Date: Tue, 31 Oct 2006 04:07
20 lines
1795 bytes
Somebody claiming to be Peter J Ross <pjr@kookbusters.org> wrote at Sun, 
29 Oct 2006 22:08:39 GMT:

>> You're lucky.  On my Windows98 box, slrn crashes when it meets such 
>> characters.
> 
> Is your charset variable set correctly?
> 
> http://www.slrn.org/manual/slrn-manual-6.html#ss6.12

No, it wasn't.  But I can't get Cyrillic fonts to show up in the terminal.  
Probably because I'm on Windows98, which is a bitch for Unicode.

Are there any Unicode-compliant terminals for Windows98 out there?

-- 
Ted <fedya at bestweb dot net>
TV Announcer: It's 11:00.  Do you know where your children are?
Homer: I told you last night, *no*!
<http://www.snpp.com/episodes/4F06.html>
Re: slrn and accented characters
#192178
Author: Eggs Zachtly
Date: Tue, 31 Oct 2006 10:15
11 lines
2059 bytes
Blinky the Shark said:

> http://www.ericweisstein.com/fun/startrek/AmokTime.html

LOL How much time did you waste looking THAT one up?  =)

-- 

Eggs

-A conscience is what hurts when all of your other parts feel so good.
Re: slrn and accented characters
#192188
Author: Blinky the Shark
Date: Tue, 31 Oct 2006 14:31
15 lines
2028 bytes
Eggs Zachtly wrote:
> Blinky the Shark said:
>
>> http://www.ericweisstein.com/fun/startrek/AmokTime.html
>
> LOL How much time did you waste looking THAT one up?  =)

Zero.  1. Fun time is not wasted time.  1. I knew the title of that
episode, so all I had to do was Google the phrase.  :)


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: slrn and accented characters
#192191
Author: Peter Pearson
Date: Tue, 31 Oct 2006 16:07
11 lines
1346 bytes
On Mon, 30 Oct 2006 21:52:10 +0000, Peter J Ross <pjr@kookbusters.org> wrote:

[comprehensive and detailed instructions omitted]

> All of the above should also work with other Latin-based languages and
> encodings.

Excellent. Many thanks.

-- 
To email me, substitute nowhere->spamcop, invalid->net.
Re: slrn and accented characters
#192200
Author: Peter J Ross
Date: Tue, 31 Oct 2006 23:26
68 lines
3359 bytes
On Tue, 31 Oct 2006 00:10:12 GMT, SINNER
<99nesorjd@gates_of_hell.invalid> wrote in news.software.readers:

> * Peter J Ross wrote in news.software.readers:
>> On Sat, 28 Oct 2006 00:50:47 GMT, Peter Pearson
>> <ppearson@nowhere.invalid> wrote in news.software.readers:
>
>>> Does any slrn user out there see accented characters
>>> correctly displayed?
>
>> Yes, but the method of configuring it in Ubuntu isn't obvious.
>
>>> If so, what are your settings?
>
>> I've tested the following in a clean installation of Ubuntu 6.10. It
>> should also work in 6.06.
>
>> 1. If necessary, generate the appropriate non-UTF8 locale.
>
>> 	$ sudo locale-gen en_US
>
>> 2. The next step depends on the terminal you use.
>
>> 2.1. Gnome-Terminal (Ubuntu default):
>
>> Change the terminal's character encoding to ISO-8859-1:
>
>> 	Terminal - Set Character Encoding - Add/Remove
>> 	Add Western (ISO-8859-1)
>> 	Switch to the ISO-8859-1 encoding
>
>> Then set the LANG variable and open Slrn:
>
>> 	$ LANG=en_US && slrn
>
> Above confirmed working in a not so clean install of 6.06, I started
> @ 2.1

My suggestions for Gnome-Terminal and Konsole also work in
Debian/Testing. The suggestion for Xterm *should* work too, but I
haven't had a chance to test it yet.

To use Slrn on the console in Debian/Testing with UTF-8 as default,
you'd probably need to apt-get console-setup and console-terminus and
then choose terminus as the console font. I can't get it to work with
"fixed" or "VGA"; not only do accents disappear but line-drawing
characters don't work either.

I also have DesktopBSD and LinuxFromScratch installed, but I set them
both up with ISO-8859-15 as default, so the problem doesn't arise.

Incidentally, I was wrong when I suggested a couple of weeks ago that
Slrn development had ceased; there's activity in the CVS repository.
I'll probably try compiling the latest source code and see if
anything relevant has changed. If not, it might be worth trying to
write a HOWTO for this frequently asked question.

> Peter, you fscking rock!

Your account has been debited with one four-pack of Bass. :-)

PJR :-)
-- 
  _  _(o)_(o)_  _     | The fool hath said in his heart, "There is no Cabal."
._\`:_ F S M _:' \_,  | FSM: <http://www.venganza.org/>
    / (`---'\ `-.     | AUK: <http://www.netcabal.com/auk/>
 ,-`  _)    (_,   F_P | PJR: <http://insurgent.org/~pjr/>
Re: slrn and accented characters
#192205
Author: SINNER
Date: Wed, 01 Nov 2006 01:29
17 lines
1845 bytes
* Peter J Ross wrote in news.software.readers:

[...]

> My suggestions for Gnome-Terminal and Konsole also work in
> Debian/Testing. The suggestion for Xterm *should* work too, but I
> haven't had a chance to test it yet.

My new mission is to figure out how to make Gnome Terminal default to
the appropriate encodeing. It dosent seem to save that attribute with
the profile.

But this is  for another group...
-- 
David
Intuition, however illogical, is recognized as a command prerogative.
		-- Kirk, "Obsession", stardate 3620.7
Re: slrn and accented characters
#192376
Author: Peter J Ross
Date: Sun, 05 Nov 2006 17:24
94 lines
4002 bytes
On Wed, 01 Nov 2006 01:29:59 GMT, SINNER
<99nesorjd@gates_of_hell.invalid> wrote in news.software.readers:

> * Peter J Ross wrote in news.software.readers:
>
> [...]
>
>> My suggestions for Gnome-Terminal and Konsole also work in
>> Debian/Testing. The suggestion for Xterm *should* work too, but I
>> haven't had a chance to test it yet.
>
> My new mission is to figure out how to make Gnome Terminal default to
> the appropriate encodeing. It dosent seem to save that attribute with
> the profile.

You can set the default encoding for the whole Gnome session when
logging in with GDM, but you can't set it for Gnome-Terminal only.
KDE/Konsole has a similar problem.

However, the following ought to work in (K/X)Ubuntu 6.10 and might
work in 6.06 too. Beware of wrapped text! Everything between verbatim
marks (#v+ #v-) should be a single line. Change each instance of
"en_US" and "ISO-8859-15" to what you require.


1. If necessary, generate the required locale, as previously
suggested. E.g.,

#v+
$ sudo locale-gen en_US.ISO-8859-15
#v-

2. Install luit:

#v+
$ sudo apt-get install luit
#v-

3. Work around a bug that causes luit to look for locale.alias in the
wrong place, by adding a link:

#v+
$ sudo ln -sv /usr/share/X11/locale/locale.alias /usr/lib/X11/locale/locale.alias 
#v-

(locale.alias may already be in the right place on Ubuntu 6.06, so
don't worry if you get an error here.)

4. Open a new terminal or tab. Don't alter the encoding from the
default UTF-8. (In fact, you should be able to remove the non-default
encoding I suggested in a previous post.)

5. In the terminal, run luit with the appropriate locale and encoding,
calling slrn after sleeping for 1 second as a workaround for YET
ANOTHER luit bug:

#v+
$ LANG=en_US.ISO-8859-15 luit -encoding ISO-8859-15 sh -c "sleep 1; slrn"
#v-

Check that everything's OK, and that the locale returns to UTF-8 after
exiting slrn. (If you get an "unable to set locale" error, return to
step 1 and check that the locale you've specified is installed.)

6. If that works, create an alias to save typing or searching the
history:

#v+
$ echo "alias slrnx='LANG=en_US.ISO-8859-15 luit -encoding ISO-8859-15 sh -c \"sleep 1; slrn\"'" >> ~/.bashrc
#v-

You can check that you see this in ~/.bashrc:

#v+
alias slrnx='LANG=en_US.ISO-8859-15 luit -encoding ISO-8859-15 sh -c "sleep 1; slrn"'
#v-

7. Open a new terminal or tab and check that the alias works:

#v+
$ slrnx
#v-


Much of this will probably also work for anybody using slrn-0.9.8.1pl1
on X with any flavour of *nix in a UTF-8 environment, but older and
forthcoming versions of X may not need the luit workarounds.

PJR :-)
-- 
  _  _(o)_(o)_  _     | The fool hath said in his heart, "There is no Cabal."
._\`:_ F S M _:' \_,  | FSM: <http://www.venganza.org/>
    / (`---'\ `-.     | AUK: <http://www.netcabal.com/auk/>
 ,-`  _)    (_,   F_P | PJR: <http://insurgent.org/~pjr/>
Re: slrn and accented characters
#192431
Author: Christian Wolf
Date: Wed, 08 Nov 2006 22:18
74 lines
3004 bytes
On 2006-11-05, Peter J Ross <pjr@kookbusters.org> wrote:

> However, the following ought to work in (K/X)Ubuntu 6.10 ...

It's working!!! Great job! Thanks a lot.
I'm a newbie with slrn and I like its features, but the way it 
was encoding the German characters was really getting on my nerves.

I'm using the Ubuntu upgrade Edgy Eft 6.1 (Gnome)
and everything is fine now.

>
>
> 1. If necessary, generate the required locale, as previously
> suggested. E.g.,
>
> #v+
> $ sudo locale-gen en_US.ISO-8859-15
> #v-

I generated it like this:

#v+
$ sudo localedef -i de_DE@euro -f ISO-8859-15 de_DE.ISO-8859-15
$ sudo dpkg-reconfigure -p low locales
$ echo $LANG de_DE.ISO-8859-15
$ echo $LC_ALL de_DE.ISO-8859-15
#v-

All the rest from your advice:

> Install luit:
>
> #v+
> $ sudo apt-get install luit
> #v-
>
> #v+
> $ sudo ln -sv /usr/share/X11/locale/locale.alias /usr/lib/X11/locale/locale.alias 
> #v-
>
> 
> #v+
> $ LANG=en_US.ISO-8859-15 luit -encoding ISO-8859-15 sh -c "sleep 1; slrn"
> #v-
>
> Check that everything's OK, and that the locale returns to UTF-8 after
> exiting slrn. (If you get an "unable to set locale" error, return to
> step 1 and check that the locale you've specified is installed.)
>
> ... create an alias to save typing or searching the
> history:
>
> #v+
> $ echo "alias slrnx='LANG=en_US.ISO-8859-15 luit -encoding ISO-8859-15 sh -c \"sleep 1; slrn\"'" >> ~/.bashrc
> #v-
>
>
> Open a new terminal or tab and check that the alias works:
>
> #v+
> $ slrnx
> #v-
>

In the end I had to change also the encoding of gedit called by slrn in the
slrn.rc-file with:

#v+
set editor_command "gedit --encoding=ISO-8859-15 '%s' &"
#v-

Ciao
 Chris
Re: slrn and accented characters
#192528
Author: SINNER
Date: Sat, 11 Nov 2006 23:29
85 lines
4107 bytes
* Peter J Ross wrote in news.software.readers:
> On Wed, 01 Nov 2006 01:29:59 GMT, SINNER
> <99nesorjd@gates_of_hell.invalid> wrote in news.software.readers:

>> * Peter J Ross wrote in news.software.readers:

>> [...]

>>> My suggestions for Gnome-Terminal and Konsole also work in
>>> Debian/Testing. The suggestion for Xterm *should* work too, but I
>>> haven't had a chance to test it yet.

>> My new mission is to figure out how to make Gnome Terminal default to
>> the appropriate encodeing. It dosent seem to save that attribute with
>> the profile.

> You can set the default encoding for the whole Gnome session when
> logging in with GDM, but you can't set it for Gnome-Terminal only.
> KDE/Konsole has a similar problem.

> However, the following ought to work in (K/X)Ubuntu 6.10 and might
> work in 6.06 too. Beware of wrapped text! Everything between verbatim
> marks (#v+ #v-) should be a single line. Change each instance of
> "en_US" and "ISO-8859-15" to what you require.

Sorry to get back so late. I see others have had success. Mine has
varied. 


> 1. If necessary, generate the required locale, as previously
> suggested. E.g.,

> #v+
> $ sudo locale-gen en_US.ISO-8859-15
> #v-

> 2. Install luit:

> #v+
> $ sudo apt-get install luit
> #v-

Above all worked.

> 3. Work around a bug that causes luit to look for locale.alias in the
> wrong place, by adding a link:

> #v+
> $ sudo ln -sv /usr/share/X11/locale/locale.alias /usr/lib/X11/locale/locale.alias 
> #v-

> (locale.alias may already be in the right place on Ubuntu 6.06, so
> don't worry if you get an error here.)

My error was that the originating file did not exist.

> 4. Open a new terminal or tab. Don't alter the encoding from the
> default UTF-8. (In fact, you should be able to remove the non-default
> encoding I suggested in a previous post.)

I was unsuccessful here, could not remove utf-8, which I don't really want
to do, I just want 8559-1 to be my default.

> 5. In the terminal, run luit with the appropriate locale and encoding,
> calling slrn after sleeping for 1 second as a workaround for YET
> ANOTHER luit bug:

> #v+
> $ LANG=en_US.ISO-8859-15 luit -encoding ISO-8859-15 sh -c "sleep 1; slrn"
> #v-

If I run like this or alias this I get the desired effect without
having to physically switch the terminal encoding, which is really all I
want anyway per above.

[...]

Peter, thank very much man, I owe you more than the six previously
debited. If you're ever in Texas...

-- 
David
Likewise, the national appetizer, brine-cured herring with raw onions,
wins few friends, Germans excepted.
		-- Darwin Porter "Scandinavia On $50 A Day"
Re: slrn and accented characters
#192554
Author: Top
Date: Sun, 12 Nov 2006 16:21
92 lines
3869 bytes
SINNER <99nesorjd@gates_of_hell.invalid> wrote in
news:c03i24x6o5.ln2@news.gates-of-hell.com: 

>* Peter J Ross wrote in news.software.readers:
>> On Wed, 01 Nov 2006 01:29:59 GMT, SINNER
>> <99nesorjd@gates_of_hell.invalid> wrote in
>> news.software.readers: 
> 
>>> * Peter J Ross wrote in news.software.readers:
> 
>>> [...]
> 
>>>> My suggestions for Gnome-Terminal and Konsole also work
>>>> in Debian/Testing. The suggestion for Xterm *should* work
>>>> too, but I haven't had a chance to test it yet.
> 
>>> My new mission is to figure out how to make Gnome Terminal
>>> default to the appropriate encodeing. It dosent seem to
>>> save that attribute with the profile.
> 
>> You can set the default encoding for the whole Gnome
>> session when logging in with GDM, but you can't set it for
>> Gnome-Terminal only. KDE/Konsole has a similar problem.
> 
>> However, the following ought to work in (K/X)Ubuntu 6.10
>> and might work in 6.06 too. Beware of wrapped text!
>> Everything between verbatim marks (#v+ #v-) should be a
>> single line. Change each instance of "en_US" and
>> "ISO-8859-15" to what you require. 
> 
> Sorry to get back so late. I see others have had success.
> Mine has varied. 
> 
> 
>> 1. If necessary, generate the required locale, as
>> previously suggested. E.g.,
> 
>> #v+
>> $ sudo locale-gen en_US.ISO-8859-15
>> #v-
> 
>> 2. Install luit:
> 
>> #v+
>> $ sudo apt-get install luit
>> #v-
> 
> Above all worked.
> 
>> 3. Work around a bug that causes luit to look for
>> locale.alias in the wrong place, by adding a link:
> 
>> #v+
>> $ sudo ln -sv /usr/share/X11/locale/locale.alias
>> /usr/lib/X11/locale/locale.alias #v-
> 
>> (locale.alias may already be in the right place on Ubuntu
>> 6.06, so don't worry if you get an error here.)
> 
> My error was that the originating file did not exist.
> 
>> 4. Open a new terminal or tab. Don't alter the encoding
>> from the default UTF-8. (In fact, you should be able to
>> remove the non-default encoding I suggested in a previous
>> post.) 
> 
> I was unsuccessful here, could not remove utf-8, which I
> don't really want to do, I just want 8559-1 to be my
> default. 
> 
>> 5. In the terminal, run luit with the appropriate locale
>> and encoding, calling slrn after sleeping for 1 second as a
>> workaround for YET ANOTHER luit bug:
> 
>> #v+
>> $ LANG=en_US.ISO-8859-15 luit -encoding ISO-8859-15 sh -c
>> "sleep 1; slrn" #v-
> 
> If I run like this or alias this I get the desired effect
> without having to physically switch the terminal encoding,
> which is really all I want anyway per above.
> 
> [...]
> 
> Peter, thank very much man, I owe you more than the six
> previously debited. If you're ever in Texas...
> 

Where in Texas?

Top
Re: slrn and accented characters
#192556
Author: SINNER
Date: Sun, 12 Nov 2006 16:39
13 lines
1722 bytes
* Top wrote in news.software.readers:

[...]

> Where in Texas?

About 30 minutes NE of the DFW Metroplex.

-- 
David
Give a man a fish, and you feed him for a day.  Teach a man to fish,
and he'll invite himself over for dinner.
		-- Calvin Keegan
Re: slrn and accented characters
#192559
Author: Top
Date: Sun, 12 Nov 2006 19:19
17 lines
1444 bytes
SINNER <99nesorjd@gates_of_hell.invalid> wrote in 
news:9vuj24xck8.ln2@news.gates-of-hell.com:

>* Top wrote in news.software.readers:
> 
> [...]
> 
>> Where in Texas?
> 
> About 30 minutes NE of the DFW Metroplex.
> 

My brother lives in Quinlin and I have family all around rest 
E. Texas.

Top
Re: slrn and accented characters
#192598
Author: Peter J Ross
Date: Wed, 15 Nov 2006 22:36
69 lines
3510 bytes
On Sat, 11 Nov 2006 23:29:52 GMT, SINNER
<99nesorjd@gates_of_hell.invalid> wrote in news.software.readers:

> * Peter J Ross wrote in news.software.readers:

<...>

>> 3. Work around a bug that causes luit to look for locale.alias in the
>> wrong place, by adding a link:
>
>> #v+
>> $ sudo ln -sv /usr/share/X11/locale/locale.alias /usr/lib/X11/locale/locale.alias 
>> #v-
>
>> (locale.alias may already be in the right place on Ubuntu 6.06, so
>> don't worry if you get an error here.)
>
> My error was that the originating file did not exist.

That's not a problem as long as the destination file exists. If you
don't have the bug, you don't need a workaround.

Changes in X.org 7.1 seem to have introduced this bug in some
distributions. It certainly affects Ubuntu 6.10, but probably not
6.06.

>> 4. Open a new terminal or tab. Don't alter the encoding from the
>> default UTF-8. (In fact, you should be able to remove the non-default
>> encoding I suggested in a previous post.)
>
> I was unsuccessful here, could not remove utf-8, which I don't really want
> to do, I just want 8559-1 to be my default.

You can set that with Gconf or something. My instructions were for
somebody who wanted to keep UTF-8 as the default but not have problems
with Slrn. If you can figure out how to change the default system
locale, you shouldn't have any problems.

>> 5. In the terminal, run luit with the appropriate locale and encoding,
>> calling slrn after sleeping for 1 second as a workaround for YET
>> ANOTHER luit bug:
>
>> #v+
>> $ LANG=en_US.ISO-8859-15 luit -encoding ISO-8859-15 sh -c "sleep 1; slrn"
>> #v-
>
> If I run like this or alias this I get the desired effect without
> having to physically switch the terminal encoding, which is really all I
> want anyway per above.

Yay!

> [...]
>
> Peter, thank very much man, I owe you more than the six previously
> debited. If you're ever in Texas...

If ever you're in Somerset, UK.... All I know about Texas is what I
learned around 1980 from the documentary series "Dallas". I assume
it's all still true.


PJR :-)
-- 
  _  _(o)_(o)_  _     | The fool hath said in his heart, "There is no Cabal."
._\`:_ F S M _:' \_,  | FSM: <http://www.venganza.org/>
    / (`---'\ `-.     | AUK: <http://www.netcabal.com/auk/>
 ,-`  _)    (_,   F_P | PJR: <http://insurgent.org/~pjr/>
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