Annotation of 43BSDReno/share/termcap/map3270, revision 1.1

1.1     ! root        1: #
        !             2: # Copyright (c) 1989 The Regents of the University of California.
        !             3: # All rights reserved.
        !             4: #
        !             5: # Redistribution and use in source and binary forms are permitted
        !             6: # provided that the above copyright notice and this paragraph are
        !             7: # duplicated in all such forms and that any documentation,
        !             8: # advertising materials, and other materials related to such
        !             9: # distribution and use acknowledge that the software was developed
        !            10: # by the University of California, Berkeley.  The name of the
        !            11: # University may not be used to endorse or promote products derived
        !            12: # from this software without specific prior written permission.
        !            13: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
        !            14: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
        !            15: # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            16: #
        !            17: #      @(#)map3270     5.3 (Berkeley) 5/17/90
        !            18: #
        !            19: # This file contains mappings between characters entered from the keyboard,
        !            20: # and 3270 keys, for use by programs (like tn3270) doing 3270 emulation
        !            21: # from unix.
        !            22: #
        !            23: # Inside the single quotes, a caret ("^") introduces a control character
        !            24: # sequence (rub out = ^?, by the way).  Also inside the single quotes,
        !            25: # a backslash ('\') introduces an escaped character.  Also, \n, \r, \t,
        !            26: # are all as in C, and \E is another way of representing escape.
        !            27: #
        !            28: #      NOTE that while we are defining lots of function, much of that
        !            29: # function (ie: local editing keys) may not yet be available from tn3270.
        !            30: #
        !            31: # Please e-mail changes to [email protected] or uunet!ucbvax!termcap.
        !            32: #
        !            33: 
        !            34: 3a | adm3a {
        !            35:     enter = '^m';
        !            36:     clear = '^z';
        !            37: 
        !            38:     nl = '^n';
        !            39:     tab = '^i';
        !            40:     btab = '^b' | '\E^i';
        !            41:     left = '^h';
        !            42:     right = '^l';
        !            43:     up = '^k';
        !            44:     down = '^j';
        !            45:     home = '^@';
        !            46: 
        !            47:     delete = '^d' | '^?';              # rubout
        !            48:     eeof = '^e';
        !            49:     einp = '^w';
        !            50:     insrt = '\E ';
        !            51:     dp = '^u';
        !            52:     fm = '^y';
        !            53: 
        !            54:     # pf keys
        !            55:     pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4';
        !            56:     pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8';
        !            57:     pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E:'; pfk12 = '\E-';
        !            58:     pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16';
        !            59:     pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20';
        !            60:     pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24';
        !            61: 
        !            62:     # program attention keys
        !            63:     pa1 = '^p1';
        !            64:     pa2 = '^p2';
        !            65:     pa3 = '^p3';
        !            66: 
        !            67:     # other keys
        !            68:     cursel = '\E.';
        !            69:     centsign = '^\';
        !            70: 
        !            71:     # local control keys
        !            72: 
        !            73:     reset = '^t';      # well, there is a little confusion here...
        !            74:     master_reset = '^g';
        !            75:     flinp = '^x';
        !            76:     reshow = '^v';     # redisplay screen
        !            77:     escape = '^c';     # escape to telnet command mode
        !            78: 
        !            79:     # local editing keys
        !            80:     settab = '\E;';
        !            81:     deltab = '\E\'';
        !            82:     clrtab = '\E+';
        !            83:     setmrg = '\E(';
        !            84:     sethom = '\E!';
        !            85:     coltab = '\Ei';
        !            86:     colbak = '\Eb';
        !            87:     indent = '\El';
        !            88:     undent = '\Eh';
        !            89: 
        !            90: } # end of adm3a
        !            91: 
        !            92: 920c | tvi920c | 920b {        # tvi920c definitions...
        !            93: 
        !            94:     # command keys
        !            95:     enter = '^m';
        !            96:     clear = '^z';
        !            97: 
        !            98:     # cursor movement keys
        !            99:     nl = '^^' | '^n';          # home
        !           100:     tab = '^i';
        !           101:     btab = '^b' | '\E^i';
        !           102:     left = '^h';
        !           103:     right = '^l';
        !           104:     up = '^k';
        !           105:     down = '^j';
        !           106:     home = '^@';
        !           107: 
        !           108:     # edit control keys
        !           109:     delete = '^?' | '^d';      # delete
        !           110:     eeof = '^e';
        !           111:     einp = '^w';
        !           112:     insrt = '\E ';
        !           113:     dp = '^u';
        !           114:     fm = '^y';
        !           115: 
        !           116:     # program function keys
        !           117: 
        !           118:     # F1 to F11
        !           119:     pfk1 = '^a@^m'; pfk2 = '^aA^m'; pfk3 = '^aB^m'; pfk4 = '^aC^m';
        !           120:     pfk5 = '^aD^m'; pfk6 = '^aE^m'; pfk7 = '^aF^m'; pfk8 = '^aG^m';
        !           121:     pfk9 = '^aH^m'; pfk10 = '^aI^m'; pfk11 = '^aJ^m';
        !           122: 
        !           123:     # SHIFT-F11
        !           124:     pfk12 = '^aj^m';
        !           125: 
        !           126:     # ESC F1 to ESC F11
        !           127:     pfk11 = '\E^a@^m'; pfk12 = '\E^aA^m';
        !           128:     pfk13 = '\E^aB^m'; pfk14 = '\E^aC^m'; pfk15 = '\E^aD^m'; pfk16 = '\E^aE^m';
        !           129:     pfk17 = '\E^aF^m'; pfk18 = '\E^aG^m'; pfk19 = '\E^aH^m'; pfk20 = '\E^aI^m';
        !           130:     pfk21 = '\E^a`^m';
        !           131: 
        !           132:     # ESC SHIFT-F1 to ESC SHIFT-F4
        !           133:     pfk21 = '\E^a`^m'; pfk22 = '\E^aa^m'; pfk23 = '\E^ab^m'; pfk24 = '\E^ac^m';
        !           134: 
        !           135:     pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4';
        !           136:     pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8';
        !           137:     pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '\E=';
        !           138:     pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16';
        !           139:     pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20';
        !           140:     pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24';
        !           141: 
        !           142:     # program attention keys
        !           143: 
        !           144:     pa1 = '^a`^m' | '^p1';
        !           145:     pa2 = '^aa^m' | '^p2';
        !           146:     pa3 = '^ab^m' | '^p3';
        !           147: 
        !           148:     # miscellaneous 3270 keys
        !           149: 
        !           150:     cursel = '\E.';
        !           151:     centsign = '^\';
        !           152: 
        !           153:     # local control keys
        !           154: 
        !           155:     reset = '^t';              # there is some confusion here...
        !           156:     master_reset = '^g';
        !           157:     flinp = '^x';
        !           158:     reshow = '^v';
        !           159:     escape = '^c';     # escape to telnet command mode
        !           160: 
        !           161:     # local editing keys
        !           162: 
        !           163:     settab = '\E;';
        !           164:     deltab = '\E\'';
        !           165:     clrtab = '\E:';
        !           166:     setmrg = '\E*';
        !           167:     sethom = '\E!';
        !           168:     coltab = '\Ei' | '\EI';
        !           169:     colbak = '\Eb' | '\EB';
        !           170:     indent = '\El' | '\EL';
        !           171:     undent = '\Eh' | '\EH';
        !           172: } # end of tvi920c table...
        !           173: 
        !           174: 925 | tvi925 | 925vb | tvi925vb | televideo 925 {
        !           175: 
        !           176:     # command keys
        !           177: 
        !           178:     enter = '^m';
        !           179:     clear = '^z';
        !           180: 
        !           181:     # cursor movement keys
        !           182: 
        !           183:     nl = '^j' | '^n';
        !           184:     tab = '^i';
        !           185:     btab = '\EI';
        !           186:     left = '^h';
        !           187:     right = '^l';
        !           188:     up = '^k';
        !           189:     down = '^v';
        !           190:     home = '^^';
        !           191: 
        !           192:     # edit control keys
        !           193: 
        !           194:     delete = '^?';     # that's rubout...
        !           195:     eeof = '^e';
        !           196:     einp = '^w';
        !           197:     insrt = '\E ' | '\EW';
        !           198: 
        !           199:     # program function keys
        !           200: 
        !           201:     pfk1 = '^a@^m';
        !           202:     pfk2 = '^aA^m';
        !           203:     pfk3 = '^aB^m';
        !           204:     pfk4 = '^aC^m';
        !           205:     pfk5 = '^aD^m';
        !           206:     pfk6 = '^aE^m';
        !           207:     pfk7 = '^aF^m';
        !           208:     pfk8 = '^aG^m';
        !           209:     pfk9 = '^aH^m';
        !           210:     pfk10 = '^aI^m';
        !           211:     pfk11 = '^aJ^m';
        !           212:     pfk12 = '\EQ';
        !           213:     pfk13 = '\E^a@^m';
        !           214:     pfk14 = '\E^aA^m';
        !           215:     pfk15 = '\E^aB^m';
        !           216:     pfk16 = '\E^aC^m';
        !           217:     pfk17 = '\E^aD^m';
        !           218:     pfk18 = '\E^aE^m';
        !           219:     pfk19 = '\E^aF^m';
        !           220:     pfk20 = '\E^aG^m';
        !           221:     pfk21 = '\E^aH^m';
        !           222:     pfk22 = '\E^aI^m';
        !           223:     pfk23 = '\E^aJ^m';
        !           224:     pfk24 = '\E\EQ';
        !           225: 
        !           226:     pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4';
        !           227:     pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8';
        !           228:     pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '\E=';
        !           229:     pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16';
        !           230:     pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20';
        !           231:     pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24';
        !           232: 
        !           233:     # program attention keys
        !           234: 
        !           235:     pa1 = '^a`^m';
        !           236:     pa2 = '^aa^m';
        !           237:     pa3 = '^ab^m';
        !           238: 
        !           239:     # other keys
        !           240:     centsign = '^\';
        !           241: 
        !           242:     # local control keys
        !           243: 
        !           244:     reset = '^t';              # again, there is some confusion here...
        !           245:     master_reset = '^g';
        !           246:     flinp = '^x';
        !           247:     reshow = '^b';
        !           248:     escape = '^c';     # escape to telnet command mode
        !           249: 
        !           250: # local editing keys
        !           251: 
        !           252:     settab = '\EY';
        !           253:     deltab = '\Ey';
        !           254:     clrtab = '\E:';
        !           255:     setmrg = '\ET';
        !           256:     sethom = '\Et';
        !           257:     coltab = '^p';
        !           258:     colbak = '^o';
        !           259:     indent = '\ER';
        !           260:     undent = '\EE';
        !           261: }
        !           262: 
        !           263: 
        !           264: 924 | tvi924 {
        !           265: 
        !           266:     # command keys
        !           267: 
        !           268:     enter = '^m';
        !           269:     clear = '^z';
        !           270: 
        !           271:     # cursor movement keys
        !           272: 
        !           273:     nl = '^j';
        !           274:     tab = '^i';
        !           275:     btab = '\EI';
        !           276:     left = '^h';
        !           277:     right = '^l';
        !           278:     up = '^k';
        !           279:     down = '^v';
        !           280:     home = '^^';
        !           281: 
        !           282:     # edit control keys
        !           283: 
        !           284:     delete = '^?';     # that's rubout...
        !           285:     eeof = '^e';
        !           286:     einp = '^w';
        !           287:     insrt = '\E ' | '\EW';
        !           288:     dp = '^u';
        !           289:     fm = '^y';
        !           290: 
        !           291:     # program function keys
        !           292: 
        !           293:     pfk1 = '^a@^m';
        !           294:     pfk2 = '^aA^m';
        !           295:     pfk3 = '^aB^m';
        !           296:     pfk4 = '^aC^m';
        !           297:     pfk5 = '^aD^m';
        !           298:     pfk6 = '^aE^m';
        !           299:     pfk7 = '^aF^m';
        !           300:     pfk8 = '^aG^m';
        !           301:     pfk9 = '^aH^m';
        !           302:     pfk10 = '^aI^m';
        !           303:     pfk11 = '^aJ^m';
        !           304:     pfk12 = '^aK^m';
        !           305:     pfk13 = '^aL^m';
        !           306:     pfk14 = '^aM^m';
        !           307:     pfk15 = '^aN^m';
        !           308:     pfk16 = '^aO^m';
        !           309:     pfk17 = '^af^m';
        !           310:     pfk18 = '^ag^m';
        !           311:     pfk19 = '^ah^m';
        !           312:     pfk20 = '^ai^m';
        !           313:     pfk21 = '^aj^m';
        !           314:     pfk22 = '^ak^m';
        !           315:     pfk23 = '^al^m';
        !           316:     pfk24 = '^am^m';
        !           317: 
        !           318:     pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4';
        !           319:     pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8';
        !           320:     pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '\E=';
        !           321:     pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16';
        !           322:     pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20';
        !           323:     pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24';
        !           324: 
        !           325:     # program attention keys
        !           326: 
        !           327:     pa1 = '^a`^m';
        !           328:     pa2 = '^aa^m';
        !           329:     pa3 = '^ab^m';
        !           330: 
        !           331:     # other keys
        !           332:     centsign = '^\';
        !           333: 
        !           334:     # local control keys
        !           335: 
        !           336:     reset = '^t';              # again, there is some confusion here...
        !           337:     master_reset = '^g';
        !           338:     flinp = '^x';
        !           339:     reshow = '^b';
        !           340:     escape = '^c';     # escape to telnet command mode
        !           341: 
        !           342:     # local editing keys
        !           343: 
        !           344:     settab = '\EY';
        !           345:     deltab = '\Ey';
        !           346:     clrtab = '\E:';
        !           347:     setmrg = '\ET';
        !           348:     sethom = '\Et';
        !           349:     coltab = '^p';
        !           350:     colbak = '^o';
        !           351:     indent = '\ER';
        !           352:     undent = '\EE';
        !           353: }
        !           354: 
        !           355: h19 | heath | h19b | heathkit | heath-19 | z19 | zenith {
        !           356: enter = '^m';
        !           357: clear = '^z';
        !           358: 
        !           359: nl = '^n' | '^?';
        !           360: tab = '^i';
        !           361: btab = '^b';
        !           362: left = '^h';
        !           363: right = '^l';
        !           364: up = '^k';
        !           365: down = '^j';
        !           366: home = '^@';
        !           367: 
        !           368: delete = '^d';
        !           369: eeof = '^e';
        !           370: einp = '^w';
        !           371: insrt = '\E ';
        !           372: 
        !           373: # pf keys
        !           374: pfk1 = '\E?p\E?q'; pfk2 = '\E?p\E?r'; pfk3 = '\E?p\E?s'; pfk4 = '\E?p\E?t';
        !           375: pfk5 = '\E?p\E?u'; pfk6 = '\E?p\E?v'; pfk7 = '\E?p\E?w'; pfk8 = '\E?p\E?x';
        !           376: pfk9 = '\E?p\E?y'; pfk10 = '\E?q\E?p'; pfk11 = '\E?q\E?q'; pfk12 = '\E?q\E?r';
        !           377: pfk13 = '\E?q\E?s'; pfk14 = '\E?q\E?t'; pfk15 = '\E?q\E?u'; pfk16 = '\E?q\E?v';
        !           378: pfk17 = '\E?q\E?w'; pfk18 = '\E?q\E?x'; pfk19 = '\E?q\E?y'; pfk20 = '\E?r\E?p';
        !           379: pfk21 = '\E?r\E?q'; pfk22 = '\E?r\E?r'; pfk23 = '\E?r\E?s'; pfk24 = '\E?r\E?t';
        !           380: 
        !           381:     pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4';
        !           382:     pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8';
        !           383:     pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '\E=';
        !           384:     pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16';
        !           385:     pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20';
        !           386:     pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24';
        !           387: 
        !           388: # program attention keys
        !           389: pa1 = '\EP';
        !           390: pa2 = '\EQ';
        !           391: pa3 = '\ER';
        !           392: 
        !           393: # other keys
        !           394: 
        !           395:     centsign = '^\';
        !           396: # cursel = '\E.'; # find out what this does
        !           397: master_reset = '^g';
        !           398: 
        !           399: # local control keys
        !           400: 
        !           401: reset = '^t';  # well, there is a little confusion here...
        !           402: flinp = '^x';
        !           403: reshow = '^v'; # redisplay screen
        !           404: escape = '^c'; # escape to telnet command mode
        !           405: 
        !           406: # local editing keys
        !           407: settab = '\E;';
        !           408: clrtab = '\E:';
        !           409: setmrg = '\E\'';
        !           410: sethom = '\E!';
        !           411: coltab = '\Ei';
        !           412: colbak = '\Eb';
        !           413: indent = '\El';
        !           414: undent = '\Eh';
        !           415: 
        !           416: } # end of h19
        !           417: 
        !           418: 
        !           419: co | c100 | concept | c100-4p | concept100 {
        !           420: enter = '^m';
        !           421: clear = '^z' | '^\2';
        !           422: 
        !           423: nl = '^n';
        !           424: tab = '^i';
        !           425: btab = '^b';
        !           426: left = '^h' | '\E>';
        !           427: right = '^l' | '\E=';
        !           428: up = '^k' | '\E;';
        !           429: down = '^j' | '\E<';
        !           430: home = '\E?';
        !           431: 
        !           432: delete = '^d' | '^?' | '^\1';
        !           433: eeof = '^e' | '^\3';
        !           434: einp = '^w';
        !           435: insrt = '^\0';
        !           436: 
        !           437: # pf keys
        !           438: pfk1 = '\E\E1' | '^\5'; pfk2 = '\E\E2' | '^\6'; pfk3 = '\E\E3' | '^\7';
        !           439: pfk4 = '\E\E4' | '^\8'; pfk5 = '\E\E5' | '^\9'; pfk6 = '\E\E6' | '^\:';
        !           440: pfk7 = '\E\E7' | '^\;'; pfk8 = '\E\E8' | '^\<'; pfk9 = '\E\E9' | '^\=';
        !           441: pfk10 = '\E\E0' | '^\>'; pfk11 = '\E\E-' | '^\?'; pfk12 = '^\@';
        !           442: pfk13 = '^\A'; pfk14 = '^\B'; pfk15 = '^\)'; pfk16 = '^\*';
        !           443: pfk17 = '^\+'; pfk18 = '^\,'; pfk19 = '^\-'; pfk20 = '^\.';
        !           444: pfk21 = '^\/'; pfk22 = '^\C'; pfk23 = '^\D'; pfk24 = '^\E';
        !           445: 
        !           446:     pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4';
        !           447:     pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8';
        !           448:     pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '^f12';
        !           449:     pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16';
        !           450:     pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20';
        !           451:     pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24';
        !           452: 
        !           453: # program attention keys
        !           454: pa1 = '^\%';
        !           455: pa2 = '^\&' | '\E+';
        !           456: pa3 = '^\\'';
        !           457: 
        !           458: # other keys
        !           459: cursel = '\E.';
        !           460: aplon = '\E{';
        !           461: aplend = '\E}';
        !           462: aploff = '\E_';
        !           463: master_reset = '^g';
        !           464: centsign = '\E\\';
        !           465: 
        !           466: # local control keys
        !           467: 
        !           468: reset = '^t';  # well, there is a little confusion here...
        !           469: flinp = '^x';
        !           470: reshow = '^v'; # redisplay screen
        !           471: escape = '^c'; # escape to telnet command mode
        !           472: 
        !           473: # local editing keys
        !           474: settab = '\E\E;';
        !           475: clrtab = '\E\E:';
        !           476: setmrg = '\E\E*';
        !           477: sethom = '\E\E!';
        !           478: coltab = '\E\Ei';
        !           479: colbak = '\E\Eb';
        !           480: indent = '\E\El';
        !           481: undent = '\E\Eh';
        !           482: 
        !           483: } # end of concept
        !           484: avt | avt-8p-s | avt-4p-s | avt-rv {
        !           485: enter = '^m';
        !           486: clear = '^z' | '\EOM';
        !           487: 
        !           488: nl = '^?';
        !           489: tab = '^i';
        !           490: btab = '^b';
        !           491: left = '^h' | '\E[D';
        !           492: right = '^l' | '\E[C';
        !           493: up = '^k' | '\E[A';
        !           494: down = '^j' | '\E[B';
        !           495: home = '\EOn';
        !           496: 
        !           497: delete = '^d';
        !           498: eeof = '^e';
        !           499: einp = '^w';
        !           500: insrt = '^ ' | '\E ';
        !           501: 
        !           502: # pf keys
        !           503: pfk1 = '\EOq' | '\E1'; pfk2 = '\EOr' | '\E2'; pfk3 = '\EOs' | '\E3';
        !           504: pfk4 = '\EOt' | '\E4'; pfk5 = '\EOu' | '\E5'; pfk6 = '\EOv' | '\E6';
        !           505: pfk7 = '\EOw' | '\E7'; pfk8 = '\EOx' | '\E8'; pfk9 = '\EOy' | '\E9';
        !           506: pfk10 = '\EOP\EOp' | '\E0'; pfk11 = '\EOP\EOq' | '\E-';
        !           507: pfk12 = '\EOP\EOr' | '\E='; pfk13 = '\EOP\EOs' | '^f13';
        !           508: pfk14 = '\EOP\EOt' | '^f14'; pfk15 = '\EOP\EOu' | '^f15';
        !           509: pfk16 = '\EOP\EOv' | '^f16'; pfk17 = '\EOP\EOw' | '^f17';
        !           510: pfk18 = '\EOP\EOx' | '^f18'; pfk19 = '\EOP\EOy' | '^f19';
        !           511: pfk20 = '\EOQ\EOp' | '^f20'; pfk21 = '\EOQ\EOq' | '^f21';
        !           512: 
        !           513:     pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24';
        !           514: 
        !           515: # program attention keys
        !           516: pa1 = '\E\EOP' | '^p1';
        !           517: pa2 = '\E\EOQ' | '^p2';
        !           518: 
        !           519: # local control keys
        !           520: 
        !           521: escape = '^c'; # escape to telnet command mode
        !           522: master_reset = '^g';
        !           523:     centsign = '^\';
        !           524: 
        !           525: # local editing keys
        !           526: settab = '\E;';
        !           527: deltab = '\E\'';
        !           528: clrtab = '\E:';
        !           529: setmrg = '\E,';
        !           530: sethom = '\E.';
        !           531: coltab = '\E\E[B';
        !           532: colbak = '\E\E[A';
        !           533: indent = '\E\E[C';
        !           534: undent = '\E\E[D';
        !           535: }    # end of avt, etc.
        !           536: 
        !           537: tvipt | vp | televideopt {
        !           538:     enter = '^m';
        !           539:     clear = '^z';
        !           540: 
        !           541:  nl = '^n';
        !           542:     tab = '^i';
        !           543:     btab = '^b';
        !           544:     left = '^h';
        !           545:     right = '^l';
        !           546:     up = '^k';
        !           547:     down = '^j';
        !           548:     home = '^^';
        !           549: 
        !           550:     delete = '^?';
        !           551:     eeof = '^e';
        !           552:     einp = '^w';
        !           553:     insrt = '\E ';
        !           554: 
        !           555:     # pf keys
        !           556:     pfk1 = '\E1' | '^A@^m';
        !           557:     pfk2 = '\E2' | '^AA^m';
        !           558:     pfk3 = '\E3' | '^AB^m';
        !           559:     pfk4 = '\E4' | '^AC^m';
        !           560:     pfk5 = '\E5' | '^AD^m';
        !           561:     pfk6 = '\E6' | '^AE^m';
        !           562:     pfk7 = '\E7' | '^AF^m';
        !           563:     pfk8 = '\E8';
        !           564:     pfk9 = '\E9';
        !           565:     pfk10 = '\E0';
        !           566:     pfk11 = '\E!' | '\E^A@^m';
        !           567:     pfk12 = '\E@' | '\E^AA^m';
        !           568:     pfk13 = '\E#' | '\E^AB^m';
        !           569:     pfk14 = '\E$' | '\E^AC^m';
        !           570:     pfk15 = '\E%' | '\E^AD^m';
        !           571:     pfk16 = '\E^AE^m' | '\E\^';
        !           572:     pfk17 = '\E&' | '\E^AF^m';
        !           573:     pfk18 = '\E*';
        !           574:     pfk19 = '\E(';
        !           575:     pfk20 = '\E)';
        !           576: 
        !           577:     # program attention keys
        !           578:     pa1 = '^AG^m';
        !           579:     pa2 = '^AH^m';
        !           580:     pa3 = '^AI^m';
        !           581: 
        !           582:     # other keys
        !           583: #    # cursel = '\E.';
        !           584:     centsign = '^\';
        !           585: 
        !           586:     # local control keys
        !           587: 
        !           588:     reset = '^t';      # well, there is a little confusion here...
        !           589:     master_reset = '^g';
        !           590:     flinp = '^x';
        !           591:     reshow = '^v';     # redisplay screen
        !           592:     escape = '^c';     # escape to telnet command mode
        !           593: 
        !           594:     # local editing keys
        !           595:     settab = '\E;';
        !           596:     clrtab = '\E:';
        !           597:     setmrg = '\E[';
        !           598:     sethom = '\E+';
        !           599:     coltab = '\Ei' | '\EI';
        !           600:     colbak = '\Eb' | '\EB';
        !           601:     indent = '\El' | '\EL';
        !           602:     undent = '\Eh' | '\EH';
        !           603: } # end of tvipt
        !           604: vt100 | vt100nam | pt100 | vt125 | vt102 | direct831 | tek4125 | pcplot |        microvax{
        !           605: enter = '^m';
        !           606: clear = '^z' | '\EOM';
        !           607: 
        !           608: nl = '^?';
        !           609: tab = '^i';
        !           610: btab = '^b';
        !           611: left = '^h' | '\EOD';
        !           612: right = '^l' | '\EOC';
        !           613: up = '^k' | '\EOA';
        !           614: down = '^j' | '\EOB';
        !           615: home = '\EOn';
        !           616: 
        !           617: delete = '^d';
        !           618: eeof = '^e';
        !           619: einp = '^w';
        !           620: insrt = '^ ' | '\E ';
        !           621: 
        !           622: # pf keys
        !           623: pfk1 = '\EOq' | '\E1'; pfk2 = '\EOr' | '\E2'; pfk3 = '\EOs' | '\E3';
        !           624: pfk4 = '\EOt' | '\E4'; pfk5 = '\EOu' | '\E5'; pfk6 = '\EOv' | '\E6';
        !           625: pfk7 = '\EOw' | '\E7'; pfk8 = '\EOx' | '\E8'; pfk9 = '\EOy' | '\E9';
        !           626: pfk10 = '\EOP\EOp' | '\E0'; pfk11 = '\EOP\EOq' | '\E-';
        !           627: pfk12 = '\EOP\EOr' | '\E='; pfk13 = '\EOP\EOs' | '^f13';
        !           628: pfk14 = '\EOP\EOt' | '^f14'; pfk15 = '\EOP\EOu' | '^f15';
        !           629: pfk16 = '\EOP\EOv' | '^f16'; pfk17 = '\EOP\EOw' | '^f17';
        !           630: pfk18 = '\EOP\EOx' | '^f18'; pfk19 = '\EOP\EOy' | '^f19';
        !           631: pfk20 = '\EOQ\EOp' | '^f20'; pfk21 = '\EOQ\EOq' | '^f21';
        !           632: 
        !           633: # program attention keys
        !           634: pa1 = '\E\EOP' | '^p1';
        !           635: pa2 = '\E\EOQ' | '^p2';
        !           636: 
        !           637: # local control keys
        !           638: 
        !           639: escape = '^c'; # escape to telnet command mode
        !           640: master_reset = '^g';
        !           641:     centsign = '^\';
        !           642: 
        !           643: # local editing keys
        !           644: settab = '\E;';
        !           645: deltab = '\E\'';
        !           646: clrtab = '\E:';
        !           647: setmrg = '\E,';
        !           648: sethom = '\E.';
        !           649: coltab = '\E\E[B';
        !           650: colbak = '\E\E[A';
        !           651: indent = '\E\E[C';
        !           652: undent = '\E\E[D';
        !           653: }    # end of vt100, etc.
        !           654: 
        !           655: sun  {
        !           656:     enter = '^m';
        !           657:     clear = '^z' | '\E[222z';
        !           658: 
        !           659:     nl = '^j';
        !           660:     tab = '^i';
        !           661:     btab = '^b' | '\E[195z' | '\E[216z';
        !           662:     left = '^h' | '\E[D' | '\EOD';
        !           663:     right = '^l' | '\E[C' | '\EOC';
        !           664:     up = '^k' | '\E[A' | '\EOA';
        !           665:     down = '\E[B' | '\EOB';
        !           666:     home = '\E[218z';
        !           667: 
        !           668:     delete = '^d' | '^?';
        !           669:     eeof = '^e' | '\E[214z';
        !           670:     einp = '^w' | '\E[213z';
        !           671:     insrt = '\E ' | '\E[220z';
        !           672:     dp = '^u';
        !           673:     fm = '^y';
        !           674: 
        !           675:     # pf keys
        !           676:     pfk1 = '\E[224z' | '\E1'; pfk2 = '\E[225z' | '\E2';
        !           677:     pfk3 = '\E[226z' | '\E3'; pfk4 = '\E[227z' | '\E4';
        !           678:     pfk5 = '\E[228z' | '\E5'; pfk6 = '\E[229z' | '\E6';
        !           679:     pfk7 = '\E[230z' | '\E7'; pfk8 = '\E[231z' | '\E8';
        !           680:     pfk9 = '\E[232z' | '\E9'; pfk10 = '\E[208z' | '\E0';
        !           681:     pfk11 = '\E[209z' | '\E-'; pfk12 = '\E[210z' | '\E=';
        !           682:     pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16';
        !           683:     pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20';
        !           684:     pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24';
        !           685: 
        !           686:     # program attention keys
        !           687:     pa1 = '^p1' | '\E[211z';
        !           688:     pa2 = '^p2' | '\E[212z';
        !           689:     pa3 = '^p3';
        !           690: 
        !           691:     # other keys
        !           692:     cursel = '\E.';
        !           693:     centsign = '^\';
        !           694: 
        !           695:     # local control keys
        !           696: 
        !           697:     reset = '^t';      # well, there is a little confusion here...
        !           698:     master_reset = '^g';
        !           699:     flinp = '^x';
        !           700:     reshow = '^v';     # redisplay screen
        !           701:     escape = '^c';     # escape to telnet command mode
        !           702: 
        !           703:     # local editing keys
        !           704:     settab = '\E;';
        !           705:     clrtab = '\E+';
        !           706:     setmrg = '\E(';
        !           707:     sethom = '\E!';
        !           708:     coltab = '\Ei';
        !           709:     colbak = '\Eb';
        !           710:     indent = '\El';
        !           711:     undent = '\Eh';
        !           712: } # end of sun
        !           713: #
        !           714: # Works with /usr/ucb/tn3270 except tn3270pc which requires /usr/new/tn3270.
        !           715: #
        !           716: msk22714 | mskermit22714 | msk227 | mskermit227 {
        !           717: #
        !           718: # 9-5-86 gts
        !           719: # MS-Kermit UCB 227.14 to Unix then tn3270 to CMS.
        !           720: # Includes underlying ADM3A keystrokes for full S/1 compatibiliy.
        !           721: # Attempts to work for both "do unix" and "do cms" keyboards.  Differences are
        !           722: # marked with (C) for CMS only or (U) for Unix only.  Incidental effects are
        !           723: # enclosed in square brackets [].
        !           724: # New functions WERASE Ctrl-\  and FERASE Ctrl-_.
        !           725: 
        !           726:     enter = '^m';                                      # <--'
        !           727:     clear = '^z';                                      # keypad + (C)
        !           728: 
        !           729:     nl    = '^n';                                      # keypad End (C)
        !           730:     tab   = '^i';                                      # --->|
        !           731:     btab  = '^b'  | '\E^I';                            # |<--- (C|U)
        !           732:     left  = '^h';                                      # keypad Left
        !           733:     right = '^l';                                      # keypad Right
        !           734:     up    = '^k';                                      # keypad Up
        !           735:     down  = '^j'  | '\EB';                             # keypad Down (U|C)
        !           736:                                                        # [ keypad End (U) ]
        !           737:     home  = '^^'  | '^@';                              # keypad Home (U|C)
        !           738:     dp    = '^u'  | '^a';                              # [ keypad PgUp (U) ]
        !           739:     fm    = '^y';
        !           740: 
        !           741:     delete = '^d' | '^?';                              # keypad Del
        !           742:                                                        # [ keypad PgDn (U) ]
        !           743:     eeof   = '^e';
        !           744:     einp   = '^w';                                     # keypad - (C)
        !           745:     insrt  = '\E ' | '\Ei';                            # keypad Ins (C|U)
        !           746: 
        !           747:     # pf keys IBM PC/XT/AT and ADM3A Esc d
        !           748:     pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; pfk5 = '\E5';
        !           749:     pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; pfk9 = '\E9'; pfk10= '\E0';
        !           750:     # pf keys IBM PC/XT/AT Shift and ADM3A Ctrl-F nn
        !           751:     pfk11='^f11'; pfk12='^f12'; pfk13='^f13'; pfk14='^f14'; pfk15='^f15';
        !           752:     pfk16='^f16'; pfk17='^f17'; pfk18='^f18'; pfk19='^f19'; pfk20='^f20';
        !           753:     # pf keys IBM PC/XT/AT Ctrl- and ADM3A Ctrl-F nn
        !           754:     pfk21='^f21'; pfk22='^f22'; pfk23='^f23'; pfk24='^f24'; pfk25='^f25';
        !           755:     pfk26='^f26'; pfk27='^f27'; pfk28='^f28'; pfk29='^f29'; pfk30='^f30';
        !           756:     # pf keys IBM PC/XT/AT Ctrl-Shift- and ADM3A Ctrl-F nn
        !           757:     pfk31='^f31'; pfk32='^f32'; pfk33='^f33'; pfk34='^f34'; pfk35='^f35';
        !           758:     pfk36='^f36';
        !           759:     # pf keys IBM PC/XT/AT Alt-1 to Alt-= (generated as, Esc d, ^F 11, ^F 12)
        !           760:     # pf keys ADM3A Esc d           (d = 1 to 0 interpreted as above)
        !           761:     pfk11 = '\E-'; pfk12 = '\E=';
        !           762: 
        !           763:     # program attention keys (same as ADM3A)
        !           764:     pa1 = '^p1';                                       # Alt-F1
        !           765:     pa2 = '^p2';                                       # Alt-F2
        !           766:     pa3 = '^p3';                                       # Alt-F3
        !           767:    #pa4 = '^p4';                                       # Alt-F3
        !           768:    #testreq = '^pr' | '^pR';                           # Alt-F5
        !           769: 
        !           770:     # other keys
        !           771:     cursel = '\E.';
        !           772:     werase = '^\';
        !           773:     ferase = '^_';
        !           774: 
        !           775:     # local control keys
        !           776:     master_reset = '^g';
        !           777:     reset  = '^r'  | '^t';
        !           778:     flinp  = '^x';
        !           779:     reshow = '^v';
        !           780:     escape = '^c';                                     # escape to telnet
        !           781: 
        !           782:     # local editing keys
        !           783:     settab = '\E;';
        !           784:     deltab = '\E\'';
        !           785:     clrtab = '\E:' | '\E+';
        !           786:     setmrg = '\E(';
        !           787:     sethom = '\E!';
        !           788:     coltab = '\EI';
        !           789:    #coltab = '\Ei' | '\EI';                            # cannot use Esc i
        !           790:     colbak = '\Eb';                                    # on S/1 \EB is down
        !           791:    #colbak = '\Eb' | '\EB';                            # cannot use Esc B
        !           792:     indent = '\El' | '\EL';
        !           793:     undent = '\Eh' | '\EH';                            # on S/1 \EH is Home
        !           794: 
        !           795: } # end of msk22714
        !           796: #
        !           797: ansisys | ansisysk | nansisys | nansisysk {
        !           798: #
        !           799: # 9-5-86 gts
        !           800: # IBM PC/XT/AT using the ansi.sys | ansi.sysk | nansi.sys | nansi.sysk termcaps.
        !           801: #
        !           802: # PROBLEM: cannot use periods in termcap name until mset fixed (gts 9-5-86).
        !           803: #
        !           804: # PROBLEM: cannot use eval `mset ...` until Unix csh changed to allow more
        !           805: # than 1024 characters in an environment string or until mset changed to
        !           806: # return only the filename if the resulting string is longer than 1024.
        !           807: #
        !           808: # PROBLEM when NUL (^@) immediately follows a Return:  Unix telent apparently
        !           809: # ignores the NUL!  (Can tn3270 negotiate a different newline?)
        !           810: #
        !           811: # Nearly identical to the map3270 for the IBM PC TN3270, which itself is nearly
        !           812: # identical to the MS-Kermit UCB 227.14 keyboard which in turn was a  modest
        !           813: # improvement of the BIJOU Yterm keyboard.  See HELP TN3270PC on CMS.
        !           814: # Includes the underlying ADM3A keystrokes for full S/1 compatibility.
        !           815: # Adds some Ctrl-keypad keys to compensate for TN3270 ROMBIOS dependency
        !           816: # which prevents separate use of the keypad plus and minus keys.
        !           817: # Adds new functions WERASE and FERASE.
        !           818: #
        !           819: 
        !           820:     enter = '^m';                                      # <--'
        !           821:     clear = '^z' | '^@w';                              # Ctrl-Home
        !           822: 
        !           823:     nl    = '^n'  | '^@O';                             # keypad End
        !           824:     tab   = '^i';                                      # --->|
        !           825:     btab  = '^b'  | '^@^O';                            # |<---
        !           826:     left  = '^h'  | '^@K';                             # keypad Left
        !           827:     right = '^l'  | '^@M';                             # keypad Right
        !           828:     up    = '^k'  | '^@H';                             # keypad Up
        !           829:     down  = '^j'  | '^@P';                             # keypad Down
        !           830:     home  = '^^'  | '^@G';                             # keypad Home
        !           831:                                                        # (cannot use Ctrl-@)
        !           832:     dp    = '^u';
        !           833:     fm    = '^y';
        !           834: 
        !           835:     delete = '^d'  | '^?'  | '^@S';                    # keypad Del
        !           836:     eeof   = '^e'  | '^@u';                            # keypad Ctrl-End
        !           837:     einp   = '^w';
        !           838:     insrt  = '\E ' | '^@R' | '\E\Ei';                  # keypad Ins
        !           839: 
        !           840:     # pf keys IBM PC/XT/AT
        !           841:     pfk1 = '^@;'; pfk2 = '^@<'; pfk3 = '^@='; pfk4 = '^@>'; pfk5 = '^@?';
        !           842:     pfk6 = '^@@'; pfk7 = '^@A'; pfk8 = '^@B'; pfk9 = '^@C'; pfk10= '^@D';
        !           843:     # pf keys IBM PC/XT/AT Shift
        !           844:     pfk11 = '^@T'; pfk12 = '^@U'; pfk13 = '^@V'; pfk14 = '^@W';  pfk15 = '^@X';
        !           845:     pfk16 = '^@Y'; pfk17 = '^@Z'; pfk18 = '^@['; pfk19 = '^@\\'; pfk20 = '^@]';
        !           846:     # pf keys IBM PC/XT/AT Ctrl-
        !           847:     pfk21 = '^@\^';pfk22 = '^@_'; pfk23 = '^@`'; pfk24 = '^@a';  pfk25 = '^@b';
        !           848:     pfk26 = '^@c'; pfk27 = '^@d'; pfk28 = '^@e'; pfk29 = '^@\f'; pfk30 = '^@g';
        !           849:     # pf keys IBM PC/XT/AT Ctrl-Shift-   (cannot be done yet with  PC tn3270)
        !           850:     # pf keys IBM PC/XT/AT Alt-d
        !           851:     pfk1 = '^@x'; pfk2 = '^@y'; pfk3 = '^@z'; pfk4 = '^@{'; pfk5 = '^@|';
        !           852:     pfk6 = '^@}'; pfk7 = '^@~'; pfk8 = '^@^?';pfk9 = '^@^@';pfk10= '^@^A';
        !           853:     pfk11='^@^B'; pfk12= '^@^C';
        !           854: 
        !           855:     # pf keys ADM3A Esc d
        !           856:     pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; pfk5 = '\E5';
        !           857:     pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; pfk9 = '\E9'; pfk10= '\E0';
        !           858:     pfk11 = '\E-'; pfk12 = '\E=';
        !           859:     # pf keys ADM3A Ctrl-F n n
        !           860:     pfk1 = '^f01'; pfk2 = '^f02'; pfk3 = '^f03'; pfk4 = '^f04'; pfk5= '^f05';
        !           861:     pfk6 = '^f06'; pfk7 = '^f07'; pfk8 = '^f08'; pfk9 = '^f09'; pfk10= '^f10';
        !           862:     pfk11= '^f11'; pfk12= '^f12'; pfk13= '^f13'; pfk14= '^f14'; pfk15= '^f15';
        !           863:     pfk16= '^f16'; pfk17= '^f17'; pfk18= '^f18'; pfk19= '^f19'; pfk20= '^f20';
        !           864:     pfk21= '^f21'; pfk22= '^f22'; pfk23= '^f23'; pfk24= '^f24'; pfk25= '^f25';
        !           865:     pfk26= '^f26'; pfk27= '^f27'; pfk28= '^f28'; pfk29= '^f29'; pfk30= '^f30';
        !           866:     pfk31= '^f31'; pfk32= '^f32'; pfk33= '^f33'; pfk34= '^f34'; pfk35= '^f35';
        !           867:     pfk36= '^f36';
        !           868: 
        !           869:     # program attention keys
        !           870:     pa1 = '^p1' | '^@h';                               # Alt-F1
        !           871:     pa2 = '^p2' | '^@i';                               # Alt-F2
        !           872:     pa3 = '^p3' | '^@j';                               # Alt-F3
        !           873:    #pa4 = '^p4' | '^@k';                               # Alt-F4
        !           874:    #testreq = '^pr' | '^pR' | '^@l'                    # Alt-F5
        !           875: 
        !           876:     # other keys
        !           877:     cursel = '\E.';
        !           878:     werase = '^\';
        !           879:     ferase = '^_';
        !           880:     pfk7 = '^@I'    | '\E^U';                          # keypad PgUp
        !           881:     pfk8 = '^@Q'    | '\E^D';                          # keypad PgDn
        !           882: 
        !           883:     # local control keys
        !           884:     reset  = '^r' | '^t';
        !           885:     master_reset = '^g';
        !           886:     flinp  = '^x';
        !           887:     reshow = '^v';
        !           888:     escape = '^c';             # escape to TN3270 command prompt
        !           889: 
        !           890:     # local editing keys
        !           891:     settab = '\E;';
        !           892:     deltab = '\E\'';
        !           893:     clrtab = '\E:' | '\E+';
        !           894:     setmrg = '\E(';
        !           895:     sethom = '\E!';
        !           896:     coltab = '\Ei' | '\EI';
        !           897:     colbak = '\Eb' | '\EB';            # on S/1 \EB is down
        !           898:     indent = '\El' | '\EL';
        !           899:     undent = '\Eh' | '\EH';            # on S/1 \EH is Home
        !           900: 
        !           901: } # end of ansi.sys
        !           902: #
        !           903: tn3270pc | ibm-3278-2 {
        !           904: #
        !           905: # 2-14-87 gts
        !           906: #
        !           907: # MAP3270 for the IBM PC logged into Unix with PC TN3270 with TERM=nansisys,
        !           908: # nansisysk, ansisys or ansisysk, hence requires KETBD=tn3270pc.
        !           909: #
        !           910: # MAP3270 for the IBM PC
        !           911: # Nearly identical to the MS-Kermit UCB 227.14 keyboard which in turn was
        !           912: # an modest improvement of the BIJOU Yterm keyboard.
        !           913: # Includes underlying ADM3A keystrokes for full S/1 compatibiliy.
        !           914: # Adds some Ctrl-keypad keys to compensate for TN3270 ROMBIOS dependency
        !           915: # which prevents separate use of the keypad plus and minus keys, and adds
        !           916: # new functions WERASE, FERASE, WORDTAB, WORDBACKTAB, WORDEND and FIELDEND.
        !           917: # Where possible these extensions are compatible with IBM PC keystroke usage
        !           918: # (see XT technical reference manual Keyboard Usage Guidelines).
        !           919: # Includes F11 and F12 keys from the new IBM PC/XT/AT keyboard.
        !           920: #
        !           921: 
        !           922:     centsign = '\Ec' | '\EC';                          # CentSign for input
        !           923:     enter = '^m';                                      # <--'
        !           924:     clear = '^z' | '^Aw';                              # Ctrl-Home
        !           925: 
        !           926:     nl    = '^n'  | '^AO';                             # keypad End
        !           927:     tab   = '^i';                                      # --->|
        !           928:     btab  = '^b'  | '\E^I' | '^A^O';                   # |<---
        !           929:     left  = '^h'  | '^AK';                             # keypad Left
        !           930:     right = '^l'  | '^AM';                             # keypad Right
        !           931:     up    = '^k'  | '^AH';                             # keypad Up
        !           932:     down  = '^j'  | '^AP';                             # keypad Down
        !           933:     home  = '^^'  | '^AG'  | '^@';                     # keypad Home
        !           934:     dp    = '^u';
        !           935:     fm    = '^y';
        !           936: 
        !           937:     delete = '^d' | '^AS';                             # keypad Del
        !           938:     eeof = '^e'  | '^Au';                              # keypad End
        !           939:     einp = '^w';
        !           940:     insrt = '\E ' | '^AR';                             # keypad Ins
        !           941: 
        !           942:     # pf keys IBM PC/XT/AT
        !           943:     pfk1 = '^A;'; pfk2 = '^A<'; pfk3 = '^A='; pfk4 = '^A>'; pfk5 = '^A?';
        !           944:     pfk6 = '^A@'; pfk7 = '^AA'; pfk8 = '^AB'; pfk9 = '^AC'; pfk10= '^AD';
        !           945:     # pf keys IBM PC/XT/AT Shift
        !           946:     pfk11 = '^AT'; pfk12 = '^AU'; pfk13 = '^AV'; pfk14 = '^AW';  pfk15 = '^AX';
        !           947:     pfk16 = '^AY'; pfk17 = '^AZ'; pfk18 = '^A['; pfk19 = '^A\\'; pfk20 = '^A]';
        !           948:     # pf keys IBM PC/XT/AT Ctrl-
        !           949:     pfk21 = '^A\^';pfk22 = '^A_'; pfk23 = '^A`'; pfk24 = '^Aa'; pfk25 = '^Ab';
        !           950:     pfk26 = '^Ac'; pfk27 = '^Ad'; pfk28 = '^Ae'; pfk29 = '^Af'; pfk30 = '^Ag';
        !           951:     # pf keys IBM PC/XT/AT Alt-d
        !           952:     pfk1 = '^Ax'; pfk2 = '^Ay'; pfk3 = '^Az'; pfk4 = '^A{'; pfk5 = '^A|';
        !           953:     pfk6 = '^A}'; pfk7 = '^A~'; pfk8 = '^A^?';pfk9 = '^A^A^@';pfk10= '^A^A^A';
        !           954:     pfk11='^A^A^b'; pfk12= '^A^A^c';
        !           955:     # pf keys NEW IBM PC/XT/AT Keyboard
        !           956:     pfk11='^A^A^e'; pfk12= '^A^A^f';
        !           957: 
        !           958:     # pf keys ADM3A Esc d
        !           959:     pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; pfk5 = '\E5';
        !           960:     pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; pfk9 = '\E9'; pfk10= '\E0';
        !           961:     pfk11 = '\E-'; pfk12 = '\E=';
        !           962:     # pf keys ADM3A Ctrl-F n n
        !           963:     pfk1 = '^f01'; pfk2 = '^f02'; pfk3 = '^f03'; pfk4 = '^f04'; pfk5= '^f05';
        !           964:     pfk6 = '^f06'; pfk7 = '^f07'; pfk8 = '^f08'; pfk9 = '^f09'; pfk10= '^f10';
        !           965:     pfk11= '^f11'; pfk12= '^f12'; pfk13= '^f13'; pfk14= '^f14'; pfk15= '^f15';
        !           966:     pfk16= '^f16'; pfk17= '^f17'; pfk18= '^f18'; pfk19= '^f19'; pfk20= '^f20';
        !           967:     pfk21= '^f21'; pfk22= '^f22'; pfk23= '^f23'; pfk24= '^f24'; pfk25= '^f25';
        !           968:     pfk26= '^f26'; pfk27= '^f27'; pfk28= '^f28'; pfk29= '^f29'; pfk30= '^f30';
        !           969:     pfk31= '^f31'; pfk32= '^f32'; pfk33= '^f33'; pfk34= '^f34'; pfk35= '^f35';
        !           970:     pfk36= '^f36';
        !           971: 
        !           972:     # program attention keys
        !           973:     pa1 = '^p1' | '^Ah';                               # Alt-F1
        !           974:     pa2 = '^p2' | '^Ai';                               # Alt-F2
        !           975:     pa3 = '^p3' | '^Aj';                               # Alt-F3
        !           976:     treq = '^pr' | '^pR' | '^Al';                      # Alt-F5
        !           977: 
        !           978:     # other keys
        !           979:     cursel = '\E.';
        !           980:     werase = '^\';
        !           981:     ferase = '^_';
        !           982:     wordtab = '^At';                                   # Ctrl-Right
        !           983:     wordbacktab = '^As';                               # Ctrl-Left
        !           984:     wordend = '^A^A^d';                                        # Ctrl-PgUp
        !           985:     fieldend = '^Av';                                  # Ctrl-PgDn
        !           986:     pfk7 = '^AI';                                      # keypad PgUp
        !           987:     pfk8 = '^AQ';                                      # keypad PgDn
        !           988: 
        !           989:     # local control keys
        !           990:     reset  = '^r' | '^t';
        !           991:     master_reset = '^g';
        !           992:     flinp  = '^x';
        !           993:     reshow = '^v';
        !           994:     escape = '^c';                                     # to command prompt
        !           995:     disc   = '^pS1D';                                  # disconnect (suspend)?
        !           996:     sync   = '^pS1S';                                  # in sync with user?
        !           997: 
        !           998:     # local editing keys
        !           999:     settab = '\E;';
        !          1000:     deltab = '\E\'';
        !          1001:     clrtab = '\E:' | '\E+';
        !          1002:     setmrg = '\E(';
        !          1003:     sethom = '\E!';
        !          1004:     coltab = '\Ei' | '\EI';
        !          1005:     colbak = '\Eb' | '\EB';                            # on S/1 \EB is down
        !          1006:     indent = '\El' | '\EL';
        !          1007:     undent = '\Eh' | '\EH';                            # on S/1 \EH is Home
        !          1008: 
        !          1009: } # end of tn3270pc

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.