🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #2700

Re: Reply with "Cc: " in tin

#2700
From: LaMont Jones
Date: Tue, 08 Dec 1992 21:53
42 lines
2089 bytes
Paul Gilmartin (pg@sanitas.stortek.com) wrote:
: Is there any way in tin to reply privately to an article and send a
: courtesy copy to a third party?  I tried adding a "Cc:" header with
: vi, but it seems to be ignored when tin passes the envelope to sendmail.

: I believe this is a candidate for the tin wishlist.

Actually, tin looks for both headers, and even worked through PL5.

In PL6, find_mail_header() in post.c was apparently optimized, with
the result that tin finds the first To: or Cc: line, and ignores the
rest.  The patch below corrects the problem.  (Yes, I think I mailed
this to Iain as well...)

lamont

The above is not a statment of the Hewlett-Packard company.


==============================================================
*** post.c	Tue Dec  8 13:47:29 1992
--- post.c.new	Tue Dec  8 13:47:30 1992
***************
*** 1150,1156
  				    strncmp (buf, "Cc: ", 4) == 0) {
  					my_strncpy (buf2, &buf[4], sizeof (buf2));
  					yank_to_addr (buf2, new_value);
! 					found = TRUE;
  				} 
  				break;
  

--- 1150,1157 -----
  				    strncmp (buf, "Cc: ", 4) == 0) {
  					my_strncpy (buf2, &buf[4], sizeof (buf2));
  					yank_to_addr (buf2, new_value);
! 					/* Won't find Cc: line if we do this */
! 					/* found = TRUE; */
  				} 
  				break;
  
==============================================================
Technical Details
Message-ID: <ByynGF.6t6@cup.hp.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!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!cupnews0.cup.hp.com!sp1.cup.hp.com!lamont
References: <1992Dec8.190214.15693@stortek.com>

Show Full Headers
Complete Article Headers
Message-ID: <ByynGF.6t6@cup.hp.com>
Subject: Re: Reply with "Cc: " in tin
Date: Tue, 8 Dec 1992 21:53:03 GMT
From: lamont@sp1.cup.hp.com (LaMont Jones)
References: <1992Dec8.190214.15693@stortek.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!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!cupnews0.cup.hp.com!sp1.cup.hp.com!lamont
Newsgroups: news.software.readers
Sender: news@cupnews0.cup.hp.com
Organization: Hewlett-Packard
X-Newsreader: TIN [version 1.1lj PL8]
Lines: 42