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.

2 comments:

  1. In "When I was done, I typed: ^a^k to kill the terminal session when I was done."

    "Replace with When I was done, I typed: ^a^k to kill the terminal."
    or
    "I typed: ^a^k to kill the terminal session when I was done."

    btw, hi :)

    ReplyDelete
  2. Hi.

    Thanks for pointing that out. When I wrote that post, I was also working on something for the department of redundancy department when I wrote that post. :)

    ReplyDelete