Model T Termcap

From Bitchin100 DocGarden
Jump to: navigation, search

The Model T can be used as a serial terminal to a Linux machine.

Alternative termcap files



The Model 100 Serial Terminal Project

Multiple termcaps for testing...

MZ|m100|trs100|TRS100|radio shack model 100:\
	:cd=\EJ:cl=\EE:xt:cm=\EY%+ %+ :\
MZ|m100v|radio shack model 100 with video:\
MZ|m200|trs200|TRS200|radio shack model 200:\
	:cd=\EJ:cl=\EE:xt:cm=\EY%+ %+ :\

The following one is working fine for me, though it needs a t200 variant derived from m100 "use=m100". Jhoger 08:57, 5 May 2011 (PDT)

trs100|m100|Radio Shack Model 100,
       am, xt,
       cols#40, lines#8,
       bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
       cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
       ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H,
       kcub1=^], kcud1=^_, kcuf1=^\, kcuu1=^^, nel=^M^J, rmso=\Eq,
m100v|Model 100 with DVI,
       cols#80, lines#24,
       cub1=^], cud1=^_, cuf1=^], cuu1=^^, is2=\ED, kbs=^H, kcub1=^H,
       kcud1=^J, ri=\EI, use=m100,
trs100|Radio Shack Model 100:\
        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :\

Logging into Debian/Ubuntu Linux

(Need more specifics)

  1. Download/install HTERM on your laptop.
  2. Compile and install the termcap using tic <filename>
  3. Edit your /etc/inittab to enable a getty session for your chosen serial port. You will want the -h option and 38400 speed if you are using HTERM
  4. Once you're "in" set TERM=m100 . You may also want to experiment with running GNU screen.
  5. If curses-based programs still act as if you have a larger screen even after setting the terminfo, at the prompt type: stty rows 8 columns 40

Logging into Mac OSX

NB: haven't gotten this working yet. Jhoger 08:57, 5 May 2011 (PDT)

General HOWTO

  1. Install a USB->Serial adapter and determine the serial device path
  2. Pick a termcap file
  3. Compile and install it with tic
  4. Set up the gettytab to allow login via the serial device path.