[comp.windows.x] /etc/map3270 for xterm and a Sun type-4 keyboard

usenet@cps3xx.UUCP (Usenet file owner) (08/30/89)

Does anybody have an /etc/map3270 file, used for tn3270, with an entry
for xterm and a Sun type-4 keyboard?  Thanks.


Alan Cabrera
Computer Laboratory

martin@citi.umich.edu (Martin Friedmann) (09/01/89)

In article <4366@cps3xx.UUCP> usenet@cps3xx.UUCP (Usenet file owner) writes:

   Does anybody have an /etc/map3270 file, used for tn3270, with an entry
   for xterm and a Sun type-4 keyboard?  Thanks.


But...  I don't trust his address from my host...
So here it goes.  I don't know if this is what you need, but it may work.

vs|xterm|vs100|xterm terminal emulator X window system {
    enter = '^m';
    clear = '^z' | '\E[96~';

    home = '\EH' | '\E[100~' ;
    nl = '^n' | '\E[95~';
    tab = '^i';
    btab = '^b';
    left  = '^h' | '\E[102~' ;
    right = '^l' | '\E[104~' ;
    up    = '^k' | '\E[103~' ;
    down  = '^j' | '\E[105~' ;

    delete = '^d' | '^?';
    eeof = '^e' | '\E[99~';
    # einp = '^w';
    werase = '^w';
    ferase = '^u';
    insrt = '\E[101~' ;

    # pf keys
    pfk1 = '\E[11~';
    pfk2 = '\E[12~';
    pfk3 = '\E[13~';
    pfk4 = '\E[14~';
    pfk5 = '\E[15~';
    pfk6 = '\E[17~';
    pfk7 = '\E[18~';
    pfk8 = '\E[19~';
    pfk9 = '\E[20~';
    pfk10 = '\E[21~';
    pfk11 = '\E[23~';
    pfk12 = '\E[24~';

    pfk13 = '\E[31~';
    pfk14 = '\E[32~';
    pfk15 = '\E[33~';
    pfk16 = '\E[34~';
    pfk17 = '\E[35~';
    pfk18 = '\E[37~';
    pfk19 = '\E[38~';
    pfk20 = '\E[39~';
    pfk21 = '\E[40~';
    pfk22 = '\E[41~';
    pfk23 = '\E[43~';
    pfk24 = '\E[44~';

    # program attention keys
    pa1 = '^p1' | '\E[97~';
    pa2 = '^p2' | '\E[98~';
    pa3 = '^p3';

    # other keys

    # 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;';
    clrtab = '\E+';
    setmrg = '\E(';
    sethom = '\E!';
    coltab = '\Ei';
    colbak = '\Eb';
    indent = '\El';
    undent = '\Eh';
}

--

Marty.