Re: problems in snmpd.conf.5

2004-11-25 Thread Eric S. Raymond
Wes Hardaker [EMAIL PROTECTED]:
 Actually, you should submit things like this to our patch tracker
 rather than by email.  I suspect your automated system won't do this
 for you though.
 
 Furthermore, you should actually send a against the correct file (we
 have many man pages which are generated from definition files which
 are processed by sed and other tools).  But I doubt your automated
 system can handle this either.

Alas, both your conjectures are correct.
-- 
a href=http://www.catb.org/~esr/;Eric S. Raymond/a


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


problems in snmpd.conf.5

2004-11-22 Thread esr
This is automatically generated email about problems in a man page for which
you appear to be responsible.  If you are not the right person or list, tell
me and I will attempt to correct my database.

See http://catb.org/~esr/doclifter/problems.html for details on how and
why these patches were generated.  Feel free to email me with any questions.
Note: These patches do not change the mod date of any manual page.  You
may wish to do that by hand.

Problems with snmpd.conf.5:

1. List syntax error. This means .IP, .TP or .RS/.RE markup is garbled.
This confuses doclifter, and may also mess up stricter troff
interpreters like groffer and TkMan.

--- snmpd.conf.5-orig   2004-11-19 21:55:33.882404344 -0500
+++ snmpd.conf.52004-11-19 22:08:16.593853160 -0500
@@ -545,7 +545,6 @@
 .IP
 Examples:
 .RS
-.IP
 .nf
 # assigns the entire mib tree on remotehost1 to the context of the
 # same name:
@@ -558,6 +557,8 @@
 # oid to local .1.3.6.1.3.10 oid (another way to access mulitple hosts
 # without using contexts)
 proxy -v 3 -l noAuthNoPriv -u user remotehost .1.3.6.1.3.10 .1.3.6.1.2.1.1
+.fi
+.RE
 .SH PASS-THROUGH CONTROL
 .IP pass MIBOID EXEC
 (If you're writing perl scripts, please see the embedded perl support
@@ -701,26 +702,20 @@
 something like register a function to call when an OID is requested,
 but you can really do anything perl related you want.  For example:
 .IP
-.RS
 perl print hello world\\n;
-.RE
 .IP
 is the most basic hello world example.
 .IP
 The init script by default initializes a $agent variable which
 is a pointer to a NetSnmp::agent object through which you can register
 callbacks when a section of the OID tree is hit:
-.IP
-.RS
 .nf
 perl use Data::Dumper;
 perl sub myroutine  { print got called: ,Dumper(@_),\\n; }
 perl $agent-register('mylink', '.1.3.6.1.8765', \\myroutine);
 .fi
-.RE
 .IP
 Sourcing an external file:
-.IP
 .RS
 .nf
 perl 'do /path/to/file.pl';
-

--
 Eric S. Raymond


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders