Initial import from FreeBSD RELENG_4:
[dragonfly.git] / usr.sbin / pcvt / fontedit / fontedit.1
1 .\" $FreeBSD: src/usr.sbin/pcvt/fontedit/fontedit.1,v 1.4.2.2 2002/06/21 16:41:05 charnier Exp $
2 .\"
3 .Dd January 16, 2001
4 .Dt FONTEDIT 1
5 .Os
6 .Sh NAME
7 .Nm fontedit
8 .Nd "edit fonts"
9 .Sh SYNOPSIS
10 .Nm
11 .Ar file
12 .Sh DESCRIPTION
13 The
14 .Nm
15 utility is used to edit the down line reloadable character set (DRCS) of a
16 .Tn VT220
17 terminal.
18 The editor has two display areas, one for displaying the
19 entry currently being manipulated, and one for displaying the complete
20 DRCS.
21 Commands to the editor take the form of function keys.
22 .Pp
23 The
24 .Nm
25 utility
26 takes one command line parameter, a
27 .Ar file
28 name.
29 This file is used to save the character set.
30 If the file exists when
31 .Nm
32 is invoked, it is read in to initialize the DRCS.
33 The file is written to when
34 .Nm
35 exits.
36 .Pp
37 Commands to
38 .Nm
39 take the form of function keys.
40 The current definitions are:
41 .Bl -tag -width "Cursors"
42 .It Ic HELP
43 Display a help screen.
44 .It Ic F6
45 Turn the pixel under the cursor on.
46 .It Ic F7
47 Turn the pixel under the cursor off.
48 .It Ic F13
49 Clear the display area.
50 .It Ic Find
51 Save the current font in the font table.
52 Update the DRCS display.
53 .It Ic Select
54 Extract the entry selected by the cursor in the DRCS display.
55 .It Ic Prev
56 Move the cursor to the previous entry in the DRCS display.
57 .It Ic Next
58 Move the cursor to the next entry in the DRCS display.
59 .It Ic Insert
60 Insert a blank line at the current cursor position.
61 The bottom row is lost.
62 .It Ic Remove
63 Remove the row at the current cursor position.
64 All rows below the
65 current one are shifted up.
66 .It Ic Cursors
67 Move the cursor in the main display area.
68 .El
69 .Pp
70 If the screen gets garbled, press
71 .Aq control\-L .
72 .Pp
73 To exit
74 .Nm ,
75 press
76 .Aq control\-D .
77 The DRCS will be saved in
78 .Ar file .
79 To exit without saving the DRCS, hit interrupt (usually
80 DEL).
81 .Sh DIAGNOSTICS
82 The
83 .Nm
84 utility
85 will issue a warning when the entry being worked on is not saved, and
86 some potentially destructive command, like
87 .Ic Select
88 is used.
89 To
90 override the warning message, immediately reissue the command.
91 .Sh AUTHORS
92 .An Greg Franks