| 1 |
.\" @(#)setmetamode.1 1.0 940130 aeb |
| 2 |
.TH SETMETAMODE 1 "30 Jan 1994" "kbd" |
| 3 |
.SH NAME |
| 4 |
setmetamode \- define the keyboard meta key handling |
| 5 |
.SH SYNOPSIS |
| 6 |
.B setmetamode |
| 7 |
[ |
| 8 |
.I options |
| 9 |
] |
| 10 |
[ |
| 11 |
.I argument |
| 12 |
] |
| 13 |
.SH DESCRIPTION |
| 14 |
.LP |
| 15 |
Without argument, |
| 16 |
.B setmetamode |
| 17 |
prints the current Meta key mode. |
| 18 |
With argument, it sets the Meta key mode as indicated. |
| 19 |
The setting before and after the change are reported. |
| 20 |
.LP |
| 21 |
The Meta key mode is specific for each VT (and the VT |
| 22 |
corresponding to stdin is used). |
| 23 |
One might use |
| 24 |
.B setmetamode |
| 25 |
in /etc/rc to define the initial state of the Meta key mode, |
| 26 |
e.g. by |
| 27 |
.LP |
| 28 |
.br |
| 29 |
.in +5m |
| 30 |
INITTY=/dev/tty[1-8] |
| 31 |
.br |
| 32 |
for tty in $INITTY; do |
| 33 |
.br |
| 34 |
.in +5m |
| 35 |
setmetamode escprefix < $tty |
| 36 |
.br |
| 37 |
.in -5m |
| 38 |
done |
| 39 |
.in -5m |
| 40 |
.SH ARGUMENTS |
| 41 |
.TP |
| 42 |
\fBesc\fR, \fBprefix\fR, \fBescprefix\fR |
| 43 |
The Meta key sends an Escape prefix. |
| 44 |
.TP |
| 45 |
\fBmeta\fR, \fBbit\fR, \fBmetabit\fR |
| 46 |
The Meta key sets the high order bit of the character. |
| 47 |
.SH OPTIONS |
| 48 |
.TP |
| 49 |
\fB\-C\fR, \fB\-\-console\fR=\fI\,DEV\/\fR |
| 50 |
the console device to be used. |
| 51 |
.TP |
| 52 |
\fB\-V\fR, \fB\-\-version\fR |
| 53 |
print version number. |
| 54 |
.TP |
| 55 |
\fB\-h\fR, \fB\-\-help\fR |
| 56 |
print this usage message. |
| 57 |
.SH AUTHORS |
| 58 |
Andries Brouwer <[email protected]> |
| 59 |
.SH "SEE ALSO" |
| 60 |
.BR loadkeys (1), |
| 61 |
.BR kbdinfo (1) |
| 62 |
|