2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License, Version 1.0 only
2N/A# (the "License"). You may not use this file except in compliance
2N/A# with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A# Copyright (c) 1996, by Sun Microsystems, Inc.
2N/A# All rights reserved.
2N/A#
2N/A#ident "%Z%%M% %I% %E% SMI"
2N/A#
2N/A# hp: HEWLETT PACKARD
2N/A#
2N/A# Note: no "home" on HP's since that homes to top of memory, not screen.
2N/A# Due to severe 2621 braindamage, the only way to get the arrow keys to
2N/A# transmit anything at all is to turn on the function key labels
2N/A# (f1-f8) with smkx, and even then the poor user has to hold down shift!
2N/A# The default 2621 turns off the labels except when it has to to enable
2N/A# the function keys. If your installation prefers labels on all the time,
2N/A# or off all the time (at the "expense" of the function keys) move the
2N/A# 2621-nl or 2621-wl labels to the front using reorder.
2N/A# Note: there are newer ROM's for 2621's that allow you to set strap A
2N/A# so the regular arrow keys xmit \EA, etc, as with the 2645. However,
2N/A# even with this strap set, the terminal stops xmitting if you reset it,
2N/A# until you unset and reset the strap! Since there is no way to set/unset
2N/A# the strap with an escape sequence, we don't use it in the default.
2N/A# If you like, you can use 2621-ba (braindamaged arrow keys).
2N/Ahp2621-ba|2621-ba|2621 w/new rom and strap A set,
2N/A smkx@, rmkx@,
2N/A kcuu1=\EA, kcud1=\EB, kcub1=\ED, kcuf1=\EC, khome=\Eh, use=hp2621,
2N/A# 2621 with labels on all the time - normal outside vi, function inside vi.
2N/Ahp2621-wl|2621-wl|hp 2621 w/labels,
2N/A is2=\E&jA\r, rmkx=\E&jA, use=hp2621-fl,
2N/A# 2621 with function labels. Most of the time they are off,
2N/A# but inside vi, the function key labels appear. You have to
2N/A# hold down shift to get them to xmit.
2N/Ahp2621-fl|2621|hp2621|hp2621a|hp2621p|2621a|2621p|2621-fl|2621A|2621P|hp 2621,
2N/A is2=\E&j@\r, cbt=\Ei, cup=\E&a%p2%dc%p1%dY,
2N/A dch1=\EP$<2>, ip=$<2>, pb#19200,
2N/A smso=\E&dD, rmso=\E&d@, smul=\E&dD, rmul=\E&d@, sgr0=\E&d@, xhp@,
2N/A khome=\Ep\r, kcuu1=\Et\r, kcub1=\Eu\r, kcuf1=\Ev\r, kcud1=\Ew\r,
2N/A kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r,
2N/A kf7=\Ev\r, kf8=\Ew\r, smkx=\E&jB, rmkx=\E&j@, ht=^I$<2>, xon, use=hp,
2N/A# 2621k45: untested
2N/A2621k45|hp2621k45|k45|hp 2621 with 45 keyboard,
2N/A kbs=^H, kcuu1=\EA, kcud1=\EB, kcub1=\ED, kcuf1=\EC, khome=\Eh,
2N/A smkx=\E&s1A, rmkx=\E&s0A, use=2621,
2N/A# This terminal should be used at 4800 baud or less. It needs padding for
2N/A# plain characters at 9600, I guessed at an appropriate cr delay.
2N/A# It really wants ^E/^F handshaking, but that doesn't work well even if
2N/A# you write software to support it.
2N/A2645|hp2645|hp45|hp 264x series,
2N/A dim=\E&dH, rev=\E&dB, smul=\E&dD, blink=\E&dA, sgr0=\E&d@,
2N/A sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c,
2N/A kcuu1=\EA, kcud1=\EB, kcub1=\ED, kcuf1=\EC, khome=\Eh,
2N/A smkx=\E&s1A, rmkx=\E&s0A, knp=\EU, kpp=\EV, kri=\ET, kind=\ES,
2N/A kil1=\EL, kdl1=\EM, kich1=\EQ, kdch1=\EP,
2N/A kel=\EK, ked=\EJ, krmir=\ER, pb#9600, cr=^M$<20>, use=hp,
2N/Ahp|hewlett-packard,
2N/A tbc=\E3, hts=\E1, cr=^M, cud1=^J, ind=^J, bel=^G, il1=\EL, am, cub1=^H,
2N/A ed=\EJ, el=\EK, hpa=\E&a%p1%dC, clear=\EH\EJ,
2N/A cup=\E&a%p2%dc%p1%dY$<6>, cols#80, vpa=\E&a%p1%dY, lm#0, da, db,
2N/A dch1=\EP, dl1=\EM, rmir=\ER, smir=\EQ, kbs=^H, lines#24, mir,
2N/A cuf1=\EC, ht=^I, rmso=\E&d@, smso=\E&dJ,
2N/A smul=\E&dD, rmul=\E&d@, cuu1=\EA, xhp, vt#6,
2N/Ahp-0|hewlett-packard for testing of curses and the like,
2N/A cr=^M, cud1=^J, ind=^J, bel=^G, am, cuf1=\EC,
2N/A cub1=^H, clear=\EH\EJ, home=\E&a0c0Y, cols#80, lines#24,
2N/Ahp-1,
2N/A ht=^I, cuu1=\EA, use=hp-0,
2N/Ahp-2,
2N/A cup=\E&a%p2%dc%p1%dY$<6>, use=hp-1,
2N/Ahp-3,
2N/A ed=\EJ, el=\EK, use=hp-2,
2N/A# This entry does not use any of the fancy windowing stuff of the 2626.
2N/A# Indeed, terminfo does not yet handle such stuff. Since changing any window
2N/A# clears memory, it is probably not possible to use this for screen opt.
2N/A# ed is incredibly slow most of the time - I am guessing at the exact padding.
2N/A# Since the terminal uses xoff/xon this is intended only for cost computation,
2N/A# so that the terminal will prefer el or even dl1 which is probably faster!
2N/Ahp2626|hp2626a|hp2626p|2626|2626a|2626p|2626A|2626P|hp 2626,
2N/A dch1=\EP$<2>, ip=$<2>, rmso=\E&d@, smso=\E&dB, ed=\EJ$<500>,
2N/A rev=\E&dB, smul=\E&dD, blink=\E&dA, invis=\E&dS, sgr0=\E&d@,
2N/A rmul=\E&d@,
2N/A sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c,
2N/A khome=\Eh, kcuu1=\EA, kcub1=\ED, kcuf1=\EC, kcud1=\EB,
2N/A smkx=\E&s1A, rmkx=\E&s0A, knp=\EU, kpp=\EV, kri=\ET,
2N/A kind=\ES, kil1=\EL, kdl1=\EM, kich1=\EQ, kdch1=\EP,
2N/A kel=\EK, ked=\EJ, krmir=\ER,
2N/A ind=\ES, ht=^I$<2>, xhp, use=2621,
2N/A# This entry is for sysline. It allocates a 23 line window with a 115 line
2N/A# workspace for regular use, and a 1 line window for the status line.
2N/A# This assumes port 2 is being used.
2N/A# Turn off horizontal line, Create ws #1 with 115 lines,
2N/A# Create ws #2 with 1 line, Create window #1 lines 1-23,
2N/A# Create window #2 lines 24-24, Attach cursor to workspace #1.
2N/A# Note that this clears the tabs so it must be done by tset before
2N/A# it sets the tabs.
2N/A2626-23|hp 2626 using only 23 lines,
2N/A tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC,
2N/A fsl=\E&d@\E&w7f2p1I\E&w4f1I, eslok, hs,
2N/A is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I
2N/A \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,
2N/A lines#23, use=2626,
2N/A# Force terminal back to 24 lines after being 23.
2N/A2626-24|hp 2626 using all 24 lines,
2N/A is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I
2N/A \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r,
2N/A use=2626,
2N/A# Various entries useful for small windows on 2626.
2N/A2626-12,
2N/A lines#12, use=2626,
2N/A2626-12x40,
2N/A cols#40, lines#12, use=2626,
2N/A2626-x40,
2N/A cols#40, use=2626,
2N/A2626-11,
2N/A lines#11, use=2626-23,
2N/A# cD is a pain - but it only screws up at 9600 baud.
2N/A# You should use this terminal at 4800 baud or less.
2N/Ahp2648|hp2648a|2648a|2648A|2648|HP 2648a graphics terminal,
2N/A clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,
2N/A dch1=\EP$<7>, ip=$<5>, use=2645,
2N/A# 2640a doesn't have the Y cursor addressing feature, and C is memory relative
2N/A# instead of screen relative, as we need.
2N/A2640|hp2640a|2640a|hp 2640a,
2N/A cup@, smkx@, rmkx@, use=2645,
2N/A2640b|hp2640b|2644a|hp2644a|hp 264x series,
2N/A smkx@, rmkx@, use=2645,
2N/A# 2621 using all 48 lines of memory, only 24 visible at any time. Untested.
2N/A2621-48|48 line 2621,
2N/A lines#48, home=\EH, cup=\E&a%p2%dc%p1%dR, use=2621,
2N/A# 2621 with no labels ever. Also prevents vi delays on escape.
2N/Ahp2621-nl|2621-nl|hp 2621 with no labels,
2N/A smkx@, rmkx@, khome@, kcuu1@, kcub1@, kcuf1@, kcud1@, use=hp2621-fl,
2N/A# Needed for UCB ARPAVAX console, since lsi-11 expands tabs (wrong).
2N/Ahp2621-nt|2621-nt|hp 2621 w/no tabs,
2N/A ht@, use=hp2621,