🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Yee Chang Lee Thu, 22 Sep 1994 20:27
Re: TRN - how do I get rid of the blank line before my signature?
#11531
Author: Yee Chang Lee
Date: Thu, 22 Sep 1994 20:27
17 lines
1511 bytes
In article <35pvrq$f97@ousrvr.oulu.fi>, Nigel Orr <orr@tks.oulu.fi> wrote:
|>I don't want Pnews or TRN to add a blank line between my posts and my
|>			_________________________________
|>			Yeechang Lee  (ycl6@columbia.edu)
|>			Nevada Las Vegas Mission 1992-'94
|>			Columbia University/New York City
|
|It doesn't look like it did... or was that manually included?

No, it wasn't. That brings me to another question . . . why does TRN/Pnews
cut off the last line in my post sometimes (but not always)?  Any ideas?

(P.S. Let's see what happens here!)
			_________________________________
			Yeechang Lee  (ycl6@columbia.edu)
			Nevada Las Vegas Mission 1992-'94
			Columbia University/New York City
Re: TRN - how do I get rid of the blank line before my signature?
#11536
Author: Wayne Davison
Date: Fri, 23 Sep 1994 00:06
15 lines
1470 bytes
According to Yee Chang Lee <ycl6@aloha.cc.columbia.edu>:
> No, it wasn't. That brings me to another question . . . why does TRN/Pnews
> cut off the last line in my post sometimes (but not always)?

You must not have ended your message with a newline.  Sed doesn't output
the last line in a file if it doesn't end in a newline, and Pnews uses sed
to strip out the empty headers before sending it off to inews.

If you use an editor like vi or jove, it ensures that your last line
ends in a newline for you.  If you use gnu emacs you need to hit return
after the last line in a message.  I'll also extend trn's article checking
at posting time to check for a missing newline.
-- 
Wayne Davison
davison@borland.com
Re: TRN - how do I get rid of the blank line before my signature?
#11543
Author: Nigel Orr
Date: Fri, 23 Sep 1994 10:13
23 lines
1802 bytes
In article <35spbu$p7v@apakabar.cc.columbia.edu>,
Yee Chang Lee <ycl6@aloha.cc.columbia.edu> wrote:
>In article <35pvrq$f97@ousrvr.oulu.fi>, Nigel Orr <orr@tks.oulu.fi> wrote:

>No, it wasn't. That brings me to another question . . . why does TRN/Pnews
>cut off the last line in my post sometimes (but not always)?  Any ideas?
>
>(P.S. Let's see what happens here!)
>			_________________________________
>			Yeechang Lee  (ycl6@columbia.edu)
>			Nevada Las Vegas Mission 1992-'94
>			Columbia University/New York City

Looks fine again- are you sure you aren't just imagining it :-)

Anyway, why not just keep a blank line between your post and the .sig-
a newline is only one character and it makes an article look a little
tidier as well.

-- 


Nigel	  		     orr@tks.oulu.fi
Re: TRN - how do I get rid of the blank line before my signature?
#11553
Author: Per Hedeland
Date: Fri, 23 Sep 1994 15:13
20 lines
1709 bytes
In article <CwK2yE.G8o@borland.com>, davison@borland.com (Wayne Davison) writes:
|>If you use an editor like vi or jove, it ensures that your last line
|>ends in a newline for you.  If you use gnu emacs you need to hit return
|>after the last line in a message.

Not to start an editor war, but not forcing a terminating newline is of
course a feature, otherwise you can't edit your binaries properly...
However you can (with emacs) get the best of both worlds by adding this
to your .emacs:

(setq require-final-newline 'x)

- it will then nicely ask if it should add a terminating newline
whenever you try to save a file without one.

--Per Hedeland
per@erix.ericsson.se  or
per%erix.ericsson.se@sunic.sunet.se  or
.uunet!erix.ericsson.se!per
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