#
#
# (c) Copyright 1987-1993, 1994 VERSYSS Incorporated. All Rights Reserved.
#
# This computer program  and its  accompanying  documentation  are owned
# by VERSYSS Incorporated and contain confidential information and trade
# secrets.  They may only be used under a VERSYSS License Agreement. Any 
# unauthorized use, reproduction, transfer or disclosure is prohibited.
#
#
# Name:	vta_colors
#
# Author:	keithd
#
# Purpose:	color configuration for VTA
#
# Related Documentation:
#
# Inputs:
#
# Outputs:
#
#
#
# Change History:
# 1.1	92/12/10 keithd	created
# 1.2	93/01/05 keithd	name change from cte to vta
# 1.3	93/01/25 keithd	terminfo name changes, add at386
# 1.4	93/01/25 keithd	add blink colors for ansi
# 1.5	93/02/05 keithd	adjusted for new-new naming convention
# 1.6	93/02/16 keithd	fixed AT386 and mc-80 colors for blink
# 1.7	93/06/28 keithd	add AT386-v2 and AT386-v3
# 1.8	93/07/26 keithd	change AT386-v to AT386-v1
# 1.9	94/04/12 keithd	support for ibm3164 terminal
#
#ident	"(1.9)@(#)vta_colors	1.9 - 94/04/19"

#
# The VTA color definitions file
#
# The first entry of every stanza should be the highest color
# number available (it is used to determine how big to make the
# corresponding table).  An 'f' means a foreground color sequence,
# and a 'b' means background color sequence.  
#
# The string to the right of the equals is what will be substituted into
# the TERMINFO definition in order to accomplish the appropriate color
# selection.  Therefore, this sequence can be any valid TERMINFO string
# specification ("\E" used for Escape, etc.).
#
# Up to 128 foreground and background colors can be configured, and 
# additional escape codes that might generate other attribute effects,
# such as "blink" can be combined as well.  Take care however, that a 
# foreground "blink" isn't configured in such a way as to be overridden 
# if combined with a background "don't-blink" sequence.
#
# definition for AIXTERM terminal (ANSI, when TERM=aixterm).
#
aixterm-v:
	15f=\E[97m
	14f=\E[96m
	13f=\E[95m
	12f=\E[94m
	11f=\E[93m
	10f=\E[92m
	9f=\E[91m
	8f=\E[90m
	7f=\E[31m
	6f=\E[36m
	5f=\E[35m
	4f=\E[34m
	3f=\E[33m
	2f=\E[32m
	1f=\E[30m
	0f=\E[37m
#
	15b=\E[107m
	14b=\E[106m
	13b=\E[105m
	12b=\E[104m
	11b=\E[103m
	10b=\E[102m
	9b=\E[101m
	8b=\E[100m
	7b=\E[40m
	6b=\E[46m
	5b=\E[45m
	4b=\E[44m
	3b=\E[43m
	2b=\E[42m
	1b=\E[41m
	0b=\E[47m
#
# definition for MC-80 ANSI color terminal (when TERM=mc80-ansi)
#   Foreground colors: first 8 are normal, second 8 are high intensity.
# 
#   Background colors: first 8 are normal, second 8 are blinking
#
mc80-ansi:
	15f=\E[0;37;1m
	14f=\E[0;36;1m
	13f=\E[0;35;1m
	12f=\E[0;34;1m
	11f=\E[0;33;1m
	10f=\E[0;32;1m
	9f=\E[0;31;1m
	8f=\E[0;30;1m
	7f=\E[0;37m
	6f=\E[0;36m
	5f=\E[0;35m
	4f=\E[0;34m
	3f=\E[0;33m
	2f=\E[0;32m
	1f=\E[0;31m
	0f=\E[0;30m
#
	15b=\E[47;5m
	14b=\E[46;5m
	13b=\E[45;5m
	12b=\E[44;5m
	11b=\E[43;5m
	10b=\E[42;5m
	9b=\E[41;5m
	8b=\E[40;5m
	7b=\E[47m
	6b=\E[46m
	5b=\E[45m
	4b=\E[44m
	3b=\E[43m
	2b=\E[42m
	1b=\E[41m
	0b=\E[40m
#
# definition for model 95 console in VTA_TERM=AT386-v1
# for foreground:
#    0-7 are normal
#    8-15 are hi-intens
#   16-22 are normal blink
#   23-30 are hi-intens blink
#
AT386-v1:
	31f=\E[5;1;37m
	30f=\E[5;1;36m
	29f=\E[5;1;35m
	28f=\E[5;1;34m
	27f=\E[5;1;33m
	26f=\E[5;1;32m
	25f=\E[5;1;31m
	24f=\E[5;1;30m
	23f=\E[0;5;37m
	22f=\E[0;5;36m
	21f=\E[0;5;35m
	20f=\E[0;5;34m
	19f=\E[0;5;33m
	18f=\E[0;5;32m
	17f=\E[0;5;31m
	16f=\E[0;5;30m
	15f=\E[0;1;37m
	14f=\E[0;1;36m
	13f=\E[0;1;35m
	12f=\E[0;1;34m
	11f=\E[0;1;33m
	10f=\E[0;1;32m
	9f=\E[0;1;31m
	8f=\E[0;1;30m
	7f=\E[0;37m
	6f=\E[0;36m
	5f=\E[0;35m
	4f=\E[0;34m
	3f=\E[0;33m
	2f=\E[0;32m
	1f=\E[0;31m
	0f=\E[0;30m
#
	7b=\E[47m
	6b=\E[46m
	5b=\E[45m
	4b=\E[44m
	3b=\E[43m
	2b=\E[42m
	1b=\E[41m
	0b=\E[40m
#
# definition for model 95 console in VTA_TERM=AT386-v2
# for foreground:
#    0-7 are normal
#    8-15 are hi-intens
#   16-22 are normal blink
#   23-30 are hi-intens blink
#
AT386-v2:
	31f=\E[5;1;37m
	30f=\E[5;1;36m
	29f=\E[5;1;35m
	28f=\E[5;1;34m
	27f=\E[5;1;33m
	26f=\E[5;1;32m
	25f=\E[5;1;31m
	24f=\E[5;1;30m
	23f=\E[0;5;37m
	22f=\E[0;5;36m
	21f=\E[0;5;35m
	20f=\E[0;5;34m
	19f=\E[0;5;33m
	18f=\E[0;5;32m
	17f=\E[0;5;31m
	16f=\E[0;5;30m
	15f=\E[0;1;37m
	14f=\E[0;1;36m
	13f=\E[0;1;35m
	12f=\E[0;1;34m
	11f=\E[0;1;33m
	10f=\E[0;1;32m
	9f=\E[0;1;31m
	8f=\E[0;1;30m
	7f=\E[0;37m
	6f=\E[0;36m
	5f=\E[0;35m
	4f=\E[0;34m
	3f=\E[0;33m
	2f=\E[0;32m
	1f=\E[0;31m
	0f=\E[0;30m
#
	7b=\E[47m
	6b=\E[46m
	5b=\E[45m
	4b=\E[44m
	3b=\E[43m
	2b=\E[42m
	1b=\E[41m
	0b=\E[40m
#
# definition for model 95 console in VTA_TERM=AT386-v3
# for foreground:
#    0-7 are normal
#    8-15 are hi-intens
#   16-22 are normal blink
#   23-30 are hi-intens blink
#
AT386-v3:
	31f=\E[5;1;37m
	30f=\E[5;1;36m
	29f=\E[5;1;35m
	28f=\E[5;1;34m
	27f=\E[5;1;33m
	26f=\E[5;1;32m
	25f=\E[5;1;31m
	24f=\E[5;1;30m
	23f=\E[0;5;37m
	22f=\E[0;5;36m
	21f=\E[0;5;35m
	20f=\E[0;5;34m
	19f=\E[0;5;33m
	18f=\E[0;5;32m
	17f=\E[0;5;31m
	16f=\E[0;5;30m
	15f=\E[0;1;37m
	14f=\E[0;1;36m
	13f=\E[0;1;35m
	12f=\E[0;1;34m
	11f=\E[0;1;33m
	10f=\E[0;1;32m
	9f=\E[0;1;31m
	8f=\E[0;1;30m
	7f=\E[0;37m
	6f=\E[0;36m
	5f=\E[0;35m
	4f=\E[0;34m
	3f=\E[0;33m
	2f=\E[0;32m
	1f=\E[0;31m
	0f=\E[0;30m
#
	7b=\E[47m
	6b=\E[46m
	5b=\E[45m
	4b=\E[44m
	3b=\E[43m
	2b=\E[42m
	1b=\E[41m
	0b=\E[40m
#
ibm3164-v:
	15f=\E4\044\047
	14f=\E4\044\046
	13f=\E4\044\045
	12f=\E4\044\044
	11f=\E4\044\043
	10f=\E4\044\042
	9f=\E4\044\041
	8f=\E4\044\040
	7f=\E4\040\047
	6f=\E4\040\046
	5f=\E4\040\045
	4f=\E4\040\044
	3f=\E4\040\043
	2f=\E4\040\042
	1f=\E4\040\041
	0f=\E4\040\040
#
	7b=G
	6b=F
	5b=E
	4b=D
	3b=C
	2b=B
	1b=A
	0b=@
