🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #60089

Re: tin: Wrap (un)quoted text before quoting?

#60089
From: J. B. Moreno
Date: Mon, 03 Apr 2000 00:00
37 lines
2533 bytes
Frank Slootweg <franks@neth.hp.com> wrote:

> Disclaimer: With the "I'll make my lines as long as I damn well please!"
>             war going on, it is probably somewhat 'dangerous' to post on
>           this subject, but here it goes anyway.
> 
>   There are some people who can not be educated to keep their
> line-length (well) below 80 characters per line. Often these people can
> be safely ignored, but some of these people *do* have things to
> contribute. I want to be able to discuss with these people and still be
> a good netizen and not make life to diffucult for myself.
> 
>   So I want to keep my quoted text at maximum 74 characters per line,
> even if the original text, both quoted and unquoted, is longer.
> 
>   I looked in the tin manual 'page' but found nothing (revelant) on
> "wrap" and "fold".
> 
>   Is this possible in tin? Note: I run tin on UNIX (HP-UX), so I can
> also use standard UNIX tools if needed.

I don't think it's possible within tin, but your editor should have a
reformatting command (most unix editors do) and if it doesn't you could
first pipe it through par or some other utility.

If neither of these solutions suit your taste, and you're willing to do
a bit of modification to the program itself -- the wrapping library I
wrote (available from the GNKSA tools page) has a function which might
be suitable, pass it the body of the message and it will quote and wrap
individual lines (i.e. it doesn't do a paragraph fill, but that's a more
dangerous action to do automatically), which could then be passed along
to the editor.

-- 
John B. Moreno

Technical Details
Message-ID: <1e8ih9m.1jz6dbk1odxyajN%planb@newsreaders.com>
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
References: <8ca351$nve$1@news.neth.hp.com>

Show Full Headers
Complete Article Headers
Message-ID: <1e8ih9m.1jz6dbk1odxyajN%planb@newsreaders.com>
Subject: Re: tin: Wrap (un)quoted text before quoting?
Date: Mon, 03 Apr 2000 00:00:00 +0000
From: planb@newsreaders.com (J. B. Moreno)
References: <8ca351$nve$1@news.neth.hp.com>
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: 606107437
Mail-Copies-To: nobody
X-ACLA-Charter: <http://www.deja.com/msgid.xp?MID=%3Cphenix-121119981748546229@roxboro0-023.dyn.interpath.net%3E&ST=&AH=1>
X-Trace: fu-berlin.de 954777781 6067864 207.59.121.40 (16 [22426])
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8 N*x>d^h
Organization: NetNews BOFH wannabe
User-Agent: MacSOUP/2.4.2
Newsgroups: news.software.readers