🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265322

Re: nn

#265322
From: Peter J Ross
Date: Sat, 15 Jan 2022 18:58
55 lines
3361 bytes
On 2022-01-15, Frank Slootweg <this@ddress.is.invalid> wrote:
> 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.
>
>   Does slrn do *word*-wrapping or just 'character'-wrapping, i.e.
> 'folding' the line at the end of the window?

https://slrn.info/docs/slrn-manual-6.html#ss6.134

| 6.134 wrap_method
|
| Type: integer
| Default: 2
|
| With this variable, you can control how slrn wraps long lines. When 0,
| it wraps at word boundries, leaving words that are longer than your line
| width untouched. When 1, it always wraps at the right border of the
| screen. When 2, it first tries so find a good place to wrap the line and
| wraps at the right border only when necessary.

(Speaking as a former maintainer and corrector of the slrn
documentation, I wonder how I missed "boundries".)

>   My newsreader is tin and its pager (at least the one in this very old
> version) does not wrap long lines. But my 'terminal' (actually a
> (Windows) 'Command Prompt' window) does 'character'-wrapping at the edge
> of the window. I would like if the tin pager could do word-wrapping.

Why not submit a feature request to the tin developers? Of course,
you'll need to check that later versions of tin don't already include
the feature.

OT: It's good to see that you're alive and (I hope) well, Frank. It must
be at least 15 years since we first debated the relative merits of our
preferred newsreaders.


-- 
PJR :-)
Technical Details
Message-ID: <slrnsu66af.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> <srul7k.d68.1@ID-201911.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnsu66af.7qf.pjr@pjr.example.invalid>
Subject: Re: nn
Date: Sat, 15 Jan 2022 18:58:23 +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> <srul7k.d68.1@ID-201911.user.individual.net>
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
Lines: 55
X-Trace: individual.net CEB09dhh0JHsdlCxQY4v+QWtlYzYu/H8UBDhvv+815ZLqpa5S2
Cancel-Lock: sha1:FGOOYZr7L+8plHQsDibD7can8Ng=
User-Agent: slrn/1.0.3 (Linux)