home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
bsd
/
src
/
termcap
/
termcap-amiga
/
map3270
< prev
next >
Wrap
Text File
|
1993-09-30
|
30KB
|
1,026 lines
# Copyright (c) 1989 The Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
# must display the following acknowledgement:
# This product includes software developed by the University of
# California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# @(#)map3270 5.4 (Berkeley) 4/17/91
#
# This file contains mappings between characters entered from the keyboard,
# and 3270 keys, for use by programs (like tn3270) doing 3270 emulation
# from unix.
#
# Inside the single quotes, a caret ("^") introduces a control character
# sequence (rub out = ^?, by the way). Also inside the single quotes,
# a backslash ('\') introduces an escaped character. Also, \n, \r, \t,
# are all as in C, and \E is another way of representing escape.
#
# NOTE that while we are defining lots of function, much of that
# function (ie: local editing keys) may not yet be available from tn3270.
#
# Please e-mail changes to termcap@berkeley.edu or uunet!ucbvax!termcap.
#
3a | adm3a {
enter = '^m';
clear = '^z';
nl = '^n';
tab = '^i';
btab = '^b' | '\E^i';
left = '^h';
right = '^l';
up = '^k';
down = '^j';
home = '^@';
delete = '^d' | '^?'; # rubout
eeof = '^e';
einp = '^w';
insrt = '\E ';
dp = '^u';
fm = '^y';
# pf keys
pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4';
pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8';
pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E:'; pfk12 = '\E-';
pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16';
pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20';
pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24';
# program attention keys
pa1 = '^p1';
pa2 = '^p2';
pa3 = '^p3';
# other keys
cursel = '\E.';
centsign = '^\';
# local control keys
reset = '^t'; # well, there is a little confusion here...
master_reset = '^g';
flinp = '^x';
reshow = '^v'; # redisplay screen
escape = '^c'; # escape to telnet command mode
# local editing keys
settab = '\E;';
deltab = '\E\'';
clrtab = '\E+';
setmrg = '\E(';
sethom = '\E!';
coltab = '\Ei';
colbak = '\Eb';
indent = '\El';
undent = '\Eh';
} # end of adm3a
920c | tvi920c | 920b { # tvi920c definitions...
# command keys
enter = '^m';
clear = '^z';
# cursor movement keys
nl = '^^' | '^n'; # home
tab = '^i';
btab = '^b' | '\E^i';
left = '^h';
right = '^l';
up = '^k';
down = '^j';
home = '^@';
# edit control keys
delete = '^?' | '^d'; # delete
eeof = '^e';
einp = '^w';
insrt = '\E ';
dp = '^u';
fm = '^y';
# program function keys
# F1 to F11
pfk1 = '^a@^m'; pfk2 = '^aA^m'; pfk3 = '^aB^m'; pfk4 = '^aC^m';
pfk5 = '^aD^m'; pfk6 = '^aE^m'; pfk7 = '^aF^m'; pfk8 = '^aG^m';
pfk9 = '^aH^m'; pfk10 = '^aI^m'; pfk11 = '^aJ^m';
# SHIFT-F11
pfk12 = '^aj^m';
# ESC F1 to ESC F11
pfk11 = '\E^a@^m'; pfk12 = '\E^aA^m';
pfk13 = '\E^aB^m'; pfk14 = '\E^aC^m'; pfk15 = '\E^aD^m'; pfk16 = '\E^aE^m';
pfk17 = '\E^aF^m'; pfk18 = '\E^aG^m'; pfk19 = '\E^aH^m'; pfk20 = '\E^aI^m';
pfk21 = '\E^a`^m';
# ESC SHIFT-F1 to ESC SHIFT-F4
pfk21 = '\E^a`^m'; pfk22 = '\E^aa^m'; pfk23 = '\E^ab^m'; pfk24 = '\E^ac^m';
pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4';
pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8';
pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '\E=';
pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16';
pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20';
pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24';
# program attention keys
pa1 = '^a`^m' | '^p1';
pa2 = '^aa^m' | '^p2';
pa3 = '^ab^m' | '^p3';
# miscellaneous 3270 keys
cursel = '\E.';
centsign = '^\';
# local control keys
reset = '^t'; # there is some confusion here...
master_reset = '^g';
flinp = '^x';
reshow = '^v';
escape = '^c'; # escape to telnet command mode
# local editing keys
settab = '\E;';
deltab = '\E\'';
clrtab = '\E:';
setmrg = '\E*';
sethom = '\E!';
coltab = '\Ei' | '\EI';
colbak = '\Eb' | '\EB';
indent = '\El' | '\EL';
undent = '\Eh' | '\EH';
} # end of tvi920c table...
925 | tvi925 | 925vb | tvi925vb | televideo 925 {
# command keys
enter = '^m';
clear = '^z';
# cursor movement keys
nl = '^j' | '^n';
tab = '^i';
btab = '\EI';
left = '^h';
right = '^l';
up = '^k';
down = '^v';
home = '^^';
# edit control keys
delete = '^?'; # that's rubout...
eeof = '^e';
einp = '^w';
insrt = '\E ' | '\EW';
# program function keys
pfk1 = '^a@^m';
pfk2 = '^aA^m';
pfk3 = '^aB^m';
pfk4 = '^aC^m';
pfk5 = '^aD^m';
pfk6 = '^aE^m';
pfk7 = '^aF^m';
pfk8 = '^aG^m';
pfk9 = '^aH^m';
pfk10 = '^aI^m';
pfk11 = '^aJ^m';
pfk12 = '\EQ';
pfk13 = '\E^a@^m';
pfk14 = '\E^aA^m';
pfk15 = '\E^aB^m';
pfk16 = '\E^aC^m';
pfk17 = '\E^aD^m';
pfk18 = '\E^aE^m';
pfk19 = '\E^aF^m';
pfk20 = '\E^aG^m';
pfk21 = '\E^aH^m';
pfk22 = '\E^aI^m';
pfk23 = '\E^aJ^m';
pfk24 = '\E\EQ';
pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4';
pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8';
pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '\E=';
pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16';
pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20';
pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24';
# program attention keys
pa1 = '^a`^m';
pa2 = '^aa^m';
pa3 = '^ab^m';
# other keys
centsign = '^\';
# local control keys
reset = '^t'; # again, there is some confusion here...
master_reset = '^g';
flinp = '^x';
reshow = '^b';
escape = '^c'; # escape to telnet command mode
# local editing keys
settab = '\EY';
deltab = '\Ey';
clrtab = '\E:';
setmrg = '\ET';
sethom = '\Et';
coltab = '^p';
colbak = '^o';
indent = '\ER';
undent = '\EE';
}
924 | tvi924 {
# command keys
enter = '^m';
clear = '^z';
# cursor movement keys
nl = '^j';
tab = '^i';
btab = '\EI';
left = '^h';
right = '^l';
up = '^k';
down = '^v';
home = '^^';
# edit control keys
delete = '^?'; # that's rubout...
eeof = '^e';
einp = '^w';
insrt = '\E ' | '\EW';
dp = '^u';
fm = '^y';
# program function keys
pfk1