xref: /onnv-gate/usr/src/cmd/terminfo/hp.ti (revision 0:68f95e015346)
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) 1984, 1986, 1987, 1988, 1989 AT&T
23#	  All Rights Reserved
24
25
26#ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.21	*/
27# # --------------------------------
28#
29# hp: HEWLETT PACKARD
30#
31# Manufacturer:	HEWLETT PACKARD
32# Class:	I
33#
34# Info:
35#	Generic HP terminal - this should (hopefully) work on any HP
36#	terminal.
37#
38hp|hewlett-packar|hewlettpackard,
39	tbc=\E3, hts=\E1, cr=^M, cud1=^J, ind=^J, bel=^G, il1=\EL, am,
40	cub1=^H, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, clear=\EH\EJ,
41	cup=\E&a%p2%dc%p1%dY$<6>, cols#80, vpa=\E&a%p1%dY, lm#0, da, db,
42	dch1=\EP, dl1=\EM, rmir=\ER, smir=\EQ, kbs=^H, lines#24, mir,
43	cuf1=\EC, ht=^I, rmso=\E&d@, smso=\E&dJ,
44	smul=\E&dD, rmul=\E&d@, cuu1=\EA, xhp, vt#6, kcbt=\Ei,
45
46hp110|hewlett-packard model 110 portable,
47	lines#16,use=hp,
48
49hp+pfk+cr|hp function keys with CR,
50	kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r,
51	kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r,
52
53hp+pfk-cr|hp function keys w/o CR,
54	kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es,
55	kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
56
57# Info:
58#	The 2621's use the same keys for the arrows and function keys,
59#	but not separate escape sequences. These definitions allow the
60#	user to use those keys as arrow keys rather than as function
61#	keys.
62#
63hp+pfk+arrows|hp alternate arrow definitions,
64	khome=\Ep\r, kll=\Eq\r, kind=\Er\r, kri=\Es\r,
65	kcuu1=\Et\r, kcub1=\Eu\r, kcuf1=\Ev\r, kcud1=\Ew\r,
66	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
67
68hp+arrows|hp arrow definitions,
69	kcuu1=\EA, kcud1=\EB, kcub1=\ED, kcuf1=\EC,
70	khome=\Eh, kll=\EF, kind=\ES, kri=\ET,
71
72# Info:
73#	Generic stuff from the HP 262x series
74#
75hp262x,
76	dch1=\EP$<2>, ip=$<2>, rmso=\E&d@, smso=\E&dB, ed=\ED\EJ$<500>\EC,
77	rev=\E&dB, smul=\E&dD, blink=\E&dA, invis=\E&dS, sgr0=\E&d@, rmul=\E&d@,
78	sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c,
79	khome=\Eh, kcuu1=\EA, kcub1=\ED, kcuf1=\EC, kcud1=\EB,
80	smkx=\E&s1A, rmkx=\E&s0A, knp=\EU, kpp=\EV, kri=\ET,
81	kind=\ES, kil1=\EL, kdl1=\EM, kich1=\EQ, kdch1=\EP,
82	kel=\EK, ked=\EJ, krmir=\ER,
83	ind=\ES, ht=^I$<2>, xhp,
84	ed=\EJ,
85# Info:
86#	Note: no "home" on HP's since that homes to top of memory, not
87#	screen.
88#
89#	The only way to get the arrow keys to transmit anything at all
90#	is to turn on the function key labels (f1-f8) with smkx, and
91#	even then the user has to hold down shift!
92#
93#	The default 2621 turns off the labels except when it has to to
94#	enable the function keys. If your installation prefers labels
95#	on all the time, or off all the time (at the "expense" of the
96#	function keys) move the # 2621-nl or 2621-wl labels to the
97#	front using reorder.
98#
99#	Note: there are newer ROM's for 2621's that allow you to set
100#	strap A so the regular arrow keys xmit \EA, etc, as with the
101#	2645. However, even with this strap set, the terminal stops
102#	xmitting if you reset it, until you unset and reset the strap!
103#	Since there is no way to set/unset the strap with an escape
104#	sequence, we don't use it in the default.
105#
106#	If you like, you can use 2621-ba (bad arrow keys).
107#
108hp2621-ba|2621-ba|2621 w/new rom and strap A set,
109	smkx@, rmkx@,
110	use=hp+arrows,
111	use=hp2621,
112
113# Info:
114#	2621 with function labels. Most of the time they are off,
115#	but inside vi, the function key labels appear. You have to
116#	hold down shift to get them to xmit.
117#
118hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels,
119	is2=\E&jA\r, rmkx=\E&jA, use=hp2621-fl,
120
121# Info:
122#	2621 with function labels.  Most of the time they are off,
123#	but inside vi, the function key labels appear.  You have to
124#	hold down shift to get them to xmit.
125#
126hp2621-fl|2621-fl|hp 2621,
127	is2=\E&j@\r, cbt=\Ei, cup=\E&a%p2%dc%p1%dY,
128	dch1=\EP$<2>, ip=$<2>, pb#19200,
129	smso=\E&dD, rmso=\E&d@, smul=\E&dD, rmul=\E&d@, sgr0=\E&d@, xhp@,
130	use=hp+pfk+cr, smkx=\E&jB, rmkx=\E&j@, ht=^I$<2>, xon, use=hp,
131
132# Info:
133#	To use 2621p printer, setenv TERM=2621p, PRINTER=2612p
134#
135hp2621p|2621p|2621P|hp 2621 with printer,
136	mc5=\E&p11C, mc4=\E&p13C, use=hp2621,
137
138hp2621p-a|2621p-a|hp2621p with fn as arrows,
139	use=hp+pfk+arrows, use=hp2621p,
140
141# Info:
142#	hp2621 with k45 keyboard
143#
144hp2621-k45|hp2621k45|2621k45|k45|hp 2621 with 45 keyboard,
145	kbs=^H, kcuu1=\EA, kcud1=\EB, kcub1=\ED, kcuf1=\EC, khome=\Eh,
146	smkx=\E&s1A, rmkx=\E&s0A, use=hp2621,
147
148# Info:
149#	This terminal should be used at 4800 baud or less. It needs
150#	padding for plain characters at 9600, I guessed at an
151#	appropriate cr delay.
152#
153#	It really wants ^E/^F handshaking, but that doesn't work well
154#	even if you write software to support it.
155#
1562645|hp2645|hp45|hp 264x series,
157	dim=\E&dH, rev=\E&dB, smul=\E&dD, blink=\E&dA, sgr0=\E&d@,
158	sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c,
159	kcuu1=\EA, kcud1=\EB, kcub1=\ED, kcuf1=\EC, khome=\Eh,
160	kctab=\E2, khts=\E1,
161	smkx=\E&s1A, rmkx=\E&s0A, knp=\EU, kpp=\EV, kri=\ET, kind=\ES,
162	kil1=\EL, kdl1=\EM, kich1=\EQ, kdch1=\EP,
163	kel=\EK, ked=\EJ, krmir=\ER, pb#9600, cr=^M$<20>, use=hp,
164
165# Info:
166#	Hp 2624 B with 4 or 10 pages of memory.
167#
168#	Some assumptions are made with this entry. These settings are
169#	NOT set up by the initialization strings.
170#
171#	Port Configuration
172#		RecvPace=Xon/Xoff
173#		XmitPace=Xon/Xoff
174#		StripNulDel=Yes
175#
176#	Terminal Configuration
177#		InhHndShk=Yes
178#		InhDC2=Yes
179#		XmitFnctn(A)=No
180#		InhEolWrp=No
181#
182#	Note: the 2624 DOES have a true "home," believe it or not!
183#
184#	The 2624 has an "error line" to which messages can be sent.
185#	This is CLOSE to what is expected for a "status line". However,
186#	after a message is sent to the "error line", the next carriage
187#	return is EATEN and the "error line" is turned back off again!
188#	So I guess we can't define hs, eslok, wsl, dsl, fsl, tsl
189#
190#	This entry supports emacs (and any other program that uses raw
191#	mode) at 4800 baud and less. I couldn't get the padding right
192#	for 9.6.
193#
194
195hp2624|hp2624a|hp2624b|hp2624b-4p|2624-4p|2624|2624a|2624b|Hewlett Packard 2624 B,
196	da, db, lm#96,
197	flash=\E&w13F\200\200\200\200\E&w12F\200\200\200\200\E&w13F\200\200\200\200\E&w12F,
198	use=hp+labels,
199	use=scrhp,
200
201# Info:
202#	These attributes are not set above:
203#
204#	civis, cmdch, cnorm, csr, cub, cud, cuf, cuu, cvvis, dch, dl,
205#	ech, eo, eslok, fsl, gn, hc, hd, hu, hz, ich, ich1, if, il, in,
206#	indn, iprog, is2, is3, it, ka1, ka3, kb2, kc1, kc3, kclr, kf0,
207#	kf10, khts, km, ktbc, lf0, lf1, lf10, lf2, lf3, lf4, lf5, lf6,
208#	lf7, lf8, lf9, mc5p, os, pad, pfkey*, pfloc*, pfx*, prot, rc,
209#	rep, rin, rmcup, rmdc, rmm, rs2, rs3, sc, smcup, smdc, smm, tsl,
210#	uc, ul, vt, wind, wsl, xenl, xmc, xsb, xt
211#
212#	not needed if tset is used:
213#		if=/usr/share/lib/tabset/std,
214#
215#	This 2626 entry does not use any of the fancy windowing stuff
216#	of the 2626.
217#
218#	Indeed, terminfo does not yet handle such stuff. Since changing
219#	any window clears memory, it is probably not possible to use
220#	this for screen opt.
221#
222#	ed is incredibly slow most of the time - I am guessing at the
223#	exact padding. Since the terminal uses xoff/xon this is intended
224#	only for cost computation, so that the terminal will prefer el
225#	or even dl1 which is probably faster!
226#
227#	\ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
228#	extra slow # on the last line of the window.
229#
230#	The padding probably should be changed.
231#
232hp2626|hp2626a|hp2626p|2626|2626a|2626p|2626A|2626P|hp 2626,
233	ed=\ED\EJ$<500>\EC,
234	ip=$<4>,
235	is2=\E&j@\r,
236	pb#19200,
237	da, db, lm#0,
238	indn=\E&r%p1%dD,
239	rin=\E&r%p1%dU,
240	use=hp+pfk+cr,
241	use=hp+labels,
242	use=scrhp,
243
244# Info:
245#	This entry is for sysline. It allocates a 23 line window with
246#	a 115 line workspace for regular use, and a 1 line window for
247#	the status line.
248#
249#	This assumes port 2 is being used.
250#	Turn off horizontal line, Create ws #1 with 115 lines,
251#	Create ws #2 with 1 line, Create window #1 lines 1-23,
252#	Create window #2 lines 24-24, Attach cursor to workspace #1.
253#	Note that this clears the tabs so it must be done by tset before
254#	it sets the tabs.
255#
256hp2626-s|2626-s|hp 2626 using only 23 lines,
257	tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC,
258	fsl=\E&d@\E&w7f2p1I\E&w4f1I, eslok, hs,
259	is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I
260	\E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,
261	lines#23, use=2626,
262# Info:
263#	Force terminal back to 24 lines after being 23.
264#
265hp2626-ns|2626-ns|hp 2626 using all 24 lines,
266	is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I
267	\E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r,
268	use=2626,
269# Info:
270#	Various entries useful for small windows on 2626.
271#
272hp2626-12|2626-12,
273	lines#12, use=2626,
274hp2626-12x40|2626-12x40,
275	cols#40, lines#12, use=2626,
276hp2626-x40|2626-x40,
277	cols#40, use=2626,
278hp2626-12-s|2626-12-s,
279	lines#11, use=2626-s,
280# Info:
281#	You should use this terminal at 4800 baud or less.
282#
283hp2648|hp2648a|2648a|2648A|2648|HP 2648a graphics terminal,
284	clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,
285	dch1=\EP$<7>, ip=$<5>, use=2645,
286
287# Info:
288#	2640a doesn't have the Y cursor addressing feature, and C is
289#	memory relative instead of screen relative, as we need.
290#
2912640|hp2640a|2640a|hp 2640a,
292	cup@, smkx@, rmkx@, use=2645,
293
2942640b|hp2640b|2644a|hp2644a|hp 264x series,
295	smkx@, rmkx@, use=2645,
296
297# Info:
298#	2621 using all 48 lines of memory, only 24 visible at any time.
299#
300hp2621-48|2621-48|48 line 2621,
301	vpa=\E&a%p1%dR, lines#48, home=\EH, cup=\E&a%p2%dc%p1%dR, use=hp2621,
302
303# Info:
304#	2621 with no labels ever. Also prevents vi delays on escape.
305#
306hp2621-nl|2621-nl|hp 2621 with no labels,
307	smkx@, rmkx@, khome@, kcuu1@, kcub1@, kcuf1@, kcud1@, use=hp2621-fl,
308
309# Info:
310#	Needed for UCB ARPAVAX console, since lsi-11 expands tabs
311#	(wrong).
312#
313hp2621-nt|2621-nt|hp 2621 w/no tabs,
314	ht@, use=hp2621,
315
316# Info:
317#	The HP 150 terminal is a fairly vanilla HP terminal, with the
318#	clreol standout problem. It also has graphics capabilities and
319#	a touch screen, which we don't describe here.
320#
321hp150|Hewlett Packard Model 150,
322	use=2622,
323
324# Info:
325#	Hp 2382a terminals, "the little ones." They don't have any
326#	alternate character set support and sending out ^N/^O will
327#	leave the screen blank.
328#
329hp2382a|hp2382|Hewlett Packard 2382a,
330	da, db, lm#48,
331	pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
332	lh#1, use=hp+labels,
333	rmacs@, smacs@, acsc@,
334	sgr0=\E&d@,
335	sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c,
336	use=scrhp,
337
338hp2621-a|hp2621a-a|2621-a|hp2621 with fn as arrows,
339	use=hp+pfk+arrows, use=hp2621-fl,
340
341# Info:
342#	new Hewlett Packard terminals
343#
344#	This entry supports emacs (and any other program that uses raw
345#	mode) at 4800 baud and less. I couldn't get the padding right
346#	for >=9.6.
347#
348
349newhpkeyboard|generic entry for HP extended keyboard,
350	kbs=^H, kcbt=\Ei, kclr=\EJ,
351	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
352	kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK,
353	use=hp+pfk-cr,
354	khome=\Eh, kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF,
355	knp=\EU, kpp=\EV, kri=\ES, krmir=\ER,
356	rmkx=\E&s0A, smkx=\E&s1A,
357
358newhp|generic entry for new Hewlett Packard terminals,
359	am, bw, mir, xhp, xon,
360	cols#80, lines#24, pb#4800,
361	acsc=T1R!U2S"W3O#V4P$t5u6w7v8:'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X:4>q\,x.n/,
362	bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M,
363	cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA,
364#	cub1=\ED, cud1=\EB,
365	dch1=\EP$<2>, dim=\E&dH, dl1=\EM,
366	ed=\EJ, el=\EK, ht=^I$<2>,
367	hts=\E1, il1=\EL, ind=^J, invis=\E&dS, ip=$<2>, is1=\E&jB$<8>,
368#	ind=\ES,
369	nel=^M^J,
370	pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s,
371	pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s,
372	pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s,
373	rev=\E&dB, ri=\ET, rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@,
374	rs1=\Eg,
375	sgr0=\E&d@^O,
376# Info:
377#	sgr is figured out as follows:
378#	    tparm parameters
379#		1=standout, 2=underlining, 3=reverse video, 4=blinking, 5=dim,
380#		6=bold, 7=blank, 8=protection, 9=alternate character set
381#		The protection parameter is ignored.
382#	    combination parameters
383#		standout = reverse + half-intensity = 3 | 5.
384#		bold = reverse + underline = 2 | 3.
385#
386	sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c%?%p9%t^N%e^O%;,
387	smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD,
388	tbc=\E3,
389	use=newhpkeyboard,
390
391memhp|memory relative addressing for new HP ttys,
392	vt#6,
393	clear=\EH\EJ$<40>,
394	cub=\E&a-%p1%dC, cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC, cuu=\E&a-%p1%dR,
395	cup=\E&a%p1%dr%p2%dC, mrcup=\E&a%p1%dr%p2%dC,
396	home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R^M, vpa=\E&a%p1%dR,
397	use=newhp,
398
399scrhp|screen relative addressing for new HP ttys,
400	clear=\E&a0x0Y\EJ$<40>,
401	cub=\E&a-%p1%dC, cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC, cuu=\E&a-%p1%dR,
402	cup=\E&a%p1%dy%p2%dX$<10>, mrcup=\E&a%p1%dr%p2%dC,
403	home=\E&a0y0X, hpa=\E&a%p1%dC, ll=\E&a0y0X\EA, vpa=\E&a%p1%dY,
404	use=newhp,
405
406hp+labels|"standard" label info for new HP ttys,
407	lh#2, lw#8, nlab#8,
408	pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
409	smln=\E&jB,
410
411hp+printer| "standard" printer info for HP ttys,
412	ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C,
413
414
415# Info:
416#	The new hp2621b is kind of a cross between the old 2621 and the
417#	new 262x series of machines. It has dip-switched options.
418#	The firmware has a bug in it such that if you give it a null
419#	length label, the following character is eaten!
420#
421
422hp2621b|2621b|hp 2621b with old style keyboard,
423	lm#48, lh#1, lw#8, nlab#8,
424	pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%' '%c%;%p2%s\E%'o'%p1%+%c\r,
425	smln=\E&jB,
426	khome=\Eh, kll=\EF, kri=\ES, kind=\ET,
427	kcuu1=\EA, kcub1=\ED, kcuf1=\EC, kcud1=\EB,
428	use=hp2621,
429
430hp2621b-p|2621b-p|hp 2621b with printer,
431	use=hp+printer,
432	use=hp2621b,
433
434# Info:
435#	hp2621b - new 2621b's with new extended keyboard
436#	these are closer to the new 26xx series than the other 2621b
437#
438hp2621b-kx|2621b-kx|hp 2621b with extended keyboard,
439	use=newhpkeyboard,
440	use=hp2621b,
441
442hp2621b-kx-p|2621b-kx-p|hp 2621b with new keyboard & printer,
443	use=hp+printer,
444	use=hp2621b-kx,
445
446# Info:
447#	Some assumptions are made in the following entries.
448#	These settings are NOT set up by the initialization strings.
449#
450#    Port Configuration
451#	RecvPace=Xon/Xoff	XmitPace=Xon/Xoff	StripNulDel=Yes
452#
453#    Terminal Configuration
454#	InhHndShk(G)=Yes	InhDC2(H)=Yes
455#	XmitFnctn(A)=No		InhEolWrp=No
456#
457#
458# Hp 2622a & hp2623a display and graphics terminals
459#
460hp2622|hp2622a|2622|2622a|hp 2622,
461	use=hp+pfk+cr,
462	is2=\E&dj@\r,
463	pb#19200,
464	da, db, lm#0,
465	use=hp+labels,
466	use=scrhp,
467
468# Info:
469#	The 2623 is a 2622 with extra graphics hardware.
470#
471hp2623|hp2623a|2623|2623a|hp 2623,
472	use=hp2622,
473
474
475hp2624b-p|hp2624b-4p-p|Hewlett Packard 2624 B with printer,
476	use=hp+printer,
477	use=hp2624b,
478
479# Info:
480#	The Hewlett Packard B can have an optional extra 6 pages of
481#	memory.
482#
483
484hp2624-10p|hp2624a-10p|hp2624b-10p|2624-10p|2624a-10p|2624b-10p|Hewlett Packard 2624 B w/ 10 pages of memory,
485	lm#240, use=hp2624b,
486
487hp2624b-10p-p|Hewlett Packard 2624 B w/ extra memory & printer,
488	lm#240, use=hp2624b-p,
489
490# Info:
491#	Color manipulations for HP terminals
492
493hp+color|hp with colors,
494	ccc,
495	pairs#8, colors#16, ncv#17,
496	scp=\E&v%p1%dS,
497	initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a
498		  %?%p3%{1000}%=%t1%e.%p3%d%;b
499		  %?%p4%{1000}%=%t1%e.%p4%d%;c
500		  %?%p5%{1000}%=%t1%e.%p5%d%;x
501		  %?%p6%{1000}%=%t1%e.%p6%d%;y
502		  %?%p7%{1000}%=%t1%e.%p7%d%;z
503		  %p1%dI,
504	oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I,
505	op=\E&v0S,
506
507# Info:
508#	is2 disables the dispay, set screen to be 80 columns wide,
509#       set all function keys to transmit default strings, clears
510#       the screen and then enables the display.
511#
512
513hp2397|2397|2397a|hp2397a|HP 2397A,
514	is2=\E*dF\E&w6f80X\E&f0a1k2d2Lf1\Ep\E&f0a2k2d2Lf2\Eq\E&f0a3k2d2Lf3\Er\E&f0a4k2d2Lf4\Es\E&f0a5k2d2Lf5\Et\E&f0a6k2d2Lf6\Eu\E&f0a7k2d2Lf7\Ev\E&f0a8k2d2Lf8\Ew\EH\EJ$<40>\E*dE,
515	use=scrhp, use=hp+labels, use=hp+color,
516