Index: head/contrib/com_err/compile_et.1 =================================================================== --- head/contrib/com_err/compile_et.1 (revision 162381) +++ head/contrib/com_err/compile_et.1 (revision 162382) @@ -1,76 +1,76 @@ .\" Copyright (c) 1988 Massachusetts Institute of Technology, .\" Student Information Processing Board. All rights reserved. .\" .\" $FreeBSD$ .\" .Dd November 22, 1988 .Os .Dt COMPILE_ET 1 .Sh NAME .Nm compile_et .Nd error table compiler .Sh SYNOPSIS .Nm compile_et .Ar file .Sh DESCRIPTION .Nm Compile_et converts a table listing error-code names and associated messages into a C source file suitable for use with the .Xr com_err 3 library. .Pp The source file name must end with a suffix of ``.et''; the file consists of a declaration supplying the name (up to four characters long) of the error-code table: .Pp .Em error_table name .Pp followed by up to 256 entries of the form: .Pp .Em error_code name , .No \(dq Ns Em string Ns \(dq .Pp and a final .Pp .Em end .Pp to indicate the end of the table. .Pp The name of the table is used to construct the name of a subroutine .Em initialize_XXXX_error_table which must be called in order for the .Xr com_err 3 library to recognize the error table. .Pp The various error codes defined are assigned sequentially increasing numbers (starting with a large number computed as a hash function of the name of the table); thus for compatibility it is suggested that new codes be added only to the end of an existing table, and that no codes be removed from tables. .Pp The names defined in the table are placed into a C header file with preprocessor directives defining them as integer constants of up to 32 bits in magnitude. .Pp A C source file is also generated which should be compiled and linked with the object files which reference these error codes; it contains the text of the messages and the initialization subroutine. Both C files have names derived from that of the original source file, with the ``.et'' suffix replaced by ``.c'' and ``.h''. .Pp A ``#'' in the source file is treated as a comment character, and all remaining text to the end of the source line will be ignored. -.Sh BUGS -Since -.Nm compile_et -uses a very simple parser based on -.Xr yacc 1 , -its error recovery leaves much to be desired. .Sh SEE ALSO .Xr yacc 1 , .Xr com_err 3 .Rs .%A Ken Raeburn .%T "A Common Error Description Library for UNIX" .Re +.Sh BUGS +Since +.Nm compile_et +uses a very simple parser based on +.Xr yacc 1 , +its error recovery leaves much to be desired. Index: head/contrib/pnpinfo/pnpinfo.8 =================================================================== --- head/contrib/pnpinfo/pnpinfo.8 (revision 162381) +++ head/contrib/pnpinfo/pnpinfo.8 (revision 162382) @@ -1,57 +1,57 @@ .\" Copyright (c) 1996, Sujal M. Patel .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 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. .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgement: .\" This product includes software developed by Sujal M. Patel .\" 4. Neither the name of the author nor the names of any co-contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE 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 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .\" $FreeBSD$ .\" .Dd January 7, 1996 .Dt PNPINFO 8 .Os .Sh NAME .Nm pnpinfo .Nd "reports information about Plug-n-Play ISA devices" .Sh SYNOPSIS .Nm .Sh DESCRIPTION .Nm reports information about Plug-n-Play ISA devices. Some of the information, such as the vendor ID, serial number, I/O ports, IRQ, etc.\& are useful when configuring a kernel with ISA PnP devices. -.Sh BUGS -A few of the tags are unimplemented (Enough exist for 99% of PnP cards). .Sh SEE ALSO .Xr pnp 4 .Sh HISTORY The .Nm utility first appeared in .Fx 2.2 . .Sh AUTHORS .An Sujal M. Patel Aq smpatel@umiacs.umd.edu +.Sh BUGS +A few of the tags are unimplemented (Enough exist for 99% of PnP cards).