Article View: news.software.readers
Article #35166Re: bug in slrn0.9.4.3 ?
From: Olly Betts
Date: Tue, 15 Jul 1997 00:00
Date: Tue, 15 Jul 1997 00:00
45 lines
2635 bytes
2635 bytes
In article <slrn5smsok.mcp.I-hate-cyber-promo@news.rediris.es>, A. Deckers wrote: >In <slrn5sml84.kro.olly@noxious.muscat.co.uk>, Olly Betts <olly@muscat.co.uk> wrote: >>In article <slrn5slghq.vb.byrial@ask.ask>, Byrial Jensen wrote: >>>Mike Mckinney <mike@bga.com> wrote: >>>>I just noticed that in slrn 0.9.4.3, that the headers will not wrap... >>>>Namely, the path line. Is this a bug, or some new feature ? >>>>Note, the header does wrap fine in slrn 0.9.4.2 . >>>A few versions ago (maybe 0.9.4.0?) jed improved the wrapping function >>>to only wrap at word boundaries (i.e. spaces or tabs) instead of always >>>at the last character on the line. >>>But he didn't include a check to see if there actually are any wrap >>>points in the line to wrap. Such a check came in 0.9.4.3, and if no >>>space or tab is found, it gives up wrapping that line. >>My guess is that the "Path:" header in question has a tab after the colon, >>and no other whitespace, so this bug meant it wasn't getting wrapped. >Doesn't work for me. As Mike wrote, the problem is that slrn now only >wraps on space or tab. You'd have to treat headers differently from >body text to solve this particular problem. Assuming your wrap flags are set suitably, if you aren't getting any wrapping in the headers (which is what Mike compained of) then the only explanation I can see is that there're only tabs and no spaces in the lines which need wrapping. With the bug-fix I gave, the code will wrap at a space or tab after the colon if the next word won't fit on the same line. The new wrapping code won't split long "words" (e.g. the contents of most Path: headers), so will rather unhelpfully wrap a typical Path: header as: Path: <80+ character path header with no whitespace> But that's a different problem to not wrapping at all. Olly -- Don't send a man to do a buoy's job.
Technical Details
Message-ID:
<slrn5smu6r.ld7.olly@noxious.muscat.co.uk>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-mailReferences:
<slrn5skdmt.4s1.mike@apm1-73.realtime.net> <slrn5slghq.vb.byrial@ask.ask> <slrn5sml84.kro.olly@noxious.muscat.co.uk> <slrn5smsok.mcp.I-hate-cyber-promo@news.rediris.es>Show Full Headers
Complete Article Headers
Message-ID: <slrn5smu6r.ld7.olly@noxious.muscat.co.uk> Subject: Re: bug in slrn0.9.4.3 ? Date: Tue, 15 Jul 1997 00:00:00 +0000 From: olly@muscat.co.uk (Olly Betts) References: <slrn5skdmt.4s1.mike@apm1-73.realtime.net> <slrn5slghq.vb.byrial@ask.ask> <slrn5sml84.kro.olly@noxious.muscat.co.uk> <slrn5smsok.mcp.I-hate-cyber-promo@news.rediris.es> 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: 256995930 Mail-Copies-To: always Organization: Muscat Ltd -- http://www.muscat.co.uk/ Newsgroups: news.software.readers