]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - 6/usr.sbin/pcvt/ispcvt/ispcvt.8
Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64
[FreeBSD/FreeBSD.git] / 6 / 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$
28 .\"
29 .Dd March 27, 2000
30 .Dt ISPCVT 8
31 .Os
32 .Sh NAME
33 .Nm ispcvt
34 .Nd verify if current video driver is pcvt driver
35 .Sh SYNOPSIS
36 .Nm
37 .Op Fl c
38 .Op Fl d Ar device
39 .Op Fl n
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 n
64 print the number of compiled-in virtual terminals.
65 .It Fl c
66 This options prints out the values of all
67 .Dq Ar PCVT_XXXXXX
68 #defines which were given to the compiler at the time the currently running
69 kernel was compiled.
70 Specifying
71 .Fl v
72 with the
73 .Fl c
74 option gives a verbose listing of the compile-time options.
75 .El
76 .Sh EXIT STATUS
77 The
78 .Nm
79 utility exits with one of the following values:
80 .Pp
81 .Bl -tag -width indent -compact
82 .It 0
83 driver is pcvt and major and minor numbers match
84 .It 1
85 .Xr open 2
86 or
87 .Xr ioctl 2
88 system call failed
89 .It 2
90 driver name mismatch
91 .It 3
92 name matched, release major number mismatch
93 .It 4
94 name and major number matched, release minor number mismatch
95 .It 5
96 usage error
97 .El
98 .Sh SEE ALSO
99 .Xr pcvt 4