1 /* Automatically generated by po2tbl.sed from kbd.pot. */
7 #include "libgettext.h"
9 const struct _msg_ent _msg_tbl[] = {
11 {"openvt: %s: illegal vt number\n", 2},
12 {"openvt: only root can use the -u flag.\n", 3},
13 {"Couldnt get a file descriptor referring to the console\n", 4},
14 {"openvt: cannot find a free vt\n", 5},
15 {"openvt: cannot check whether vt %d is free\n", 6},
16 {" use `openvt -f' to force.\n", 7},
17 {"openvt: vt %d is in use; command aborted\n", 8},
18 {"openvt: Unable to open %s: %s\n", 9},
19 {"openvt: Cannot open %s read/write (%s)\n", 10},
20 {"openvt: using VT %s\n", 11},
21 {"openvt: Unable to set new session (%s)\n", 12},
24 openvt: could not open %s R/W (%s)\n", 13},
25 {"openvt: could not deallocate console %d\n", 14},
26 {"usage: chvt N\n", 15},
27 {"%s: unknown option\n", 16},
28 {"%s: deallocating all unused consoles failed\n", 17},
29 {"%s: 0: illegal VT number\n", 18},
30 {"%s: VT 1 is the console and cannot be deallocated\n", 19},
31 {"%s: could not deallocate console %d\n", 20},
32 {"KDGKBENT error at index 0 in table %d: ", 21},
33 {"%s: cannot find any keymaps?\n", 22},
34 {"%s: plain map not allocated? very strange ...\n", 23},
35 {"KDGKBENT error at index %d in table %d: ", 24},
36 {"keycode range supported by kernel: 1 - %d\n", 25},
37 {"max number of actions bindable to a key: %d\n", 26},
38 {"number of keymaps in actual use: %d\n", 27},
39 {"of which %d dynamically allocated\n", 28},
40 {"ranges of action codes supported by kernel:\n", 29},
41 {"number of function keys supported by kernel: %d\n", 30},
42 {"max nr of compose definitions: %d\n", 31},
43 {"nr of compose definitions in actual use: %d\n", 32},
45 Symbols recognized by %s:\n\
46 (numeric value, symbol)\n\
50 The following synonyms are recognized:\n\
52 {"%-15s for %s\n", 35},
55 Recognized modifier names and their column numbers:\n", 36},
56 {"# not alt_is_meta: on keymap %d key %d is bound to", 37},
57 {"impossible: not meta?\n", 38},
58 {"KDGKBSENT failed at index %d: ", 39},
59 {"dumpkeys version %s", 40},
62 usage: dumpkeys [options...]\n\
66 \t-h --help\t display this help text\n\
67 \t-i --short-info\t display information about keyboard driver\n\
68 \t-l --long-info\t display above and symbols known to loadkeys\n\
69 \t-n --numeric\t display keytable in hexadecimal notation\n\
70 \t-f --full-table\t don't use short-hand notations, one row per keycode\n\
71 \t-1 --separate-lines one line per (modifier,keycode) pair\n\
72 \t --funcs-only\t display only the function key strings\n\
73 \t --keys-only\t display only key bindings\n\
74 \t --compose-only display only compose key combinations\n\
75 \t-c --charset=", 41},
77 \t\t\t interpret character action codes to be from the\n\
78 \t\t\t specified character set\n", 42},
79 {"error executing %s\n", 43},
80 {"usage: getkeycodes\n", 44},
81 {"Plain scancodes xx (hex) versus keycodes (dec)\n", 45},
82 {"0 is an error; for 1-88 (0x01-0x58) scancode equals keycode\n", 46},
86 Escaped scancodes e0 xx (hex)\n", 47},
87 {"failed to get keycode for scancode 0x%x\n", 48},
91 {"usage: kbd_mode [-a|-u|-k|-s]\n", 50},
92 {"kbd_mode: error reading keyboard mode\n", 51},
93 {"The keyboard is in raw (scancode) mode\n", 52},
94 {"The keyboard is in mediumraw (keycode) mode\n", 53},
95 {"The keyboard is in the default (ASCII) mode\n", 54},
96 {"The keyboard is in Unicode (UTF-8) mode\n", 55},
97 {"The keyboard is in some unknown mode\n", 56},
98 {"%s: error setting keyboard mode\n", 57},
99 {"Typematic Rate set to %.1f cps (delay = %d ms)\n", 58},
100 {"Usage: kbdrate [-V] [-s] [-r rate] [-d delay]\n", 59},
101 {"Cannot open /dev/port", 60},
102 {"bug: getfont called with count<256\n", 61},
103 {"%s: out of memory\n", 62},
104 {"unknown charset %s - ignoring charset request\n", 63},
105 {"assuming iso-8859-1 %s\n", 64},
106 {"assuming iso-8859-15 %s\n", 65},
107 {"assuming iso-8859-2 %s\n", 66},
108 {"assuming iso-8859-3 %s\n", 67},
109 {"assuming iso-8859-4 %s\n", 68},
110 {"unknown keysym '%s'\n", 69},
111 {"plus before %s ignored\n", 70},
112 {"usage: %s [-o map.orig] [map-file]\n", 71},
113 {"Bad input line: %s\n", 72},
114 {"%s: Glyph number (0x%x) larger than font length\n", 73},
115 {"%s: Bad end of range (0x%x)\n", 74},
116 {"%s: Bad Unicode range corresponding to font position range 0x%x-0x%x\n", 75},
118 %s: Unicode range U+%x-U+%x not of the same length as font position range 0x%\
120 {"%s: trailing junk (%s) ignored\n", 77},
121 {"Loading unicode map from file %s\n", 78},
122 {"%s: %s: Warning: line too long\n", 79},
124 %s: not loading empty unimap\n\
125 (if you insist: use option -f to override)\n", 80},
128 {"Saved unicode map on `%s'\n", 83},
129 {"Appended Unicode map\n", 84},
130 {"usage: %s [-v] [-o map.orig] map-file\n", 85},
131 {"mapscrn: cannot open map file _%s_\n", 86},
132 {"Cannot stat map file", 87},
133 {"Loading binary direct-to-font screen map from file %s\n", 88},
134 {"Error reading map from file `%s'\n", 89},
135 {"Loading binary unicode screen map from file %s\n", 90},
136 {"Loading symbolic screen map from file %s\n", 91},
137 {"Error parsing symbolic map from `%s', line %d\n", 92},
138 {"Error writing map to file\n", 93},
139 {"Cannot read console map\n", 94},
140 {"Saved screen map in `%s'\n", 95},
141 {"%s: short ucs2 unicode table\n", 96},
142 {"%s: short utf8 unicode table\n", 97},
143 {"%s: bad utf8\n", 98},
144 {"%s: unknown utf8 error\n", 99},
145 {"%s: short unicode table\n", 100},
146 {"%s: Error reading input font", 101},
147 {"%s: Bad call of readpsffont\n", 102},
148 {"%s: Unsupported psf file mode (%d)\n", 103},
149 {"%s: Unsupported psf version (%d)\n", 104},
150 {"%s: zero input font length?\n", 105},
151 {"%s: zero input character size?\n", 106},
152 {"%s: Input file: bad input length (%d)\n", 107},
153 {"%s: Input file: trailing garbage\n", 108},
154 {"appendunicode: illegal unicode %u\n", 109},
155 {"Cannot write font file header", 110},
156 {"%s: Warning: line too long\n", 111},
157 {"%s: Bad input line: %s\n", 112},
158 {"%s: Glyph number (0x%lx) past end of font\n", 113},
159 {"%s: Bad end of range (0x%lx)\n", 114},
161 %s: Corresponding to a range of font positions, there should be a Unicode \
165 \t%s infont intable outfont\n", 116},
168 \t%s infont [outtable]\n", 117},
171 \t%s infont outfont\n", 118},
174 \t%s [-i infont] [-o outfont] [-it intable] [-ot outtable] [-nt]\n", 119},
175 {"%s: Bad magic number on %s\n", 120},
176 {"%s: psf file with unknown magic\n", 121},
177 {"%s: input font does not have an index\n", 122},
178 {"resizecons: cannot find videomode file %s\n", 123},
179 {"Invalid number of lines\n", 124},
180 {"Old mode: %dx%d New mode: %dx%d\n", 125},
181 {"Old #scanlines: %d New #scanlines: %d Character height: %d\n", 126},
182 {"resizecons: the command `%s' failed\n", 127},
184 resizecons: don't forget to change TERM (maybe to con%dx%d or linux-%dx%d)\n", 128},
187 call is: resizecons COLSxROWS or: resizecons COLS ROWS\n\
188 or: resizecons -lines ROWS, with ROWS one of 25, 28, 30, 34, 36, 40, 44, 50, \
190 {"resizecons: cannot get I/O permissions.\n", 130},
191 {"usage: screendump [n]\n", 131},
192 {"Error reading %s\n", 132},
193 {"couldn't read %s, and cannot ioctl dump\n", 133},
194 {"couldn't read %s\n", 134},
195 {"Strange ... screen is both %dx%d and %dx%d ??\n", 135},
196 {"Error writing screendump\n", 136},
198 Usage: setfont [write-options] [-<N>] [newfont..] [-m consolemap] [-u \
200 write-options (take place before file loading):\n\
201 -o <filename>\tWrite current font to <filename>\n\
202 -O <filename>\tWrite current font and unicode map to <filename>\n\
203 -om <filename>\tWrite current consolemap to <filename>\n\
204 -ou <filename>\tWrite current unicodemap to <filename>\n\
205 If no newfont and no -[o|O|om|ou|m|u] option is given,\n\
206 a default font is loaded:\n\
207 setfont Load font \"default[.gz]\"\n\
208 setfont -<N> Load font \"default8x<N>[.gz]\"\n\
209 The -<N> option selects a font from a codepage that contains three fonts:\n\
210 setfont -{8|14|16} codepage.cp[.gz] Load 8x<N> font from codepage.cp\n\
211 Explicitly (with -m or -u) or implicitly (in the fontfile) given mappings\n\
212 will be loaded and, in the case of consolemaps, activated.\n\
213 -h<N> (no space) Override font height.\n\
214 -m <fn> Load console screen map.\n\
215 -u <fn> Load font unicode map.\n\
216 -m none\tSuppress loading and activation of a screen map.\n\
217 -u none\tSuppress loading of a unicode map.\n\
219 -V\t\tPrint version and exit.\n\
220 Files are loaded from the current directory or /usr/lib/kbd/*/.\n", 137},
221 {"setfont: too many input files\n", 138},
223 setfont: cannot both restore from character ROM and from file. Font \
225 {"Bad character height %d\n", 140},
226 {"Bad character width %d\n", 141},
227 {"%s: font position 32 is nonblank\n", 142},
228 {"%s: wiped it\n", 143},
229 {"%s: background will look funny\n", 144},
230 {"Loading %d-char %dx%d font from file %s\n", 145},
231 {"Loading %d-char %dx%d font\n", 146},
232 {"Loading %d-char %dx%d (%d) font from file %s\n", 147},
233 {"Loading %d-char %dx%d (%d) font\n", 148},
234 {"%s: bug in do_loadtable\n", 149},
235 {"Loading Unicode mapping table...\n", 150},
236 {"Cannot open font file %s\n", 151},
237 {"When loading several fonts, all must be psf fonts - %s isn't\n", 152},
238 {"Read %d-char %dx%d font from file %s\n", 153},
239 {"When loading several fonts, all must have the same height\n", 154},
240 {"When loading several fonts, all must have the same width\n", 155},
241 {"Cannot find default font\n", 156},
242 {"Cannot find %s font\n", 157},
243 {"Reading font file %s\n", 158},
244 {"No final newline in combine file\n", 159},
245 {"Too many files to combine\n", 160},
246 {"Hmm - a font from restorefont? Using the first half.\n", 161},
247 {"Bad input file size\n", 162},
249 This file contains 3 fonts: 8x8, 8x14 and 8x16. Please indicate\n\
250 using an option -8 or -14 or -16 which one you want loaded.\n", 163},
251 {"You asked for font size %d, but only 8, 14, 16 are possible here.\n", 164},
252 {"Found nothing to save\n", 165},
253 {"Cannot write font file", 166},
254 {"Saved %d-char %dx%d font file on %s\n", 167},
256 usage: setkeycode scancode keycode ...\n\
257 (where scancode is either xx or e0xx, given in hexadecimal,\n\
258 and keycode is given in decimal)\n", 168},
259 {"even number of arguments expected", 169},
260 {"error reading scancode", 170},
261 {"code outside bounds", 171},
262 {"failed to set scancode %x to keycode %d\n", 172},
265 \tsetleds [-v] [-L] [-D] [-F] [[+|-][ num | caps | scroll %s]]\n\
267 \tsetleds +caps -num\n\
268 will set CapsLock, clear NumLock and leave ScrollLock unchanged.\n\
269 The settings before and after the change (if any) are reported\n\
270 when the -v option is given or when no change is requested.\n\
271 Normally, setleds influences the vt flag settings\n\
272 (and these are usually reflected in the leds).\n\
273 With -L, setleds only sets the leds, and leaves the flags alone.\n\
274 With -D, setleds sets both the flags and the default flags, so\n\
275 that a subsequent reset will not change the flags.\n", 173},
278 {"Error reading current led setting. Maybe stdin is not a VT?\n", 176},
280 Error reading current flags setting. Maybe you are not on the console?\n", 177},
281 {"Error reading current led setting from /dev/kbd.\n", 178},
282 {"KIOCGLED unavailable?\n", 179},
283 {"KIOCSLED unavailable?\n", 180},
284 {"Error opening /dev/kbd.\n", 181},
285 {"Error resetting ledmode\n", 182},
286 {"Current default flags: ", 183},
287 {"Current flags: ", 184},
288 {"Current leds: ", 185},
290 unrecognized argument: _%s_\n\
292 {"Old default flags: ", 187},
293 {"New default flags: ", 188},
294 {"Old flags: ", 189},
295 {"New flags: ", 190},
300 \tsetmetamode [ metabit | meta | bit | escprefix | esc | prefix ]\n\
301 Each vt has his own copy of this bit. Use\n\
302 \tsetmetamode [arg] < /dev/ttyn\n\
303 to change the settings of another vt.\n\
304 The setting before and after the change are reported.\n", 193},
305 {"Meta key sets high order bit\n", 194},
306 {"Meta key gives Esc prefix\n", 195},
307 {"Strange mode for Meta key?\n", 196},
308 {"Error reading current setting. Maybe stdin is not a VT?\n", 197},
309 {"old state: ", 198},
310 {"new state: ", 199},
311 {"usage: %s\n", 200},
312 {"failed to restore original translation table\n", 201},
313 {"failed to restore original unimap\n", 202},
314 {"cannot change translation table\n", 203},
315 {"%s: out of memory?\n", 204},
317 usage: showconsolefont [-v|-V]\n\
318 (probably after loading a font with `setfont font')\n", 205},
320 {"kb mode was %s\n", 207},
322 [ if you are trying this under X, it might not work\n\
323 since the X server is also reading /dev/console ]\n", 208},
324 {"caught signal %d, cleaning up...\n", 209},
326 showkey version %s\n\
328 usage: showkey [options...]\n\
330 valid options are:\n\
332 \t-h --help\tdisplay this help text\n\
333 \t-a --ascii\tdisplay the decimal/octal/hex values of the keys\n\
334 \t-s --scancodes\tdisplay only the raw scan-codes\n\
335 \t-k --keycodes\tdisplay only the interpreted keycodes (default)\n", 210},
338 Press any keys - Ctrl-D will terminate this program\n\
340 {"press any key (program terminates 10s after last keypress)...\n", 212},
341 {"keycode %3d %s\n", 213},
344 {"%s from %s\n", 216},
347 int _msg_tbl_length = 216;