VT220 serial console (circa 1983) set up as a terminal for Mac Pro (2010)

Tumblr Lpo5Dfqyiz1Qz4Mo8

VT220 serial console (circa 1983) set up as a terminal for Mac Pro (2010)

My biggest source of information getting this going was Paul Weinstein’s post about setting up an Apple IIc as a terminal for his Mac mini (which is similar, but not quite the same since the IIc still has to emulate the terminal in software). I got the same USB-to-serial adapter, a Keyspan USA-19HS ($27), which has Mac drivers that I can happily confirm work well with 10.7 Lion. I also needed a null modem cable ($7) and 25-pin female/female converter ($4) to connect it to my VT220.

At first I used the same method as Paul to get it working, gluing together the terminal and OS with a utility called screen. As Paul notes, this is less than desirable. It still requires you to open a software terminal to make the connection, and you’re still operating through a layer of emulation. On most Unixes you can simply add a line to /etc/ttys and everything just works via getty, but apparently this has been disabled in OS X since 10.5.

Eventually I found this page, which explains the problem and how to fix it. After adding a line in /etc/gettytab to manually set the terminal type to vt220-8bit everything works perfectly! A real hardware terminal directly connected the old fashioned way, with no emulation. Awesome.

Filed under: random — by adafruit, posted August 10, 2011 at 12:00 am


Try Adafruit's new iPhone & iPad app for makers! Circuit Playground! "Incredibly handy for anyone working in electronics. Perfect for engineers and non-engineers alike."
Looking for engineers, makers and the builders of dreams? Try our Adafruit job boards.
Join our weekly Adafruit SHOW-AND-TELL at 9:30pm ET every Saturday night! Then at 10pm, ASK-AN-ENGINEER with Ladyada and the Adafruit team!

5 Comments

  1. I love mixing old hardware and new, nothing like getting it done with the hardwire.

    Comment by Nathan — August 10, 2011 @ 12:54 am

  2. I don’t know why, but I absolutely love this sort of stuff. I’ve been wanting to get an old serial console hooked into my Mac for a while, but never knew how difficult it would be (or even if it were possible), so I never bothered getting my hands on one. Thanks for sharing!

    Comment by Matt Richardson — August 10, 2011 @ 7:41 am

  3. Love me some amber phosphor!
    I was so bummed when I had to toss my VT220 during a move purge. Solid stuff! Huge keyboard, though!2

    Comment by David Kavanagh — August 10, 2011 @ 11:40 am

  4. Just because of this I tried to get one on ebay. There was only one seller -in the USA- i’m in Germany.

    The price itself is ridiculus but have a look at the details:

    http://img6.imagebanana.com/img/ievrvlpr/VT220Ebay.JPG

    Comment by H.B. — August 11, 2011 @ 8:00 am

  5. Nice but the VT-220 wasn’t used with a “mainframe.” Maybe a Vax or a PDP-11 or a PDP-10, which believe it or not were called “minicomputers.”

    Comment by Leigh — August 11, 2011 @ 7:17 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

www.flickr.com
adafruit's items Go to adafruit's photostream
www.flickr.com
items in Adafruits More in Adafruits pool