From owner-ports-jp@jp.freebsd.org  Sun May  7 02:03:03 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id CAA73415;
	Sun, 7 May 2000 02:03:03 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from mailgw.cablecom.ne.jp (mailgw.cablecom.ne.jp [202.248.199.37])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id CAA73410
	for <ports-jp@jp.freebsd.org>; Sun, 7 May 2000 02:03:03 +0900 (JST)
	(envelope-from sada@bsdclub.org)
Received: from srv2.cablecom.ne.jp by mailgw.cablecom.ne.jp (8.9.3/3.7W) id CAA26335; Sun, 7 May 2000 02:03:01 +0900 (JST)
Received: from localhost by srv2.cablecom.ne.jp (8.9.3/3.7W) id CAA07722; Sun, 7 May 2000 02:03:00 +0900 (JST)
To: ports-jp@jp.freebsd.org
Cc: seiken@ARGV.ORG
In-Reply-To: Your message of "Sat, 06 May 2000 22:38:25 +0900".
	<20000506223825K.sada@bsdclub.org>
From: SADA Kenji <sada@bsdclub.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
X-Mailer: mnews [version 1.22] 1999-12/19(Sun)
Message-Id: <20000507020353Q.sada@bsdclub.org>
Date: Sun, 07 May 2000 02:03:53 +0900
X-Dispatcher: imput version 20000228(IM140)
Lines: 60
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: ports-jp 9300
Subject: [ports-jp 9300] Re: mnews is broken
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: sada@bsdclub.org

$B:4ED$G$9!#(B

In article <20000506223825K.sada@bsdclub.org>
sada@bsdclub.org writes:

>> $B$H$3$m$GA02s$N@ZL@$5$s$N%Q%C%A$J$s$G$9$1$I!"(B
>> $B$^$@@_Dj$,EO$C$F$$$J$$(B (LOCAL_POST $B$,M-8z$K$J$C$F$$$J$$(B) $B$h$&$@$C$?$N$G(B
>> $B$5$i$K=$@5$7$F$_$^$7$?!#(B
>> $B$^$?!"(Bim $B$K(B Path: $B%U%#!<%k%I$,EO$k$H<u$1IU$1$F$/$l$J$+$C$?$N$G(B
>> $BIU$1$J$$$h$&$K$7!"$5$i$K(B ports $B$G%f!<%64D6-$N(B MNEWS_ERROR_SLEEP $B$rH?1G(B
>> $B$9$k$h$&$K$7$^$7$?!#(B

$BDI2C$N(B patch $B$K$D$$$F!"(Bcvs add $B$7$F$$$J$+$C$?$N$GIU$1K:$l$^$7$?!#(B

--
Index: mnews/patches/patch-ac
===================================================================
RCS file: patch-ac
diff -N patch-ac
--- /dev/null	Sun May  7 02:00:05 2000
+++ patch-ac	Sat May  6 21:33:23 2000
@@ -0,0 +1,12 @@
+--- ../src/mnews.h.orig	Sat May  6 21:31:06 2000
++++ ../src/mnews.h	Sat May  6 21:31:53 2000
+@@ -57,7 +57,9 @@
+ #define	REPLY_MESSAGE	"Your message of "
+ #define	TEXT_SEPARATOR	"--text follows this line--"
+ #define	MULTI_END_MARK	"\001\n"/* $B%^%k%A5-;v$N%;%Q%l!<%?(B	*/
++#ifndef ERROR_SLEEP
+ #define	ERROR_SLEEP	3	/* $B%(%i!<H/@8;~$NBT$A;~4V(B	*/
++#endif
+ #define	HEAD_LINES	3
+ #define	BOTTOM_LINES	1
+ #define	MODE_LINES	(HEAD_LINES + BOTTOM_LINES)
Index: mnews/patches/patch-ad
===================================================================
RCS file: patch-ad
diff -N patch-ad
--- /dev/null	Sun May  7 02:00:05 2000
+++ patch-ad	Sat May  6 21:41:04 2000
@@ -0,0 +1,18 @@
+--- ../src/newspost.c.orig	Sat May  6 21:33:39 2000
++++ ../src/newspost.c	Sat May  6 21:40:27 2000
+@@ -902,6 +902,7 @@
+       }
+     }
+   }
++#ifndef DONT_ADD_PATH_FIELD
+   if (!(status2 & PF_PATH_MASK)) {	/* Path: $B%U%#!<%k%I$r:n@.$9$k(B */
+ #ifdef	ADD_HOSTPATH
+     gethostname(buff1, sizeof(buff1));
+@@ -911,6 +912,7 @@
+     length += (long)fprintf2(fp2, "%s %s\n", PATH_FIELD, user_name);
+ #endif	/* !ADD_HOSTPATH */
+   }
++#endif	/* DONT_ADD_PATH_FIELD */
+   if ((!(status2 & PF_ORGAN_MASK)) && organization[0]) {
+ 				/* Organization: $B%U%#!<%k%I$r:n@.$9$k(B */
+     length += (long)fprintf2(fp2, "%s %s\n", ORGAN_FIELD, organization);

