Article View: news.software.readers
Article #35785slrn: patch for new wrapping behaviour
From: Byrial Jensen
Date: Wed, 13 Aug 1997 00:00
Date: Wed, 13 Aug 1997 00:00
39 lines
2030 bytes
2030 bytes
A few days ago J.E.D. posted here a patch (See <URL:news:slrn5uk8oa.b5b.davis@aluche.mit.edu> (to the wishlist: slrn ought to understand such news URLs) in the thread "[SLRN] problem with reject_long_lines") to allow slrn to wrap Path and Newsgoup headerlines at the '!'-signs respectively the commas. I have worked this patch into my existing wrap patch which you can get at <URL:http://home3.inet.tele.dk/byrial/slrn/wrap.patch>. My patch now have these effects: 1) The continuation of a wrapped line will now always begin with exactly one space independently of the amount of whitespace at the breakpoint. 2) Any trailing whitespace in a line can not anymore cause the line to wrap. 3) A new wrap flag has been made. Adding 8 to the value of wrap_flags now means that words longer than the line length will be split to avoid too long lines. The default is never to split a word. 4) The slrn function wrap_article can now take a prefix argument. A value of 0 will unwrap the current article (nothing happens if it isn't wrapped). Other values will wrap or rewrap the current article with the value used as wrap_flags. 5) After a window resize articles will now only be (re)wrapped if the flag for automatic wrapping is set in wrap_flags (value 4). 6) Path and Newsgroup headerlines can be wrapped just *after* a '!' respectively ','. (It was just *before* in JED's patch). Best regards - Byrial
Technical Details
Message-ID:
<slrn5v2tvn.2q5.byrial@ask.ask>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrn5v2tvn.2q5.byrial@ask.ask> Subject: slrn: patch for new wrapping behaviour Date: Wed, 13 Aug 1997 00:00:00 +0000 From: byrial@post3.tele.dk (Byrial Jensen) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 263902918 X-Complaints-To: abuse@news.inet.tele.dk X-Trace: news.inet.tele.dk 871464347 105850 (None) 194.239.129.42 Newsgroups: news.software.readers