From: rr@world.std.com (Robert I Ransbottom)
Subject: tvi965 terminfo help needed
Followup-To: comp.terminals
Summary: sgr definition troubles
Organization: The World Public Access UNIX, Brookline, MA
Date: Fri, 28 Aug 1992 18:14:42 GMT

 am in need of terminfo descriptions for the
Televideo 965.

What I have works well enough except

	- sgr, sgr0, acsc, smacs, etc., need line drawing badly

	- kcud1 would be more convenient if not ^V or ^j.

--
Rob
rr@world.std.com

This is what I have:

tvi965|tvi965 in native normal mode,
#
#    NOTE:  On version D.7 ( and later??) 965's the sequences:
#		\Ex81200
#		\Ex901221990
#	the first sets the clock to NOON (1200) and 
#	the second sets the calendar to Jan (01) 22nd (22) 1990
#
#    NOTE: ND=Not defined    NA=Not available   NAP=Not applicable
#
# This is the Setup of the terminal from the menus:
#
# GENERAL  DISPLAY  KEYBRD MAIN     AUX   ATTRIB   PROG.
# native   80       on     19.2k    DO    char     SEE
# off      25       on     8        NOT   dim      BELOW
# fulldup  1xlines  caps   1        CARE  off      -
# host/prt reverse  off    none     -     off      -
# off      status   cr     xon/off  -     no-spac  -
# on       none     cr     xon/off  -     -        -
# line     und-blk  us     16       -     -        -
# on       dark     250ms  none     -     -        -
# off      10       off    off      -     -        -
# cr       jump     -      7        -     -        -
#
# Programming Menu:
#
# FKEYS: set 1, direct = host, (^a = SOH, ^m = CR, sF1 = Shifted-F1)
#
# F1=^a@^m ,   F2=^aA^m ,   F3=^aB^m ,   F4=^aC^m ,   F5=^aD^m ,   
# F6=^aE^m ,   F7=^aF^m ,   F8=^aG^m ,   F9=^aH^m ,   F10=^aI^m ,   
# F11=^aJ^m ,  F12=^aK^m ,  F13=^aL^m ,  F14=^aM^m ,  F15=^aN^m ,   
# F16=^aO^m ,  
# sF1=^a`^m ,  sF2=^aa^m ,  sF3=^ab^m ,  sF4=^ac^m ,  sF5=^ad^m ,   
# sF6=^ae^m ,  sF7=^af^m ,  sF8=^ag^m ,  sF9=^ah^m ,  sF10=^ai^m ,   
# sF11=^aj^m , sF12=^ak^m , sF13=^al^m , sF14=^am^m , sF15=^an^m ,   
# sF16=^ao^m ,   
#
# FKEYS: set 2, 3 & 4 not used
#
# EDIT KEYS:
# DOWN=^J, #### this floats between ^V & ^J as per application.
#
# HOME=^^ ,  UP=^K , LEFT=^H , RIGHT=^L , TAB=^I , BACKSPAC=^H ,
# CLR-SPAC=^Z , PRINT=^[P , CHAR-INS=^[Q , CHAR-DEL=^[W , LINE-INS=^[E ,
# LINE-DEL=^[R , LINE-ERA=^[T , PAGE-ERA=^[Y , NEXT-PAGE=^[K , SEND=^[7 ,
# RETURN=^m , ESC=^[ , DEL=<ascii-del> , LINEFD=^J
#
# KEYPAD KEYS:
# 1=1 , 2=2 , 3=3 , 4=4 , 5=5 , 6=6 , 7=7 , 8=8 , 9=9 , 0=0 ,
# .=. , ENTER=^m , -=- , ,=, , 00=00 , TAB=^I , CE=^m
#
# BASICS
	am, 
	bw, msgr, xenl, xon,
	cols#80, lines#25,
	ht=\t, flash=\Eb$<7>\Ed, bel=^G, clear=^Z, cr=\r,
# CURSOR movement
	home=^^, cbt=\EI, cub1=\b, cud1=\n, cuu1=^K,
	nel=\r\n, cuf1=\f, cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, 
	.ll=absolute_motion_to_low/left__maybe_a_to_status_command,
	.cub=ND, .cud=ND, .cuf=ND, .cuu=ND, .mrcup=NA,
	.hpa=NA, .vpa=NA, .sc=NA, .rc=NA, .hu=NA, .hd=NA, .da, .db,
# SCROLLING
	csr=\E[%p1%'\s'%+%c;%p2%'\s'%+%cr, ind=\n, ri=\Ej, 
	.rin=ND, .indn=ND,
# STATUS LINE
	.ts=ND, .hs, .fs1, .ds1, .ws1#80, .eslok,
# INSERTION
	mir, 
	il1=\EE, 
#	il=\E[%p1%'\s'%+%cL,
	rmir=\Er, smir=\Eq, .rep=ND, .ip=ND, .ich=NAP, .ich1=NAP,
# DELETION
	dch1=\EW, ed=\EY, el=\ET, dl1=\ER, 
	.smdc=NAP, .rmdc=NAP, .dl=UNTESTED__\E[%p1%'\s'%+%cM,
	.ech=NA?, .dch=NA?, .el1=NA, .in,
# INITIALIZATION
	.iprog=ND, .is1=ND, 
	is2=\E[10;6v\E[14;1v\EF2\E[=3l\E[=9h\E.3,
# is2 is:
# \E[10;6v set personality mode to 965 native mode
# \E[14;1v select 25 lines per display
# \EF2	set attribute base as character
# \E[=3l select 80 column mode
# \E[=9h set down-arrow-key as ^J
# \E.3 set cnorm
#
	.is3=ND, .if=ND,
	.rs1=ND, .rs2=ND, .rs3=ND, .rf=ND, .smcup=NAP, .rmcup=NAP,
	.nrrmc=NAP,
# TABS
	.hts=ND, .tbc=ND, .it#0, .smgl=NA, .smgr=NA, .mgc=NA,
	.smam=ND, .rmam=ND,
# CURSOR TYPES
	cnorm=\E.3, cvvis=\E.1, civis=\E.0,
# BASIC KEYS -- may want to redefine these
	kdch1=\EW, kbs=\b, kich1=\EQ, 
	kcbt=\EI, kcub1=\b, kcud1=\n, kcuf1=\f, kcuu1=^K,
	.khome=NA_^^, .kdl1=NA_\ER,
# FUNCTION KEYS
	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
	kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, 
	kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
# kf17 ... are shifted kf1 ...
	kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf20=^Ac\r,
	kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
	kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r,
	kf29=^Al\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r,
	.kf33=ND_more_keys_available,
# VARIOUS KEYS &  PROGRAMMABLE KEYS & LABELS are not defined.
#	The various keys are mostly not available/applicable here.
	.kpp=\EJ, .knp=\EK,
# VISUAL MODES
	sgr=\EG0%?%p1%t\EGt%;%?%p2%t\EG8%;%?%p3%t\EG4%;%?%p4%t\EG2%;%?%p5%t\EGp%;%?%p6%t\EGr%;%?%p7%t\EG1%;%?%p9%t\E$%\E%%%;,
	sgr0=\EG0, smacs=\E$, smso=\EGt, smul=\EG8,
	blink=\E2, bold=\Er, dim=\Ep, invis=\E1, rev=\EG4, 
	rmacs=\E%, rmso=\EG0, rmul=\EG0,
	acsc=0_'rjhkglfmeniopqksqtmulvownxj, 
	.prot=ND, .enacs=ND, .uc=ND, .ul,
# PRINTER -- all untested here
	.mc0=\0P, .mc5=\E@, .mc4=\EA, .mc5p=NA, .mc5i=\E`,