From: shimano@lebia.tokyo-u-fish.ac.jp (Akitsugu Shimano)
Newsgroups: fj.news.b
Subject: Re: expire trouble
Date: 11 Nov 92 05:58:43 GMT
Distribution: fj
X-Newsreader: Tin 1.1 PL5


  $@EgLn!wEl?eBg(J $@$G$9!%(J

Shin'ichi Katsuno (katuno@njrdhp1.lab.njrc.co.jp) wrote:

: Bnews 2.11$@$N(J expire $@$J$s$G$9$,!"<B9T$7$^$9$H!":G8e$K(Jinews$@$N(J
: $@%(%i!<%a%C%;!<%8$,=P$F$7$^$$$^$9!#(J
: $@;HMQ$7$F$$$k7W;;5!$O(J HP$@$N(J9000/720 $@$G!"(JOS$@$O(J HP-UX 8.07A $@$G$9!#(J
: 
: -------------$@<B9TNc(J-------------------------
: $ /usr/lib/news/expire -e14 -E30 -v2
: expire: nohistory 0, rebuild 0, doarchive 0
: newsgroups: all,
: Rebuilding history subfile directory /usr/lib/news/history.d.
: updating active file /usr/lib/news/active
: $ inews: freopen(
:                 ): No such file or directory
: inews: rnews failed, status 256. Batch saved in /usr/spool/news/.bad/
: 
: $
: inews: : Inbound news is garbled
: inews: rnews failed, status 256. Batch saved in /usr/spool/news/.bad/
: inews: freopen(
:               ): No such file or directory
: inews: rnews failed, status 256. Batch saved in /usr/spool/news/.bad/
: .......
: ------------------------------------------------
: 
:   $@%W%m%s%W%H$,JV$C$?8e$b!"(Jps$@$G3NG'$9$k$H!"(J
:         rnews -U
:         rnews -S -p
: $@$H$,!"%W%m%;%9$H$7$F;D$C$F$*$j!"(Jinews$@$N%(%i!<%a%C%;!<%8$,B3$1$F=P(J
: $@$F$7$^$$$^$9!#(J


  $@;29M$K$J$k$+$I$&$+$o$+$j$^$;$s$,!$;d$N%5%$%H$GF1MM$N7P83$,$"$j$^$9!%(J

$@%^%7%s(J: SPARCstation 2
OS    : SunOS 4.1.2, JLE$@$J$7(J

  $@%*%j%8%J%k%=!<%9$N(Jsrc/defs.dist$@$K$O!$%3%a%s%H$K$J$C$F$$$k(J#define READDIR$@!$(J
#define DIRENT$@$H$$$&2U=j$,$"$j$^$9!%(JSunOS 4.1.1$@$G$OBg>fIW$J$N$G$9$,!$(J
SunOS 4.1.2$@$G$O$3$N(J2$@$D$r(J#define$@$7$J$$$H!$(Jinews.c$@Cf$N4X?t(Jdounspool()$@$G(Jcall
$@$5$l$k(Jreaddir()$@$,(JOS$@I8=`$N$b$N$G$O$J$/$F!$(Jsrc/ndir.c$@$GDj5A$5$l$k(Jreaddir()$@$,(J
$@;HMQ$5$l$k$3$H$K$h$j!$(Jrnews -U$@$,@5>o$KF0:n$;$:!$$=$A$i$G8=$l$?$N$H$^$C$?$/(J
$@F1$8%(%i!<%a%C%;!<%8$,=PNO$5$l$^$9!%(J

  HP$@$K%$%s%9%H!<%k$7$?$3$H$,$J$$$N$G$9$,!$>e5-$N4D6-(J(SS2, SunOS 4.1.2)$@$G$O!$(J
$@<!$N<j=g$G(JBnews-2.11.19J$@$r(Jmake$@$7$^$7$?!%(J


$@%=!<%9$rE83+$9$k!%(J

% cd src/

% cp localize.sun localize.sh

% sh localize.sh

Bnews-2.11.19J/src/Makefile
  SPOOLDIR = /usr/spool/news
  BATCHDIR = /usr/spool/batch  -- sendbatch$@MQ(Jspool
  LIBDIR = /usr/lib/news
  BINDIR = /usr/local/bin/Bnews
  SPOOL_DISK = /????  -- $@$3$3$,(Jfile system full$@$K$J$i$J$$$h$&$K(J
                         $@4F;k$9$k!%(J

$@$=$7$F(J
defs.h: defs.dist localize.sh Makefile.dst Makefile
        sh localize.sh
        @echo Localize has been run. Restart the make.
        @exit 1;

Makefile: localize.sh defs.dist Makefile.dst
        sh localize.sh
        @echo Localize has been run. Restart the make.
        @exit 1;

$@$r%3%a%s%H$K$9$k!%(J

Bnews-2.11.19J/src/defs.h
  ROOTID     6              -- news$@$N(JUID
  N_UMASK    022            -- umask$@$NCM(J
  NOTIFY     "news"         -- $@%3%s%H%m!]%k%a%C%;!]%8$r(Jmail$@$GCN$i$;$k(J
                               user$@L>(J
  DFTEDITOR  "/usr/local/bin/emacs"  -- $@%G%U%)%k%H%(%G%#%?(J
  MYDOMAIN ".tokyo-u-fish.ac.jp"  -- domain$@L>(J
            ~$@K:$l$k$J(J!

  #define BSD4_2$@$r(Jcomment$@$K$9$k(J
  #define LOCKF$@$r(Jcomment$@$K$9$k(J
  #define READDIR$@$r(Jactive$@$K$9$k(J
  #define DIRENT$@$r(Jactive$@$K$9$k(J

  $@"(%*%j%8%J%k%=!<%9$G$O!$(J#define READDIR$@!$(J#define DIRENT$@$O%3%a%s%H$K$J$C$F(J
    $@$*$j!$(JSunOS 4.1.1, NEWS-OS 3.91R$@$G$b%3%a%s%H$N$^$^(Jmake$@$7$?!%$H$3$m$,(J
    SunOS 4.1.2$@$G$O$3$N(J2$@$D$r(J#define$@$7$J$$$H!$(Jinews.c$@Cf$N4X?t(Jdounspool()$@$G(J
    call$@$5$l$k(Jreaddir()$@$,(JOS$@I8=`$N$b$N$G$O$J$/$F(Jndir.c$@$GDj5A$5$l$k(Jreaddir()
    $@$,;HMQ$5$l$k$3$H$K$h$j!$(Jrnews -U$@$,@5>o$KF0:n$7$J$$!%(J

  MYORG "Tokyo University of Fisheries"  -- my organization
  LINES  1024 -- .newsrc$@$N:GBg9T?t(J

  $@:G=*9T$K(J#define JUNET$@$r2C$($k!%(J

Bnews-2.11.19J/src/header.c
  gnus$@0J30$N%K%e!<%9%j!<%@$r;HMQ$9$k>l9g$O(Jheader.c$@$N(J232$@9TL\$+$i$NItJ,(J

  else if (STRCMP(hp->distribution, "local") == 0 &&
           hp->path[0] != '\0' &&
  #ifdef GENERICPATH
           strncmp(hp->path, PATHSYSNAME,
           strlen(PATHSYSNAME)) != 0) {
  #else /* !GENERICPATH */
                         strncmp(hp->path, LOCALPATHSYSNAME,
                         strlen(LOCALPATHSYSNAME)) != 0) {
  #endif /* !GENERICPATH */
                         hp->distribution[0] = '\0';
                         xerror("Bogus local distribution rejected");
  }

  $@$r%3%a%s%H$K$9$k!%(J

  ($@JdB-(J)
    distribution:$@$rL@<(E*$K(Jlocal$@$H;XDj$7!$(Jlocal.*$@$K(Jpost$@$9$k>l9g!$(JBnews$@$O(J
  $@%K%e!<%9%5!<%P$N%f!<%6$,(Jpost$@$7$?$HH=CG$9$k!%$H$3$m$,%K%e!<%9%7%9%F%`$r(J
  $@;}$?$J$$%[%9%H$N%f!<%6$,(JNNTP$@$K$h$C$F%K%e!<%9$r(Jpost$@$9$k$H$-$O$3$N$^$^$G$O(J
  "Bogus distribution rejected"$@$H$J$j!$5-;v$,<u$1IU$1$i$l$J$$!%(J

    $@$3$NJQ99$O!$(JNNTP$@%/%i%$%"%s%H$N%f!<%6$,%K%e!<%9%j!<%@$H$7$F(Jvnews, tin$@Ey$r(J
  $@;HMQ$7$F$$$k>l9g$KI,MW$G$"$k!%(Jgnus$@$O8-$$$N$G!$$3$NJQ99$,ITMW!%(J

% make

--
     $@El5~?e;:Bg3X;q8;0i@.3X2J@8J*;q8;3X8&5f<<(J $@Gn;N8e4|2]Dx(J1$@G/(J
                                   $@EgLn(J $@827Q(J
                                   shimano@lebia.tokyo-u-fish.ac.jp
Newsgroups: fj.news.adm