summaryrefslogtreecommitdiff
path: root/packages/busybox/busybox-kconfigs/busybox-console-tools.kconfig
blob: 449104f27b971b73cd45d7aa234c813b01a2a768 (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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
#
# For a description of the syntax of this configuration file,
# see scripts/kbuild/config-language.txt.
#

comment "-------------------------------------------------"
comment "Console Utilities"
comment "-------------------------------------------------"



config KEMBTK_BUSYB_CHVT
	bool "chvt"
	default y
	help
	  This program is used to change to another terminal.
	  Example: chvt 4 (change to terminal /dev/tty4)

config KEMBTK_BUSYB_FGCONSOLE
	bool "fgconsole"
	depends on EMBTK_BB_VERSION_1_17_X
	default y
	help
	  This program prints active (foreground) console number.

config KEMBTK_BUSYB_CLEAR
	bool "clear"
	default y
	help
	  This program clears the terminal screen.

config KEMBTK_BUSYB_DEALLOCVT
	bool "deallocvt"
	default y
	help
	  This program deallocates unused virtual consoles.

config KEMBTK_BUSYB_DUMPKMAP
	bool "dumpkmap"
	default y
	help
	  This program dumps the kernel's keyboard translation table to
	  stdout, in binary format. You can then use loadkmap to load it.

config KEMBTK_BUSYB_KBD_MODE
	bool "kbd_mode"
	default y
	help
	  This program reports and sets keyboard mode.

config KEMBTK_BUSYB_LOADFONT
	bool "loadfont"
	default y
	help
	  This program loads a console font from standard input.

config KEMBTK_BUSYB_LOADKMAP
	bool "loadkmap"
	default y
	help
	  This program loads a keyboard translation table from
	  standard input.

config KEMBTK_BUSYB_OPENVT
	bool "openvt"
	default y
	help
	  This program is used to start a command on an unused
	  virtual terminal.

config KEMBTK_BUSYB_RESET
	bool "reset"
	default y
	help
	  This program is used to reset the terminal screen, if it
	  gets messed up.

config KEMBTK_BUSYB_RESIZE
	bool "resize"
	default y
	help
	  This program is used to (re)set the width and height of your current
	  terminal.

config KEMBTK_BUSYB_FEATURE_RESIZE_PRINT
	bool "Print environment variables"
	default y
	depends on KEMBTK_BUSYB_RESIZE
	help
	  Prints the newly set size (number of columns and rows) of
	  the terminal.
	  E.g.:
	  COLUMNS=80;LINES=44;export COLUMNS LINES;

config KEMBTK_BUSYB_SETCONSOLE
	bool "setconsole"
	default y
	help
	  This program redirects the system console to another device,
	  like the current tty while logged in via telnet.

config KEMBTK_BUSYB_FEATURE_SETCONSOLE_LONG_OPTIONS
	bool "Enable long options"
	default y
	depends on KEMBTK_BUSYB_SETCONSOLE && KEMBTK_BUSYB_LONG_OPTS
	help
	  Support long options for the setconsole applet.

config KEMBTK_BUSYB_SETFONT
	bool "setfont"
	default y
	help
	  Allows to load console screen map. Useful for i18n.

config KEMBTK_BUSYB_FEATURE_SETFONT_TEXTUAL_MAP
	bool "Support reading textual screen maps"
	default y
	depends on KEMBTK_BUSYB_SETFONT
	help
	  Support reading textual screen maps.

config KEMBTK_BUSYB_DEFAULT_SETFONT_DIR
	string "Default directory for console-tools files"
	default ""
	depends on KEMBTK_BUSYB_SETFONT
	help
	  Directory to use if setfont's params are simple filenames
	  (not /path/to/file or ./file). Default is "" (no default directory).

config KEMBTK_BUSYB_SETKEYCODES
	bool "setkeycodes"
	default y
	help
	  This program loads entries into the kernel's scancode-to-keycode
	  map, allowing unusual keyboards to generate usable keycodes.

config KEMBTK_BUSYB_SETLOGCONS
	bool "setlogcons"
	default y
	help
	  This program redirects the output console of kernel messages.

config KEMBTK_BUSYB_SHOWKEY
	bool "showkey"
	default y
	help
	  Shows keys pressed.

comment "Common options for loadfont and setfont"
	depends on KEMBTK_BUSYB_LOADFONT || KEMBTK_BUSYB_SETFONT
	depends on EMBTK_BB_VERSION_1_17_X

config KEMBTK_BUSYB_FEATURE_LOADFONT_PSF2
	bool "Support for KEMBTK_BUSYB_PSF2 console fonts"
	depends on EMBTK_BB_VERSION_1_17_X
	default y
	depends on KEMBTK_BUSYB_LOADFONT || KEMBTK_BUSYB_SETFONT
	help
	  Support KEMBTK_BUSYB_PSF2 console fonts.

config KEMBTK_BUSYB_FEATURE_LOADFONT_RAW
	bool "Support for old (raw) console fonts"
	depends on EMBTK_BB_VERSION_1_17_X
	default y
	depends on KEMBTK_BUSYB_LOADFONT || KEMBTK_BUSYB_SETFONT
	help
	  Support old (raw) console fonts.