aboutsummaryrefslogtreecommitdiffstats
path: root/cmap.1
blob: d803d40c66a0c6de078bc5c21d158999718aa2ec (plain) (blame)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
.TH CMAP 1 cmap
.SH NAME
cmap \- character selection utility for the terminal

.SH SYNOPSIS
.B cmap
[-f
.IR font-family ]
[-s
.RI [ font-size ][\fB/\fP[[ min ]\fB\-\fP[ max ]]]]
[-B | -S] [-bi]

.SH DESCRIPTION
.B cmap
is an interactive terminal utility for browsing and
copying characters.

.SH OPTIONS
The
.B cmap
utility conforms to the Base Definitions
volume of POSIX.1-2017,
.IR "Section 12.2" ,
.IR "Utility Syntax Guidelines" .
.PP
The following options are supported:
.TP
.B -B
Use listing by Unicode block by default.
.TP
.B -b
Use bold font by default
.TP
.BR -f \ \fIfont-family\fP
Use
.I font-family
as the default font family.
.TP
.B -i
Use italic or oblique font by default.
.TP
.B -S
Use listing by script by default.
.TP
.RI \fB-s\fP\ [ font-size ][\fB/\fP[[ min ]\fB-\fP[ max ]]]
Set the default font size, in the character
table, to
.IR font-size .

Set the minimum font size, in the character
table, to
.IR min .

Set the maximum font size, in the character
table, to
.IR max .

.SH OPERANDS
No operands are supported.

.SH ENVIRONMENT VARIABLES
The execution of
.B cmap
is affected by environment variables that affects the
.BR libterminput (7)
library.

.SH INTERACTION
The following keyboard actions are globally recognised:
.TP
.B Ctrl+Q
.TQ
.B Ctrl+C
Quit.
.TP
.B Ctrl+L
Redraw program.
.TP
.B Ctrl+Z
Put process in background.
.TP
.B Meta+Left
Make side-pane smaller.
.TP
.B Meta+Right
Make side-pane larger.
.TP
.B Tab
Cycle, forwards, between interface elements.
.TP
.B Backtab
Cycle, backward, between interface elements.
.PP
The following keyboard actions are recognised when
a list or table is focused:
.TP
.B Shift+Up
.TQ
.B Shift+PageUp
Scroll up without changing selected element.
.TP
.B Shift+Down
.TQ
.B Shift+PageDown
Scroll down without changing selected element.
.TP
.B Shift+Left
Scroll left without changing selected element.
.TP
.B Shift+Right
Scroll right without changing selected element.

.SH SEE ALSO
.BR gcmap (1)