🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #60186

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

#60186
From: Ismael Cordeiro
Date: Wed, 05 Apr 2000 00:00
43 lines
2700 bytes
Frank Slootweg <franks@neth.hp.com> wrote:
>>>   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.
> 
>   I have a (seperate) reformatting command [1], but that can not reformat
> *already-quoted* text, which is my main problem (see also my response to
> Sven).
> 
>   Coming to think of it, if tin can not do this, I think I would be most
> helped by a sed(1) script which does what I want and which can be piped
> from/to the (vi(1)) editor (with the vi ! command). Is there such a thing?

Instead of going into all that trouble use joe 2.8 as your text editor. It
reformats quoted text very well. See the quotes above reformatted to 38, 58
and 78 characters/line.

Ismael
-- 
       ________________________________________________________________
      |                                                                |
      | ISMAEL CORDEIRO            | mailto:ismael@cordeiro.com        |
      | Production sound mixer     | http://www.pubnix.net/~ismael     |
      | Montr�al - Qu�bec - Canada | ftp://ftp.pubnix.net/users/ismael |
      |________________________________________________________________|

Technical Details
Message-ID: <954940186.575543@news1.pubnix.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.mbox.zip!not-for-mail
References: <8ca351$nve$1@news.neth.hp.com> <1e8ih9m.1jz6dbk1odxyajN%planb@newsreaders.com> <8cccmq$18r$2@news.neth.hp.com>

Show Full Headers
Complete Article Headers
Message-ID: <954940186.575543@news1.pubnix.net>
Subject: Re: tin: Wrap (un)quoted text before quoting?
Date: Wed, 05 Apr 2000 00:00:00 +0000
From: Ismael Cordeiro <ismael@cordeiro.com>
References: <8ca351$nve$1@news.neth.hp.com> <1e8ih9m.1jz6dbk1odxyajN%planb@newsreaders.com> <8cccmq$18r$2@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: 607050133
Cache-Post-Path: news1.pubnix.net!unknown@shell.pubnix.net
Content-Transfer-Encoding: 8bit
Sender: Ismael Cordeiro <ismael@shell.pubnix.net>
Content-Type: text/plain; charset=ISO-8859-1
X-Complaints-To: newsabuse@supernews.com
Organization: PubNIX Inc (http://www.pubnix.net)
User-Agent: tin/1.5.2-20000206 ("Black Planet") (UNIX) (FreeBSD/3.4-RELEASE (i386))
MIME-Version: 1.0
Newsgroups: news.software.readers