Article View: news.software.readers
Article #252892Re: slrn Wrap Body Text
From: Steve Crook
Date: Fri, 21 Dec 2012 12:15
Date: Fri, 21 Dec 2012 12:15
41 lines
2614 bytes
2614 bytes
On Thu, 20 Dec 2012 23:55:16 +0000 (UTC), Lewis wrote in Message-Id: <slrnkd79b3.bn3.g.kreme@mbp55.local>: > In message <ajhk8mFghdvU1@mid.individual.net> > Chris Gordon-Smith <use.address@my.homepage> wrote: >> These days there are a lot of postings on Usenet that use 'long >> lines'. If I press 'w' in slrn, the text wraps around and is easier to >> read. > >> However, it wraps around at the edge of my 19 inch screen, so the >> lines are still far too long. > >> What I would like is to have them wrap around at about 70 or so >> characters. Does anyone know whether slrn can be configured to do this? > > Nope, but it's a feature request that's been made several times. At > least once by me. Looking at the slrn source, there appears to be support for wrapping at a fixed width. src/art_misc.c static int Art_Hide_Quote_Level = 1; int Slrn_Wrap_Mode = 3; int Slrn_Wrap_Method = 2; int Slrn_Wrap_Width = -1; By default wrapping is at window-width but setting it to something between 5 and window-width should result in wrapping at the next whitespace. If I'm reading it right (which is highly debatable), wrap modes are: 1: Wrap headers 2: Wrap headers and quoted content 3: Wrap everything -- What shall we use To fill the empty spaces Where we used to talk?
Technical Details
Message-ID:
<slrnkd8kn1.9u3.steve@snorky.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!m3no10977634wim.1!news-out.google.com!i11ni243791wiw.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mailReferences:
<ajhk8mFghdvU1@mid.individual.net> <slrnkd79b3.bn3.g.kreme@mbp55.local>Show Full Headers
Complete Article Headers
Message-ID: <slrnkd8kn1.9u3.steve@snorky.mixmin.net> Subject: Re: slrn Wrap Body Text Date: Fri, 21 Dec 2012 12:15:29 +0000 From: Steve Crook <steve@mixmin.net> References: <ajhk8mFghdvU1@mid.individual.net> <slrnkd79b3.bn3.g.kreme@mbp55.local> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!m3no10977634wim.1!news-out.google.com!i11ni243791wiw.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail X-Received: by 10.181.13.205 with SMTP id fa13mr4099548wid.3.1356092129764; MIME-Version: 1.0 Newsgroups: news.software.readers Organization: Mixmin Injection-Date: Fri, 21 Dec 2012 12:15:29 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="2a01:4f8:100:5243::4"; logging-data="14261"; mail-complaints-to="abuse@mixmin.net" User-Agent: slrn/pre1.0.0-49 (Linux) Lines: 40 X-Original-Bytes: 2399