Linux dumpkeys命令詳解 Linux dumpkeys命令怎麼用

來源:互聯網
上載者:User

Linux dumpkeys命令用於顯示鍵盤對應表,輸出的內容可以被loadkeys命令識別,改變映射關係。

文法

dumpkey[選擇參數]

參數說明:

  • -i 驅動資訊(鍵碼範圍、數量、狀態鍵)
  • -l 詳細驅動資訊
  • -n 十六進位顯示
  • -f 顯示全部資訊
  • -1 分行顯示按鍵組合
  • -S 設定輸出格式(0:預設 1:完整 2:分行 3簡單)
  • --funcs-only 功能鍵資訊
  • --keys-only 鍵組合資訊
  • --compose-only 普通鍵資訊

執行個體

顯示功能鍵資訊

# dumpkeys --funcs-only string F1 = "\033[[A"string F2 = "\033[[B"string F3 = "\033[[C"string F4 = "\033[[D"string F5 = "\033[[E"string F6 = "\033[17~"string F7 = "\033[18~"string F8 = "\033[19~"string F9 = "\033[20~"string F10 = "\033[21~"string F11 = "\033[23~"string F12 = "\033[24~"string F13 = "\033[25~"string F14 = "\033[26~"string F15 = "\033[28~"string F16 = "\033[29~"string F17 = "\033[31~"string F18 = "\033[32~"string F19 = "\033[33~"string F20 = "\033[34~"string Find = "\033[1~"string Insert = "\033[2~"string Remove = "\033[3~"string Select = "\033[4~"string Prior = "\033[5~"string Next = "\033[6~"string Macro = "\033[M"string Pause = "\033[P"root@snail-hnlinux:~# 

顯示驅動資訊

# dumpkeys -i索引值碼範圍被核心支援: 1 - 255可綁定到索引值的動作最大值: 256實際使用的索引值數: 128其中 121 已動態分配被核心支援的動作碼值範圍0x0000 - 0x00ff0x0100 - 0x01ff0x0200 - 0x02130x0300 - 0x03130x0400 - 0x04050x0500 - 0x05ff0x0600 - 0x06030x0700 - 0x07080x0800 - 0x08ff0x0900 - 0x09190x0a00 - 0x0a080x0b00 - 0x0bff0x0c00 - 0x0c080x0d00 - 0x0dff0x0e00 - 0x0e0a核心支援的功能鍵數:256編寫定義的最大nr: 256實際使用的編寫定義nr: 68

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.