usr/src/cmd/terminfo/heath.ti
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) 1984, 1986, 1987, 1988, 1989 AT&T
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
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    26
#ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.6	*/
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    27
# # --------------------------------
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    28
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    29
# heath: HEATHKIT and ZENITH
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    30
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    31
# Manufacturer:	HEATHKIT and ZENITH
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    32
# Class:	I
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    33
h19-a|heath-ansi|heathkit-a|heathkit h19 ansi mode,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    34
	cr=^M, cud1=^J, ind=^J, bel=^G, il1=\E[1L$<1*>, am, cub1=^H, ed=\E[J,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    35
	el=\E[K, clear=\E[2J, cup=\E[%i%p1%d;%p2%dH, cols#80,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    36
	dch1=\E[1P, dl1=\E[1M$<1*>, cud1=\E[1B,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    37
	rmir=\E[4l, home=\E[H, smir=\E[4h, lines#24, mir,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    38
	cuf1=\E[1C, smacs=\E[10m, rmacs=\E[11m, msgr, ht=^I, it#8,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    39
	rmso=\E[0m, smso=\E[7m, cuu1=\E[1A, cvvis=\E[>4h, cnorm=\E[>4l,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    40
	kbs=^h, kcuu1=\E[1A, kcud1=\E[1B, kcub1=\E[1D, kcuf1=\E[1C,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    41
	khome=\E[H,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    42
	kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, lf6=blue,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    43
	lf7=red, lf8=white, kf6=\EOP, kf7=\EOQ, kf8=\EOR,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    44
	ri=\EM, is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[0m\E[11m\E[?7h,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    45
h19-bs|heathkit w/keypad shifted,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    46
	smkx=\Et, rmkx=\Eu, use=h19-b,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    47
h19-smul|heathkit w/keypad shifted/underscore cursor,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    48
	smkx=\Et, rmkx=\Eu, use=h19-u,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    49
h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    50
	cr=^M, cud1=^J, ind=^J, bel=^G, il1=\EL$<1*>, am, cub1=^H,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    51
	ed=\EJ, el=\EK, clear=\EE, cup=\EY%p1%' '%+%c%p2%' '%+%c, cols#80,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    52
	dch1=\EN, dl1=\EM$<1*>, cud1=\EB, rmir=\EO, home=\EH, smir=\E@,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    53
	lines#24, mir, cuf1=\EC, smacs=\EF, rmacs=\EG, msgr, ht=^I, it#8,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    54
	ri=\EI, rmso=\Eq, smso=\Ep, cuu1=\EA, cvvis=\Ex4, cnorm=\Ey4,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    55
	kbs=^h, kcuu1=\EA, kcud1=\EB, kcub1=\ED, kcuf1=\EC, khome=\EH,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    56
	kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    57
	lf6=blue, lf7=red, lf8=white, kf6=\EP, kf7=\EQ, kf8=\ER,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    58
	hs, eslok, tsl=\Ej\Ex5\EY8%p1%' '%+%c\Eo\Eo, fsl=\Ek\Ey5,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    59
h19-u|heathkit with underscore cursor,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    60
	cvvis@, cnorm@, use=h19-b,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    61
# Info:
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    62
#	This still doesn't work right - something funny is going on 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    63
#	with return # and linefeed in the reach program. Apparently 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    64
#	cr acts like crlf and lf is ignored. There is a "literal end 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    65
#	of line mode" which works right, but this will cause cr's to 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    66
#	appear in files that are spooled. This description assumes 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    67
#	"normal end of line mode".
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    68
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    69
reach|h89|h89 running reach,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    70
	cr@, cud1=\EB, ind=\r\l, is2=\Ey3\Ev, use=h19-b,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    71
alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    72
	lines#60, il1=\EL, dl1=\EM, use=h19,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    73
# Info:
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    74
#	The major problem with the Z29 is that it requires more 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    75
#	padding than the Z19. Once again, here's a little termcap 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    76
#	entry for it that will do the trick. 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    77
#	
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    78
#	The problem declaring an H19 to be synonomous with a Z29 is that
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    79
#	it needs more padding. It especially loses if a program attempts
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    80
#	to put the Z29 into insert mode and insert text at 9600 baud. It
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    81
#	even loses worse if the program attempts to insert tabs at 9600
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    82
#	baud. Adding padding to text that is inserted loses because in 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    83
#	order to make the Z29 not die, one must add so much padding that
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    84
#	whenever the program tries to use insert mode, the effective 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    85
#	rate is about 110 baud.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    86
#	
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    87
#	What program would want to put the terminal into insert mode 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    88
#	and shove stuff at it at 9600 baud you ask?  
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    89
#	
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    90
#	Emacs. Emacs seems to want to do the mathematically optimal 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    91
#	thing in doing a redisplay rather than the practical thing.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    92
#	When it is about to output a line on top of a line that is 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    93
#	already on the screen, instead of just killing to the end of 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    94
#	the line and outputing the new line, it compares the old line 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    95
#	and the new line and if there are any similarities, it 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    96
#	constructs the new line by deleting the text on the old line 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    97
#	on the terminal that is already there and then inserting new
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    98
#	text into the line to transform it into the new line that is 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    99
#	to be displayed. The Z29 does not act kindly to this.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   100
#	
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   101
#	But don't cry for too long.... There is a solution. You can make
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   102
#	a termcap entry for the Z29 that says the Z29 has no insert mode.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   103
#	Then Emacs cannot use it. "Oh, no, but now inserting into a 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   104
#	line will be really slow", you say. Well there is a sort of a
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   105
#	solution to that too. There is an insert character option on 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   106
#	the Z29 that will insert one character. Unfortunately, it 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   107
#	involves putting the terminal into ansi mode, inserting the 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   108
#	character, and changing it back to H19 mode. All this takes 12 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   109
#	characters. Pretty expensive to insert one character, but it 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   110
#	works. Either Emacs doesn't try to use its inserting hack when 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   111
#	it's only given an insert character ability or the Z29 doesn't 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   112
#	require padding with this (the former is probably more likely, 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   113
#	but I haven't checked it out).
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   114
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   115
z29|zenith29|z29b|,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   116
	cr=^M, cud1=^J, ind=^J, bel=^G, is2=\E<\E[?2h\Ev, il1=\EL$<1>, am,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   117
	cub1=^H, ed=\EJ$<14>, el=\EK$<1>, clear=\EE$<14>,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   118
	cup=\EY%p1%' '%+%c%p2%' '%+%c,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   119
	cols#80, dch1=\EN$<0.1*>, dl1=\EM$<1>, cud1=\EB, home=\EH,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   120
	ich1=\E<\E[1@\E[?2h$<1>, lines#24, cuf1=\EC,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   121
	rmacs=\EF, smacs=\EG, ind=\n$<2>, msgr, ht=^I, ri=\EI$<2>, rmso=\Eq,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   122
	smso=\Ep, cuu1=\E$<1>A, cvvis=\Ex4, cnorm=\Ey4, kbs=^h, kcuu1=\EA,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   123
	kcud1=\EB, kcub1=\ED, kcuf1=\EC, khome=\EH, kf1=\ES,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   124
	kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   125
	kf9=\E0I, kf0=\E~, lf0=home,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   126
	cbt=\E-, smul=\Es8, rmul=\Es0,