📄 map3270
字号:
# Copyright (c) 1989, 1993# The Regents of the University of California. All rights reserved.## Redistribution and use in source and binary forms, with or without# modification, are permitted provided that the following conditions# are met:# 1. Redistributions of source code must retain the above copyright# notice, this list of conditions and the following disclaimer.# 2. Redistributions in binary form must reproduce the above copyright# notice, this list of conditions and the following disclaimer in the# documentation and/or other materials provided with the distribution.# 3. All advertising materials mentioning features or use of this software# must display the following acknowledgement:# This product includes software developed by the University of# California, Berkeley and its contributors.# 4. Neither the name of the University nor the names of its contributors# may be used to endorse or promote products derived from this software# without specific prior written permission.## THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF# SUCH DAMAGE.## @(#)map3270 8.2 (Berkeley) 4/1/94## This file contains mappings between characters entered from the keyboard,# and 3270 keys, for use by programs (like tn3270) doing 3270 emulation# from unix.## Inside the single quotes, a caret ("^") introduces a control character# sequence (rub out = ^?, by the way). Also inside the single quotes,# a backslash ('\') introduces an escaped character. Also, \n, \r, \t,# are all as in C, and \E is another way of representing escape.## NOTE that while we are defining lots of function, much of that# function (ie: local editing keys) may not yet be available from tn3270.## Please e-mail changes to termcap@berkeley.edu or uunet!ucbvax!termcap.#3a | adm3a { enter = '^m'; clear = '^z'; nl = '^n'; tab = '^i'; btab = '^b' | '\E^i'; left = '^h'; right = '^l'; up = '^k'; down = '^j'; home = '^@'; delete = '^d' | '^?'; # rubout eeof = '^e'; einp = '^w'; insrt = '\E '; dp = '^u'; fm = '^y'; # pf keys pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E:'; pfk12 = '\E-'; pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16'; pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20'; pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24'; # program attention keys pa1 = '^p1'; pa2 = '^p2'; pa3 = '^p3'; # other keys cursel = '\E.'; centsign = '^\'; # local control keys reset = '^t'; # well, there is a little confusion here... master_reset = '^g'; flinp = '^x'; reshow = '^v'; # redisplay screen escape = '^c'; # escape to telnet command mode # local editing keys settab = '\E;'; deltab = '\E\''; clrtab = '\E+'; setmrg = '\E('; sethom = '\E!'; coltab = '\Ei'; colbak = '\Eb'; indent = '\El'; undent = '\Eh';} # end of adm3a920c | tvi920c | 920b { # tvi920c definitions... # command keys enter = '^m'; clear = '^z'; # cursor movement keys nl = '^^' | '^n'; # home tab = '^i'; btab = '^b' | '\E^i'; left = '^h'; right = '^l'; up = '^k'; down = '^j'; home = '^@'; # edit control keys delete = '^?' | '^d'; # delete eeof = '^e'; einp = '^w'; insrt = '\E '; dp = '^u'; fm = '^y'; # program function keys # F1 to F11 pfk1 = '^a@^m'; pfk2 = '^aA^m'; pfk3 = '^aB^m'; pfk4 = '^aC^m'; pfk5 = '^aD^m'; pfk6 = '^aE^m'; pfk7 = '^aF^m'; pfk8 = '^aG^m'; pfk9 = '^aH^m'; pfk10 = '^aI^m'; pfk11 = '^aJ^m'; # SHIFT-F11 pfk12 = '^aj^m'; # ESC F1 to ESC F11 pfk11 = '\E^a@^m'; pfk12 = '\E^aA^m'; pfk13 = '\E^aB^m'; pfk14 = '\E^aC^m'; pfk15 = '\E^aD^m'; pfk16 = '\E^aE^m'; pfk17 = '\E^aF^m'; pfk18 = '\E^aG^m'; pfk19 = '\E^aH^m'; pfk20 = '\E^aI^m'; pfk21 = '\E^a`^m'; # ESC SHIFT-F1 to ESC SHIFT-F4 pfk21 = '\E^a`^m'; pfk22 = '\E^aa^m'; pfk23 = '\E^ab^m'; pfk24 = '\E^ac^m'; pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '\E='; pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16'; pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20'; pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24'; # program attention keys pa1 = '^a`^m' | '^p1'; pa2 = '^aa^m' | '^p2'; pa3 = '^ab^m' | '^p3'; # miscellaneous 3270 keys cursel = '\E.'; centsign = '^\'; # local control keys reset = '^t'; # there is some confusion here... master_reset = '^g'; flinp = '^x'; reshow = '^v'; escape = '^c'; # escape to telnet command mode # local editing keys settab = '\E;'; deltab = '\E\''; clrtab = '\E:'; setmrg = '\E*'; sethom = '\E!'; coltab = '\Ei' | '\EI'; colbak = '\Eb' | '\EB'; indent = '\El' | '\EL'; undent = '\Eh' | '\EH';} # end of tvi920c table...925 | tvi925 | 925vb | tvi925vb | televideo 925 { # command keys enter = '^m'; clear = '^z'; # cursor movement keys nl = '^j' | '^n'; tab = '^i'; btab = '\EI'; left = '^h'; right = '^l'; up = '^k'; down = '^v'; home = '^^'; # edit control keys delete = '^?'; # that's rubout... eeof = '^e'; einp = '^w'; insrt = '\E ' | '\EW'; # program function keys pfk1 = '^a@^m'; pfk2 = '^aA^m'; pfk3 = '^aB^m'; pfk4 = '^aC^m'; pfk5 = '^aD^m'; pfk6 = '^aE^m'; pfk7 = '^aF^m'; pfk8 = '^aG^m'; pfk9 = '^aH^m'; pfk10 = '^aI^m'; pfk11 = '^aJ^m'; pfk12 = '\EQ'; pfk13 = '\E^a@^m'; pfk14 = '\E^aA^m'; pfk15 = '\E^aB^m'; pfk16 = '\E^aC^m'; pfk17 = '\E^aD^m'; pfk18 = '\E^aE^m'; pfk19 = '\E^aF^m'; pfk20 = '\E^aG^m'; pfk21 = '\E^aH^m'; pfk22 = '\E^aI^m'; pfk23 = '\E^aJ^m'; pfk24 = '\E\EQ'; pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '\E='; pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16'; pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20'; pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24'; # program attention keys pa1 = '^a`^m'; pa2 = '^aa^m'; pa3 = '^ab^m'; # other keys centsign = '^\'; # local control keys reset = '^t'; # again, there is some confusion here... master_reset = '^g'; flinp = '^x'; reshow = '^b'; escape = '^c'; # escape to telnet command mode# local editing keys settab = '\EY'; deltab = '\Ey'; clrtab = '\E:'; setmrg = '\ET'; sethom = '\Et'; coltab = '^p'; colbak = '^o'; indent = '\ER'; undent = '\EE';}924 | tvi924 { # command keys enter = '^m'; clear = '^z'; # cursor movement keys nl = '^j'; tab = '^i'; btab = '\EI'; left = '^h'; right = '^l'; up = '^k'; down = '^v'; home = '^^'; # edit control keys delete = '^?'; # that's rubout... eeof = '^e'; einp = '^w'; insrt = '\E ' | '\EW'; dp = '^u'; fm = '^y'; # program function keys pfk1 = '^a@^m'; pfk2 = '^aA^m'; pfk3 = '^aB^m'; pfk4 = '^aC^m'; pfk5 = '^aD^m'; pfk6 = '^aE^m'; pfk7 = '^aF^m'; pfk8 = '^aG^m'; pfk9 = '^aH^m'; pfk10 = '^aI^m'; pfk11 = '^aJ^m'; pfk12 = '^aK^m'; pfk13 = '^aL^m'; pfk14 = '^aM^m'; pfk15 = '^aN^m'; pfk16 = '^aO^m'; pfk17 = '^af^m'; pfk18 = '^ag^m'; pfk19 = '^ah^m'; pfk20 = '^ai^m'; pfk21 = '^aj^m'; pfk22 = '^ak^m'; pfk23 = '^al^m'; pfk24 = '^am^m'; pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '\E='; pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16'; pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20'; pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24'; # program attention keys pa1 = '^a`^m'; pa2 = '^aa^m'; pa3 = '^ab^m'; # other keys centsign = '^\'; # local control keys reset = '^t'; # again, there is some confusion here... master_reset = '^g'; flinp = '^x'; reshow = '^b'; escape = '^c'; # escape to telnet command mode # local editing keys settab = '\EY'; deltab = '\Ey'; clrtab = '\E:'; setmrg = '\ET'; sethom = '\Et'; coltab = '^p'; colbak = '^o'; indent = '\ER'; undent = '\EE';}h19 | heath | h19b | heathkit | heath-19 | z19 | zenith {enter = '^m';clear = '^z';nl = '^n' | '^?';tab = '^i';btab = '^b';left = '^h';right = '^l';up = '^k';down = '^j';home = '^@';delete = '^d';eeof = '^e';einp = '^w';insrt = '\E ';# pf keyspfk1 = '\E?p\E?q'; pfk2 = '\E?p\E?r'; pfk3 = '\E?p\E?s'; pfk4 = '\E?p\E?t';pfk5 = '\E?p\E?u'; pfk6 = '\E?p\E?v'; pfk7 = '\E?p\E?w'; pfk8 = '\E?p\E?x';pfk9 = '\E?p\E?y'; pfk10 = '\E?q\E?p'; pfk11 = '\E?q\E?q'; pfk12 = '\E?q\E?r';pfk13 = '\E?q\E?s'; pfk14 = '\E?q\E?t'; pfk15 = '\E?q\E?u'; pfk16 = '\E?q\E?v';pfk17 = '\E?q\E?w'; pfk18 = '\E?q\E?x'; pfk19 = '\E?q\E?y'; pfk20 = '\E?r\E?p';pfk21 = '\E?r\E?q'; pfk22 = '\E?r\E?r'; pfk23 = '\E?r\E?s'; pfk24 = '\E?r\E?t'; pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '\E='; pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16'; pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20'; pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24';# program attention keyspa1 = '\EP';pa2 = '\EQ';pa3 = '\ER';# other keys centsign = '^\';# cursel = '\E.'; # find out what this doesmaster_reset = '^g';# local control keysreset = '^t'; # well, there is a little confusion here...flinp = '^x';reshow = '^v'; # redisplay screenescape = '^c'; # escape to telnet command mode# local editing keyssettab = '\E;';clrtab = '\E:';setmrg = '\E\'';sethom = '\E!';coltab = '\Ei';colbak = '\Eb';indent = '\El';undent = '\Eh';} # end of h19co | c100 | concept | c100-4p | concept100 {enter = '^m';clear = '^z' | '^\2';nl = '^n';tab = '^i';btab = '^b';left = '^h' | '\E>';right = '^l' | '\E=';up = '^k' | '\E;';down = '^j' | '\E<';home = '\E?';delete = '^d' | '^?' | '^\1';eeof = '^e' | '^\3';einp = '^w';insrt = '^\0';# pf keyspfk1 = '\E\E1' | '^\5'; pfk2 = '\E\E2' | '^\6'; pfk3 = '\E\E3' | '^\7';pfk4 = '\E\E4' | '^\8'; pfk5 = '\E\E5' | '^\9'; pfk6 = '\E\E6' | '^\:';pfk7 = '\E\E7' | '^\;'; pfk8 = '\E\E8' | '^\<'; pfk9 = '\E\E9' | '^\=';pfk10 = '\E\E0' | '^\>'; pfk11 = '\E\E-' | '^\?'; pfk12 = '^\@';pfk13 = '^\A'; pfk14 = '^\B'; pfk15 = '^\)'; pfk16 = '^\*';pfk17 = '^\+'; pfk18 = '^\,'; pfk19 = '^\-'; pfk20 = '^\.';pfk21 = '^\/'; pfk22 = '^\C'; pfk23 = '^\D'; pfk24 = '^\E'; pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '^f12'; pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16'; pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20'; pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24';# program attention keyspa1 = '^\%';pa2 = '^\&' | '\E+';pa3 = '^\\'';# other keyscursel = '\E.';aplon = '\E{';aplend = '\E}';aploff = '\E_';master_reset = '^g';centsign = '\E\\';# local control keysreset = '^t'; # well, there is a little confusion here...flinp = '^x';reshow = '^v'; # redisplay screenescape = '^c'; # escape to telnet command mode# local editing keyssettab = '\E\E;';clrtab = '\E\E:';setmrg = '\E\E*';sethom = '\E\E!';coltab = '\E\Ei';colbak = '\E\Eb';indent = '\E\El';undent = '\E\Eh';} # end of conceptavt | avt-8p-s | avt-4p-s | avt-rv {enter = '^m';clear = '^z' | '\EOM';nl = '^?';tab = '^i';btab = '^b';left = '^h' | '\E[D';right = '^l' | '\E[C';up = '^k' | '\E[A';down = '^j' | '\E[B';home = '\EOn';delete = '^d';
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -