Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 7/17/84; site link.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxj!houxm!link!jcn
From: jcn@link.UUCP (J. C. Noll)
Newsgroups: net.micro.cbm
Subject: c64 termcap and terminfo
Message-ID: <292@link.UUCP>
Date: Sat, 26-Jan-85 01:17:27 EST
Article-I.D.: link.292
Posted: Sat Jan 26 01:17:27 1985
Date-Received: Sun, 27-Jan-85 06:48:01 EST
Distribution: net
Organization: AT&T Bell Laboratories - Holmdel, NJ
Lines: 42

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