|
|
1.1 root 1: # # --------------------------------
2: # @(#)hp 1.7 5/20/82
3: #
4: # hp: HEWLETT PACKARD
5: #
6: # Note: no "home" on HP's since that homes to top of memory, not screen.
7: # Due to severe 2621 braindamage, the only way to get the arrow keys to
8: # transmit anything at all is to turn on the function key labels
9: # (f1-f8) with smkx, and even then the poor user has to hold down shift!
10: # The default 2621 turns off the labels except when it has to to enable
11: # the function keys. If your installation prefers labels on all the time,
12: # or off all the time (at the "expense" of the function keys) move the
13: # 2621-nl or 2621-wl labels to the front using reorder.
14: # Note: there are newer ROM's for 2621's that allow you to set strap A
15: # so the regular arrow keys xmit \EA, etc, as with the 2645. However,
16: # even with this strap set, the terminal stops xmitting if you reset it,
17: # until you unset and reset the strap! Since there is no way to set/unset
18: # the strap with an escape sequence, we don't use it in the default.
19: # If you like, you can use 2621-ba (braindamaged arrow keys).
20: hp2621-ba|2621-ba|2621 w/new rom and strap A set,
21: smkx@, rmkx@,
22: kcuu1=\EA, kcud1=\EB, kcub1=\ED, kcuf1=\EC, khome=\Eh, use=hp2621,
23: # 2621 with labels on all the time - normal outside vi, function inside vi.
24: hp2621-wl|2621-wl|hp 2621 w/labels,
25: is2=\E&jA\r, rmkx=\E&jA, use=hp2621-fl,
26: # 2621 with function labels. Most of the time they are off,
27: # but inside vi, the function key labels appear. You have to
28: # hold down shift to get them to xmit.
29: hp2621-fl|2621|hp2621|hp2621a|hp2621p|2621a|2621p|2621-fl|2621A|2621P|hp 2621,
30: is2=\E&j@\r, cbt=\Ei, cup=\E&a%p2%dc%p1%dY,
31: dch1=\EP$<2>, ip=$<2>, pb#19200,
32: smso=\E&dD, rmso=\E&d@, smul=\E&dD, rmul=\E&d@, sgr0=\E&d@, xhp@,
33: khome=\Ep\r, kcuu1=\Et\r, kcub1=\Eu\r, kcuf1=\Ev\r, kcud1=\Ew\r,
34: kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r,
35: kf7=\Ev\r, kf8=\Ew\r, smkx=\E&jB, rmkx=\E&j@, ht=^I$<2>, xon, use=hp,
36: # 2621k45: untested
37: 2621k45|hp2621k45|k45|hp 2621 with 45 keyboard,
38: kbs=^H, kcuu1=\EA, kcud1=\EB, kcub1=\ED, kcuf1=\EC, khome=\Eh,
39: smkx=\E&s1A, rmkx=\E&s0A, use=2621,
40: # This terminal should be used at 4800 baud or less. It needs padding for
41: # plain characters at 9600, I guessed at an appropriate cr delay.
42: # It really wants ^E/^F handshaking, but that doesn't work well even if
43: # you write software to support it.
44: 2645|hp2645|hp45|hp 264x series,
45: dim=\E&dH, rev=\E&dB, smul=\E&dD, blink=\E&dA, sgr0=\E&d@,
46: sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c,
47: kcuu1=\EA, kcud1=\EB, kcub1=\ED, kcuf1=\EC, khome=\Eh,
48: smkx=\E&s1A, rmkx=\E&s0A, knp=\EU, kpp=\EV, kri=\ET, kind=\ES,
49: kil1=\EL, kdl1=\EM, kich1=\EQ, kdch1=\EP,
50: kel=\EK, ked=\EJ, krmir=\ER, pb#9600, cr=^M$<20>, use=hp,
51: hp|hewlett-packard,
52: tbc=\E3, hts=\E1, cr=^M, cud1=^J, ind=^J, bel=^G, il1=\EL, am, cub1=^H,
53: ed=\EJ, el=\EK, hpa=\E&a%p1%dC, clear=\EH\EJ,
54: cup=\E&a%p2%dc%p1%dY$<6>, cols#80, vpa=\E&a%p1%dY, lm#0, da, db,
55: dch1=\EP, dl1=\EM, rmir=\ER, smir=\EQ, kbs=^H, lines#24, mir,
56: cuf1=\EC, ht=^I, rmso=\E&d@, smso=\E&dJ,
57: smul=\E&dD, rmul=\E&d@, cuu1=\EA, xhp, vt#6,
58: hp-0|hewlett-packard for testing of curses and the like,
59: cr=^M, cud1=^J, ind=^J, bel=^G, am, cuf1=\EC,
60: cub1=^H, clear=\EH\EJ, home=\E&a0c0Y, cols#80, lines#24,
61: hp-1,
62: ht=^I, cuu1=\EA, use=hp-0,
63: hp-2,
64: cup=\E&a%p2%dc%p1%dY$<6>, use=hp-1,
65: hp-3,
66: ed=\EJ, el=\EK, use=hp-2,
67: # This entry does not use any of the fancy windowing stuff of the 2626.
68: # Indeed, terminfo does not yet handle such stuff. Since changing any window
69: # clears memory, it is probably not possible to use this for screen opt.
70: # ed is incredibly slow most of the time - I am guessing at the exact padding.
71: # Since the terminal uses xoff/xon this is intended only for cost computation,
72: # so that the terminal will prefer el or even dl1 which is probably faster!
73: hp2626|hp2626a|hp2626p|2626|2626a|2626p|2626A|2626P|hp 2626,
74: dch1=\EP$<2>, ip=$<2>, rmso=\E&d@, smso=\E&dB, ed=\EJ$<500>,
75: rev=\E&dB, smul=\E&dD, blink=\E&dA, invis=\E&dS, sgr0=\E&d@,
76: rmul=\E&d@,
77: sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c,
78: khome=\Eh, kcuu1=\EA, kcub1=\ED, kcuf1=\EC, kcud1=\EB,
79: smkx=\E&s1A, rmkx=\E&s0A, knp=\EU, kpp=\EV, kri=\ET,
80: kind=\ES, kil1=\EL, kdl1=\EM, kich1=\EQ, kdch1=\EP,
81: kel=\EK, ked=\EJ, krmir=\ER,
82: ind=\ES, ht=^I$<2>, xhp, use=2621,
83: # This entry is for sysline. It allocates a 23 line window with a 115 line
84: # workspace for regular use, and a 1 line window for the status line.
85: # This assumes port 2 is being used.
86: # Turn off horizontal line, Create ws #1 with 115 lines,
87: # Create ws #2 with 1 line, Create window #1 lines 1-23,
88: # Create window #2 lines 24-24, Attach cursor to workspace #1.
89: # Note that this clears the tabs so it must be done by tset before
90: # it sets the tabs.
91: 2626-23|hp 2626 using only 23 lines,
92: tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC,
93: fsl=\E&d@\E&w7f2p1I\E&w4f1I, eslok, hs,
94: is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I
95: \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,
96: lines#23, use=2626,
97: # Force terminal back to 24 lines after being 23.
98: 2626-24|hp 2626 using all 24 lines,
99: is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I
100: \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r,
101: use=2626,
102: # Various entries useful for small windows on 2626.
103: 2626-12,
104: lines#12, use=2626,
105: 2626-12x40,
106: cols#40, lines#12, use=2626,
107: 2626-x40,
108: cols#40, use=2626,
109: 2626-11,
110: lines#11, use=2626-23,
111: # cD is a pain - but it only screws up at 9600 baud.
112: # You should use this terminal at 4800 baud or less.
113: hp2648|hp2648a|2648a|2648A|2648|HP 2648a graphics terminal,
114: clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,
115: dch1=\EP$<7>, ip=$<5>, use=2645,
116: # 2640a doesn't have the Y cursor addressing feature, and C is memory relative
117: # instead of screen relative, as we need.
118: 2640|hp2640a|2640a|hp 2640a,
119: cup@, smkx@, rmkx@, use=2645,
120: 2640b|hp2640b|2644a|hp2644a|hp 264x series,
121: smkx@, rmkx@, use=2645,
122: # 2621 using all 48 lines of memory, only 24 visible at any time. Untested.
123: 2621-48|48 line 2621,
124: lines#48, home=\EH, cup=\E&a%p2%dc%p1%dR, use=2621,
125: # 2621 with no labels ever. Also prevents vi delays on escape.
126: hp2621-nl|2621-nl|hp 2621 with no labels,
127: smkx@, rmkx@, khome@, kcuu1@, kcub1@, kcuf1@, kcud1@, use=hp2621-fl,
128: # Needed for UCB ARPAVAX console, since lsi-11 expands tabs (wrong).
129: hp2621-nt|2621-nt|hp 2621 w/no tabs,
130: ht@, use=hp2621,
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.