[net.micro.cbm] c64 termcap and terminfo

jcn@link.UUCP (J. C. Noll) (01/26/85)

Here is a termcap for the c64 from a netnews article and the
corresponding terminfo:

#   Article 443 of 461, Jan 16 14:22.
#   Subject: 80 col C64 use with vi

#   Screen-80 was published in the Sept. issue of Compute's Gazette, and
#   implements an 80 col display (marginally readable with a 1701/2) on the
#   64 by "painting" a hi-res screen.  It is compatible with the CHROUT
#   routine, and features a character set that can be customized (!!)

#   Vi notes:
#   ---------
#      1. The termcap I use is:

z8|c64|commodore 64:li#24:co#40:am:\
	:bs:cl=^l:ho=^f:\
	:nd=^]:up=^^:do=^k:kb=^h:\
	:kd=^k:kl=^\:kr=^]:ku=^^:

z8|c6480|commodore 64 with 80 column:li#24:co#80:am:\
	:bs:cl=^l:ho=^f:\
	:nd=^]:up=^^:do=^k:kb=^h:\
	:kd=^k:kl=^\:kr=^]:ku=^^:

The corresponding terminfo is

c64|commodore 64,
	am,
	cols#40, lines#24,
	bel=^G, clear=\f, cr=\r, cub1=\b, cud1=^K, cuf1=^],
	cuu1=^^, home=^F, ind=\n, kbs=\b, kcub1=^\, kcud1=^K,
	kcuf1=^], kcuu1=^^,

c6480|commodore 64 with 80 column,
	am,
	cols#80, lines#24,
	bel=^G, clear=\f, cr=\r, cub1=\b, cud1=^K, cuf1=^],
	cuu1=^^, home=^F, ind=\n, kbs=\b, kcub1=^\, kcud1=^K,
	kcuf1=^], kcuu1=^^,
-- 
J. C. Noll    link!jcn   (201) 949-2158