🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264286

Re: trn 4 and UTF-8

#264286
From: Eli the Bearded
Date: Wed, 05 Aug 2020 19:13
43 lines
2950 bytes
In news.software.readers, Adam H. Kerman <ahk@chinet.com> wrote:
> Eli the Bearded <*@eli.users.panix.com> wrote:
>> Not the first time I've posted that patch here because I think it needs
>> more attention.
> Could I request that you upload it to Github? I dunno if it's still
> possible to bring things to Wayne's attention after all these years.

Is there a master version to fork there? Or should I just create a new
repo?

>> I've modified my local copy of Pnews to check article encoding.
> What I really need to get around to doing is to write a macro for use
> within the composer. I'm using vim as text editor. I want to catch it
> before it's sent to Pnews.

I have vi mapping to make F5 search for non-ASCII:

   " use #5 instead of <F5> if not using vim
   " character class is NOT (^) TAB SPACE to TILDE
   map <F5> /[^	 -~]<cr>

> There must be a process in trn that quotes the precursor article when
> first starting the composer. That's the point at which I'd want parsing
> for non-ASCII characters.

Those sorts of changes tend to be really tricky in rn/trn. The code is
heavily optimized for streaming characters through quickly, which makes
reading news at slow baud rates pleasant, but that also means the flow
of characters is not line or even screenful oriented. And some bits
of code use hidden side effects of other bits.

>> It's a lot of cosmetic problems. Columns don't line up, lines wrap too
>> soon, lines "over" 80 characters in post bodies trigger warnings.
> In the body of the article, of course.

The 80 characters warning is in Pnews when making a new post. Columns
don't line up I see often with UTF-8 From: lines while doing article
selection. I see it less often with the thread tree display during
article reading.

Elijah
------
gave up trying to configure the group count for "trn -c"
Technical Details
Message-ID: <eli$2008051511@qaz.wtf>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <rganif$m4h$1@neodome.net> <rgeqfo$6qp$2@dont-email.me> <eli$2008051347@qaz.wtf> <rgeulo$dmu$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <eli$2008051511@qaz.wtf>
Subject: Re: trn 4 and UTF-8
Date: Wed, 05 Aug 2020 19:13:39 +0000
From: Eli the Bearded <*@eli.users.panix.com>
References: <rganif$m4h$1@neodome.net> <rgeqfo$6qp$2@dont-email.me> <eli$2008051347@qaz.wtf> <rgeulo$dmu$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers
Organization: Some absurd concept
Lines: 43
Nntp-Posting-Host: panix5.panix.com
X-Trace: reader1.panix.com 1596654819 29582 166.84.1.5 (5 Aug 2020 19:13:39 GMT)
X-Complaints-To: abuse@panix.com
Nntp-Posting-Date: Wed, 5 Aug 2020 19:13:39 +0000 (UTC)
X-Liz: It's actually happened, the entire Internet is a massive game of Redcode
X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix
X-Us-Congress: Moronic Fucks.
X-Attribution: EtB
Xfrom: is a real address
Encrypted: double rot-13
User-Agent: Vectrex rn 2.1 (beta)