From owner-man-jp-reviewer@jp.FreeBSD.org Fri Dec 30 17:39:14 2005
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id jBU8dEX84614;
	Fri, 30 Dec 2005 17:39:14 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from t-mta8.odn.ne.jp (mfep8.odn.ne.jp [143.90.131.186])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id jBU8dD984609
	for <man-jp-reviewer@jp.FreeBSD.org>; Fri, 30 Dec 2005 17:39:13 +0900 (JST)
	(envelope-from n-kogane@syd.odn.ne.jp)
Received: from kcesx30.koganemaru.co.jp ([218.218.119.114])
          by t-mta8.odn.ne.jp with ESMTP
          id <20051230083913613.PGYM.3036.t-mta8.odn.ne.jp@mta8.odn.ne.jp>
          for <man-jp-reviewer@jp.FreeBSD.org>;
          Fri, 30 Dec 2005 17:39:13 +0900
Received: by kcesx30.koganemaru.co.jp (Postfix, from userid 100)
	id 704732843A; Fri, 30 Dec 2005 17:38:11 +0900 (JST)
To: man-jp-reviewer@jp.FreeBSD.org
In-Reply-To: <20051227124608.A2EE61C6D9@mail.asahi-net.or.jp>
Message-Id: <20051230083811.704732843A@kcesx30.koganemaru.co.jp>
From: n-kogane@syd.odn.ne.jp (Nobuyuki Koganemaru)
Reply-To: man-jp-reviewer@jp.FreeBSD.org
Precedence: list
Date: Fri, 30 Dec 2005 17:38:11 +0900
X-Sequence: man-jp-reviewer 5012
Subject: [man-jp-reviewer 5012] Re: gensnmptree.1
Sender: owner-man-jp-reviewer@jp.FreeBSD.org
X-Originator: n-kogane@syd.odn.ne.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+051217

$B>.6b4]$G$9!#(B
$B8e$m$KE:IU$7$?(B diff $B$N$h$&$K=$@5$7$^$7$?!#(B
underscore $B%"%s%@%9%3%"(B $B$b2<@~$H$$$&0UL#$,$"$k$h$&$G$9!#(B

 $B!&(B underscore
    $B!ZL>![%"%s%@!<%i%$%s!"2<@~(B
    $B!ZB>F0![%"%s%@!<%i%$%s(B[$B2<@~(B]$B$r0z$/!"6/D4$9$k(B
    $B!ZJQ2=![!TF0!U(Bunderscores | underscoring | underscored$B!"!ZJ,@a![(Bun$B!&(Bder$B!&(B
    score

>From: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
>Date: Tue, 27 Dec 2005 21:49:30 +0900
>
>$BEOJU0l42$G$9!#(B
>
>At Sun, 2 Oct 2005 02:24:42 +0900,
>Nobuyuki Koganemaru wrote:
>> +$B$OI8=`$NF~NO$+$i(B MIB $B5-=R$rFI$_9~$s$G!"(B2 $B$D$N%U%!%$%k$r:n@.$7$^$9(B:
>
>$B!VI8=`$NF~NO!W"*!VI8=`F~NO!W(B
>
>> +.Sh MIB
>> +MIB $B5-=R%U%!%$%k$N9=J8$O<!$N$h$&$K@5<0$J;EMM$KDj$a$i$l$^$9(B:
>
>$B!V<!$N$h$&$K!W"*!V<!$N$h$&$J!W(B
>
>> -specifies a SNMP data type and may be one of
>> +$B$O(B SNMP $B%G!<%?%?%$%W$r;XDj$7$F!"<!$N(B 1 $B$D$G$9!#(B
>
>$B!V$O(B SNMP $B%G!<%?%?%$%W$r;XDj$7!"$=$l$O<!$N$&$A$N(B 1 $B$D$G$9!#!W(B
>
>> -specifies the accessibility of the MIB variable (which operation can be
>> -performed) and is one of
>> +$B$O(B MIB $BJQ?t(B ($B$=$NA`:n$r<B9T$9$k$3$H$,$G$-$k(B) $B$N%"%/%;%7%S%j%F%#(B
>> +($B%"%/%;%9$N$7$d$9$5(B) $B$r;XDj$7$F!"<!$N(B 1 $B$D$G$9!#(B
>
>$B!V$O(B MIB $BJQ?t$N%"%/%;%7%S%j%F%#(B ($B$=$NA`:n$r<B9T$9$k$3$H$,$G$-$k(B)
>$B$r;XDj$7!"$=$l$O<!$N$&$A$N(B 1 $B$D$G$9!#!W(B
>which $B$O(B the accessibility$B$r;X$7$F$$$k$s$8$c$J$$$+$H;W$$$^$9!#(B
>
>> -is a decimal integer and
>> +$B$O(B 10 $B?J@0?t$G!"(B
>
>$B!V(B10 $B?J@0?t!W"*!V(B10 $B?J$N@0?t!W(B
>
>> -is any string starting with a letter or underscore and consisting of
>> -letters, digits and underscores, that is not one of the keywords.
>> -.Sh EXAMPLES
>> -The following MIB description describes the system group:
>> +$B$OJ8;z$+2<@~$G;O$^$j!"J8;z!"?tCM!"2<@~$+$i@.$kG$0U$NJ8;zNs$G!"(B
>> +$B%-!<%o!<%I$N(B 1 $B$D$G$J$$$b$N$G$9!#(B
>> +.Sh $B;HMQNc(B
>
>$B!V2<@~!W"*!V%"%s%@%9%3%"!W(B
>"underline"$B$@$C$?$i(B"$B2<@~(B"$B$G$$$$$H;W$&$s$G$9$,!#(B
>
>---
>Watanabe Kazuhiro (CQG00620@nifty.ne.jp)
>

--- /b2/JMAN4/5.4-RELEASE/man1/gensnmptree.1	Sun May  8 16:04:25 2005
+++ gensnmptree.1	Fri Dec 30 17:35:24 2005
@@ -4,7 +4,7 @@
 .\"	All rights reserved.
 .\"
 .\" Author: Harti Brandt <harti@freebsd.org>
-.\" 
+.\"
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
 .\" are met:
@@ -13,7 +13,7 @@
 .\" 2. Redistributions in binary form must reproduce the above copyright
 .\"    notice, this list of conditions and the following disclaimer in the
 .\"    documentation and/or other materials provided with the distribution.
-.\" 
+.\"
 .\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -26,75 +26,78 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $Begemot: bsnmp/gensnmptree/gensnmptree.1,v 1.3 2004/08/06 08:46:46 brandt Exp $
+.\" %Begemot: bsnmp/gensnmptree/gensnmptree.1,v 1.3 2004/08/06 08:46:46 brandt Exp %
 .\"
+.\" $FreeBSD$
 .Dd October 7, 2003
 .Dt gensnmptree 1
 .Os
-.Sh NAME
+.Sh $BL>>N(B
 .Nm gensnmptree
-.Nd "generate C and header files from a MIB description file"
-.Sh SYNOPSIS
+.Nd "MIB $B5-=R%U%!%$%k$+$i(B C $B$H%X%C%@%U%!%$%k$r@8@.$9$k(B"
+.Sh $B=q<0(B
 .Nm
 .Op Fl helt
 .Op Fl p Ar prefix
 .Op Ar name Ar ...
-.Sh DESCRIPTION
-The
+.Sh $B2r@b(B
 .Nm
-utility is used to either generate C language tables and header files from
-a MIB description or to numeric OIDs from MIB descriptions. The first form
-is used only for maintaining the
+$B%f!<%F%#%j%F%#$O!"(BMIB $B5-=R$+$i(B C $B8@8l%F!<%V%k$H%X%C%@%U%!%$%k$^$?$O(B
+MIB $B5-=R$+$i?tCM(B OID $B$r@8@.$9$k$?$a$K;HMQ$5$l$^$9!#(B
+$B:G=i$N7A<0$O(B
 .Xr snmpd 1
-daemon or for module writers.
-The second form may be used by SNMP client program writers.
+$B%G!<%b%s$rJ]<i$9$k$?$a$+!"%b%8%e!<%k%i%$%?(B ($B:n<T(B) $B$N$?$a$K;HMQ$5$l$^$9!#(B
+2 $BHVL\$N7A<0$O(B SNMP $B%/%i%$%"%s%H%W%m%0%i%`%i%$%?(B ($B:n<T(B)
+$B$K$h$C$F;HMQ$5$l$k$+$b$7$l$^$;$s!#(B
 .Pp
-If the
 .Fl e
-option is not used
+$B%*%W%7%g%s$,;HMQ$5$l$F$$$J$$$J$i!"(B
 .Nm
-reads a MIB description from its standard input and creates two files: a
-C-file
+$B$OI8=`F~NO$+$i(B MIB $B5-=R$rFI$_9~$s$G!"(B2 $B$D$N%U%!%$%k$r:n@.$7$^$9(B:
+C $B%U%!%$%k(B
 .Ar prefix Ns tree.c
-containing a table used by
+$B$O(B PDU $B=hM}$N4V$K(B
 .Xr snmpd 1
-during PDU processing
-and a header file
+$B$K$h$C$F;HMQ$5$l$k%F!<%V%k$r4^$_!"(B
+$B%X%C%@%U%!%$%k(B
 .Ar prefix Ns tree.h
-containing appropriate declarations of the callback functions used in this table
-and the table itself.
+$B$O$3$N%F!<%V%k$H%F!<%V%k<+BN$G;HMQ$5$l$k(B
+$B%3!<%k%P%C%/4X?t$NE,@Z$J@k8@$r4^$s$G$$$^$9!#(B
 .Pp
-If the
 .Fl e
-option is specified
+$B%*%W%7%g%s$,;XDj$5$l$k$J$i!"(B
 .Nm
-expects MIB variable names (only the last component) on its command line.
-It reads a MIB specification from standard input and for each MIB variable
-name emits two C preprocessor defines on its standard output. One define
+$B$O%3%^%s%I9T$G(B ($B:G8e$N%3%s%]!<%M%s%H$N$_(B) MIB $BJQ?tL>$rMW5a$7$^$9!#(B
+$BI8=`$NF~NO$+$i(B MIB $B;EMM$rFI$_9~$_!"$=$l$>$l$N(B MIB $BJQ?tL>$N$?$a$K(B
+$BI8=`=PNO$K(B 2 $B$D$N(B C $B%W%j%W%m%;%C%5Dj5A$r=PNO$7$^$9!#(B
+$B0l$D$O(B
 .Va OID_ Ns Ar name
-can be used as an array initialized to initialize a
-.Va struct asn_oid .
-The other define
+$B$rDj5A$7!"(B
+.Va struct asn_oid
+$B$r=i4|2=$9$k$?$a$K=i4|2=$5$l$?G[Ns$H$7$F;HMQ$9$k$3$H$,$G$-$^$9!#(B
+$BB>J}$O(B
 .Va OIDLEN_ Ns Ar name
-contains the length of the OID.
+$B$rDj5A$7!"(BOID $B$ND9$5$r4^$s$G$$$^$9!#(B
 .Pp
-The options are as follows:
+$B%*%W%7%g%s$O<!$NDL$j$G$9(B:
 .Bl -tag -width ".Fl d Ar argument"
 .It Fl h
-Print a short help page.
+$BC;$$%X%k%W%Z!<%8$r0u:~$7$^$9!#(B
 .It Fl e
-Enter extract mode.
+$BCj=P(B (extract) $B%b!<%I$KF~$j$^$9!#(B
 .It Fl l
-Generate local preprocessor includes. This is used for bootstrapping
-.Xr snmpd 1 .
+$B%m!<%+%k%W%j%W%m%;%C%5$N%$%s%/%k!<%I$r@8@.$7$^$9!#(B
+$B$3$l$O!"(B
+.Xr snmpd 1
+$B$N%V!<%H%9%H%i%C%W$G;HMQ$5$l$^$9!#(B
 .It Fl t
-Instead of normal output print the resulting tree.
+$BDL>o$N=PNO$NBe$o$j$K!"7k2L$N%D%j!<$r0u:~$7$^$9!#(B
 .It Fl p Ar prefix
-Prefix the file names and the table name with
-.Ar prefix .
+.Ar prefix
+$B$r%U%!%$%kL>$H%F!<%V%kL>$NA0$KIU$1$^$9!#(B
 .El
-.Sh MIBS
-The syntax of the MIB description file can formally be specified as follows:
+.Sh MIB
+MIB $B5-=R%U%!%$%k$N9=J8$O<!$N$h$&$J@5<0$J;EMM$KDj$a$i$l$^$9(B:
 .Bd -unfilled -offset indent
 file := tree | tree file
 
@@ -116,16 +119,16 @@
 .Ed
 .Pp
 .Ar TYPE
-specifies a SNMP data type and may be one of
+$B$O(B SNMP $B%G!<%?%?%$%W$r;XDj$7$F!"$=$l$O<!$N$&$A$N(B 1 $B$D$G$9!#(B
 .Bl -bullet -offset indent -compact
 .It
 NULL
 .It
 INTEGER
 .It
-INTEGER32 (same as INTEGER)
+INTEGER32 (INTEGER $B$HF1$8(B)
 .It
-UNSIGNED32 (same as GAUGE)
+UNSIGNED32 (GAUGE $B$HF1$8(B)
 .It
 OCTETSTRING
 .It
@@ -143,8 +146,8 @@
 .El
 .Pp
 .Ar ACCESS
-specifies the accessibility of the MIB variable (which operation can be
-performed) and is one of
+$B$O(B MIB $BJQ?t$N%"%/%;%7%S%j%F%#(B ($B$=$NA`:n$r<B9T$9$k$3$H$,$G$-$k(B)
+$B$r;XDj$7$F!"$=$l$O<!$N$&$A$N(B 1 $B$D$G$9!#(B
 .Bl -bullet -offset indent -compact
 .It
 GET
@@ -153,12 +156,12 @@
 .El
 .Pp
 .Ar INT
-is a decimal integer and
+$B$O(B 10 $B?J$N@0?t$G!"(B
 .Ar STRING
-is any string starting with a letter or underscore and consisting of
-letters, digits and underscores, that is not one of the keywords.
-.Sh EXAMPLES
-The following MIB description describes the system group:
+$B$OJ8;z$+2<@~$G;O$^$j!"J8;z!"?tCM!"2<@~$+$i@.$kG$0U$NJ8;zNs$G!"(B
+$B%-!<%o!<%I$N(B 1 $B$D$G$J$$$b$N$G$9!#(B
+.Sh $B;HMQNc(B
+$B<!$N(B MIB $B5-=R$O%7%9%F%`%0%k!<%W$K$D$$$F@bL@$7$F$$$^$9(B:
 .Bd -literal -offset indent
 (1 internet
   (2 mgmt
@@ -184,7 +187,7 @@
   )
 )
 .Ed
-.Sh SEE ALSO
+.Sh $B4XO"9`L\(B
 .Xr snmpd 1
-.Sh AUTHORS
+.Sh $B:n<T(B
 .An Hartmut Brandt Aq harti@freebsd.org
--
($BM-(B)$B>.6b4]%3%s%T%e!<%?%(%s%8%K%"%j%s%0%5!<%S%9(B ($BJ!2,8)BgLn>k;T(B)
	$B>.6b4](B $B?.9,(B (Nobuyuki Koganemaru)
E-Mail: n-kogane@syd.odn.ne.jp
E-Mail: kogane@jp.FreeBSD.org
E-Mail: kogane@koganemaru.co.jp
URL: http://www.koganemaru.co.jp
