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 2392|hp2392|hp2392a|HP 2392a Terminal, |
|
28 # |
|
29 # Terminal initialization. |
|
30 # |
|
31 # Make sure that we're in character mode, no auto line feed, disable |
|
32 # system function key labels, and set tab-stops. See "tput init". |
|
33 # |
|
34 is2=\E&k0B\E&k0A\E&j@, |
|
35 if=/usr/lib/tabset/hptabs, |
|
36 |
|
37 .msgr, |
|
38 am, |
|
39 km, |
|
40 da, |
|
41 db, |
|
42 .mir, |
|
43 cols#80, |
|
44 lines#24, |
|
45 lm#0, |
|
46 vt#6, |
|
47 # |
|
48 # Margins. |
|
49 # |
|
50 smgl=\E4, |
|
51 smgr=\E5, |
|
52 mgc=\E9, |
|
53 # |
|
54 # Tabs. |
|
55 # |
|
56 # The use of ht and cbt is not recommend, unless it is possible to guarantee |
|
57 # that tab-stops are set correctly, since there are no hardware tabs. On an |
|
58 # hp2392a terminal if there are no tab-stops, then <tab> behaves like a |
|
59 # <newline>. |
|
60 # |
|
61 .cbt=\Ei, |
|
62 .ht=\t, |
|
63 tbc=\E3, |
|
64 hts=\E1, |
|
65 |
|
66 bel=\a, |
|
67 cr=\r, |
|
68 # |
|
69 # Cursor motion. |
|
70 # |
|
71 # Use screen relative cursor motion; not absolute or memory relative. |
|
72 # |
|
73 hpa=\E&a%p1%dC, |
|
74 vpa=\E&a%p1%dY, |
|
75 smcup=\E&s1A, |
|
76 cup=\E&a%p2%dc%p1%dY, |
|
77 rmcup=\E&s0A, |
|
78 cud1=\EB, |
|
79 cub1=\b, |
|
80 cuf1=\EC, |
|
81 cuu1=\EA, |
|
82 ind=\n, |
|
83 # |
|
84 # home and ll position the cursor at the top and bottom of display memory |
|
85 # rather than just the screen. This means we can't use them. |
|
86 # |
|
87 .home=\Eh, |
|
88 .ll=\EF, |
|
89 # |
|
90 # Edit operations. |
|
91 # |
|
92 clear=\E&a0c0Y\EJ, |
|
93 dch1=\EP, |
|
94 dl1=\EM, |
|
95 el=\EK, |
|
96 ed=\EJ, |
|
97 il1=\EL, |
|
98 smir=\EQ, |
|
99 rmir=\ER, |
|
100 ip=$<2>, |
|
101 # |
|
102 # Attributes. |
|
103 # |
|
104 # Standout = dim inverse |
|
105 # |
|
106 xhp, |
|
107 blink=\E&dA, |
|
108 dim=\E&dH, |
|
109 rev=\E&dB, |
|
110 smso=\E&dJ, |
|
111 smul=\E&dD, |
|
112 rmso=\E&d@, |
|
113 rmul=\E&d@, |
|
114 sgr=\E&d%'@'%?%p1%t%'J'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%c%p9%t^N%e^O%;, |
|
115 sgr0=\E&d@, |
|
116 # |
|
117 # Keys. |
|
118 # |
|
119 # NOTE if the user changes the function key transmit sequences on the |
|
120 # terminal from the default values expected for kf1 to kf8 (see below), |
|
121 # then the function keys will never be recognised and mapped to their |
|
122 # respective KEY_F(1) to KEY_F(8) constants in Curses (and Vi). |
|
123 # |
|
124 kbs=\b, |
|
125 kcud1=\EB, |
|
126 khome=\Eh, |
|
127 kll=\EF, |
|
128 kcub1=\ED, |
|
129 kcuf1=\EC, |
|
130 kcuu1=\EA, |
|
131 kcbt=\Ei, |
|
132 knp=\EU, |
|
133 kpp=\EV, |
|
134 kdl1=\EM, |
|
135 kdch1=\EP, |
|
136 kil1=\EL, |
|
137 kich1=\EQ, |
|
138 kclr=\EJ, |
|
139 kel=\EK, |
|
140 kf1=\Ep, |
|
141 kf2=\Eq, |
|
142 kf3=\Er, |
|
143 kf4=\Es, |
|
144 kf5=\Et, |
|
145 kf6=\Eu, |
|
146 kf7=\Ev, |
|
147 kf8=\Ew, |
|
148 |
|