freebsd-dev/usr.sbin/pcvt/fontedit/fontedit.1

88 lines
1.9 KiB
Groff
Raw Normal View History

.\" $FreeBSD$
.\"
2001-01-17 09:15:13 +00:00
.Dd January 16, 2001
.Dt FONTEDIT 1
.Os
.Sh NAME
.Nm fontedit
.Nd "edit fonts"
.Sh SYNOPSIS
.Nm
.Ar file
.Sh DESCRIPTION
.Nm Fontedit
is used to edit the down line reloadable character set (DRCS) of a
.Tn VT220
terminal.
The editor has two display areas, one for displaying the
entry currently being manipulated, and one for displaying the complete
2001-01-17 09:15:13 +00:00
DRCS.
Commands to the editor take the form of function keys.
.Pp
.Nm Fontedit
takes one command line parameter, a
.Ar file
name.
This file is used to save the character set.
If the file exists when
.Nm
is invoked, it is read in to initialize the DRCS.
The file is written to when
.Nm
exits.
.Pp
Commands to
.Nm
take the form of function keys.
The current definitions are:
.Bl -tag -width "Cursors"
.It Ic HELP
Display a help screen.
2001-01-17 09:15:13 +00:00
.It Ic F6
Turn the pixel under the cursor on.
2001-01-17 09:15:13 +00:00
.It Ic F7
Turn the pixel under the cursor off.
2001-01-17 09:15:13 +00:00
.It Ic F13
Clear the display area.
2001-01-17 09:15:13 +00:00
.It Ic Find
Save the current font in the font table.
Update the DRCS display.
.It Ic Select
Extract the entry selected by the cursor in the DRCS display.
2001-01-17 09:15:13 +00:00
.It Ic Prev
Move the cursor to the previous entry in the DRCS display.
2001-01-17 09:15:13 +00:00
.It Ic Next
Move the cursor to the next entry in the DRCS display.
2001-01-17 09:15:13 +00:00
.It Ic Insert
Insert a blank line at the current cursor position.
The bottom row is lost.
.It Ic Remove
Remove the row at the current cursor position.
All rows below the
current one are shifted up.
2001-01-17 09:15:13 +00:00
.It Ic Cursors
Move the cursor in the main display area.
2001-01-17 09:15:13 +00:00
.El
.Pp
If the screen gets garbled, press
.Aq control\-L .
.Pp
To exit
.Nm ,
press
.Aq control\-D .
The DRCS will be saved in
.Ar file .
To exit without saving the DRCS, hit interrupt (usually
DEL).
.Sh DIAGNOSTICS
.Nm Fontedit
will issue a warning when the entry being worked on is not saved, and
2001-01-17 09:15:13 +00:00
some potentially destructive command, like
.Ic Select
is used.
To
override the warning message, immediately reissue the command.
2001-01-17 09:15:13 +00:00
.Sh AUTHORS
.An Greg Franks