🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Carlos Robinson Tue, 27 Sep 1994 04:29
lines: ? in tin-1.2PL2
#11592
Author: Carlos Robinson
Date: Tue, 27 Sep 1994 04:29
8 lines
1064 bytes
Is there a patch for missing line numbers when posting in tin-1.2PL2?  

-carlos
-- 
#	Carlos Robinson				College of Marin           #
#	Science Computer Center			Kentfield, CA  94904       #
#	Ph: (415) 485-9540			carlos@marin.cc.ca.us	   # 
#       Email: ...!{uunet,ames,decwrl}!marin.cc.ca.us!carlos               # 
Re: lines: ? in tin-1.2PL2
#11684
Author: Bruce Momjian
Date: Mon, 03 Oct 1994 14:03
32 lines
2346 bytes
Carlos Robinson (carlos@marin.cc.ca.us) wrote:
: Is there a patch for missing line numbers when posting in tin-1.2PL2?  

I believe the problem is with the posting system where the original
message came from.  The C-new performance release did not provide a
'line'.  Here is the relevant section from the pnews script from that
release.  I have commented out the original code(as instructed), and
noted the lines I have added to generate the "Lines:" line.

---------------------------------------------------------------------------


# POLICY: don't generate Lines: because it is optional, munged in transit
# by B News to make the count incorrect, and not pulling its weight.
# If you just *have* to generate Lines: headers, uncomment line A and comment
# out line B.
cat $inhdrs				<---- added
echo "Lines: `wc -l <$inbody`"		<---- added
cat $inbody				<---- added
#. lines                                # NB: reads $inbody # line A
#firstline="` sed 1q $inbody `"                 # line B
#case "$firstline" in                           # line B
#'')    cat $inhdrs $inbody ;;                  # emit the article  # line B
#*)     echo | cat $inhdrs - $inbody ;;         # insert blank line # line B
#esac                                           # line B


--
Bruce Momjian                          |  830 Blythe Avenue
root@candle.pha.pa.us                  |  Drexel Hill, Pennsylvania 19026 
  +  If your life is a hard drive,     |  (610) 353-9879(w) 
  +  Christ can be your backup.        |  (610) 853-3000(h)
Re: lines: ? in tin-1.2PL2
#11748
Author: Contractor Earle F. Ake
Date: Thu, 06 Oct 1994 12:51
23 lines
1904 bytes
Bruce Momjian (root@candle.pha.pa.us) wrote:
: Carlos Robinson (carlos@marin.cc.ca.us) wrote:
: : Is there a patch for missing line numbers when posting in tin-1.2PL2?  

: I believe the problem is with the posting system where the original
: message came from.  The C-new performance release did not provide a
: 'line'.  Here is the relevant section from the pnews script from that
: release.  I have commented out the original code(as instructed), and
: noted the lines I have added to generate the "Lines:" line.

	The only problem I have is the signature file is added AFTER this
piece of code which makes the line count incorrect.  I moved the portion
of code that adds the signature to before this section.  I also had to
slightly change it to append the signature to the end of $inbody so the
line count is correct.  I can post my changes if anyone is interested.


-Earle
-- 
Earle Ake                               akee@wpdis02.wpafb.af.mil
Hassler Communication Systems Technology
MSC/SIP; 4375 Chidlaw Rd. Suite 6; WPAFB, Ohio 45433-5006
257-7240/5524 DSN: 787-7240/5524
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