🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265320

Re: nn (was: Replace Google Groups with ?)

#265320
From: Peter J Ross
Date: Sat, 15 Jan 2022 18:30
61 lines
3560 bytes
[Followup-To: news.software.readers]

On 2022-01-15, Lewis <g.kreme@kreme.dont-email.me> wrote:
> In message <slrnsu3kjm.278s.pjr@pjr.example.invalid> Peter J Ross <pjr@example.invalid> wrote:
>> On 2022-01-09, Ted Heise <theise@panix.com> wrote:
>
>>>   smw <smw@mort.smwonline.ca> wrote:
>>> 
>>>> The other item on my wish list is to convert quoted-printable text to
>>>> UTF automatically, with an option to force line wrapping at a
>>>> user-settable column (because flowed paragraphs in QP present as a
>>>> single line with many hundreds of characters).
>>>
>>> For what it's worth, slrn does this with the command "w" (for "wrap" I
>>> suppose) while reading articles.  Maybe knowing what to look for in
>>> that code would simplify using some of it?  I could be way off base
>>> here, having only ever glanced at sources.
>
>> slrn's pager wraps (if wrapping is desired) at the edge of the screen or
>> window, not at "a user-settable column". I'm not sure why a user would
>> want to set a column for wrapping.
>
> Because the appropriate width for a terminal that is used for terminal
> stuff like looking at code or logs is too wide for reading news, so it
> would be much better if slrn supported a reasonable line wrap length the
> user could set rather that constraining only to the width of the screen
> or window.

That's a good point. While one can resize a terminal emulator window,
one can't resize a "real" terminal, and mine has 320 columns - enough to
make long lines impossible to read on a large monitor without danger of
whiplash injuries!

So I now agree that an option to set wrapping width would be a useful
feature in a newsreader.

>> Other aspects of wrapping are configurable in slrn by setting the
>> variables "wrap_flags" and "wrap_method" in .slrnrc.
>
>> https://slrn.info/docs/slrn-manual-6.html#ss6.133
>> https://slrn.info/docs/slrn-manual-6.html#ss6.134
>
> Neither of those cover this.

No, but they're worth mentioning in case the nn developers are
interested in implementing the same features.

> slrn is written in C. If nn is written is C, the relevant code ought to
>> be easy to adapt.
>
> Isn't slrn written in SLANG?

S-Lang scripts are an important part of the slrn experience, but the
slrn binary is compiled from C source code. For details, see the link I
provided:

>> https://slrn.info/download.html


-- 
PJR :-)
Technical Details
Message-ID: <slrnsu64mf.7qf.pjr@pjr.example.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <c6e80c2a-e732-4f7c-8071-48c2d284a81a@googlegroups.com> <1aydncHF-7-KR4fNnZ2dnUVZ_u-dnZ2d@giganews.com> <jvet6k$n0i$1@n102.xanadu-bbs.net> <4fSdndK4LcY5vYHNnZ2dnUVZ_h2dnZ2d@giganews.com> <jvhorp$ekl$1@n102.xanadu-bbs.net> <CpOdnbBHrtmv6oDNnZ2dnUVZ_iydnZ2d@giganews.com> <srctle$se9$2@dont-email.me> <slrnstloce.cir.theise@panix2.panix.com> <slrnsu3kjm.278s.pjr@pjr.example.invalid> <slrnsu4689.2ag1.g.kreme@zephyrus.local>

Show Full Headers
Complete Article Headers
Message-ID: <slrnsu64mf.7qf.pjr@pjr.example.invalid>
Subject: Re: nn (was: Replace Google Groups with ?)
Date: Sat, 15 Jan 2022 18:30:40 +0000
From: Peter J Ross <pjr@example.invalid>
References: <c6e80c2a-e732-4f7c-8071-48c2d284a81a@googlegroups.com> <1aydncHF-7-KR4fNnZ2dnUVZ_u-dnZ2d@giganews.com> <jvet6k$n0i$1@n102.xanadu-bbs.net> <4fSdndK4LcY5vYHNnZ2dnUVZ_h2dnZ2d@giganews.com> <jvhorp$ekl$1@n102.xanadu-bbs.net> <CpOdnbBHrtmv6oDNnZ2dnUVZ_iydnZ2d@giganews.com> <srctle$se9$2@dont-email.me> <slrnstloce.cir.theise@panix2.panix.com> <slrnsu3kjm.278s.pjr@pjr.example.invalid> <slrnsu4689.2ag1.g.kreme@zephyrus.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: alt.os.linux.slackware,news.software.readers
Followup-To: news.software.readers
Lines: 61
X-Trace: individual.net +44tXMm8GZpv/oxqTv0KzQ8crRSfLBKQ2ryNUEtoIsiAS2+8HW
Cancel-Lock: sha1:rNoBKIqQMKgkLLLTTZJBHg0boYw=
User-Agent: slrn/1.0.3 (Linux)