Unhook gperf, it was only used by gcc2.
[dragonfly.git] / usr.sbin / pcvt / ispcvt / ispcvt.8
1 .\" Copyright (c) 1992, 2000 Hellmuth Michaelis
2 .\"
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\"
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
15 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17 .\" IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
18 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 .\"
25 .\" Last Edit-Date: [Mon Mar 27 16:31:54 2000]
26 .\"
27 .\" $FreeBSD: src/usr.sbin/pcvt/ispcvt/ispcvt.8,v 1.9.2.5 2001/12/14 16:48:10 ru Exp $
28 .\" $DragonFly: src/usr.sbin/pcvt/ispcvt/Attic/ispcvt.8,v 1.2 2003/06/17 04:29:59 dillon Exp $
29 .\"
30 .Dd March 27, 2000
31 .Dt ISPCVT 8
32 .Os
33 .Sh NAME
34 .Nm ispcvt
35 .Nd verify if current video driver is pcvt driver
36 .Sh SYNOPSIS
37 .Nm
38 .Op Fl c
39 .Op Fl d Ar device
40 .Op Fl v
41 .Sh DESCRIPTION
42 The
43 .Nm
44 utility allows the user to check whether the current video driver compiled
45 into the kernel is a pcvt driver.
46 The major and minor release numbers of
47 the driver are also checked.
48 Furthermore
49 .Nm
50 is also able to print out the values of all the
51 .Dq Ar PCVT_XXXXXX
52 compile time options, the driver in the current running kernel was
53 compiled with.
54 .Pp
55 The options are as follows:
56 .Bl -tag -width Ds
57 .It Fl d
58 Specifies a device for which the check is done.
59 .It Fl v
60 Specifies being verbose.
61 On success the name and revision is reported, on
62 failure which comparison failed.
63 .It Fl c
64 This options prints out the values of all
65 .Dq Ar PCVT_XXXXXX
66 #defines which were given to the compiler at the time the currently running
67 kernel was compiled.
68 Specifying
69 .Fl v
70 with the
71 .Fl c
72 option gives a verbose listing of the compile-time options.
73 .El
74 .Sh DIAGNOSTICS
75 The
76 .Nm
77 utility exits with one of the following values:
78 .Pp
79 .Bl -tag -width indent -compact
80 .It 0
81 driver is pcvt and major and minor numbers match
82 .It 1
83 .Xr open 2
84 or
85 .Xr ioctl 2
86 system call failed
87 .It 2
88 driver name mismatch
89 .It 3
90 name matched, release major number mismatch
91 .It 4
92 name and major number matched, release minor number mismatch
93 .It 5
94 usage error
95 .El
96 .Sh SEE ALSO
97 .Xr pcvt 4