| 1 |
# Czech translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Pavel Heimlich <[email protected]>, 2009. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:50+0200\n" |
| 9 |
"PO-Revision-Date: 2025-09-19 12:15+0200\n" |
| 10 |
"Last-Translator: Vojtěch Zeisek <[email protected]>\n" |
| 11 |
"Language-Team: Czech <[email protected]>\n" |
| 12 |
"Language: cs\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"X-Generator: Lokalize 25.08.1\n" |
| 17 |
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" |
| 18 |
"#-#-#-#-# min-002-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 19 |
"#-#-#-#-# min-003-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 20 |
"#-#-#-#-# min-004-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 21 |
"#-#-#-#-# min-010-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 22 |
"#-#-#-#-# min-020-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 23 |
"#-#-#-#-# min-100-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 24 |
"#-#-#-#-# min-002-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 25 |
"#-#-#-#-# min-003-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 26 |
"#-#-#-#-# min-004-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 27 |
"#-#-#-#-# min-010-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 28 |
"#-#-#-#-# min-020-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 29 |
"#-#-#-#-# min-100-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 30 |
"#-#-#-#-# min-002-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 31 |
"#-#-#-#-# min-003-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 32 |
"#-#-#-#-# min-004-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 33 |
"#-#-#-#-# min-010-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 34 |
"#-#-#-#-# min-020-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 35 |
"#-#-#-#-# min-100-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 36 |
"#-#-#-#-# min-002-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 37 |
"#-#-#-#-# min-003-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 38 |
"#-#-#-#-# min-004-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 39 |
"#-#-#-#-# min-010-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 40 |
"#-#-#-#-# min-020-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 41 |
"#-#-#-#-# min-100-occurences.po (manpages-l10n) #-#-#-#-# \n" |
| 42 |
|
| 43 |
#. type: TH |
| 44 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 45 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 46 |
#, no-wrap |
| 47 |
msgid "vcs" |
| 48 |
msgstr "vcs" |
| 49 |
|
| 50 |
#. type: TH |
| 51 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 52 |
#: opensuse-tumbleweed |
| 53 |
#, no-wrap |
| 54 |
msgid "2026-02-08" |
| 55 |
msgstr "8. února 2026" |
| 56 |
|
| 57 |
#. type: TH |
| 58 |
#: archlinux debian-unstable |
| 59 |
#, fuzzy, no-wrap |
| 60 |
#| msgid "Linux man-pages 6.17" |
| 61 |
msgid "Linux man-pages 6.18" |
| 62 |
msgstr "Linux man-pages 6.17" |
| 63 |
|
| 64 |
#. type: SH |
| 65 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 66 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 67 |
#, no-wrap |
| 68 |
msgid "NAME" |
| 69 |
msgstr "JMÉNO" |
| 70 |
|
| 71 |
#. type: Plain text |
| 72 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 73 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 74 |
msgid "vcs, vcsa - virtual console memory" |
| 75 |
msgstr "vcs, vcsa - paměť virtuální konzoly" |
| 76 |
|
| 77 |
#. type: SH |
| 78 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 79 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 80 |
#, no-wrap |
| 81 |
msgid "DESCRIPTION" |
| 82 |
msgstr "POPIS" |
| 83 |
|
| 84 |
#. type: Plain text |
| 85 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 86 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 87 |
msgid "" |
| 88 |
"I</dev/vcs0> is a character device with major number 7 and minor number 0, " |
| 89 |
"usually with mode 0644 and ownership root:tty. It refers to the memory of " |
| 90 |
"the currently displayed virtual console terminal." |
| 91 |
msgstr "" |
| 92 |
"I</dev/vcs0> je znakové zařízení s hlavním číslem 7 a vedlejším 0. Obvykle " |
| 93 |
"je jeho vlastníkem root.tty a jeho přístupová práva jsou 0644. Ukazuje na " |
| 94 |
"paměť právě zobrazené virtuální konzoly." |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 98 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 99 |
msgid "" |
| 100 |
"I</dev/vcs[1-63]> are character devices for virtual console terminals, they " |
| 101 |
"have major number 7 and minor number 1 to 63, usually mode 0644 and " |
| 102 |
"ownership root:tty. I</dev/vcsa[0-63]> are the same, but using I<unsigned " |
| 103 |
"short>s (in host byte order) that include attributes, and prefixed with four " |
| 104 |
"bytes giving the screen dimensions and cursor position: I<lines>, " |
| 105 |
"I<columns>, I<x>, I<y>. (I<x> = I<y> = 0 at the top left corner of the " |
| 106 |
"screen.)" |
| 107 |
msgstr "" |
| 108 |
"I</dev/vcs[1-63]> jsou znaková zařízení pro virtuální konzoly, mají hlavní " |
| 109 |
"číslo 7 a vedlejší od 1 do 63. Obvykle je jejich vlastníkem root.tty a " |
| 110 |
"jejich přístupová práva jsou 0644. I</dev/vcsa[0-63]> jsou stejné, ale " |
| 111 |
"používají I<unsigned short> (byte order podle hostitele), které obsahují " |
| 112 |
"atributy a začínají čtyřmi bajty, které určují rozměry obrazovky a pozici " |
| 113 |
"kurzoru: I<počet řádků>, I<sloupců>, I<x>, I<y>. (I<x> = I<y> = 0 je v " |
| 114 |
"levém horním rohu obrazovky.)" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
#, fuzzy |
| 120 |
#| msgid "" |
| 121 |
#| "When a 512-character font is loaded, the 9th bit position can be fetched " |
| 122 |
#| "by applying the B<ioctl>(2) B<VT_GETHIFONTMASK> operation (available in " |
| 123 |
#| "Linux kernels 2.6.18 and above) on I</dev/tty[1-63]>; the value is " |
| 124 |
#| "returned in the I<unsigned short> pointed to by the third B<ioctl>(2) " |
| 125 |
#| "argument." |
| 126 |
msgid "" |
| 127 |
"When a 512-character font is loaded, the 9th bit position can be fetched by " |
| 128 |
"applying the B<ioctl>(2) B<VT_GETHIFONTMASK> operation (available since " |
| 129 |
"Linux 2.6.18) on I</dev/tty[1-63]>; the value is returned in the I<unsigned " |
| 130 |
"short> pointed to by the third B<ioctl>(2) argument." |
| 131 |
msgstr "" |
| 132 |
"Pokud je načten 512 znakový font, lze 9. bit získat pomocí B<ioctl>(2) " |
| 133 |
"operace B<VT_GETHIFONTMASK> (dostupné v jádře 2.6.18 a novějším) na I</dev/" |
| 134 |
"tty[1-63]>; hodnota je vrácena v I<unsigned short> na které ukazuje třetí " |
| 135 |
"argument B<ioctl>(2)." |
| 136 |
|
| 137 |
#. type: Plain text |
| 138 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 139 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 140 |
msgid "" |
| 141 |
"These devices replace the screendump B<ioctl>(2) operations of " |
| 142 |
"B<ioctl_console>(2), so the system administrator can control access using " |
| 143 |
"filesystem permissions." |
| 144 |
msgstr "" |
| 145 |
"Tato znaková zařízení nahrazují screendump B<ioctl>(2) konzoly - viz " |
| 146 |
"B<ioctl_console>(2), proto mohou systémoví administrátoři kontrolovat " |
| 147 |
"přístup pomocí přístupových práv k těmto speciálním souborům." |
| 148 |
|
| 149 |
#. type: Plain text |
| 150 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 151 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 152 |
msgid "The devices for the first eight virtual consoles may be created by:" |
| 153 |
msgstr "" |
| 154 |
"Speciální soubory pro prvních osm virtuálních konzol mohou být vytvořeny " |
| 155 |
"takto:" |
| 156 |
|
| 157 |
#. type: Plain text |
| 158 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 159 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 160 |
#, no-wrap |
| 161 |
msgid "" |
| 162 |
"for x in 0 1 2 3 4 5 6 7 8; do\n" |
| 163 |
" mknod -m 644 /dev/vcs$x c 7 $x;\n" |
| 164 |
" mknod -m 644 /dev/vcsa$x c 7 $[$x+128];\n" |
| 165 |
"done\n" |
| 166 |
"chown root:tty /dev/vcs*\n" |
| 167 |
msgstr "" |
| 168 |
"for x in 0 1 2 3 4 5 6 7 8; do\n" |
| 169 |
" mknod -m 644 /dev/vcs$x c 7 $x;\n" |
| 170 |
" mknod -m 644 /dev/vcsa$x c 7 $[$x+128];\n" |
| 171 |
"done\n" |
| 172 |
"chown root:tty /dev/vcs*\n" |
| 173 |
|
| 174 |
#. type: Plain text |
| 175 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 176 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 177 |
msgid "No B<ioctl>(2) requests are supported." |
| 178 |
msgstr "Žádné B<ioctl>(2) požadavky nejsou podporovány." |
| 179 |
|
| 180 |
#. type: SH |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
#, no-wrap |
| 184 |
msgid "FILES" |
| 185 |
msgstr "SOUBORY" |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
msgid "I</dev/vcs[0-63]>" |
| 191 |
msgstr "I</dev/vcs[0-63]>" |
| 192 |
|
| 193 |
#. .SH AUTHOR |
| 194 |
#. Andries Brouwer <[email protected]> |
| 195 |
#. type: Plain text |
| 196 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 197 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 198 |
msgid "I</dev/vcsa[0-63]>" |
| 199 |
msgstr "I</dev/vcsa[0-63]>" |
| 200 |
|
| 201 |
#. type: SH |
| 202 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 203 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 204 |
#, no-wrap |
| 205 |
msgid "VERSIONS" |
| 206 |
msgstr "VERZE" |
| 207 |
|
| 208 |
#. type: Plain text |
| 209 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 210 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 211 |
#, fuzzy |
| 212 |
#| msgid "Introduced with version 1.1.92 of the Linux kernel." |
| 213 |
msgid "Introduced with Linux 1.1.92." |
| 214 |
msgstr "Objevilo se ve verzi 1.1.92 jádra." |
| 215 |
|
| 216 |
#. type: SH |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
#, no-wrap |
| 220 |
msgid "EXAMPLES" |
| 221 |
msgstr "PŘÍKLADY" |
| 222 |
|
| 223 |
#. type: Plain text |
| 224 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 225 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 226 |
msgid "You may do a screendump on vt3 by switching to vt1 and typing" |
| 227 |
msgstr "" |
| 228 |
"Budete-li chtít udělat kopii obrazovky na třetí virtuální konzole, stačí se " |
| 229 |
"přepnout například na první konzolu a napsat" |
| 230 |
|
| 231 |
#. type: Plain text |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
#, no-wrap |
| 235 |
msgid "cat /dev/vcs3 E<gt>foo\n" |
| 236 |
msgstr "cat /dev/vcs3 E<gt>foo\n" |
| 237 |
|
| 238 |
#. type: Plain text |
| 239 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 240 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
msgid "" |
| 242 |
"Note that the output does not contain newline characters, so some processing " |
| 243 |
"may be required, like in" |
| 244 |
msgstr "" |
| 245 |
"Avšak pozor, výstup neobsahuje znaky nového řádku, proto je nutné výstup " |
| 246 |
"nějak zpracovat, např. pomocí" |
| 247 |
|
| 248 |
#. type: Plain text |
| 249 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 250 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 251 |
#, no-wrap |
| 252 |
msgid "fold -w 81 /dev/vcs3 | lpr\n" |
| 253 |
msgstr "fold -w 81 /dev/vcs3 | lpr\n" |
| 254 |
|
| 255 |
#. type: Plain text |
| 256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 258 |
msgid "or (horrors)" |
| 259 |
msgstr "nebo pomocí \"geniálního\"" |
| 260 |
|
| 261 |
#. type: Plain text |
| 262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 264 |
#, no-wrap |
| 265 |
msgid "setterm -dump 3 -file /proc/self/fd/1\n" |
| 266 |
msgstr "setterm -dump 3 -file /proc/self/fd/1\n" |
| 267 |
|
| 268 |
#. type: Plain text |
| 269 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 270 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 271 |
msgid "The I</dev/vcsa0> device is used for Braille support." |
| 272 |
msgstr "Zařízení I</dev/vcsa0> se používá pro podporu Braillova písma." |
| 273 |
|
| 274 |
#. type: Plain text |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
msgid "" |
| 278 |
"This program displays the character and screen attributes under the cursor " |
| 279 |
"of the second virtual console, then changes the background color there:" |
| 280 |
msgstr "" |
| 281 |
"Tento program zobrazí znak a obrazovkové atributy na místě kurzoru na druhé " |
| 282 |
"virtuální konzole a potom tam změní barvu pozadí:" |
| 283 |
|
| 284 |
#. type: Plain text |
| 285 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 286 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 287 |
#, fuzzy, no-wrap |
| 288 |
#| msgid "" |
| 289 |
#| " fd = open(console, O_RDWR);\n" |
| 290 |
#| " if (fd E<lt> 0) {\n" |
| 291 |
#| " perror(console);\n" |
| 292 |
#| " exit(EXIT_FAILURE);\n" |
| 293 |
#| " }\n" |
| 294 |
#| " if (ioctl(fd, VT_GETHIFONTMASK, &mask) E<lt> 0) {\n" |
| 295 |
#| " perror(\"VT_GETHIFONTMASK\");\n" |
| 296 |
#| " exit(EXIT_FAILURE);\n" |
| 297 |
#| " }\n" |
| 298 |
#| " (void) close(fd);\n" |
| 299 |
#| " fd = open(device, O_RDWR);\n" |
| 300 |
#| " if (fd E<lt> 0) {\n" |
| 301 |
#| " perror(device);\n" |
| 302 |
#| " exit(EXIT_FAILURE);\n" |
| 303 |
#| " }\n" |
| 304 |
#| " (void) read(fd, &scrn, 4);\n" |
| 305 |
#| " (void) lseek(fd, 4 + 2*(scrn.y*scrn.cols + scrn.x), SEEK_SET);\n" |
| 306 |
#| " (void) read(fd, &s, 2);\n" |
| 307 |
#| " ch = s & 0xff;\n" |
| 308 |
#| " if (s & mask)\n" |
| 309 |
#| " ch |= 0x100;\n" |
| 310 |
#| " attrib = ((s & \\(timask) E<gt>E<gt> 8);\n" |
| 311 |
#| " printf(\"ch=0x%03x attrib=0x%02x\\en\", ch, attrib);\n" |
| 312 |
#| " s \\(ha= 0x1000;\n" |
| 313 |
#| " (void) lseek(fd, -2, SEEK_CUR);\n" |
| 314 |
#| " (void) write(fd, &s, 2);\n" |
| 315 |
#| " exit(EXIT_SUCCESS);\n" |
| 316 |
#| "}\n" |
| 317 |
msgid "" |
| 318 |
"#include E<lt>unistd.hE<gt>\n" |
| 319 |
"#include E<lt>stdlib.hE<gt>\n" |
| 320 |
"#include E<lt>stdio.hE<gt>\n" |
| 321 |
"#include E<lt>fcntl.hE<gt>\n" |
| 322 |
"#include E<lt>sys/ioctl.hE<gt>\n" |
| 323 |
"#include E<lt>linux/vt.hE<gt>\n" |
| 324 |
"\\&\n" |
| 325 |
"int\n" |
| 326 |
"main(void)\n" |
| 327 |
"{\n" |
| 328 |
" int fd;\n" |
| 329 |
" char *device = \"/dev/vcsa2\";\n" |
| 330 |
" char *console = \"/dev/tty2\";\n" |
| 331 |
" struct {unsigned char lines, cols, x, y;} scrn;\n" |
| 332 |
" unsigned short s;\n" |
| 333 |
" unsigned short mask;\n" |
| 334 |
" unsigned char attrib;\n" |
| 335 |
" int ch;\n" |
| 336 |
"\\&\n" |
| 337 |
" fd = open(console, O_RDWR);\n" |
| 338 |
" if (fd E<lt> 0) {\n" |
| 339 |
" perror(console);\n" |
| 340 |
" exit(EXIT_FAILURE);\n" |
| 341 |
" }\n" |
| 342 |
" if (ioctl(fd, VT_GETHIFONTMASK, &mask) E<lt> 0) {\n" |
| 343 |
" perror(\"VT_GETHIFONTMASK\");\n" |
| 344 |
" exit(EXIT_FAILURE);\n" |
| 345 |
" }\n" |
| 346 |
" (void) close(fd);\n" |
| 347 |
" fd = open(device, O_RDWR);\n" |
| 348 |
" if (fd E<lt> 0) {\n" |
| 349 |
" perror(device);\n" |
| 350 |
" exit(EXIT_FAILURE);\n" |
| 351 |
" }\n" |
| 352 |
" (void) read(fd, &scrn, 4);\n" |
| 353 |
" (void) lseek(fd, 4 + 2*(scrn.y*scrn.cols + scrn.x), SEEK_SET);\n" |
| 354 |
" (void) read(fd, &s, 2);\n" |
| 355 |
" ch = s & 0xff;\n" |
| 356 |
" if (s & mask)\n" |
| 357 |
" ch |= 0x100;\n" |
| 358 |
" attrib = ((s & \\[ti]mask) E<gt>E<gt> 8);\n" |
| 359 |
" printf(\"ch=%#03x attrib=%#02x\\[rs]n\", ch, attrib);\n" |
| 360 |
" s \\[ha]= 0x1000;\n" |
| 361 |
" (void) lseek(fd, -2, SEEK_CUR);\n" |
| 362 |
" (void) write(fd, &s, 2);\n" |
| 363 |
" exit(EXIT_SUCCESS);\n" |
| 364 |
"}\n" |
| 365 |
msgstr "" |
| 366 |
" fd = open(console, O_RDWR);\n" |
| 367 |
" if (fd E<lt> 0) {\n" |
| 368 |
" perror(console);\n" |
| 369 |
" exit(EXIT_FAILURE);\n" |
| 370 |
" }\n" |
| 371 |
" if (ioctl(fd, VT_GETHIFONTMASK, &mask) E<lt> 0) {\n" |
| 372 |
" perror(\"VT_GETHIFONTMASK\");\n" |
| 373 |
" exit(EXIT_FAILURE);\n" |
| 374 |
" }\n" |
| 375 |
" (void) close(fd);\n" |
| 376 |
" fd = open(device, O_RDWR);\n" |
| 377 |
" if (fd E<lt> 0) {\n" |
| 378 |
" perror(device);\n" |
| 379 |
" exit(EXIT_FAILURE);\n" |
| 380 |
" }\n" |
| 381 |
" (void) read(fd, &scrn, 4);\n" |
| 382 |
" (void) lseek(fd, 4 + 2*(scrn.y*scrn.cols + scrn.x), SEEK_SET);\n" |
| 383 |
" (void) read(fd, &s, 2);\n" |
| 384 |
" ch = s & 0xff;\n" |
| 385 |
" if (s & mask)\n" |
| 386 |
" ch |= 0x100;\n" |
| 387 |
" attrib = ((s & \\(timask) E<gt>E<gt> 8);\n" |
| 388 |
" printf(\"ch=0x%03x attrib=0x%02x\\en\", ch, attrib);\n" |
| 389 |
" s \\(ha= 0x1000;\n" |
| 390 |
" (void) lseek(fd, -2, SEEK_CUR);\n" |
| 391 |
" (void) write(fd, &s, 2);\n" |
| 392 |
" exit(EXIT_SUCCESS);\n" |
| 393 |
"}\n" |
| 394 |
|
| 395 |
#. type: SH |
| 396 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 397 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 398 |
#, no-wrap |
| 399 |
msgid "SEE ALSO" |
| 400 |
msgstr "DALŠÍ INFORMACE" |
| 401 |
|
| 402 |
#. type: Plain text |
| 403 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 404 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 405 |
msgid "B<ioctl_console>(2), B<tty>(4), B<ttyS>(4), B<gpm>(8)" |
| 406 |
msgstr "B<ioctl_console>(2), B<tty>(4), B<ttyS>(4), B<gpm>(8)" |
| 407 |
|
| 408 |
#. type: TH |
| 409 |
#: debian-trixie fedora-44 fedora-rawhide |
| 410 |
#, no-wrap |
| 411 |
msgid "2024-06-15" |
| 412 |
msgstr "15. června 2024" |
| 413 |
|
| 414 |
#. type: TH |
| 415 |
#: debian-trixie |
| 416 |
#, no-wrap |
| 417 |
msgid "Linux man-pages 6.9.1" |
| 418 |
msgstr "Linux man-pages 6.9.1" |
| 419 |
|
| 420 |
#. type: TH |
| 421 |
#: fedora-44 fedora-rawhide |
| 422 |
#, no-wrap |
| 423 |
msgid "Linux man-pages 6.13" |
| 424 |
msgstr "Linux man-pages 6.13" |
| 425 |
|
| 426 |
#. type: TH |
| 427 |
#: mageia-cauldron |
| 428 |
#, no-wrap |
| 429 |
msgid "Linux man-pages 6.17" |
| 430 |
msgstr "Linux man-pages 6.17" |
| 431 |
|
| 432 |
#. type: TH |
| 433 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 434 |
#, no-wrap |
| 435 |
msgid "Linux man-pages (unreleased)" |
| 436 |
msgstr "Linux man-pages (nevydané)" |