Newsgroups: fj.mail
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!news.iij.ad.jp!tyo1-nec!newssv1-nec!necscc!nsis.cl.nec.co.jp!nsis!inamura
From: inamura@nsis.cl.nec.co.jp (=?ISO-2022-JP?B?GyRCMHBCPBsoQiAbJEJNOhsoQiA=?==JANE=)
Subject: Re: [MH] rcvdist with alias
In-Reply-To: a_kuroe@hoffman.cc.sophia.ac.jp's message of 03 Sep 94 15:25:14 +0900
Content-Type: text/plain; charset=ISO-2022-JP
Message-ID: <INAMURA.94Sep5195723@caesar.nsis.cl.nec.co.jp>
Sender: news@nsis.cl.nec.co.jp
Organization: NEC=?ISO-2022-JP?B?IBskQj5wSnMlNyU5JUYlYCU6GyhC?=
References: <26747@hoffman.cc.sophia.ac.jp>
Mime-Version: 1.0
Date: Mon, 5 Sep 1994 10:57:23 GMT
Lines: 73
Xref: galaxy.trc.rwcp.or.jp fj.mail:2200
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.mail&nb=2200&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

>>In article <26747@hoffman.cc.sophia.ac.jp>,
>>a_kuroe@hoffman.cc.sophia.ac.jp (Kuroe Akihiko) writes:

KA> $B9u9>!wBgF|K\0u:~$G$9!#(BMH$B$K$D$$$F$N<ALd!#(Brcvdist$B$G!"(B
KA> ali$BEy$GMxMQ$G$-$k(Balias file$B$rMxMQ$7$?$$$N$G$9$,!"(B
KA> 1. $B$=$l$O2DG=$G$7$g$&$+!#$^$?$=$NJ}K!$O!)(B

$B:G=i$O!"(Brcvdist $B$+$i(B postproc $B$X(B switch $B$rEO$;$k$+$i!"$=$l$r(B
$B;H$($PNI$$$s$8$c$J$$$N!)$H;W$C$?$s$G$9$,!"%*%j%8%J%k$N$^$^$G(B
$B$O(B -alias aliasfile $B$N$h$&$KFs8l$KEO$k(B switch $B$OEO$;$J$$$_$?(B
$B$$$G$9$M!#(B

KA> 2. $BBP=h$9$l$P2DG=$K$J$k$J$i!"$=$NJ}K!$O!)(B

Quick hack $B$G$9$,!"(B

--- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< --
*** rcvdist.c.orgThu Feb 18 17:52:47 1993
--- rcvdist.cMon Sep  5 13:17:40 1994
***************
*** 21,26 ****
--- 21,29 ----
  #defineHELPSW1
      "help", 4,
  
+ #define ALIASW2
+     "alias aliasfile", 0,
+ 
      NULL, 0
  };
  
***************
*** 91,98 ****
--- 94,115 ----
      if (!(form = *argp++) || *form == '-')
  adios (NULLCP, "missing argument to %s", argp[-2]);
      continue;
+         case ALIASW:
+     vec[vecp++] = --cp;
+     if (!(cp = *argp++) || *cp == '-')
+ adios (NULLCP, "missing argument to %s", argp[-2]);
+     vec[vecp++] = cp;
+     continue;
      }
  addrs = addrs ? add (cp, add (", ", addrs)) : getcpy (cp);
+     }
+     if (cp = m_find ("Aliasfile")) {/* allow Aliasfile: profile entry */
+ char *dp = NULL;
+ 
+ for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) {
+     vec[vecp++] = "-alias";
+     vec[vecp++] = *ap;
+ }
      }
  
  /*  */
--- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< --

$B$J$s$F$N$G$$$+$,$G$9$+!)(B JP Patch $B$NEv$?$C$?(B MH $B$X$N%Q%C%A$G(B
$B$9$,!"%*%j%8%J%k$K$bEv$?$k$G$7$g$&!#(B

$B$3$l$G(B

rcvdist -alias aliases

$B$H$$$&$h$&$J(B command line $B$+$i$N;XDj$K$b!"(B

Aliasfile: aliases

$B$H$$$&$h$&$J(B ~/.mh_profile $B$K$h$k;XDj$K$bBP1~$G$-$F$k$H;W$$(B
$B$^$9!#(B
--
$B0pB<(B $BM:(B =JANE=
