📄 funckeymap
字号:
#+------------------------------------------------------------------------# ECU 3.20 funckeymap## This file contains mapping information to convert non-ANSI# keyboard function keys to an internal ECU function key# representation# # The format of an entry is shown below in the 'ansilike' example (used# to ansilike ECU from the console by defining an ansi terminal type# nevertheless equivalent to ansi).# # The first line(s) in a terminal keyboard description begin in# column 1 and contain the terminal types (a la $TERM) for which# the keyboard description are valid. The example entry contains# several references to terminal types containing the substring# 'ansi'. These are included only as an example of one keyboard# description servicing multiple terminal types.# # ECU determines whether a terminal meets the ansi vs. ANSI# distinction by searching for 'ansi' in the $TERM environment# variable (without regard to case: 'AnSi' will match as well as# 'ansi'). If your keyboard matches the ANSI specification even# though your $TERM environment variable does not contain 'ansi'# (such as 'sun'), then you may add the terminal type to the 'ansilike'# entry rather than create a separate entry.# # Following the "first lines" are key definition entries, each# preceded by at least one tab or space. Each entry is composed of# three fields delimited by commas. The first field of an entry is# the internal ECU function key name and must be chosen from the# following strings (with no regard to case): "F1", "F2", "F3",# "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12", "Home",# "End", "PgUp", "PgDn", "CUP", "CUL", "CU5", "CUR" and "CUD" The# second field contains the name of the key as it appears on the# non-ANSI keyboard (such as "Send" for End on the Wyse 60). The# third field is a description of the character sequence generated# by the non-ANSI keyboard when the chosen key is pressed; it is a# string of one or more tokens separated by spaces or tabs.# The tokens are described in full in the ECU manual sections titled# "Function Key Recognition" and "Function Key Mapping."## << LOOK >> NOTE:# Compile and run 'kbdtest3.c' (see the source file for information)# to build a file containing the emitted sequences for each supported# function key. Looking at the file, you will see it is a funckeymap# formatted keyboard description complete with the TERM terminal type.# I would appreciate your mailing me any files you# create describing non-SCO/non-ISC main console keyboards.## If you like, compile the older 'kbdtest.c' module released with 3.0# and run it. Press any key you like and hex for the emitted# sequence will appear on the screen. Press ^D to exit the program.##-------------------------------------------------------------------------#+:EDITS:*/#:09-10-1992-13:59-wht@n4hgf-ECU release 3.20#:08-22-1992-15:39-wht@n4hgf-ECU release 3.20 BETA#:05-14-1992-02:07-wht@n4hgf-make note of Metro Link R5 compatibility#:04-19-1992-01:37-wht@n4hgf-add ESIX SVR4 console#:10-03-1991-04:56-wht@n4hgf-add X386 1.1b Roell X11R4 xterm entry#:08-26-1991-05:06-wht@n4hgf2-add sun console and xterm entry#:08-10-1991-16:07-wht@n4hgf-add new Metro Link server entry#:05-06-1991-02:31-wht@n4hgf-add tandem terminal "ansi-terminal"#:05-05-1991-17:37-root@n4hgf-add ISC at386 tnx to dug@kd4nc#:05-02-1991-04:53-wht@n4hgf-document kbdtest3#:03-26-1991-00:00-wht@n4hgf-more Metro Link work#:03-19-1991-21:04-root@n4hgf-add Metro Link MetroX X11R4 xterm#:12-20-1990-23:50-wht@n4hgf-"correct" wyse entry#:12-18-1990-19:43-wht@n4hgf-add xterm and wy60#:12-02-1990-13:34-wht@n4hgf-creation#+-------------------------------------------------------------------# SCO multiscreen (and other ANSI for F1-F10, cursor keys)#--------------------------------------------------------------------scoansiansi43msdosdosdosansitest F1:F1: esc [ M F2:F2: esc [ N F3:F3: esc [ O F4:F4: esc [ P F5:F5: esc [ Q F6:F6: esc [ R F7:F7: esc [ S F8:F8: esc [ T F9:F9: esc [ U F10:F10: esc [ V F11:F11: esc [ W F12:F12: esc [ X Home:Home: esc [ H End:End: esc [ F PgUp:PgUp: esc [ I PgDn:PgDn: esc [ G CUU:CUU: esc [ A CUL:CUL: esc [ D CU5:CU5: esc [ E CUR:CUR: esc [ C CUD:CUD: esc [ B Ins:Ins: esc [ L BkTab:BackTab: esc [ Z#+-------------------------------------------------------------------# SCO ODT 1.0/1.1 console xterm (as released, unmodified)#--------------------------------------------------------------------xterm F1:F1: esc [ 1 1 ~ F2:F2: esc [ 1 2 ~ F3:F3: esc [ 1 3 ~ F4:F4: esc [ 1 4 ~ F5:F5: esc [ 1 5 ~ F6:F6: esc [ 1 7 ~ F7:F7: esc [ 1 8 ~ F8:F8: esc [ 1 9 ~ F9:F9: esc [ 2 0 ~ F10:F10: esc [ 2 1 ~# F11:F11: esc [ 2 3 ~ # decommitted to provide a CU5# F12:F12: esc [ 2 4 ~ # decommitted to provide a BkTab Home:Home: esc [ 8 ~ End:End: esc [ 7 ~ PgUp:PgUp: esc [ 5 ~ PgDn:PgDn: esc [ 6 ~ CUU:CUU: esc [ A CUL:CUL: esc [ D # CU5:CU5: esc [ 8 ~ # same as HOME unfortunately CU5:F11: esc [ 2 3 ~ CUR:CUR: esc [ C CUD:CUD: esc [ B Ins:Ins: esc [ 2 ~# BkTab:BackTab: tab # same as TAB unfortunately BkTab:F12: esc [ 2 4 ~#+-------------------------------------------------------------------# SCO ODT 2.0 console xterm (with translations shown below)##XTerm*VT100*Translations: #override\# Shift <Key>Tab: string(0x1b) string("[Z") \n \# <Key>KP_Insert: string(0x1b) string("[L") \n \# <Key>KP_Home: string(0x1b) string("[H") \n \# <Key>KP_End: string(0x1b) string("[F") \n \# <Key>KP_Prior: string(0x1b) string("[I") \n \# <Key>KP_Next: string(0x1b) string("[G") \n \# <Key>KP_Begin: string(0x1b) string("[E") \n \##--------------------------------------------------------------------xterm BkTab:BkTab: esc [ Z CU5:CU5: esc [ E F1:F1: esc [ 1 1 ~ F2:F2: esc [ 1 2 ~ F3:F3: esc [ 1 3 ~ F4:F4: esc [ 1 4 ~ F5:F5: esc [ 1 5 ~ F6:F6: esc [ 1 7 ~ F7:F7: esc [ 1 8 ~ F8:F8: esc [ 1 9 ~ F9:F9: esc [ 2 0 ~ F10:F10: esc [ 2 1 ~ F11:F11: esc [ 2 3 ~ F12:F12: esc [ 2 4 ~ Ins:Ins: esc [ L Home:Home: esc [ H End:End: esc [ F PgUp:PgUp: esc [ I PgDn:PgDn: esc [ G CUU:CUU: esc [ A CUD:CUD: esc [ B CUL:CUL: esc [ D CUR:CUR: esc [ C#+-------------------------------------------------------------------# ~wht/.Xdefaults on a networked SCO and Sun boxes# has these xterm translations: allows# me to be able to run ECU on n4hgf from ## a local xterm with the Roell X386 1.1b, Metro Link X11R4 and X11R5# or SCO ODT 1.1 servers or# a remote Sparc IPX MIT X11R4 xterm running under# news/open windows 2.0 or the MIT X11R4 server## and vice versa on the Sun box## This translation set demonstrates two different servers'# keyboard-to-keysym mappings being accommodated by one 'xterm'# funckey entry##XTerm*VT100*Translations: #override\# Shift <Key>Tab: string(0x1b) string("[Z") \n \# <Key>Insert: string(0x1b) string("[L") \n \# <Key>Home: string(0x1b) string("[H") \n \# <Key>End: string(0x1b) string("[F") \n \# <Key>Begin: string(0x1b) string("[E") \n \# <Key>F27: string(0x1b) string("[H") \n \# <Key>R13: string(0x1b) string("[F") \n \# <Key>F29: string(0x1b) string("[I") \n \# <Key>F31: string(0x1b) string("[E") \n \# <Key>F35: string(0x1b) string("[G") \n##--------------------------------------------------------------------xterm BkTab:BkTab: esc [ Z CU5:CU5: esc [ E F1:F1: esc [ 1 1 ~ F2:F2: esc [ 1 2 ~ F3:F3: esc [ 1 3 ~ F4:F4: esc [ 1 4 ~ F5:F5: esc [ 1 5 ~ F6:F6: esc [ 1 7 ~ F7:F7: esc [ 1 8 ~ F8:F8: esc [ 1 9 ~ F9:F9: esc [ 2 0 ~ F10:F10: esc [ 2 1 ~ F11:F11: esc [ 2 3 ~ F12:F12: esc [ 2 4 ~ Ins:Ins: esc [ 2 ~ Home:Home: esc [ H End:End: esc [ F PgUp:PgUp: esc [ 5 ~ PgDn:PgDn: esc [ 6 ~ CUU:CUU: esc [ A CUD:CUD: esc [ B CUL:CUL: esc [ D CUR:CUR: esc [ C#+-------------------------------------------------------------------# Sun Sparc xterm using MIT X11R4 server (pl18)## Place in .Xdefaults or whatever:## XTerm*VT100*Translations: #override\# Shift <Key>Tab: string(0x1b) string("[Z") \n \# <Key>F27: string(0x1b) string("[H") \n \# <Key>R13: string(0x1b) string("[F") \n \# <Key>F29: string(0x1b) string("[I") \n \# <Key>F31: string(0x1b) string("[E") \n \# <Key>F35: string(0x1b) string("[G") \n \# <Key>Insert: string(0x1b) string("[L") \n \## funckeymap for 'xterm' under SunOS# built by kbdtest3 1.02 Mon Aug 26 04:55:24 1991# keyboard parity required = even#--------------------------------------------------------------------xterm BkTab:BkTab: esc [ Z CU5:CU5: esc [ E F1:F1: esc [ 1 1 ~ F2:F2: esc [ 1 2 ~ F3:F3: esc [ 1 3 ~ F4:F4: esc [ 1 4 ~ F5:F5: esc [ 1 5 ~ F6:F6: esc [ 1 7 ~ F7:F7: esc [ 1 8 ~ F8:F8: esc [ 1 9 ~ F9:F9: esc [ 2 0 ~ F10:F10: esc [ 2 1 ~ F11:F11: esc [ 2 3 ~ F12:F12: esc [ 2 4 ~ Ins:Ins: esc [ L # Ins generates Insert Home:Home: esc [ H # Home generates F27 End:End: esc [ F # End generates R13 PgUp:PgUp: esc [ I # PgUp generates F29 PgDn:PgDn: esc [ G # PgDn generates F35 CUU:CUU: esc [ A CUD:CUD: esc [ B CUL:CUL: esc [ D CUR:CUR: esc [ C#+-------------------------------------------------------------------# Sun Console## funckeymap for 'sun' (native console) under SunOS 4.1# built by kbdtest3 1.02 Mon Aug 26 16:21:57 1991# keyboard parity required = even#--------------------------------------------------------------------sun# BkTab:BkTab: ht # does not work CU5:CU5: esc [ 2 1 8 z F1:F1: esc [ 2 2 4 z F2:F2: esc [ 2 2 5 z F3:F3: esc [ 2 2 6 z F4:F4: esc [ 2 2 7 z
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -