keyboard and console howto 2 taufonod4oczpnfojakacjytln2wa3j63eqj4jy TAUFONOD4OCZPNFOJAKACJYTLN2WA3J63EQJ4JY


The Linux keyboard and console HOWTO: Keyboard generalities 2. Keyboard generalitiesYou press a key, and the keyboard controller sends scancodes to the kernel keyboard driver. Some keyboards can be programmed, but usually the scancodes corresponding to your keys are fixed. The kernel keyboard driver just transmits whatever it receives to the application program when it is in scancode mode, like when X is running. Otherwise, it parses the stream of scancodes into keycodes, corresponding to key press or key release events. (A single key press can generate up to 6 scancodes.) These keycodes are transmitted to the application program when it is in keycode mode (as used, for example, by showkey). Otherwise, these keycodes are looked up in the keymap, and the character or string found there is transmitted to the application, or the action described there is performed. (For example, if one presses and releases the a key, then the keyboard produces scancodes 0x1e and 0x9e, this is converted to keycodes 30 and 158, and then transmitted as 0141, the ASCII or latin-1 code for `a'; if one presses and releases Delete, then the keyboard produces scancodes 0xe0 0x53 0xe0 0xd3, these are converted to keycodes 111 and 239, and then transmitted as the 4-symbol sequence ESC [ 3 ~, all assuming a US keyboard and a default keymap. An example of a key combination to which an action is assigned is Ctrl-Alt-Del.)The translation between unusual scancodes and keycodes can be set using the utility setkeycodes - only very few people will need it. The translation between keycodes and characters or strings or actions, that is, the keymap, is set using the utilities loadkeys and setmetamode. For details, see getkeycodes(8), setkeycodes(8), dumpkeys(1), loadkeys(1), setmetamode(1). The format of the files output by dumpkeys and read by loadkeys is described in keytables(5).Where it says `transmitted to the application' in the above description, this really means `transmitted to the terminal driver'. That is, further processing is just like that of text that comes in over a serial line. The details of this processing are set by the program stty. 3

Wyszukiwarka

Podobne podstrony:
keyboard and console howto 23 75ecqcqil5rkd4v3heyddxvozclankmohwztkei
keyboard and console howto 18 lyqplrubjzu23oa6adryzllowsuoeyhqttlwtkq
keyboard and console howto 17 rsobnz6to5ziwks55v2rz6ejaeamv265ovchv2y
keyboard and console howto 11 vgnkybra66nlyyuwyorp6pmp7kiq3bm3tj6fx2a
keyboard and console howto 5 vdl6a7kntzpu63klr37jdiyxz2rgtnf6uxmtrya vdl6a7kntzpu63klr37jdiyxz2rgtnf
keyboard and console howto 12 4jv4i6pgihwufxdzd424u24tcxbbqgebtu6f7qa
keyboard and console howto 20 5olhgqbz3fqtpryftlqnpddqhws4pghrtgvzqgi
keyboard and console howto 22 ecn6bnaifg6xs2om5ry5mysjmkcqjsdeqalqogy
keyboard and console howto gkb5xvtk72zg34ldggiwh47uyplolzvmynxtxzq gkb5xvtk72zg34ldggiwh47uyplolzvmy
keyboard and console howto 1 smvh7fdyzkxrevmpxbgqpis6wemtqspl4umqwea smvh7fdyzkxrevmpxbgqpis6wemtqsp
keyboard and console howto 3 qtedkvbawm44ue7a4rp3zx2a7ceblw74hhi747a
keyboard and console howto 4 lcwu7htbvtk56q62ko7qxzg7wngcuknk7tsg6ka lcwu7htbvtk56q62ko7qxzg7wngcukn
keyboard and console howto 19 tx6dnvhund3cifhgzzfhqp7pkvzlud5wewwv5qi
keyboard and console howto 15 x7tmzualtukld7yoipnlwggg6t47qxve3oyquuy
keyboard and console howto 16 zylcr42ttc66uykvuoaogrogou7qrm3w2fsq7sy
keyboard and console howto 21 aatg4pq37f77qvl7ohwsyaqknofu6xozg2oyyoi
keyboard and console howto 7 6yvulzmdtyycyrfd3dkut5pu6nwmvfakzmbgzti 6yvulzmdtyycyrfd3dkut5pu6nwmvfa
keyboard and console howto 8 tev3xpuadvg23a6lbzmtyn6xjphht2my7f2qupi tev3xpuadvg23a6lbzmtyn6xjphht2m
keyboard and console howto 6 3kdj3nfm62k4n7e4yploiuyz4n5fw2abqafwury

więcej podobnych podstron