Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / usr.sbin / pcvt / loadfont / loadfont.1
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 17:07:57 2000]
26 .\"
27 .\" $FreeBSD: src/usr.sbin/pcvt/loadfont/loadfont.1,v 1.9.2.6 2002/12/29 16:35:43 schweikh Exp $
28 .\" $DragonFly: src/usr.sbin/pcvt/loadfont/Attic/loadfont.1,v 1.2 2003/06/17 04:29:59 dillon Exp $
29 .\"
30 .Dd March 27, 2000
31 .Dt LOADFONT 1
32 .Os
33 .Sh NAME
34 .Nm loadfont
35 .Nd pcvt utility for loading fonts into VGA/EGA boards
36 .Sh SYNOPSIS
37 .Nm
38 .Op Fl c Ar charsetno
39 .Op Fl d Ar devicefile
40 .Op Fl f Ar fontfilename
41 .Op Fl i
42 .Sh DESCRIPTION
43 The
44 .Nm
45 utility is used to load fonts needed for proper operation of the pcvt
46 VT220 driver on EGA and VGA boards into the font ram of this boards.
47 .Pp
48 The options are as follows:
49 .Bl -tag -width Ds
50 .It Fl c
51 Specifies the slot, the font is to load into.
52 EGA boards have four
53 slots and VGA boards have eight slots available for downloading fonts.
54 .It Fl d
55 Specifies the devicefile to use.
56 .It Fl f
57 Specifies the file which contains the font to be downloaded.
58 .It Fl i
59 Gives information what type(s) of font do currently reside in which slot.
60 This is also the default behaviour if no options are specified on the commandline.
61 .El
62 .Pp
63 This utility is used only on EGA and VGA boards, as MDA, HCG and CGA boards
64 do not have downloadable character sets available.
65 .Sh FILES
66 The following fontfiles are available in the pcvt distribution:
67 .Bd -literal
68 /usr/share/misc/pcvtfonts/vt220l.808:   8x8  IBM II font
69 /usr/share/misc/pcvtfonts/vt220h.808:   8x8  Extension font
70 /usr/share/misc/pcvtfonts/vt220l.810:   8x10 IBM II font
71 /usr/share/misc/pcvtfonts/vt220h.810:   8x10 Extension font
72 /usr/share/misc/pcvtfonts/vt220l.814:   8x14 IBM II font
73 /usr/share/misc/pcvtfonts/vt220h.814:   8x14 Extension font
74 /usr/share/misc/pcvtfonts/vt220l.816:   8x16 IBM II font
75 /usr/share/misc/pcvtfonts/vt220h.816:   8x16 Extension font
76 .Ed
77 .Sh EXAMPLES
78 The command
79 .Dq Li loadfont -c0 -f/usr/share/misc/pcvtfonts/vt220l.816
80 loads a 8x16 font containing the standard IBM characterset II into font slot
81 0 on a VGA or EGA board.
82 .Sh BUGS
83 No known bugs
84 .Sh SEE ALSO
85 .Xr cursor 1 ,
86 .Xr scon 1 ,
87 .Xr pcvt 4 ,
88 .Xr ispcvt 8