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