Newsgroups: fj.mail
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!news.iij.ad.jp!dnp-news!dps-dnp-news!dnpgw!pix!goofy!a_kuroe
From: a_kuroe@sparc691.gaken.dnp.co.jp (Akihiko Kuroe)
Subject: Re: [Q] install MH on SunOS 4.1.1
In-Reply-To: asaki@axia.tutics.tut.ac.jp's message of 7 Jul 1994 16:13:34 JST
Content-Type: text/plain; charset=ISO-2022-JP
Message-ID: <CsM2qG.8C5@goofy.gaken.dnp.co.jp>
Sender: news@goofy.gaken.dnp.co.jp
Organization: IIRI , Dai Nippon Printing Co.,Ltd. , Tokyo , Japan
X-Newsreader: gn [Version 1.30 Jul.1,1994]
References: <2vg9uu$ik1@colias.tutics.tut.ac.jp>
Mime-Version: 1.0
Date: Fri, 8 Jul 1994 07:42:15 GMT
Lines: 69
Xref: galaxy.trc.rwcp.or.jp fj.mail:2177
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.mail&nb=2177&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.

$B9u9>!wBgF|K\0u:~$G$9!#(B

In article <2vg9uu$ik1@colias.tutics.tut.ac.jp>
asaki@axia.tutics.tut.ac.jp writes:

> $B4A;z$,!"(BJIS$B%3!<%I0J30$N$H$-$KJ8;z2=$1$7$F$7$^$$$^$7$?!#(B

SUN$B$N(Bucb mail$B$@$C$?$i(BEUC$B"*(BJIS$BJQ49$r$7$F$/$l$^$9$,!"(BMH$B$NFbIt5!G=$K$O(B
$B$J$$$s$G$9$h$M!#;d$N=j$G$b!"%a!<%k$NG[Aw$,(BSMTP$B$G>eN.$N$5$i$K>eN.$K(B
$BD>7k$7$?;~$K!"$=$l$^$G$O>eN.$,(BJIS$B$KJQ49$7$F$/$l$F$$$?$N$GBg>fIW$@$C(B
$B$?(B($B$i$7$$(B)$B$N$,BLL\$K$J$j$^$7$F!"5^5r$G$C$A$"$2$?%Q%C%A$,$"$j$^$9!#(B
$B$J$k$Y$/>/$J$$?t$N%=!<%9$K!":GDc8B$N2~B$$r;\$9$3$H$r?4$,$1$^$7$?!#(B

*** uip/whatnowsbr.c.origTue Aug  3 13:54:45 1993
--- uip/whatnowsbr.cWed May 25 16:42:52 1994
***************
*** 16,21 ****
--- 16,22 ----
  #endif
  
  static inteditfile(), copyf(), sendfile(), sendit(), whomfile();
+ static intjis_filter(); /*940525 a_kuroe*/
  #ifdefMIME
  static intmhnfile();
  #endif
***************
*** 215,225 ****
--- 216,228 ----
  done (1);
  
      case PUSHSW: 
+ (void) jis_filter(drft);
  if (sendfile (++argp, drft, 1))
      done (1);
  break;
  
      case SENDSW: 
+ (void) jis_filter(drft);
  (void) sendfile (++argp, drft, 0);
  break;
  
***************
*** 440,445 ****
--- 443,464 ----
      return i;
  }
  #endif/* BSD42 */
+ 
+ /*    JIS FILTER */
+ 
+ static  jis_filter (drft)  /*940525 a_kuroe*/
+ char   *drft;
+ {
+ char*filter = "nkf";
+ char*rename = "mv";
+ charargs[BUFSIZ*3];
+ 
+ sprintf(args, "%s %s > %s.jis", filter, drft, drft);
+ system(args);
+ 
+ sprintf(args, "%s %s.jis %s", rename, drft, drft);
+ system(args);
+ }
  
  /*    SEND */
  
--
$B9u9>L@I'!wBgF|K\0u:~(B $B2hA|8&5f=j(B3$BIt(B
<a_kuroe@sparc691.gaken.dnp.co.jp>
