usr/src/lib/libxcurses/src/terminfo/teletype
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
# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     3
# Use is subject to license terms.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     4
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     5
# CDDL HEADER START
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     6
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     7
# The contents of this file are subject to the terms of the
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     8
# Common Development and Distribution License, Version 1.0 only
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     9
# (the "License").  You may not use this file except in compliance
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    10
# with the License.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    11
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    12
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    13
# or http://www.opensolaris.org/os/licensing.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    14
# See the License for the specific language governing permissions
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    15
# and limitations under the License.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    16
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    17
# When distributing Covered Code, include this CDDL HEADER in each
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    18
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    19
# If applicable, add the following below this CDDL HEADER, with the
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    20
# fields enclosed by brackets "[]" replaced with your own identifying
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    21
# information: Portions Copyright [yyyy] [name of copyright owner]
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    22
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    23
# CDDL HEADER END
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
#	@(#)teletype	1.7	5/19/82
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    28
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    29
# teletype: TELETYPE
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    30
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    31
# This works on the default blit, except that output is by exclusive or,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    32
# and insert line leaves 1/2 line at the bottom of the screen.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    33
blit|jerq,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    34
	cr=^M, cud1=^J, ind=^J, bel=^G, cols#88, lines#72, ht=^I,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    35
	am, ul, eo, mir, il=\Ef%p1%' '%+%c, dl=\Ee%p1%' '%+%c,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    36
	dl1=\EE, rmir=\ER, smir=\EQ, dch1=\EO, cub1=\ED, da, db,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    37
	il1=\EF, ed=\EJ, el=\EK, clear=^L, cup=\EY%p2%' '%+%c%p1%' '%+%c,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    38
	cuf1=\EC, cuu1=\EA, kcuu1=\EA, kcud1=\EB, kcuf1=\EC, kcub1=\ED,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    39
	flash=\E^G, smso=\EU!, rmso=\EV!, smul=\EU", rmul=\EV",
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    40
blitlayer|layer|vitty,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    41
	cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#24, ht=^I,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    42
	am, clear=^L, cup=\EY%p2%' '%+%c%p1%' '%+%c, el=\EK, il=\EI, dl=\ED,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    43
33|tty33|tty|model 33 teletype,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    44
	cr=^M, cud1=^J, ind=^J, bel=^G, cols#72, hc, os,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    45
# The Dataspeed 40's have lots of braindamage, such as xmc (?) and printing
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    46
# a visible newline indicator after each newline.  The 40-1 is a half duplex
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    47
# terminal and is hopeless.  The 40-2 is braindamaged but has hope and is
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    48
# described here.  The 40-4 is a 3270 lookalike and beyond hope.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    49
# The terminal has blinking standout.  It also has visible bell but I don't
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    50
# know it - it's null here to prevent it from showing the BL character.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    51
# I am not sure if the 40 has xmc or not, it looked like it didn't.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    52
# Note also that the control characters have been randomly rearranged,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    53
# for example, to get escape you type control-P!
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    54
40|tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    55
	clear=\ER$<160>, ed=\EJ$<160>, il1=\EL$<160>, dl1=\EM$<160>,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    56
	dch1=\EP$<50>, ich1=\E\^$<50>, cuf1=\EC, cuu1=\E7, cub1=^H, cr=\EG,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    57
	ind=^J, cud1=\EB, cols#80, lines#24, flash=, smso=\E3, rmso=\E4,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    58
43|tty43|model 43 teletype,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    59
	cr=^M, cud1=^J, ind=^J, bel=^G,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    60
	kbs=^h, am, cub1=^H, hc, os, cols#132,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    61
37|tty37|model 37 teletype,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    62
	cr=^M, cud1=^J, ind=^J, bel=^G,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    63
	cub1=^H, hc, hu=\E8, hd=\E9, cuu1=\E7, os,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    64
# From jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    65
# This description seems to avoid line 1 - I don't know why.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    66
# It looks a lot like a vt100 with ins/del line/char.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    67
# But the insert char is not ANSI standard!
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    68
4424|tty4424|teletype 4424m,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    69
	il1=\EL, da, db, ip=$<2>, ich1=\E^, dch1=\EP, dl1=\EM,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    70
	cols#80, lines#23, am, clear=\E[2;H\E[J, cub1=^H,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    71
	cup=\E[%i%p1%2d;%p2%2dH\E[B,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    72
	cuf1=\E[C, cuu1=\E[A, mir, ri=\ET,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    73
	el=\E[K, smso=\E[7m, rmso=\E[m, smul=\E[4m, rmul=\E[m,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    74
	is2=\E[m\E[2;24r,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    75
	kcud1=\E[B, kcub1=\E[D, kcuu1=\E[A, kcuf1=\E[C,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    76
	khome=\E[H, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,