| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:50+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "vcs" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "vcs, vcsa - virtual console memory" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "DESCRIPTION" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 61 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "" |
| 63 |
"I</dev/vcs0> is a character device with major number 7 and minor number 0, " |
| 64 |
"usually with mode 0644 and ownership root:tty. It refers to the memory of " |
| 65 |
"the currently displayed virtual console terminal." |
| 66 |
msgstr "" |
| 67 |
|
| 68 |
#. type: Plain text |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
msgid "" |
| 72 |
"I</dev/vcs[1-63]> are character devices for virtual console terminals, they " |
| 73 |
"have major number 7 and minor number 1 to 63, usually mode 0644 and " |
| 74 |
"ownership root:tty. I</dev/vcsa[0-63]> are the same, but using I<unsigned " |
| 75 |
"short>s (in host byte order) that include attributes, and prefixed with four " |
| 76 |
"bytes giving the screen dimensions and cursor position: I<lines>, " |
| 77 |
"I<columns>, I<x>, I<y>. (I<x> = I<y> = 0 at the top left corner of the " |
| 78 |
"screen.)" |
| 79 |
msgstr "" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
msgid "" |
| 85 |
"When a 512-character font is loaded, the 9th bit position can be fetched by " |
| 86 |
"applying the B<ioctl>(2) B<VT_GETHIFONTMASK> operation (available since " |
| 87 |
"Linux 2.6.18) on I</dev/tty[1-63]>; the value is returned in the I<unsigned " |
| 88 |
"short> pointed to by the third B<ioctl>(2) argument." |
| 89 |
msgstr "" |
| 90 |
|
| 91 |
#. type: Plain text |
| 92 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 93 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 94 |
msgid "" |
| 95 |
"These devices replace the screendump B<ioctl>(2) operations of " |
| 96 |
"B<ioctl_console>(2), so the system administrator can control access using " |
| 97 |
"filesystem permissions." |
| 98 |
msgstr "" |
| 99 |
|
| 100 |
#. type: Plain text |
| 101 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 102 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 103 |
msgid "The devices for the first eight virtual consoles may be created by:" |
| 104 |
msgstr "" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
#, no-wrap |
| 110 |
msgid "" |
| 111 |
"for x in 0 1 2 3 4 5 6 7 8; do\n" |
| 112 |
" mknod -m 644 /dev/vcs$x c 7 $x;\n" |
| 113 |
" mknod -m 644 /dev/vcsa$x c 7 $[$x+128];\n" |
| 114 |
"done\n" |
| 115 |
"chown root:tty /dev/vcs*\n" |
| 116 |
msgstr "" |
| 117 |
|
| 118 |
#. type: Plain text |
| 119 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 120 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 121 |
msgid "No B<ioctl>(2) requests are supported." |
| 122 |
msgstr "" |
| 123 |
|
| 124 |
#. type: SH |
| 125 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 126 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 127 |
#, no-wrap |
| 128 |
msgid "FILES" |
| 129 |
msgstr "" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
msgid "I</dev/vcs[0-63]>" |
| 135 |
msgstr "" |
| 136 |
|
| 137 |
#. .SH AUTHOR |
| 138 |
#. Andries Brouwer <[email protected]> |
| 139 |
#. type: Plain text |
| 140 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 141 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 142 |
msgid "I</dev/vcsa[0-63]>" |
| 143 |
msgstr "" |
| 144 |
|
| 145 |
#. type: SH |
| 146 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 147 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 148 |
#, no-wrap |
| 149 |
msgid "VERSIONS" |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
msgid "Introduced with Linux 1.1.92." |
| 156 |
msgstr "" |
| 157 |
|
| 158 |
#. type: SH |
| 159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
#, no-wrap |
| 162 |
msgid "EXAMPLES" |
| 163 |
msgstr "" |
| 164 |
|
| 165 |
#. type: Plain text |
| 166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 168 |
msgid "You may do a screendump on vt3 by switching to vt1 and typing" |
| 169 |
msgstr "" |
| 170 |
|
| 171 |
#. type: Plain text |
| 172 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 173 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 174 |
#, no-wrap |
| 175 |
msgid "cat /dev/vcs3 E<gt>foo\n" |
| 176 |
msgstr "" |
| 177 |
|
| 178 |
#. type: Plain text |
| 179 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 180 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 181 |
msgid "" |
| 182 |
"Note that the output does not contain newline characters, so some processing " |
| 183 |
"may be required, like in" |
| 184 |
msgstr "" |
| 185 |
|
| 186 |
#. type: Plain text |
| 187 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 188 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 189 |
#, no-wrap |
| 190 |
msgid "fold -w 81 /dev/vcs3 | lpr\n" |
| 191 |
msgstr "" |
| 192 |
|
| 193 |
#. type: Plain text |
| 194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 196 |
msgid "or (horrors)" |
| 197 |
msgstr "" |
| 198 |
|
| 199 |
#. type: Plain text |
| 200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 202 |
#, no-wrap |
| 203 |
msgid "setterm -dump 3 -file /proc/self/fd/1\n" |
| 204 |
msgstr "" |
| 205 |
|
| 206 |
#. type: Plain text |
| 207 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 208 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 209 |
msgid "The I</dev/vcsa0> device is used for Braille support." |
| 210 |
msgstr "" |
| 211 |
|
| 212 |
#. type: Plain text |
| 213 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 214 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 215 |
msgid "" |
| 216 |
"This program displays the character and screen attributes under the cursor " |
| 217 |
"of the second virtual console, then changes the background color there:" |
| 218 |
msgstr "" |
| 219 |
|
| 220 |
#. type: Plain text |
| 221 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 222 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 223 |
#, no-wrap |
| 224 |
msgid "" |
| 225 |
"#include E<lt>unistd.hE<gt>\n" |
| 226 |
"#include E<lt>stdlib.hE<gt>\n" |
| 227 |
"#include E<lt>stdio.hE<gt>\n" |
| 228 |
"#include E<lt>fcntl.hE<gt>\n" |
| 229 |
"#include E<lt>sys/ioctl.hE<gt>\n" |
| 230 |
"#include E<lt>linux/vt.hE<gt>\n" |
| 231 |
"\\&\n" |
| 232 |
"int\n" |
| 233 |
"main(void)\n" |
| 234 |
"{\n" |
| 235 |
" int fd;\n" |
| 236 |
" char *device = \"/dev/vcsa2\";\n" |
| 237 |
" char *console = \"/dev/tty2\";\n" |
| 238 |
" struct {unsigned char lines, cols, x, y;} scrn;\n" |
| 239 |
" unsigned short s;\n" |
| 240 |
" unsigned short mask;\n" |
| 241 |
" unsigned char attrib;\n" |
| 242 |
" int ch;\n" |
| 243 |
"\\&\n" |
| 244 |
" fd = open(console, O_RDWR);\n" |
| 245 |
" if (fd E<lt> 0) {\n" |
| 246 |
" perror(console);\n" |
| 247 |
" exit(EXIT_FAILURE);\n" |
| 248 |
" }\n" |
| 249 |
" if (ioctl(fd, VT_GETHIFONTMASK, &mask) E<lt> 0) {\n" |
| 250 |
" perror(\"VT_GETHIFONTMASK\");\n" |
| 251 |
" exit(EXIT_FAILURE);\n" |
| 252 |
" }\n" |
| 253 |
" (void) close(fd);\n" |
| 254 |
" fd = open(device, O_RDWR);\n" |
| 255 |
" if (fd E<lt> 0) {\n" |
| 256 |
" perror(device);\n" |
| 257 |
" exit(EXIT_FAILURE);\n" |
| 258 |
" }\n" |
| 259 |
" (void) read(fd, &scrn, 4);\n" |
| 260 |
" (void) lseek(fd, 4 + 2*(scrn.y*scrn.cols + scrn.x), SEEK_SET);\n" |
| 261 |
" (void) read(fd, &s, 2);\n" |
| 262 |
" ch = s & 0xff;\n" |
| 263 |
" if (s & mask)\n" |
| 264 |
" ch |= 0x100;\n" |
| 265 |
" attrib = ((s & \\[ti]mask) E<gt>E<gt> 8);\n" |
| 266 |
" printf(\"ch=%#03x attrib=%#02x\\[rs]n\", ch, attrib);\n" |
| 267 |
" s \\[ha]= 0x1000;\n" |
| 268 |
" (void) lseek(fd, -2, SEEK_CUR);\n" |
| 269 |
" (void) write(fd, &s, 2);\n" |
| 270 |
" exit(EXIT_SUCCESS);\n" |
| 271 |
"}\n" |
| 272 |
msgstr "" |
| 273 |
|
| 274 |
#. type: SH |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
#, no-wrap |
| 278 |
msgid "SEE ALSO" |
| 279 |
msgstr "" |
| 280 |
|
| 281 |
#. type: Plain text |
| 282 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 283 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 284 |
msgid "B<ioctl_console>(2), B<tty>(4), B<ttyS>(4), B<gpm>(8)" |
| 285 |
msgstr "" |
| 286 |
|
| 287 |
#. type: TH |
| 288 |
#: debian-trixie fedora-44 fedora-rawhide |
| 289 |
#, no-wrap |
| 290 |
msgid "2024-06-15" |
| 291 |
msgstr "" |
| 292 |
|
| 293 |
#. type: TH |
| 294 |
#: debian-trixie |
| 295 |
#, no-wrap |
| 296 |
msgid "Linux man-pages 6.9.1" |
| 297 |
msgstr "" |
| 298 |
|
| 299 |
#. type: TH |
| 300 |
#: fedora-44 fedora-rawhide |
| 301 |
#, no-wrap |
| 302 |
msgid "Linux man-pages 6.13" |
| 303 |
msgstr "" |
| 304 |
|
| 305 |
#. type: TH |
| 306 |
#: mageia-cauldron |
| 307 |
#, no-wrap |
| 308 |
msgid "Linux man-pages 6.17" |
| 309 |
msgstr "" |
| 310 |
|
| 311 |
#. type: TH |
| 312 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
#, no-wrap |
| 314 |
msgid "Linux man-pages (unreleased)" |
| 315 |
msgstr "" |