🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #252891

Re: slrn Wrap Body Text

#252891
From: Lewis
Date: Fri, 21 Dec 2012 05:18
32 lines
2884 bytes
In message <kb0jue$gp9$1@speranza.aioe.org> 
  J.B. Nicholson-Owens <jbn@forestfield.org> wrote:
> Chris Gordon-Smith wrote:
>> 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?

> I'm sure one could do this with an S-Lang macro; one approach is to grab 
> the article text with article_as_string(), process the text as needed, 
> then replace_article() to put the text back in the article body viewer.

> One would probably want to be mindful of the "#v+" and "#v-" lines in 
> the article body as they mean something special to slrn (see 
> http://slrn.sourceforge.net/docs/slrn-manual-6.html#ss6.46 for more 
> info), so don't alter these lines.

> One would probably also want to have a configuration variable for 
> wrapping width too.  Changing the wrap point and redrawing the article 
> could make for a nice pair of keys to widen or narrow the width of the 
> article.

This all sounds great. When do you expec to have the macros available
for us to test?

> Good luck!

Oh. So that's how it is.

;)

-- 
"The good news: Hadron Collider went live and did not destroy ALL
reality. Bad: I'm the only one who remembers President Gore's 2 terms."
Technical Details
Message-ID: <slrnkd7s9i.uuc.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!m3no10061707wim.1!news-out.google.com!i11ni241571wiw.0!nntp.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
References: <ajhk8mFghdvU1@mid.individual.net> <kb0jue$gp9$1@speranza.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnkd7s9i.uuc.g.kreme@mbp55.local>
Subject: Re: slrn Wrap Body Text
Date: Fri, 21 Dec 2012 05:18:41 +0000
From: Lewis <g.kreme@gmail.com.dontsendmecopies>
References: <ajhk8mFghdvU1@mid.individual.net> <kb0jue$gp9$1@speranza.aioe.org>
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!m3no10061707wim.1!news-out.google.com!i11ni241571wiw.0!nntp.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
X-Received: by 10.181.13.205 with SMTP id fa13mr3731963wid.3.1356067121954;
MIME-Version: 1.0
Newsgroups: news.software.readers
Organization: Miskatonic U
Lines: 32
Injection-Date: Fri, 21 Dec 2012 05:18:41 +0000 (UTC)
Injection-Info: mx04.eternal-september.org;
 posting-host="82cd27ff5c0813b5f352db4194cda545";
 logging-data="3491"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX1/R7mZeZcaINA9czf2xoF3W"
User-Agent: slrn/pre1.0.0-18 (Darwin)
X-No-Archive: Yes
X-Excuse: Been playing lots of WoW
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
Cancel-Lock: sha1:8LrsN9A3tSi3GdLvAa688h9ciF8=
Mail-Copies-To: nobody
X-Original-Bytes: 2665