Thursday, August 16, 2007

Screen for Serial Access

GNU ScreenA friend (hi, dwc) mentioned to me a few weeks (months?) ago that screen can be used as a serial terminal (like minicom or cu(1) or tip(1)). Up until today, I hadn't had a chance to try it -- I'd been using minicom from MacPorts.

Today, using my nifty osx-pl2303 driver for my Tripp-Lite U209-000-R USB-to-serial adapter and screen, I was able to get a serial console to a server in my office. Specifically, I typed:
screen /dev/cu.PL2303-0000101D 38400
When I was done, I typed: ^a^k to kill the terminal session. Since screen(1) is part of the base OS X install.