[net.sources] WANTED:termcap for C64

pugsly@isrnix.UUCP (David Roth) (09/22/84)

I am looking for a termcap for the Commodore 64. If you
have one, please reply by mail. Thanks in advance.
                                David Roth
                        decvax!pur-ee!iuvax!isrnix!pugsly

bllklly@uwmacc.UUCP (Bill Kelly) (10/09/84)

Since there have been a lot of requests for a termcap entry for the 64,
I'll post this instead of replying to the requestors.  In addition, here's
an explanation of what the entries mean (more than you bargained for :-).

First a simple one that specifies 25 lines of 40 columns, automatic
wrapping when the cursor hits the right margin, backspacing using the ASCII
backspace character, wrapping back to the right edge when backspacing at
column1, and clear screen with control-L.  This should cover most "dumb"
terminal programs.  I use it with Commodore's Term64, which unfortunately
doesn't work well because it doesn't echo line feeds, and termcap won't
take no for an answer about line feeds.

z9|term64|commodore64 w term64:\
	:li#25:co#40:am:\
	:bs:bw:cl=^L:

Here's a slightly different one I use with my homebrew terminal emulator,
using various control characters to correspond to the arrow and home keys.
If you have an emulator that does support those functions, plug in the
right values in place of the control characters I chose:

z8|c64|commodore64:\
	:li#25:co#40:am:\
	:bs:bw:cl=^L:ho=^F:\
	:kb=^H:kd=^_:kl=^\:kr=^]:ku=^^:
-- 

Bill (Regnad Kcin) Kelly
{allegra, ihnp4, seismo}!uwvax!uwmacc!bllklly
1210 West Dayton St/U Wisconsin Madison/Mad WI 53706

"When you have eliminated the impossible, what remains,
 however improbable, is the truth."
 ---Sherlock Holmes' comments on debugging, from his monogram
    "The Art of Deduction and Babbage's Analytical Engine"