#, fuzzy msgid "" msgstr "" "Project-Id-Version: man-pages-l10n VERSION\n" "POT-Creation-Date: 2014-07-17 17:56+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages/man4/console_ioctl.4:40 #, no-wrap msgid "CONSOLE_IOCTL" msgstr "" #. type: TH #: man-pages/man4/console_ioctl.4:40 #, no-wrap msgid "2009-02-28" msgstr "" #. type: TH #: man-pages/man4/console_ioctl.4:40 #, no-wrap msgid "Linux" msgstr "" #. type: TH #: man-pages/man4/console_ioctl.4:40 #, no-wrap msgid "Linux Programmer's Manual" msgstr "" #. type: SH #: man-pages/man4/console_ioctl.4:41 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:43 msgid "console_ioctl - ioctls for console terminal and virtual consoles" msgstr "" #. type: SH #: man-pages/man4/console_ioctl.4:43 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:49 msgid "" "The following Linux-specific B(2) requests are supported. Each " "requires a third argument, assumed here to be I." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:49 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:59 msgid "" "Get state of LEDs. I points to a I. The lower three bits of " "I<*argp> are set to the state of the LEDs, as follows:" msgstr "" #. type: tbl table #: man-pages/man4/console_ioctl.4:61 #, no-wrap msgid "LED_CAP 0x04 caps lock led\n" msgstr "" #. type: tbl table #: man-pages/man4/console_ioctl.4:62 #, no-wrap msgid "LEC_NUM 0x02 num lock led\n" msgstr "" #. type: tbl table #: man-pages/man4/console_ioctl.4:63 #, no-wrap msgid "LED_SCR 0x01 scroll lock led\n" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:65 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:73 msgid "" "Set the LEDs. The LEDs are set to correspond to the lower three bits of " "I. However, if a higher order bit is set, the LEDs revert to normal: " "displaying the state of the keyboard functions of caps lock, num lock, and " "scroll lock." msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:80 msgid "" "Before 1.1.54, the LEDs just reflected the state of the corresponding " "keyboard flags, and KDGETLED/KDSETLED would also change the keyboard flags. " "Since 1.1.54 the LEDs can be made to display arbitrary information, but by " "default they display the keyboard flags. The following two ioctls are used " "to access the keyboard flags." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:80 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:89 msgid "" "Get keyboard flags CapsLock, NumLock, ScrollLock (not lights). I " "points to a char which is set to the flag state. The low order three bits " "(mask 0x7) get the current flag state, and the low order bits of the next " "nibble (mask 0x70) get the default flag state. (Since 1.1.54.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:89 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:98 msgid "" "Set keyboard flags CapsLock, NumLock, ScrollLock (not lights). I has " "the desired flag state. The low order three bits (mask 0x7) have the flag " "state, and the low order bits of the next nibble (mask 0x70) have the " "default flag state. (Since 1.1.54.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:98 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:102 msgid "Get keyboard type. This returns the value KB_101, defined as 0x02." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:102 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:107 msgid "Add I/O port as valid. Equivalent to I." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:107 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:112 msgid "Delete I/O port as valid. Equivalent to I." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:112 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:117 msgid "" "Enable I/O to video board. Equivalent to I." "" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:117 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:122 msgid "" "Disable I/O to video board. Equivalent to I." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:122 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:127 msgid "Set text/graphics mode. I is one of these:" msgstr "" #. type: tbl table #: man-pages/man4/console_ioctl.4:130 #, no-wrap msgid "KD_TEXT 0x00\n" msgstr "" #. type: tbl table #: man-pages/man4/console_ioctl.4:131 #, no-wrap msgid "KD_GRAPHICS 0x01\n" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:133 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:141 msgid "" "Get text/graphics mode. I points to a I which is set to one of " "the above values." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:141 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:155 msgid "" "Generate tone of specified length. The lower 16 bits of I specify the " "period in clock cycles, and the upper 16 bits give the duration in msec. If " "the duration is zero, the sound is turned off. Control returns immediately. " " For example, I = (125EE16) + 0x637 would specify the beep " "normally associated with a ctrl-G. (Thus since 0.99pl1; broken in 2.1.49-50." ")" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:155 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:167 msgid "" "Start or stop sound generation. The lower 16 bits of I specify the " "period in clock cycles (that is, I = 1193180/frequency). I = 0 " "turns sound off. In either case, control returns immediately." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:167 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:174 msgid "" "Get the current default color map from kernel. I points to a 48-byte " "array. (Since 1.3.3.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:174 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:187 msgid "" "Change the default text-mode color map. I points to a 48-byte array " "which contains, in order, the Red, Green, and Blue values for the 16 " "available screen colors: 0 is off, and 255 is full intensity. The default " "colors are, in order: black, dark red, dark green, brown, dark blue, dark " "purple, dark cyan, light grey, dark grey, bright red, bright green, yellow, " "bright blue, bright purple, bright cyan and white. (Since 1.3.3.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:187 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:197 msgid "" "Gets 256-character screen font in expanded form. I points to an 8192 " "byte array. Fails with error code B if the currently loaded font is " "a 512-character font, or if the console is not in text mode." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:197 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:225 msgid "" "Gets screen font and associated information. I points to a I (see B). On call, the I field should " "be set to the maximum number of characters that would fit in the buffer " "pointed to by I. On return, the I and I " "are filled with the respective data for the currently loaded font, and the " "I array contains the font data if the initial value of " "I indicated enough space was available; otherwise the buffer is " "untouched and I is set to B. (Since 1.3.1.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:225 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:240 msgid "" "Sets 256-character screen font. Load font into the EGA/VGA character " "generator. I points to a 8192 byte map, with 32 bytes per character. " "Only the first I of them are used for an 8xI font (0 E I E= " "32). This call also invalidates the Unicode mapping." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:240 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:245 msgid "" "Sets screen font and associated rendering information. I points to a" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:256 #, no-wrap msgid "" "struct consolefontdesc {\n" " unsigned short charcount; /* characters in font\n" " (256 or 512) */\n" " unsigned short charheight; /* scan lines per\n" " character (1-32) */\n" " char *chardata; /* font data in\n" " expanded form */\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:264 msgid "" "If necessary, the screen will be appropriately resized, and B sent " "to the appropriate processes. This call also invalidates the Unicode " "mapping. (Since 1.3.1.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:264 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:272 msgid "" "Resets the screen font, size and Unicode mapping to the bootup defaults. " "I is unused, but should be set to NULL to ensure compatibility with " "future versions of Linux. (Since 1.3.28.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:272 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:281 msgid "" "Get screen mapping from kernel. I points to an area of size E_TABSZ, " "which is loaded with the font positions used to display each character. " "This call is likely to return useless information if the currently loaded " "font is more than 256 characters." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:281 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:293 msgid "" "Get full Unicode screen mapping from kernel. I points to an area of " "size I, which is loaded with the Unicodes " "each character represent. A special set of Unicodes, starting at U+F000, " "are used to represent \"direct to font\" mappings. (Since 1.3.1.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:293 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:300 msgid "" "Loads the \"user definable\" (fourth) table in the kernel which maps bytes " "into console screen symbols. I points to an area of size E_TABSZ." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:300 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:308 msgid "" "Loads the \"user definable\" (fourth) table in the kernel which maps bytes " "into Unicodes, which are then translated into screen symbols according to " "the currently loaded Unicode-to-font map. Special Unicodes starting at " "U+F000 can be used to map directly to the font symbols. (Since 1.3.1.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:308 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:313 msgid "Get Unicode-to-font mapping from kernel. I points to a" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:320 #, no-wrap msgid "" "struct unimapdesc {\n" " unsigned short entry_ct;\n" " struct unipair *entries;\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:326 msgid "where I points to an array of" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:333 #, no-wrap msgid "" "struct unipair {\n" " unsigned short unicode;\n" " unsigned short fontpos;\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:337 man-pages/man4/console_ioctl.4:361 msgid "(Since 1.1.92.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:337 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:344 msgid "" "Put unicode-to-font mapping in kernel. I points to a I. (Since 1.1.92)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:344 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:349 msgid "Clear table, possibly advise hash algorithm. I points to a" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:357 #, no-wrap msgid "" "struct unimapinit {\n" " unsigned short advised_hashsize; /* 0 if no opinion */\n" " unsigned short advised_hashstep; /* 0 if no opinion */\n" " unsigned short advised_hashlevel; /* 0 if no opinion */\n" "};\n" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:361 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:369 msgid "" "Gets current keyboard mode. I points to a I which is set to one " "of these:" msgstr "" #. type: tbl table #: man-pages/man4/console_ioctl.4:372 #, no-wrap msgid "K_RAW 0x00\n" msgstr "" #. type: tbl table #: man-pages/man4/console_ioctl.4:373 #, no-wrap msgid "K_XLATE 0x01\n" msgstr "" #. type: tbl table #: man-pages/man4/console_ioctl.4:374 #, no-wrap msgid "K_MEDIUMRAW 0x02\n" msgstr "" #. type: tbl table #: man-pages/man4/console_ioctl.4:375 #, no-wrap msgid "K_UNICODE 0x03\n" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:377 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:384 msgid "" "Sets current keyboard mode. I is a I equal to one of the above " "values." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:384 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:392 msgid "" "Gets meta key handling mode. I points to a I which is set to " "one of these:" msgstr "" #. type: tbl table #: man-pages/man4/console_ioctl.4:395 #, no-wrap msgid "K_METABIT 0x03 set high order bit\n" msgstr "" #. type: tbl table #: man-pages/man4/console_ioctl.4:396 #, no-wrap msgid "K_ESCPREFIX 0x04 escape prefix\n" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:398 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:405 msgid "" "Sets meta key handling mode. I is a I equal to one of the above " "values." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:405 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:410 msgid "" "Gets one entry in key translation table (keycode to action code). I " "points to a" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:418 #, no-wrap msgid "" "struct kbentry {\n" " unsigned char kb_table;\n" " unsigned char kb_index;\n" " unsigned short kb_value;\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:437 msgid "" "with the first two members filled in: I selects the key table (0 " "E= I E MAX_NR_KEYMAPS), and I is the keycode (0 " "E= I E NR_KEYS). I is set to the corresponding " "action code, or K_HOLE if there is no such key, or K_NOSUCHMAP if " "I is invalid." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:437 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:443 msgid "" "Sets one entry in translation table. I points to a I." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:443 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:448 msgid "Gets one function key string. I points to a" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:455 #, no-wrap msgid "" "struct kbsentry {\n" " unsigned char kb_func;\n" " unsigned char kb_string[512];\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:463 msgid "" "I is set to the (null-terminated) string corresponding to the " "Ith function key action code." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:463 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:469 msgid "" "Sets one function key string entry. I points to a I." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:469 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:474 msgid "Read kernel accent table. I points to a" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:481 #, no-wrap msgid "" "struct kbdiacrs {\n" " unsigned int kb_cnt;\n" " struct kbdiacr kbdiacr[256];\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:488 msgid "" "where I is the number of entries in the array, each of which is a" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:496 #, no-wrap msgid "" "struct kbdiacr {\n" " unsigned char diacr;\n" " unsigned char base;\n" " unsigned char result;\n" "};\n" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:498 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:503 msgid "" "Read kernel keycode table entry (scan code to keycode). I points to a" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:510 #, no-wrap msgid "" "struct kbkeycode {\n" " unsigned int scancode;\n" " unsigned int keycode;\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:524 msgid "" "I is set to correspond to the given I. (89 E= " "I E= 255 only. For 1 E= I E= 88, I=" "=I.) (Since 1.1.63.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:524 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:531 msgid "" "Write kernel keycode table entry. I points to a I. " "(Since 1.1.63.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:531 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:543 msgid "" "The calling process indicates its willingness to accept the signal I " "when it is generated by pressing an appropriate key combination. (1 E= " "I E= NSIG). (See I() in I.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:543 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:553 msgid "" "Returns the first available (non-opened) console. I points to an " "I which is set to the number of the vt (1 E= I<*argp> E= " "MAX_NR_CONSOLES)." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:553 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:558 msgid "Get mode of active vt. I points to a" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:568 #, no-wrap msgid "" "struct vt_mode {\n" " char mode; /* vt mode */\n" " char waitv; /* if set, hang on writes if not active */\n" " short relsig; /* signal to raise on release req */\n" " short acqsig; /* signal to raise on acquisition */\n" " short frsig; /* unused (set to 0) */\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:574 msgid "" "which is set to the mode of the active vt. I is set to one of these " "values:" msgstr "" #. type: tbl table #: man-pages/man4/console_ioctl.4:577 #, no-wrap msgid "VT_AUTO auto vt switching\n" msgstr "" #. type: tbl table #: man-pages/man4/console_ioctl.4:578 #, no-wrap msgid "VT_PROCESS process controls switching\n" msgstr "" #. type: tbl table #: man-pages/man4/console_ioctl.4:579 #, no-wrap msgid "VT_ACKACQ acknowledge switch\n" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:581 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:587 msgid "Set mode of active vt. I points to a I." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:587 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:592 msgid "Get global vt state info. I points to a" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:600 #, no-wrap msgid "" "struct vt_stat {\n" " unsigned short v_active; /* active vt */\n" " unsigned short v_signal; /* signal to send */\n" " unsigned short v_state; /* vt bit mask */\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:607 msgid "" "For each vt in use, the corresponding bit in the I member is set. " "(Kernels 1.0 through 1.1.92.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:607 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:610 msgid "Release a display." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:610 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:617 msgid "Switch to vt I (1 E= I E= MAX_NR_CONSOLES)." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:617 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:622 msgid "Wait until vt I has been activated." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:622 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:627 msgid "Deallocate the memory associated with vt I. (Since 1.1.54.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:627 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:632 msgid "Set the kernel's idea of screensize. I points to a" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:640 #, no-wrap msgid "" "struct vt_sizes {\n" " unsigned short v_rows; /* # rows */\n" " unsigned short v_cols; /* # columns */\n" " unsigned short v_scrollsize; /* no longer used */\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:647 msgid "" "Note that this does not change the videomode. See B(8). (Since " "1.1.54.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:647 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:652 msgid "" "Set the kernel's idea of various screen parameters. I points to a" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:667 #, no-wrap msgid "" "struct vt_consize {\n" " unsigned short v_rows; /* number of rows */\n" " unsigned short v_cols; /* number of columns */\n" " unsigned short v_vlin; /* number of pixel rows\n" " on screen */\n" " unsigned short v_clin; /* number of pixel rows\n" " per character */\n" " unsigned short v_vcol; /* number of pixel columns\n" " on screen */\n" " unsigned short v_ccol; /* number of pixel columns\n" " per character */\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:676 msgid "" "Any parameter may be set to zero, indicating \"no change\", but if multiple " "parameters are set, they must be self-consistent. Note that this does not " "change the videomode. See B(8). (Since 1.3.3.)" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:683 msgid "" "The action of the following ioctls depends on the first byte in the struct " "pointed to by I, referred to here as the I. These are legal " "only for the superuser or the owner of the current terminal." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:683 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:691 msgid "" "Dump the screen. Disappeared in 1.1.92. (With kernel 1.1.92 or later, read " "from I or I instead.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:691 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:695 msgid "Get task information. Disappeared in 1.1.92." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:695 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:700 msgid "Set selection. I points to a" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:708 #, no-wrap msgid "" "struct {\n" " char subcode;\n" " short xs, ys, xe, ye;\n" " short sel_mode;\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:728 msgid "" "I and I are the starting column and row. I and I are the " "ending column and row. (Upper left corner is row=column=1.) I is " "0 for character-by-character selection, 1 for word-by-word selection, or 2 " "for line-by-line selection. The indicated screen characters are highlighted " "and saved in the static array sel_buffer in I." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:728 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:734 msgid "" "Paste selection. The characters in the selection buffer are written to " "I." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:734 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:737 msgid "Unblank the screen." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:737 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:742 msgid "" "Sets contents of a 256-bit look up table defining characters in a \"word\", " "for word-by-word selection. (Since 1.1.32.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:742 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:749 msgid "" "I points to a char which is set to the value of the kernel variable " "I. (Since 1.1.32.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:749 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:756 msgid "" "I points to a char which is set to the value of the kernel variable " "I. (Since 1.1.33.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:756 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:764 msgid "" "Dump screen width and height, cursor position, and all the character-" "attribute pairs. (Kernels 1.1.67 through 1.1.91 only. With kernel 1.1.92 " "or later, read from I instead.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:764 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:772 msgid "" "Restore screen width and height, cursor position, and all the character-" "attribute pairs. (Kernels 1.1.67 through 1.1.91 only. With kernel 1.1.92 " "or later, write to I instead.)" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:772 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:780 msgid "" "Handles the Power Saving feature of the new generation of monitors. VESA " "screen blanking mode is set to I, which governs what screen " "blanking does:" msgstr "" #. type: IP #: man-pages/man4/console_ioctl.4:781 #, no-wrap msgid "0:" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:783 msgid "Screen blanking is disabled." msgstr "" #. type: IP #: man-pages/man4/console_ioctl.4:783 #, no-wrap msgid "1:" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:790 msgid "" "The current video adapter register settings are saved, then the controller " "is programmed to turn off the vertical synchronization pulses. This puts " "the monitor into \"standby\" mode. If your monitor has an Off_Mode timer, " "then it will eventually power down by itself." msgstr "" #. type: IP #: man-pages/man4/console_ioctl.4:790 #, no-wrap msgid "2:" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:800 msgid "" "The current settings are saved, then both the vertical and horizontal " "synchronization pulses are turned off. This puts the monitor into \"off\" " "mode. If your monitor has no Off_Mode timer, or if you want your monitor to " "power down immediately when the blank_timer times out, then you choose this " "option. (I Powering down frequently will damage the monitor.) " "(Since 1.1.76.)" msgstr "" #. type: SH #: man-pages/man4/console_ioctl.4:801 #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:806 msgid "" "On success, 0 is returned. On error, -1 is returned, and I is set." msgstr "" #. type: SH #: man-pages/man4/console_ioctl.4:806 #, no-wrap msgid "ERRORS" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:809 msgid "I may take on these values:" msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:809 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:812 msgid "The file descriptor is invalid." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:812 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:816 msgid "" "The file descriptor is not associated with a character special device, or " "the specified request does not apply to it." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:816 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:821 msgid "The file descriptor or I is invalid." msgstr "" #. type: TP #: man-pages/man4/console_ioctl.4:821 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:824 msgid "Insufficient permission." msgstr "" #. type: SH #: man-pages/man4/console_ioctl.4:824 #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:835 msgid "" "B: Do not regard this man page as documentation of the Linux " "console ioctls. This is provided for the curious only, as an alternative to " "reading the source. Ioctl's are undocumented Linux internals, liable to be " "changed without warning. (And indeed, this page more or less describes the " "situation as of kernel version 1.1.94; there are many minor and not-so-minor " "differences with earlier versions.)" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:840 msgid "" "Very often, ioctls are introduced for communication between the kernel and " "one particular well-known program (fdisk, hdparm, setserial, tunelp, " "loadkeys, selection, setfont, etc.), and their behavior will be changed when " "required by this particular program." msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:844 msgid "" "Programs using these ioctls will not be portable to other versions of UNIX, " "will not work on older versions of Linux, and will not work on future " "versions of Linux." msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:846 msgid "Use POSIX functions." msgstr "" #. type: SH #: man-pages/man4/console_ioctl.4:846 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:870 msgid "" "B(1), B(1), B(1), B(1), B(1), " "B(1), B(2), B(2), B(2), B(3), " "B(4), B(4), B(4), B(4), B(4), " "B(4), B(4), B(4), B(4), B(7), " "B(8), B(8), B(8)" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:873 msgid "I, I" msgstr "" #. type: SH #: man-pages/man4/console_ioctl.4:873 #, no-wrap msgid "COLOPHON" msgstr "" #. type: Plain text #: man-pages/man4/console_ioctl.4:881 msgid "" "This page is part of release 3.70 of the Linux I project. A " "description of the project, information about reporting bugs, and the latest " "version of this page, can be found at \\%http://www.kernel.org/doc/man-pages/" "." msgstr ""