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