🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Randy Fay Thu, 06 Feb 1992 01:55
rn question: What's an easy way to untabify postings?
#1162
Author: Randy Fay
Date: Thu, 06 Feb 1992 01:55
13 lines
1142 bytes
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?

Thanks in advance!

-- 
- Randy Fay          || Evolving Systems, Inc.
ref@evolving.com       (303) 969-3326    FAX (303) 969-3399
Re: rn question: What's an easy way to untabify postings?
#1170
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads