Article View: news.software.readers
Article #266003Re: I'm hacking on trn...want to join me?
From: Eli the Bearded
Date: Tue, 18 Apr 2023 22:37
Date: Tue, 18 Apr 2023 22:37
45 lines
3087 bytes
3087 bytes
In news.software.readers, Richard <> wrote: > Eli the Bearded <*@eli.users.panix.com> spake >> Thirdly there's a what-gets-sent issue if you don't post with correct >> MIME headers and people read with some tool expecting them. That's the >> not-declarining issue. > I'm open to ideas about how trn can handle this issue better; for > instance, it's certainly possible to scan the edited article before > posting and suggest header additions/changes based on content. I'd say scan for declared charset, see if it fits that, and object if not or if highbit and no declaration. For new articles, this can be tricky to be polite to user about it, but a guess based on LANG or similar environment variable probly gets you in the neighborhood. For follow-ups, you can start with the declared charset in the original post, and maybe provide a configuration for defaults by hierarchy. > I agree, I just don't know how the computer is supposed to distinguish > between, say, Big5 encoding or UTF-8. Certainly it can assume UTF-8 > and then reject that assumption if the non-ASCII bytes aren't valid > UTF-8 encoded code points. Letter (octet) frequency heuristics, if LANG and hierarchy guided guesses are wrong. > Yeah, there's an inews executable in the trn source tree, but I > suspect that people don't include that in the trn package when they're > packaging things up for linux distros. I've been using my own "mini inews" since the 1990s. I hacked it from nn sources to add some special configuration. The original readme dates to 1989. I don't know that I've _ever_ used a distro package of trn. For a long time I was using the Panix locally compiled (for netbsd) version. But now I use my own build on Panix. > posting updates to trn-workers mailing list: > <https://sourceforge.net/p/trn/mailman/> I'm subscribed, but I've been a bit lax about reading it. Elijah ------ panix.com offers Unix shell accounts with rich program selection
Technical Details
Message-ID:
<eli$2304181836@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-mailReferences:
<u0ffth$1u1oi$1@news.xmission.com> <u141o0$28gtp$1@news.xmission.com> <eli$2304171842@qaz.wtf> <u1mfvg$2htb8$1@news.xmission.com>Show Full Headers
Complete Article Headers
Message-ID: <eli$2304181836@qaz.wtf> Subject: Re: I'm hacking on trn...want to join me? Date: Tue, 18 Apr 2023 22:37:01 +0000 From: Eli the Bearded <*@eli.users.panix.com> References: <u0ffth$1u1oi$1@news.xmission.com> <u141o0$28gtp$1@news.xmission.com> <eli$2304171842@qaz.wtf> <u1mfvg$2htb8$1@news.xmission.com> 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 Injection-Date: Tue, 18 Apr 2023 22:37:01 -0000 (UTC) Injection-Info: reader2.panix.com; posting-host="panix5.panix.com:166.84.1.5"; logging-data="14368"; mail-complaints-to="abuse@panix.com" User-Agent: Vectrex rn 2.1 (beta) 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