Difference between revisions of "Model T Termcap"

From Bitchin100 DocGarden
Jump to: navigation, search
(Logging into Debian/Ubuntu Linux)
 
Line 62: Line 62:
 
# 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
 
# 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
 
# Once you're "in" set TERM=m100 . You may also want to experiment with running GNU screen.
 
# Once you're "in" set TERM=m100 . You may also want to experiment with running GNU screen.
 +
# If curses-based programs still act as if you have a larger screen even after setting the terminfo, at the prompt type: <code>stty rows 8 columns 40</code>
  
 
== Logging into Mac OSX ==
 
== Logging into Mac OSX ==

Latest revision as of 06:37, 26 April 2012

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

Alternative termcap files

Palmheads

diller

The Model 100 Serial Terminal Project

Multiple termcaps for testing...

MZ|m100|trs100|TRS100|radio shack model 100:\
	:am:bs:le=^H:li#8:co#40:\
	:ku=^^:kd=^_:kl=^]:kr=^\:up=\EA:nd=\EC:ho=\EH:ce=\EK:\
	:cd=\EJ:cl=\EE:xt:cm=\EY%+ %+ :\
	:so=\Ep:se=\Eq:al=\EL:dl=\EM:
MZ|m100v|radio shack model 100 with video:\
	:co#80:do=^_:is=\ED:le=^]:li#24:nd:^\:sr=\EI:up=^^:tc=m100:
MZ|m200|trs200|TRS200|radio shack model 200:\
	:am:bs:le=^H:li#16:co#40:\
	:ku=^^:kd=^_:kl=^]:kr=^\:up=\EA:nd=\EC:ho=\EH:ce=\EK:\
	:cd=\EJ:cl=\EE:xt:cm=\EY%+ %+ :\
	:so=\Ep:se=\Eq:al=\EL:dl=\EM:

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,
       acsc=l\360m\355k\362j\367t\364u\371v\370w\363q\361x\365n372`\235a\377f\246g\215~\257\,\233+\232.\231-\230h\377O\357,
       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,
       smso=\Ep,
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:\
        :am:bs:xt:\
        :co#40:li#8:\
        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :\
        :cr=^M:dl=\EM:do=^J:ho=\EH:kb=^H:kd=^_:kl=^]:kr=^\:\
        :ku=^^:le=^H:nd=\034:se=\Eq:sf=^J:so=\Ep:up=\EA:\
        :ve=\EP:vi=\EQ:

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.