convertmap.pl
来自「用vc++编写的虚拟机仿真系统。可以模拟真实操作系统的一些功能。」· PL 代码 · 共 15 行
PL
15 行
#!/usr/bin/perl# little utility script that I used to convert key map files from# the pre-March 11 format to the post-March 11 format. It doesn't# do anything smart with the ascii equivalents and modifiers, so ATM those must# be added by hand.while (<STDIN>){ chop; s/^ *//; if (/^#/ || /^ *$/) { print "$_\n"; next;} ($key, $equals, $xksym) = split (/ +/); printf ("%-45s %-10s %s\n", $key, 'none', "XK_$xksym");}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?