usr/src/lib/libxcurses/src/terminfo/dec
author stevel@tonic-gate
Tue, 14 Jun 2005 00:00:00 -0700
changeset 0 68f95e015346
permissions -rw-r--r--
OpenSolaris Launch
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     1
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     2
# CDDL HEADER START
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     3
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     5
# Common Development and Distribution License, Version 1.0 only
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     6
# (the "License").  You may not use this file except in compliance
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     7
# with the License.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     8
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     9
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    10
# or http://www.opensolaris.org/os/licensing.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    11
# See the License for the specific language governing permissions
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    12
# and limitations under the License.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    13
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    14
# When distributing Covered Code, include this CDDL HEADER in each
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    15
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    16
# If applicable, add the following below this CDDL HEADER, with the
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    17
# fields enclosed by brackets "[]" replaced with your own identifying
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    18
# information: Portions Copyright [yyyy] [name of copyright owner]
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    19
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    20
# CDDL HEADER END
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    21
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    22
# Copyright (c) 1996 by Sun Microsystems, Inc.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    23
# All rights reserved.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    24
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    25
#ident	"%Z%%M%	%I%	%E% SMI"
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    26
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    27
# dec: DEC (DIGITAL EQUIPMENT CORPORATION)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    28
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    29
# Note that xenl glitch in vt100 is not quite the same as concept,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    30
# since the cursor is left in a different position while in the
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    31
# weird state (concept at beginning of next line, vt100 at end
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    32
# of this line) so all versions of vi before 3.7 don't handle
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    33
# xenl right on vt100.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    34
# I assume you have smooth scroll off or are at a slow enough baud
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    35
# rate that it doesn't matter (1200? or less).  Also this assumes
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    36
# that you set auto-nl to "on", if you set it off use vt100-nam below.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    37
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    38
# Since there are two things here called vt100, the installer can make
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    39
# a local decision to make either one standard "vt100" by including
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    40
# it in the list of terminals in reorder, since the first vt100 in
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    41
# /etc/terminfo is the one that it will find.  The choice is between
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    42
# nam (no automatic margins) and am (automatic margins), as determined
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    43
# by the wrapline switch (group 3 #2).  I presonally recommend turning
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    44
# on the bit and using vt100-am, since having stuff hammer on the right
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    45
# margin is sort of hard to read.  However, the xenl glitch does not occur
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    46
# if you turn the bit off.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    47
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    48
# I am unsure about the padding requirements listed here.  I have heard
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    49
# a claim that the vt100 needs no padding.  It's possible that it needs
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    50
# padding only if the xon/xoff switch is off.  For UNIX, this switch
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    51
# should probably be on.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    52
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    53
# The vt100 uses rs2 and rf rather than is2/tbc/hts because the tab settings
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    54
# are in non-volatile memory and don't need to be reset upon login.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    55
# Also setting the number of columns glitches the screen annoyingly.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    56
# You can type "reset" to get them set.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    57
vt100-mc|vt100 without advanced video option,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    58
	sgr@, smso=\E[7m , rmso=\E[m , xmc#1,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    59
	smul@, rmul@, bold@, rev@, blink@, sgr0@, use=vt100,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    60
vt100|vt100-am|dec vt100,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    61
	cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#24,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    62
	clear=\E[;H\E[2J$<50>, cub1=^H, am, cup=\E[%i%p1%d;%p2%dH$<5>,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    63
	cuf1=\E[C$<2>, cuu1=\E[A$<2>, el=\E[K$<3>, ed=\E[J$<50>,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    64
	smso=\E[7m$<2>, rmso=\E[m$<2>, smul=\E[4m$<2>, rmul=\E[m$<2>,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    65
	bold=\E[1m$<2>, rev=\E[7m$<2>, blink=\E[5m$<2>, sgr0=\E[m$<2>,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    66
	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    67
	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, smkx=\E[?1h\E=, rmkx=\E[?1l\E>,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    68
	rf=/usr/lib/tabset/vt100, home=\E[H, khome=\E[H,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    69
	kcuu1=\EOA, kcud1=\EOB, kcuf1=\EOC, kcub1=\EOD, kbs=^H,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    70
	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, ht=^I, ri=\EM$<5>,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    71
	vt#3, xenl, xon, sc=\E7, rc=\E8, csr=\E[%i%p1%d;%p2%dr,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    72
vt100-nam|vt100 w/no am,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    73
	am@, xenl@, use=vt100-am,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    74
vt100-23|vt100 for use with sysline,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    75
	lines#23, is2=\E[1;23r\E[23;1H,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    76
	hs, eslok, tsl=\E7\E[24;%p1%dH\E[1K, fsl=\E8, use=vt100-am,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    77
gt42|dec gt42,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    78
	cr=^M, cud1=^J, bel=^G,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    79
	cub1=^H, cols#72, lines#40, os,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    80
vt132|vt132,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    81
	il1=\E[L$<99>, dl1=\E[M$<99>, ip=$<7>, dch1=\E[P$<7>, rmir=\E[4l,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    82
	smir=\E[4h, xenl, ind=^J$<30>, use=vt100,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    83
gt40|dec gt40,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    84
	cr=^M, cud1=^J, bel=^G,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    85
	cub1=^H, cols#72, lines#30, os,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    86
vt50|dec vt50,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    87
	cr=^M, cud1=^J, ind=^J, bel=^G, cub1=^H, ed=\EJ, el=\EK, clear=\EH\EJ,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    88
	cols#80, lines#12, cuf1=\EC, ht=^I, cuu1=\EA,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    89
dw1|decwriter I,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    90
	cr=^M, cud1=^J, ind=^J, bel=^G,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    91
	cub1=^H, cols#72, hc, os,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    92
vt50h|dec vt50h,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    93
	cr=^M, cud1=^J, ind=^J, bel=^G, cub1=^H, ed=\EJ, el=\EK,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    94
	clear=\EH\EJ, cup=\EY%p1%' '%+%c%p2%' '%+%c, cols#80, lines#12,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    95
	cuf1=\EC, ht=^I, ri=\EI, cuu1=\EA,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    96
vt100-s|dec vt100 132 cols 14 lines (w/o advanced video option),
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    97
	lines#14, use=vt100-w,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    98
vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video),
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    99
	cols#132, lines#24, rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   100
vt100-w-nam|dec vt100 132 cols (w/advanced video),
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   101
	cols#132, lines#24, rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, vt@, use=vt100-nam,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   102
vt52|dec vt52,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   103
	cr=^M, cud1=^J, ind=^J, bel=^G, cub1=^H, ed=\EJ, el=\EK,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   104
	clear=\EH\EJ, cup=\EY%p1%' '%+%c%p2%' '%+%c, cols#80, lines#24,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   105
	cuf1=\EC, ht=^I, ri=\EI, cuu1=\EA,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   106
	kcuu1=\EA, kcud1=\EB, kcuf1=\EC, kcub1=\ED, kbs=^H,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   107
# The dw3 (and dw4?) supposedly have some fancy stuff, like settable tabs
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   108
# and column addressing.  But I don't know the details, and nobody seems
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   109
# to use them except for consoles so it has never really mattered.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   110
dw2|dw3|decwriter|dw|decwriter II,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   111
	cr=^M, cud1=^J, ind=^J, bel=^G,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   112
	kbs=^h, cub1=^H, cols#132, hc, os,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   113
# From cbosg!ucbvax!G:tut Thu Sep 24 22:10:46 1981
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   114
dw4|decwriter IV,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   115
	cr=^M, cud1=^J, ind=^J, bel=^G, cub1=^H, cols#132, hc, os, am,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   116
	ht=^I, is2=\Ec, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, kbs=^H,