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