🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #1170

Re: rn question: What's an easy way to untabify postings?

#1170
From: Ian Dickinson
Date: Mon, 10 Feb 1992 14:48
24 lines
1914 bytes
In article <1992Feb06.015532.64142@evolving.com> ref@evolving.com (Randy Fay) writes:
>Several users at our site have recently posted articles they wrote in
>vi with tabs set to expand to 4.  Of course when they post, their
>article is a mess because tabs get expanded to 8.
>There are several good Unix ways to fix this, but I'm looking for a
>way that is transparent to them.  Is there an environment variable
>they can set that will convince Pnews to expand to 4 only?

Nope.

The problem revolves around relying on TABs in news articles (or mail).
It's never guaranteed that the person reading has the same tabstops set
as the sender.  The moral being - use spaces, not tabs.

So, if you really want to do this, fix your posting program to convert
the tabs to spaces based on some environmental of your choosing on the
*BODY* of the article ONLY (so as to leave headers alone).

Cheers,
-- 
\/ato                                                         if (!take(joke))
Ian Dickinson - NIC handle: ID17                                  em = fork();
vato@csv.warwick.ac.uk  ...!mcsun!uknet!warwick!vato
@c=GB@o=University of Warwick@ou=Computing Services@cn=Ian Dickinson
Technical Details
Message-ID: <6lydbkmz@csv.warwick.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!mcsun!uknet!cam-cl!warwick!cudep
References: <1992Feb06.015532.64142@evolving.com>

Show Full Headers
Complete Article Headers
Message-ID: <6lydbkmz@csv.warwick.ac.uk>
Subject: Re: rn question: What's an easy way to untabify postings?
Date: Mon, 10 Feb 1992 14:48:45 +0000
From: cudep@warwick.ac.uk (Ian Dickinson)
References: <1992Feb06.015532.64142@evolving.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!mcsun!uknet!cam-cl!warwick!cudep
Newsgroups: news.software.readers
Sender: news@csv.warwick.ac.uk (Network news)
Organization: Team Limpid's Meathead With Aptitude - Kunst und Wahnsinn
Lines: 24
Nntp-Posting-Host: limpid