0

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.


Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.

Join 7,500+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Rethink Robotics closes shop. Long live collaborative robots #makerbusiness

Wearables — Zip it up

Electronics — Serial overkill

Biohacking — Biohacking Resources – Books, Talks and Podcasts

Python for Microcontrollers — CircuitPython creates new assistive tech opportunities

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



5 Comments

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

  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!

  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

  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

  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.”

Sorry, the comment form is closed at this time.