summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1996-02-09 16:20:10 +0000
committermpp <mpp@FreeBSD.org>1996-02-09 16:20:10 +0000
commit279ebaafa0f3c6e02cd5f9f1580c31e2b58c7580 (patch)
tree3f5122ecd4769a6cb364fc7f72354dd8ba2b6c2b /usr.sbin/pcvt
parent763baf4d95dd6dc71400aea23146e238096bbfd2 (diff)
downloadFreeBSD-src-279ebaafa0f3c6e02cd5f9f1580c31e2b58c7580.zip
FreeBSD-src-279ebaafa0f3c6e02cd5f9f1580c31e2b58c7580.tar.gz
Add some missing MLINKS, correct some cross references, correct some
file locations and some minor formatting/style problems.
Diffstat (limited to 'usr.sbin/pcvt')
-rw-r--r--usr.sbin/pcvt/keycap/Makefile4
-rw-r--r--usr.sbin/pcvt/userkeys/vt220keys.128
2 files changed, 18 insertions, 14 deletions
diff --git a/usr.sbin/pcvt/keycap/Makefile b/usr.sbin/pcvt/keycap/Makefile
index cbcbc78..45f4d06 100644
--- a/usr.sbin/pcvt/keycap/Makefile
+++ b/usr.sbin/pcvt/keycap/Makefile
@@ -17,6 +17,10 @@ KEYCAPSRC= keycap.src
CFLAGS += -DKEYCAP_PATH=\"$(CAPPATH)\"
SRCS = keycap.c
MAN3 = keycap.${MAN3EXT}
+MLINKS+= keycap.${MAN3EXT} kgetent.${MAN3EXT} \
+ keycap.${MAN3EXT} keygetnum.${MAN3EXT} \
+ keycap.${MAN3EXT} keygetflag.${MAN3EXT} \
+ keycap.${MAN3EXT} ketgetstr.${MAN3EXT}
MAN5 = man5/keycap.${MAN5EXT}
#CLEANFILES+= keycap.0 man5/keycap.0
diff --git a/usr.sbin/pcvt/userkeys/vt220keys.1 b/usr.sbin/pcvt/userkeys/vt220keys.1
index cff95bf..282adec 100644
--- a/usr.sbin/pcvt/userkeys/vt220keys.1
+++ b/usr.sbin/pcvt/userkeys/vt220keys.1
@@ -1,15 +1,15 @@
-.TH VT220 1
+.TH VT220KEYS 1
.UC 4
.SH NAME
-vt220 \- define SHIFTED function keys on VT220 terminal
+vt220keys \- define SHIFTED function keys on VT220 terminal
.SH SYNTAX
-.B vt220
+.B vt220keys
[
.B \-cil
]
[ keyname keystring ] ...
.SH DESCRIPTION
-.I Vt220
+.I Vt220keys
sets up a "vt220 terminal" in vt200 mode to allow user
definition of the SHIFTED function keys. Each
\f2keyname\f1 specified on the command line will be loaded with
@@ -19,7 +19,7 @@ F6 F7 F8 F9 F10 F11 ESC F12 BS F13 LF F14 HELP DO F17 F18 F19 F20.
\f2Keystrings\f1
must be quoted if spaces, tabs, or shell metacharacters are included.
.PP
-.B Vt220
+.B Vt220keys
expects to receive some combination of option flags and/or
argument pair(s), otherwised an usage message
is printed.
@@ -51,13 +51,13 @@ pairs.
The only way
to unlock is by turning the power off.
.SH EXAMPLES
-vt220 -ci
+vt220keys -ci
.br
-vt220 F6 'nroff -ms '
+vt220keys F6 'nroff -ms '
.br
-vt220 -i F20 'cc -O -c '
+vt220keys -i F20 'cc -O -c '
.br
-vt220 -l HELP man
+vt220keys -l HELP man
.SH "OTHER FEATURES"
Pressing the function keys without using the shift key, generates
a string of characters. With
@@ -69,15 +69,15 @@ where ^[[17~ is what is generated by pressing the F6 key. Therefore
F6 can perform two commands, depending if pressed with/without the SHIFT
key.
.PP
-.B Vt220
+.B Vt220keys
can be called from your .login or .profile file. Typically an user
will create a initialization file and include a line like
.br
- vt220 -ci
+ vt220keys -ci
.br
OR
.br
- vt220 -cil
+ vt220keys -cil
.br
in the above mentioned files. This way the SHIFTED function keys
will be set to your favorite commands when logging in.
@@ -101,11 +101,11 @@ ESC key. Here are some available alternatives:
The escape character can be generated by typing ^[ (control-[).
.sp
Use
-.B vt220
+.B vt220keys
as follows (note ^[ is control-[)
.br
.in +.5i
-vt220 ESC '^['
+vt220keys ESC '^['
.in
.br
This will require you
OpenPOWER on IntegriCloud