🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
27 messages
27 total messages Started by Ignoramus7848 Fri, 20 Jul 2007 20:04
How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202183
Author: Ignoramus7848
Date: Fri, 20 Jul 2007 20:04
7 lines
1480 bytes
slrn really chokes on unprintable characters. I would like it to not
display anything that is not a valid ASCII character, how can I make
it so?

A bonus would be to display Russian chraacters also, but not anything else.

i
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202199
Author: Thomas Wiegner
Date: Sat, 21 Jul 2007 16:42
25 lines
1841 bytes
On Fri, 20 Jul 2007, Ignoramus7848 <ignoramus7848@NOSPAM.7848.invalid> wrote:

> slrn really chokes on unprintable characters. I would like it to not
> display anything that is not a valid ASCII character, how can I make
> it so?

Take the version from CVS, which is capable of UTF-8, there was just one
week ago a posting how to do that.

 <slrnf9g2ho.r4c.pjr@pjr.gotdns.org>

> A bonus would be to display Russian chraacters also, but not anything else.

The CVS version will display all characters assuming the charset is
declared correctly and your fonts are capable of displaying Russian
characters.

For not correctly declared characters patches can help.

Cheers,

 Thomas

-- 
slrn charset patches: http://www.foory.de/thw/slrn/
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202215
Author: andrew
Date: Sun, 22 Jul 2007 00:42
32 lines
2385 bytes
On 2007-07-21, Thomas Wiegner <wiegner@gmx.de> wrote:
> On Fri, 20 Jul 2007, Ignoramus7848 <ignoramus7848@NOSPAM.7848.invalid> wrote:
>
>> slrn really chokes on unprintable characters. I would like it to not
>> display anything that is not a valid ASCII character, how can I make
>> it so?
>
> Take the version from CVS, which is capable of UTF-8, there was just one
> week ago a posting how to do that.
>
> <slrnf9g2ho.r4c.pjr@pjr.gotdns.org>

I am still very grateful to PJR for this step by step guide :-) It
needed a bit of remedial work on my older Dapper Drake system but that
was more a reflection on a slightly older distro.

>> A bonus would be to display Russian chraacters also, but not anything else.
>
> The CVS version will display all characters assuming the charset is
> declared correctly and your fonts are capable of displaying Russian
> characters.

I don't suppose that you have a 'demonstration post' that would test
the ability of the cvs version to read such characters?

 Thanks again for your trouble,

         Andrew

-- 
Andrew's Corner
http://people.aapt.net.au/~adjlstrong/homer.html
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202217
Author: andrew
Date: Sun, 22 Jul 2007 04:25
23 lines
2101 bytes
On 2007-07-22, andrew <andrew@ilium.invalid> wrote:
> On 2007-07-21, Thomas Wiegner <wiegner@gmx.de> wrote:

[...]

>>> A bonus would be to display Russian chraacters also, but not anything else.
>>
>> The CVS version will display all characters assuming the charset is
>> declared correctly and your fonts are capable of displaying Russian
>> characters.
>
> I don't suppose that you have a 'demonstration post' that would test
> the ability of the cvs version to read such characters?

Oops, just ignore that request! I have spent a little while on
linux.debian.user.russian and I am convinced that russian characters
display perfectly on the cvs slrn. Now for Greek ...

            Andrew

-- 
Andrew's Corner
http://people.aapt.net.au/~adjlstrong/homer.html
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202218
Author: andrew
Date: Sun, 22 Jul 2007 04:41
31 lines
2358 bytes
On 2007-07-22, andrew <andrew@ilium.invalid> wrote:
> On 2007-07-22, andrew <andrew@ilium.invalid> wrote:
>> On 2007-07-21, Thomas Wiegner <wiegner@gmx.de> wrote:
>
> [...]

>>> The CVS version will display all characters assuming the charset is
>>> declared correctly and your fonts are capable of displaying Russian
>>> characters.
>>
>> I don't suppose that you have a 'demonstration post' that would test
>> the ability of the cvs version to read such characters?
>
> Oops, just ignore that request! I have spent a little while on
> linux.debian.user.russian and I am convinced that russian characters
> display perfectly on the cvs slrn. Now for Greek ...

I knew there was a reason I wrestled with the cvs version:

http://people.aapt.net.au/~adjlstrong/greek_french.png
http://people.aapt.net.au/~adjlstrong/russian.png

 How cool is that!!!?

          Andrew

PS That is actually _ancient_ Greek.

-- 
Andrew's Corner
http://people.aapt.net.au/~adjlstrong/homer.html
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202227
Author: Thomas Wiegner
Date: Sun, 22 Jul 2007 11:10
231 lines
15813 bytes
On Sun, 22 Jul 2007, andrew <andrew@ilium.invalid> wrote:

[ slrn UTF-8 ]

> I don't suppose that you have a 'demonstration post' that would test
> the ability of the cvs version to read such characters?

This here might be a good test:

<------------- snip ---------->

UTF-8 encoded sample plain-text file
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾

Markus Kuhn [ˈmaʳkʊs kuːn] <http://www.cl.cam.ac.uk/~mgk25/> — 2002-07-25


The ASCII compatible UTF-8 encoding used in this plain-text file
is defined in Unicode, ISO 10646-1, and RFC 2279.


Using Unicode/UTF-8, you can write in emails and source code things such as

Mathematics and sciences:

  ∮ E⋅da = Q,  n → ∞, ∑ f(i) = ∏ g(i),      ⎧⎡⎛┌─────┐⎞⎤⎫
                                            ⎪⎢⎜│a²+b³ ⎟⎥⎪
  ∀x∈ℝ: ⌈x⌉ = −⌊−x⌋, α ∧ ¬β = ¬(¬α ∨ β),    ⎪⎢⎜│───── ⎟⎥⎪
                                            ⎪⎢⎜⎷ c₈   ⎟⎥⎪
  ℕ ⊆ ℕ₀ ⊂ ℤ ⊂ ℚ ⊂ ℝ ⊂ ℂ,                   ⎨⎢⎜       ⎟⎥⎬
                                            ⎪⎢⎜ ∞     ⎟⎥⎪
  ⊥ < a ≠ b ≡ c ≤ d ≪ ⊤ ⇒ (⟦A⟧ ⇔ ⟪B⟫),      ⎪⎢⎜ ⎲     ⎟⎥⎪
                                            ⎪⎢⎜ ⎳aⁱ-bⁱ⎟⎥⎪
  2H₂ + O₂ ⇌ 2H₂O, R = 4.7 kΩ, ⌀ 200 mm     ⎩⎣⎝i=1    ⎠⎦⎭

Linguistics and dictionaries:

  ði ıntəˈnæʃənəl fəˈnɛtık əsoʊsiˈeıʃn
  Y [ˈʏpsilɔn], Yen [jɛn], Yoga [ˈjoːgɑ]

APL:

  ((V⍳V)=⍳⍴V)/V←,V    ⌷←⍳→⍴∆∇⊃‾⍎⍕⌈

Nicer typography in plain text files:

  ╔══════════════════════════════════════════╗
  ║                                          ║
  ║   • ‘single’ and “double” quotes         ║
  ║                                          ║
  ║   • Curly apostrophes: “We’ve been here” ║
  ║                                          ║
  ║   • Latin-1 apostrophe and accents: '´`  ║
  ║                                          ║
  ║   • ‚deutsche‘ „Anführungszeichen“       ║
  ║                                          ║
  ║   • †, ‡, ‰, •, 3–4, —, −5/+5, ™, …      ║
  ║                                          ║
  ║   • ASCII safety test: 1lI|, 0OD, 8B     ║
  ║                      ╭─────────╮         ║
  ║   • the euro symbol: │ 14.95 € │         ║
  ║                      ╰─────────╯         ║
  ╚══════════════════════════════════════════╝

Combining characters:

  STARGΛ̊TE SG-1, a = v̇ = r̈, a⃑ ⊥ b⃑

Greek (in Polytonic):

  The Greek anthem:

  Σὲ γνωρίζω ἀπὸ τὴν κόψη
  τοῦ σπαθιοῦ τὴν τρομερή,
  σὲ γνωρίζω ἀπὸ τὴν ὄψη
  ποὺ μὲ βία μετράει τὴ γῆ.

  ᾿Απ᾿ τὰ κόκκαλα βγαλμένη
  τῶν ῾Ελλήνων τὰ ἱερά
  καὶ σὰν πρῶτα ἀνδρειωμένη
  χαῖρε, ὦ χαῖρε, ᾿Ελευθεριά!

  From a speech of Demosthenes in the 4th century BC:

  Οὐχὶ ταὐτὰ παρίσταταί μοι γιγνώσκειν, ὦ ἄνδρες ᾿Αθηναῖοι,
  ὅταν τ᾿ εἰς τὰ πράγματα ἀποβλέψω καὶ ὅταν πρὸς τοὺς
  λόγους οὓς ἀκούω· τοὺς μὲν γὰρ λόγους περὶ τοῦ
  τιμωρήσασθαι Φίλιππον ὁρῶ γιγνομένους, τὰ δὲ πράγματ᾿
  εἰς τοῦτο προήκοντα,  ὥσθ᾿ ὅπως μὴ πεισόμεθ᾿ αὐτοὶ
  πρότερον κακῶς σκέψασθαι δέον. οὐδέν οὖν ἄλλο μοι δοκοῦσιν
  οἱ τὰ τοιαῦτα λέγοντες ἢ τὴν ὑπόθεσιν, περὶ ἧς βουλεύεσθαι,
  οὐχὶ τὴν οὖσαν παριστάντες ὑμῖν ἁμαρτάνειν. ἐγὼ δέ, ὅτι μέν
  ποτ᾿ ἐξῆν τῇ πόλει καὶ τὰ αὑτῆς ἔχειν ἀσφαλῶς καὶ Φίλιππον
  τιμωρήσασθαι, καὶ μάλ᾿ ἀκριβῶς οἶδα· ἐπ᾿ ἐμοῦ γάρ, οὐ πάλαι
  γέγονεν ταῦτ᾿ ἀμφότερα· νῦν μέντοι πέπεισμαι τοῦθ᾿ ἱκανὸν
  προλαβεῖν ἡμῖν εἶναι τὴν πρώτην, ὅπως τοὺς συμμάχους
  σώσομεν. ἐὰν γὰρ τοῦτο βεβαίως ὑπάρξῃ, τότε καὶ περὶ τοῦ
  τίνα τιμωρήσεταί τις καὶ ὃν τρόπον ἐξέσται σκοπεῖν· πρὶν δὲ
  τὴν ἀρχὴν ὀρθῶς ὑποθέσθαι, μάταιον ἡγοῦμαι περὶ τῆς
  τελευτῆς ὁντινοῦν ποιεῖσθαι λόγον.

  Δημοσθένους, Γ´ ᾿Ολυνθιακὸς

Georgian:

  From a Unicode conference invitation:

  გთხოვთ ახლავე გაიაროთ რეგისტრაცია Unicode-ის მეათე საერთაშორისო
  კონფერენციაზე დასასწრებად, რომელიც გაიმართება 10-12 მარტს,
  ქ. მაინცში, გერმანიაში. კონფერენცია შეჰკრებს ერთად მსოფლიოს
  ექსპერტებს ისეთ დარგებში როგორიცაა ინტერნეტი და Unicode-ი,
  ინტერნაციონალიზაცია და ლოკალიზაცია, Unicode-ის გამოყენება
  ოპერაციულ სისტემებსა, და გამოყენებით პროგრამებში, შრიფტებში,
  ტექსტების დამუშავებასა და მრავალენოვან კომპიუტერულ სისტემებში.

Russian:

  From a Unicode conference invitation:

  Зарегистрируйтесь сейчас на Десятую Международную Конференцию по
  Unicode, которая состоится 10-12 марта 1997 года в Майнце в Германии.
  Конференция соберет широкий круг экспертов по  вопросам глобального
  Интернета и Unicode, локализации и интернационализации, воплощению и
  применению Unicode в различных операционных системах и программных
  приложениях, шрифтах, верстке и многоязычных компьютерных системах.

Thai (UCS Level 2):

  Excerpt from a poetry on The Romance of The Three Kingdoms (a Chinese
  classic 'San Gua'):

  [----------------------------|------------------------]
    ๏ แผ่นดินฮั่นเสื่อมโทรมแสนสังเวช  พระปกเกศกองบู๊กู้ขึ้นใหม่
  สิบสองกษัตริย์ก่อนหน้าแลถัดไป       สององค์ไซร้โง่เขลาเบาปัญญา
    ทรงนับถือขันทีเป็นที่พึ่ง           บ้านเมืองจึงวิปริตเป็นนักหนา
  โฮจิ๋นเรียกทัพทั่วหัวเมืองมา         หมายจะฆ่ามดชั่วตัวสำคัญ
    เหมือนขับไสไล่เสือจากเคหา      รับหมาป่าเข้ามาเลยอาสัญ
  ฝ่ายอ้องอุ้นยุแยกให้แตกกัน          ใช้สาวนั้นเป็นชนวนชื่นชวนใจ
    พลันลิฉุยกุยกีกลับก่อเหตุ          ช่างอาเพศจริงหนาฟ้าร้องไห้
  ต้องรบราฆ่าฟันจนบรรลัย           ฤๅหาใครค้ำชูกู้บรรลังก์ ฯ

  (The above is a two-column text. If combining characters are handled
  correctly, the lines of the second column should be aligned with the
  | character above.)

Ethiopian:

  Proverbs in the Amharic language:

  ሰማይ አይታረስ ንጉሥ አይከሰስ።
  ብላ ካለኝ እንደአባቴ በቆመጠኝ።
  ጌጥ ያለቤቱ ቁምጥና ነው።
  ደሀ በሕልሙ ቅቤ ባይጠጣ ንጣት በገደለው።
  የአፍ ወለምታ በቅቤ አይታሽም።
  አይጥ በበላ ዳዋ ተመታ።
  ሲተረጉሙ ይደረግሙ።
  ቀስ በቀስ፥ ዕንቁላል በእግሩ ይሄዳል።
  ድር ቢያብር አንበሳ ያስር።
  ሰው እንደቤቱ እንጅ እንደ ጉረቤቱ አይተዳደርም።
  እግዜር የከፈተውን ጉሮሮ ሳይዘጋው አይድርም።
  የጎረቤት ሌባ፥ ቢያዩት ይስቅ ባያዩት ያጠልቅ።
  ሥራ ከመፍታት ልጄን ላፋታት።
  ዓባይ ማደሪያ የለው፥ ግንድ ይዞ ይዞራል።
  የእስላም አገሩ መካ የአሞራ አገሩ ዋርካ።
  ተንጋሎ ቢተፉ ተመልሶ ባፉ።
  ወዳጅህ ማር ቢሆን ጨርስህ አትላሰው።
  እግርህን በፍራሽህ ልክ ዘርጋ።

Runes:

  ᚻᛖ ᚳᚹᚫᚦ ᚦᚫᛏ ᚻᛖ ᛒᚢᛞᛖ ᚩᚾ ᚦᚫᛗ ᛚᚪᚾᛞᛖ ᚾᚩᚱᚦᚹᛖᚪᚱᛞᚢᛗ ᚹᛁᚦ ᚦᚪ ᚹᛖᛥᚫ

  (Old English, which transcribed into Latin reads 'He cwaeth that he
  bude thaem lande northweardum with tha Westsae.' and means 'He said
  that he lived in the northern land near the Western Sea.')

Braille:

  ⡌⠁⠧⠑ ⠼⠁⠒  ⡍⠜⠇⠑⠹⠰⠎ ⡣⠕⠌

  ⡍⠜⠇⠑⠹ ⠺⠁⠎ ⠙⠑⠁⠙⠒ ⠞⠕ ⠃⠑⠛⠔ ⠺⠊⠹⠲ ⡹⠻⠑ ⠊⠎ ⠝⠕ ⠙⠳⠃⠞
  ⠱⠁⠞⠑⠧⠻ ⠁⠃⠳⠞ ⠹⠁⠞⠲ ⡹⠑ ⠗⠑⠛⠊⠌⠻ ⠕⠋ ⠙⠊⠎ ⠃⠥⠗⠊⠁⠇ ⠺⠁⠎
  ⠎⠊⠛⠝⠫ ⠃⠹ ⠹⠑ ⠊⠇⠻⠛⠹⠍⠁⠝⠂ ⠹⠑ ⠊⠇⠻⠅⠂ ⠹⠑ ⠥⠝⠙⠻⠞⠁⠅⠻⠂
  ⠁⠝⠙ ⠹⠑ ⠡⠊⠑⠋ ⠍⠳⠗⠝⠻⠲ ⡎⠊⠗⠕⠕⠛⠑ ⠎⠊⠛⠝⠫ ⠊⠞⠲ ⡁⠝⠙
  ⡎⠊⠗⠕⠕⠛⠑⠰⠎ ⠝⠁⠍⠑ ⠺⠁⠎ ⠛⠕⠕⠙ ⠥⠏⠕⠝ ⠰⡡⠁⠝⠛⠑⠂ ⠋⠕⠗ ⠁⠝⠹⠹⠔⠛ ⠙⠑
  ⠡⠕⠎⠑ ⠞⠕ ⠏⠥⠞ ⠙⠊⠎ ⠙⠁⠝⠙ ⠞⠕⠲

  ⡕⠇⠙ ⡍⠜⠇⠑⠹ ⠺⠁⠎ ⠁⠎ ⠙⠑⠁⠙ ⠁⠎ ⠁ ⠙⠕⠕⠗⠤⠝⠁⠊⠇⠲

  ⡍⠔⠙⠖ ⡊ ⠙⠕⠝⠰⠞ ⠍⠑⠁⠝ ⠞⠕ ⠎⠁⠹ ⠹⠁⠞ ⡊ ⠅⠝⠪⠂ ⠕⠋ ⠍⠹
  ⠪⠝ ⠅⠝⠪⠇⠫⠛⠑⠂ ⠱⠁⠞ ⠹⠻⠑ ⠊⠎ ⠏⠜⠞⠊⠊⠥⠇⠜⠇⠹ ⠙⠑⠁⠙ ⠁⠃⠳⠞
  ⠁ ⠙⠕⠕⠗⠤⠝⠁⠊⠇⠲ ⡊ ⠍⠊⠣⠞ ⠙⠁⠧⠑ ⠃⠑⠲ ⠔⠊⠇⠔⠫⠂ ⠍⠹⠎⠑⠇⠋⠂ ⠞⠕
  ⠗⠑⠛⠜⠙ ⠁ ⠊⠕⠋⠋⠔⠤⠝⠁⠊⠇ ⠁⠎ ⠹⠑ ⠙⠑⠁⠙⠑⠌ ⠏⠊⠑⠊⠑ ⠕⠋ ⠊⠗⠕⠝⠍⠕⠝⠛⠻⠹
  ⠔ ⠹⠑ ⠞⠗⠁⠙⠑⠲ ⡃⠥⠞ ⠹⠑ ⠺⠊⠎⠙⠕⠍ ⠕⠋ ⠳⠗ ⠁⠝⠊⠑⠌⠕⠗⠎
  ⠊⠎ ⠔ ⠹⠑ ⠎⠊⠍⠊⠇⠑⠆ ⠁⠝⠙ ⠍⠹ ⠥⠝⠙⠁⠇⠇⠪⠫ ⠙⠁⠝⠙⠎
  ⠩⠁⠇⠇ ⠝⠕⠞ ⠙⠊⠌⠥⠗⠃ ⠊⠞⠂ ⠕⠗ ⠹⠑ ⡊⠳⠝⠞⠗⠹⠰⠎ ⠙⠕⠝⠑ ⠋⠕⠗⠲ ⡹⠳
  ⠺⠊⠇⠇ ⠹⠻⠑⠋⠕⠗⠑ ⠏⠻⠍⠊⠞ ⠍⠑ ⠞⠕ ⠗⠑⠏⠑⠁⠞⠂ ⠑⠍⠏⠙⠁⠞⠊⠊⠁⠇⠇⠹⠂ ⠹⠁⠞
  ⡍⠜⠇⠑⠹ ⠺⠁⠎ ⠁⠎ ⠙⠑⠁⠙ ⠁⠎ ⠁ ⠙⠕⠕⠗⠤⠝⠁⠊⠇⠲

  (The first couple of paragraphs of "A Christmas Carol" by Dickens)

Compact font selection example text:

  ABCDEFGHIJKLMNOPQRSTUVWXYZ /0123456789
  abcdefghijklmnopqrstuvwxyz £©µÀÆÖÞßéöÿ
  –—‘“”„†•…‰™œŠŸž€ ΑΒΓΔΩαβγδω АБВГДабвгд
  ∀∂∈ℝ∧∪≡∞ ↑↗↨↻⇣ ┐┼╔╘░►☺♀ fi�⑀₂ἠḂӥẄɐː⍎אԱა

Greetings in various languages:

  Hello world, Καλημέρα κόσμε, コンニチハ

Box drawing alignment tests:                                          █
                                                                      ▉
  ╔══╦══╗  ┌──┬──┐  ╭──┬──╮  ╭──┬──╮  ┏━━┳━━┓  ┎┒┏┑   ╷  ╻ ┏┯┓ ┌┰┐    ▊ ╱╲╱╲╳╳╳
  ║┌─╨─┐║  │╔═╧═╗│  │╒═╪═╕│  │╓─╁─╖│  ┃┌─╂─┐┃  ┗╃╄┙  ╶┼╴╺╋╸┠┼┨ ┝╋┥    ▋ ╲╱╲╱╳╳╳
  ║│╲ ╱│║  │║   ║│  ││ │ ││  │║ ┃ ║│  ┃│ ╿ │┃  ┍╅╆┓   ╵  ╹ ┗┷┛ └┸┘    ▌ ╱╲╱╲╳╳╳
  ╠╡ ╳ ╞╣  ├╢   ╟┤  ├┼─┼─┼┤  ├╫─╂─╫┤  ┣┿╾┼╼┿┫  ┕┛┖┚     ┌┄┄┐ ╎ ┏┅┅┓ ┋ ▍ ╲╱╲╱╳╳╳
  ║│╱ ╲│║  │║   ║│  ││ │ ││  │║ ┃ ║│  ┃│ ╽ │┃  ░░▒▒▓▓██ ┊  ┆ ╎ ╏  ┇ ┋ ▎
  ║└─╥─┘║  │╚═╤═╝│  │╘═╪═╛│  │╙─╀─╜│  ┃└─╂─┘┃  ░░▒▒▓▓██ ┊  ┆ ╎ ╏  ┇ ┋ ▏
  ╚══╩══╝  └──┴──┘  ╰──┴──╯  ╰──┴──╯  ┗━━┻━━┛  ▗▄▖▛▀▜   └╌╌┘ ╎ ┗╍╍┛ ┋  ▁▂▃▄▅▆▇█
                                               ▝▀▘▙▄▟

<------------- snip ---------->

Cheers,

 Thomas

-- 
slrn charset patches: http://www.foory.de/thw/slrn/
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202232
Author: Peter J Ross
Date: Sun, 22 Jul 2007 12:06
43 lines
2865 bytes
In news.software.readers on Sun, 22 Jul 2007 00:42:47 +0000 (UTC),
andrew <andrew@ilium.invalid> wrote:

> On 2007-07-21, Thomas Wiegner <wiegner@gmx.de> wrote:
>> On Fri, 20 Jul 2007, Ignoramus7848 <ignoramus7848@NOSPAM.7848.invalid> wrote:
>>
>>> slrn really chokes on unprintable characters. I would like it to not
>>> display anything that is not a valid ASCII character, how can I make
>>> it so?
>>
>> Take the version from CVS, which is capable of UTF-8, there was just one
>> week ago a posting how to do that.
>>
>> <slrnf9g2ho.r4c.pjr@pjr.gotdns.org>
>
> I am still very grateful to PJR for this step by step guide :-) It
> needed a bit of remedial work on my older Dapper Drake system but that
> was more a reflection on a slightly older distro.

What did you need to change?

(I know there was a problem using the patched Debian Experimental
source code, but the unpatched code shouldn't depend on specific
versions of libraries etc.)

slrn *should* compile quite easily on almost anything, and if it
doesn't there might be a bug.

>>> A bonus would be to display Russian chraacters also, but not anything else.
>>
>> The CVS version will display all characters assuming the charset is
>> declared correctly and your fonts are capable of displaying Russian
>> characters.
>
> I don't suppose that you have a 'demonstration post' that would test
> the ability of the cvs version to read such characters?

You could paste some lines of Greek, Hebrew, Japanese, Russian etc
from web pages into a single polyglot test post. Display should be
limited only by incomplete fonts on your system.

-- 
PJR :-)
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202233
Author: andrew
Date: Sun, 22 Jul 2007 12:19
39 lines
2510 bytes
On 2007-07-22, Thomas Wiegner <wiegner@gmx.de> wrote:
> On Sun, 22 Jul 2007, andrew <andrew@ilium.invalid> wrote:
>
> [ slrn UTF-8 ]
>
>> I don't suppose that you have a 'demonstration post' that would test
>> the ability of the cvs version to read such characters?
>
> This here might be a good test:

[...]

> Greek (in Polytonic):
>
>   The Greek anthem:
>
>   Σὲ γνωρίζω ἀπὸ τὴν κόψη
>   τοῦ σπαθιοῦ τὴν τρομερή,
>   σὲ γνωρίζω ἀπὸ τὴν ὄψη
>   ποὺ μὲ βία μετράει τὴ γῆ.
>
>   ᾿Απ᾿ τὰ κόκκαλα βγαλμένη
>   τῶν ῾Ελλήνων τὰ ἱερά
>   καὶ σὰν πρῶτα ἀνδρειωμένη
>   χαῖρε, ὦ χαῖρε, ᾿Ελευθεριά!
>
[...]

Thanks for that Thomas, all appeared well in slrn. I have left a
little Greek above to view again in my return post. Plus installed
your undeclared charset patch to tst some of the less well read
russian posts I saw.

 Thanks again,

     Andrew
-- 
Andrew's Corner
http://people.aapt.net.au/~adjlstrong/homer.html
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202234
Author: andrew
Date: Sun, 22 Jul 2007 12:26
39 lines
2866 bytes
On 2007-07-22, Peter J Ross <pjr@example.invalid> wrote:
> In news.software.readers on Sun, 22 Jul 2007 00:42:47 +0000 (UTC),
> andrew <andrew@ilium.invalid> wrote:

[...]

>> I am still very grateful to PJR for this step by step guide :-) It
>> needed a bit of remedial work on my older Dapper Drake system but that
>> was more a reflection on a slightly older distro.
>
> What did you need to change?
>
> (I know there was a problem using the patched Debian Experimental
> source code, but the unpatched code shouldn't depend on specific
> versions of libraries etc.)

I ditched the Debian source code and used the cvs version but some
errors (which unfortunately I do not have recorded) suggested I needed
to either update my version of autoconf or weed out references to a
later version of autoconf in the source. I compiled the latest
autoconf (and automake) from their respective websites and then slrn
compiled smoothly.

>>>> A bonus would be to display Russian chraacters also, but not anything else.
>>>
>>> The CVS version will display all characters assuming the charset is
>>> declared correctly and your fonts are capable of displaying Russian
>>> characters.

While I was fiddling with slrn I also installed Thomas Wiegener's
'undeclared charset' patch which will hopefully cover this as well.

 Thanks again for your help,

           Andrew

-- 
Andrew's Corner
http://people.aapt.net.au/~adjlstrong/homer.html
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202237
Author: andrew
Date: Sun, 22 Jul 2007 13:47
31 lines
2518 bytes
On 2007-07-22, andrew <andrew@ilium.invalid> wrote:
> On 2007-07-22, Peter J Ross <pjr@example.invalid> wrote:
>> In news.software.readers on Sun, 22 Jul 2007 00:42:47 +0000 (UTC),
>> andrew <andrew@ilium.invalid> wrote:
>
> [...]
>
>>> I am still very grateful to PJR for this step by step guide :-) It
>>> needed a bit of remedial work on my older Dapper Drake system but that
>>> was more a reflection on a slightly older distro.
>>
>> What did you need to change?
>>
>> (I know there was a problem using the patched Debian Experimental
>> source code, but the unpatched code shouldn't depend on specific
>> versions of libraries etc.)
>
> I ditched the Debian source code and used the cvs version but some
> errors (which unfortunately I do not have recorded) suggested I needed
> to either update my version of autoconf or weed out references to a
> later version of autoconf in the source. 

Found it:

http://article.gmane.org/gmane.network.slrn.user/1831

            Andrew

-- 
Andrew's Corner
http://people.aapt.net.au/~adjlstrong/homer.html
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202240
Author: Peter J Ross
Date: Sun, 22 Jul 2007 14:56
37 lines
2637 bytes
In news.software.readers on Sun, 22 Jul 2007 13:47:00 +0000 (UTC),
andrew <andrew@ilium.invalid> wrote:

> On 2007-07-22, andrew <andrew@ilium.invalid> wrote:
>> On 2007-07-22, Peter J Ross <pjr@example.invalid> wrote:
>>> In news.software.readers on Sun, 22 Jul 2007 00:42:47 +0000 (UTC),
>>> andrew <andrew@ilium.invalid> wrote:
>>
>> [...]
>>
>>>> I am still very grateful to PJR for this step by step guide :-) It
>>>> needed a bit of remedial work on my older Dapper Drake system but that
>>>> was more a reflection on a slightly older distro.
>>>
>>> What did you need to change?
>>>
>>> (I know there was a problem using the patched Debian Experimental
>>> source code, but the unpatched code shouldn't depend on specific
>>> versions of libraries etc.)
>>
>> I ditched the Debian source code and used the cvs version but some
>> errors (which unfortunately I do not have recorded) suggested I needed
>> to either update my version of autoconf or weed out references to a
>> later version of autoconf in the source. 
>
> Found it:
>
> http://article.gmane.org/gmane.network.slrn.user/1831

But that problem was in the Debian source, not the vanilla source. The
troublesome symlinks don't exist here:

<http://slrn.cvs.sourceforge.net/slrn/slrn/autoconf/>


-- 
PJR :-)
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202396
Author: Shmuel (Seymour J.) Metz
Date: Wed, 25 Jul 2007 00:05
18 lines
2127 bytes
In <slrnfa6i2b.hej.pjr@pjr.gotdns.org>, on 07/22/2007
   at 12:06 PM, Peter J Ross <pjr@example.invalid> said:

>You could paste some lines of Greek, Hebrew, Japanese, Russian etc
>from web pages into a single polyglot test post. Display should be
>limited only by incomplete fonts on your system.

Does the new version handle bidi text, e.g., mixture of Hebrew and
English, mixture of Arabic and French?

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202406
Author: andrew
Date: Wed, 25 Jul 2007 01:43
15 lines
1740 bytes
On 2007-07-25, Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid>
 wrote:

[...]

> Does the new version handle bidi text, e.g., mixture of Hebrew and
> English, mixture of Arabic and French?

I guess the proof of the pudding is in the tasting: can you post some?

         Andrew

-- 
Andrew's Corner
http://people.aapt.net.au/~adjlstrong/homer.html
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202417
Author: Shmuel (Seymour J.) Metz
Date: Wed, 25 Jul 2007 11:04
21 lines
2284 bytes
In <slrnfadamn.big.andrew@ilium.invalid>, on 07/25/2007
   at 01:43 AM, andrew <andrew@ilium.invalid> said:

>I guess the proof of the pudding is in the tasting: can you post
>some?

My current news client can handle neither bidi nor UTF-8 :-(

However, if slrn gets to the point that it does enough of what my
current client *does* do that I was considering moving, bidi support
would be one of the features that might push me over the edge. Hence
the interest.

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202436
Author: Thomas Wiegner
Date: Wed, 25 Jul 2007 18:26
18 lines
1833 bytes
On Wed, 25 Jul 2007, Shmuel Metz <spamtrap@library.lspace.org.invalid> wrote:

>>You could paste some lines of Greek, Hebrew, Japanese, Russian etc
>>from web pages into a single polyglot test post. Display should be
>>limited only by incomplete fonts on your system.
>
> Does the new version handle bidi text, e.g., mixture of Hebrew and
> English, mixture of Arabic and French?

Take a look at <7iqbn4-6v3.ln1@wiegner.user.cis.dfn.de> I can see
everything displayed correctly with my version of slrn.

Cheers,

 Thomas

-- 
slrn charset patches: http://www.foory.de/thw/slrn/
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202438
Author: Rikishi 42
Date: Wed, 25 Jul 2007 19:33
22 lines
2078 bytes
On 2007-07-25, Thomas Wiegner <wiegner@gmx.de> wrote:

>>>You could paste some lines of Greek, Hebrew, Japanese, Russian etc
>>>from web pages into a single polyglot test post. Display should be
>>>limited only by incomplete fonts on your system.
>>
>> Does the new version handle bidi text, e.g., mixture of Hebrew and
>> English, mixture of Arabic and French?
>
> Take a look at <7iqbn4-6v3.ln1@wiegner.user.cis.dfn.de> I can see
> everything displayed correctly with my version of slrn.

Are you in UTF-8?
I am, running SuSE 10.0.

And I can't see any kind of accent so far. Only drawback to slrn I found.


-- 
There is an art, it says, or rather, a knack to flying.
The knack lies in learning how to throw yourself at the ground and miss.
Douglas Adams
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202440
Author: Troy Piggins
Date: Wed, 25 Jul 2007 20:56
28 lines
2539 bytes
* Rikishi 42 is quoted & my replies are inline below :
> On 2007-07-25, Thomas Wiegner <wiegner@gmx.de> wrote:
>
>>>>You could paste some lines of Greek, Hebrew, Japanese, Russian etc
>>>>from web pages into a single polyglot test post. Display should be
>>>>limited only by incomplete fonts on your system.
>>>
>>> Does the new version handle bidi text, e.g., mixture of Hebrew and
>>> English, mixture of Arabic and French?
>>
>> Take a look at <7iqbn4-6v3.ln1@wiegner.user.cis.dfn.de> I can see
>> everything displayed correctly with my version of slrn.
>
> Are you in UTF-8?
> I am, running SuSE 10.0.
>
> And I can't see any kind of accent so far. Only drawback to slrn I found.

I'm updating my UTF-8 page, but look here to see how to get it
working:

http://piggo.com/~troy/slrn#utf8

-- 
Troy Piggins | http://piggo.com/~troy                             
                                            ___  |   __   __    ,-O   (o-    O 
slrn macros and howto:                     |___  | |/   |/  |  O   )  //\     O
http://piggo.com/~troy/slrn                 ___| | |    |   |   `-O   V_/_  OOO
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202443
Author: andrew
Date: Wed, 25 Jul 2007 23:05
24 lines
2333 bytes
On 2007-07-25, Troy Piggins <usenet-0707@piggo.com> wrote:

[...]

> I'm updating my UTF-8 page, but look here to see how to get it
> working:
>
> http://piggo.com/~troy/slrn#utf8

We have been working on the same project :-) I hope you don't mind
that we are producing slightly different versions of the same idea?
This page is not complete by any stretch:

http://people.aapt.net.au/~adjlstrong/slrn_revisited.html

And I have added some generic stuff on patching. I plan on running
Feisty on another disk and seeing if it has any problems with the cvs,
plus clean up the Dapper update area, etc etc.

            Andrew

-- 
Andrew's Corner
http://people.aapt.net.au/~adjlstrong/homer.html
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202444
Author: andrew
Date: Wed, 25 Jul 2007 23:09
27 lines
2423 bytes
On 2007-07-25, andrew <andrew@ilium.invalid> wrote:
> On 2007-07-25, Troy Piggins <usenet-0707@piggo.com> wrote:
>
> [...]
>
>> I'm updating my UTF-8 page, but look here to see how to get it
>> working:
>>
>> http://piggo.com/~troy/slrn#utf8
>
> We have been working on the same project :-) I hope you don't mind
> that we are producing slightly different versions of the same idea?
> This page is not complete by any stretch:
>
> http://people.aapt.net.au/~adjlstrong/slrn_revisited.html
>
> And I have added some generic stuff on patching. I plan on running
> Feisty on another disk and seeing if it has any problems with the cvs,
> plus clean up the Dapper update area, etc etc.
>
BTW should you include tar -xzvf xxxxxx on your walkthrough?

          Andrew

-- 
Andrew's Corner
http://people.aapt.net.au/~adjlstrong/homer.html
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202445
Author: Troy Piggins
Date: Thu, 26 Jul 2007 00:48
35 lines
2832 bytes
* andrew is quoted & my replies are inline below :
> On 2007-07-25, Troy Piggins <usenet-0707@piggo.com> wrote:
>
> [...]
>
>> I'm updating my UTF-8 page, but look here to see how to get it
>> working:
>>
>> http://piggo.com/~troy/slrn#utf8
>
> We have been working on the same project :-) I hope you don't mind
> that we are producing slightly different versions of the same idea?

Of course not - the more the merrier, as long as we are clear in
understanding who announced theirs first ;-)  Kidding.

> This page is not complete by any stretch:
>
> http://people.aapt.net.au/~adjlstrong/slrn_revisited.html
>
> And I have added some generic stuff on patching. I plan on running
> Feisty on another disk and seeing if it has any problems with the cvs,
> plus clean up the Dapper update area, etc etc.

I like it.  I'll have a good read this weekend.

I am still undecided on how far to go with mine, and am thinking
about revamping my site design anyway.  Just need some time at
home to dedicate to it.

-- 
Troy Piggins | http://piggo.com/~troy                             
                                            ___  |   __   __    ,-O   (o-    O 
slrn macros and howto:                     |___  | |/   |/  |  O   )  //\     O
http://piggo.com/~troy/slrn                 ___| | |    |   |   `-O   V_/_  OOO
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202446
Author: Troy Piggins
Date: Thu, 26 Jul 2007 00:50
31 lines
2801 bytes
* andrew is quoted & my replies are inline below :
> On 2007-07-25, andrew <andrew@ilium.invalid> wrote:
>> On 2007-07-25, Troy Piggins <usenet-0707@piggo.com> wrote:
>>
>> [...]
>>
>>> I'm updating my UTF-8 page, but look here to see how to get it
>>> working:
>>>
>>> http://piggo.com/~troy/slrn#utf8
>>
>> We have been working on the same project :-) I hope you don't mind
>> that we are producing slightly different versions of the same idea?
>> This page is not complete by any stretch:
>>
>> http://people.aapt.net.au/~adjlstrong/slrn_revisited.html
>>
>> And I have added some generic stuff on patching. I plan on running
>> Feisty on another disk and seeing if it has any problems with the cvs,
>> plus clean up the Dapper update area, etc etc.
>
> BTW should you include tar -xzvf xxxxxx on your walkthrough?

I don't understand.  I have a line mentioning the tar extract
command already.  Or do you mean I /shouldn't/ include it?

-- 
Troy Piggins | http://piggo.com/~troy                             
                                            ___  |   __   __    ,-O   (o-    O 
slrn macros and howto:                     |___  | |/   |/  |  O   )  //\     O
http://piggo.com/~troy/slrn                 ___| | |    |   |   `-O   V_/_  OOO
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202447
Author: andrew
Date: Thu, 26 Jul 2007 01:56
24 lines
2402 bytes
On 2007-07-26, Troy Piggins <usenet-0707@piggo.com> wrote:
> * andrew is quoted & my replies are inline below :
>> On 2007-07-25, andrew <andrew@ilium.invalid> wrote:

[...]
>>
>> BTW should you include tar -xzvf xxxxxx on your walkthrough?
>
> I don't understand.  I have a line mentioning the tar extract
> command already.  Or do you mean I /shouldn't/ include it?

Sorry a senior moment on my part :-) You may be interested to know
that I installed Feisty on to a spare HDD and installed the cvs slrn.
Automake and autoconf from the repository are 1.10 and 2.61
respectively and the installation was flawless. Also required a
package called gettext. Almost makes you want to upgrade :-)

  All the best,

     Andrew

-- 
Andrew's Corner
http://people.aapt.net.au/~adjlstrong/homer.html
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202464
Author: Abelardo Tordo
Date: Thu, 26 Jul 2007 22:09
12 lines
2248 bytes
In news.software.readers, Thomas Wiegner wrote:

> Take a look at <7iqbn4-6v3.ln1@wiegner.user.cis.dfn.de> I can see
> everything displayed correctly with my version of slrn.

Thanks for that post, it was a very interesting test. Just for the record,
KNode with Dejavu font displayed your article almost perfectly. Almost
because I could see correctly every sign and script, but there were some
minor disalignements in some of the boxes.

BTW, I highly recommend Dejavu, it has every symbol sometime depicted by man
an probably some more :) http://dejavu.sourceforge.net/
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202487
Author: Peter J Ross
Date: Fri, 27 Jul 2007 17:13
22 lines
2070 bytes
In news.software.readers on Tue, 24 Jul 2007 21:05:14 -0300, Shmuel
(Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote:

> In <slrnfa6i2b.hej.pjr@pjr.gotdns.org>, on 07/22/2007
>    at 12:06 PM, Peter J Ross <pjr@example.invalid> said:
>
>>You could paste some lines of Greek, Hebrew, Japanese, Russian etc
>>from web pages into a single polyglot test post. Display should be
>>limited only by incomplete fonts on your system.
>
> Does the new version handle bidi text, e.g., mixture of Hebrew and
> English, mixture of Arabic and French?

I don't know. Can you point me to a newsgroup where I can find some
examples?

(My own tests suggest that typing Hebrew using vim in Konsole causes
display problems, so I can't try it meaningfully in slrn posts.)


-- 
PJR :-)
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202489
Author: Peter J Ross
Date: Fri, 27 Jul 2007 17:30
34 lines
2554 bytes
In news.software.readers on Wed, 25 Jul 2007 21:33:12 +0200, Rikishi
42 <fsck_spam@telenet.be> wrote:

> On 2007-07-25, Thomas Wiegner <wiegner@gmx.de> wrote:
>
>>>>You could paste some lines of Greek, Hebrew, Japanese, Russian etc
>>>>from web pages into a single polyglot test post. Display should be
>>>>limited only by incomplete fonts on your system.
>>>
>>> Does the new version handle bidi text, e.g., mixture of Hebrew and
>>> English, mixture of Arabic and French?
>>
>> Take a look at <7iqbn4-6v3.ln1@wiegner.user.cis.dfn.de> I can see
>> everything displayed correctly with my version of slrn.
>
> Are you in UTF-8?
> I am, running SuSE 10.0.
>
> And I can't see any kind of accent so far. Only drawback to slrn I found.

"User-Agent: slrn/0.9.8.0 (Linux)"

That's an old version that doesn't have UTF-8 support, which was
introduced in 0.9.8.1pl1.

If you want full support for both UTF-8 and properly declared legacy
character sets, you'll need 0.9.8.1pl2 from the CVS repository.

If you also want support for improperly declared legacy character
sets, you'll also need to apply Thomas Wiegner's patch (see his
signature).

-- 
PJR :-)
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202491
Author: Peter J Ross
Date: Fri, 27 Jul 2007 17:41
23 lines
2039 bytes
In news.software.readers on Thu, 26 Jul 2007 06:56:39 +1000, Troy
Piggins <usenet-0707@piggo.com> wrote:

> I'm updating my UTF-8 page, but look here to see how to get it
> working:
>
> http://piggo.com/~troy/slrn#utf8

Two suggestions:

1. You write, "The above will give you the latest and greatest, but
unofficial, slrn." It isn't unofficial, merely unreleased as a
tarball.

2. You mention Thomas Wiegner's patches but don't provide a link or
instructions.

Otherwise that looks very helpful (as does andrew's page), and
provides me with further excuses for not writing any HTML myself. :-)


-- 
PJR :-)
Re: How do you make slrn ignore non-printable characters, UTF-8 and crap like that
#202511
Author: Troy Piggins
Date: Fri, 27 Jul 2007 20:57
38 lines
3102 bytes
* Peter J Ross is quoted & my replies are inline below :
> In news.software.readers on Thu, 26 Jul 2007 06:56:39 +1000, Troy
> Piggins <usenet-0707@piggo.com> wrote:
>
>> I'm updating my UTF-8 page, but look here to see how to get it
>> working:
>>
>> http://piggo.com/~troy/slrn#utf8
>
> Two suggestions:
>
> 1. You write, "The above will give you the latest and greatest, but
> unofficial, slrn." It isn't unofficial, merely unreleased as a
> tarball.

Fair enough.  Fixed now.

> 2. You mention Thomas Wiegner's patches but don't provide a link or
> instructions.

When I typed it I was more interested in quickly getting a
procedure up there so others could get the vanilla slrn compiled
and displaying correctly.  It's now the weekend and I'll add the
jewellery ;-)

> Otherwise that looks very helpful (as does andrew's page), and
> provides me with further excuses for not writing any HTML myself. :-)

:-) If you look at the code, I wouldn't really call that html.
It was just plain text with <pre>...</pre> tags wrapping it.
Just a quick hack while the discussions about it here were still
warm.  I'm converting it to html now.

-- 
Troy Piggins | http://piggo.com/~troy                             
                                            ___  |   __   __    ,-O   (o-    O 
slrn macros and howto:                     |___  | |/   |/  |  O   )  //\     O
http://piggo.com/~troy/slrn                 ___| | |    |   |   `-O   V_/_  OOO
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