Using a CBM B series computer as a Unix terminal

From: Marko Mäkelä (
Date: 2002-01-22 15:17:21

The GNU Emacs distribution includes a file etc/termcap.src that contains
terminal description entries for various computers, including one we know:

# Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
# 	I'm trying to write a termcap for a commodore b-128, and I'm
# having a little trouble. I've had to map most of my control characters
# to something that unix will accept (my delete-char is a ctrl-t, etc),
# and create some functions (like cm), but thats life.
# 	The problem is with the arrow keys - right, and up work fine, but
# left deletes the previous character and down I just can't figure out.
# Jove knows what I want, but I don't know what it's sending to me (it
# isn't thats bound to next-line in jove).
# 	Anybody got any ideas? Here's my termcap.
# DAG -- I changed his "^n" entries to "\n"; see if that works.
commodore|b-128|Commodore B-128 micro:\

I haven't played around with this yet, but I think that the capabilities
of the CBM B series editor are pretty good, as there are escape sequences
for implementing commands like visual bell (ESC r followed by ESC n) and
for deleting and inserting lines of text.

My questions: Is there a semi-decent terminal program for the CBM B
series, or do I have to write my own in BASIC?  When using OPEN2,2,3 for
RS-232 I/O, is CTS/RTS or XON/XOFF handshaking available?  I guess the
latter is not, as DC1 is mapped to HOME and DC3 to CURSOR DOWN on the
Commodore.  But what about CTS/RTS, do I need machine language?  And how
is DTR/DSR handshaking supposed to work?


       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.1.