Annotation of 43BSDTahoe/etc/termcap/map3270, revision 1.1

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