Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.cbm » c64 termcap and terminfo
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
c64 termcap and terminfo [message #91476] Wed, 26 June 2013 00:45
Anonymous
Karma:
Originally posted by: jcn@link.UUCP (J. C. Noll)
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Plus/Term fixes?
Next Topic: Need Screen-80
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Apr 25 15:47:35 EDT 2024

Total time taken to generate the page: 0.00515 seconds