

If anyone can reply with a link to a tutorial on how to wrap an interactive Unix App in Cocoa, that would be the next step - it would be nice to do this without involving Terminal. man screen will show you further commands to send to a screen session. If you fail to do this and exit a Terminal session, you'll leave the screen session alive and the serial resource unavailable until you kill the screen session manually. So type Control-A followed by Control-\ to exit your screen session. Screen uses Control-A to take commands directed to it. You may also need to customize the screen command with a different device name if you are using something other than the Keyspan Serial Adapter (do an ls tty* of the /dev/ directory to get the right name). You may want to customize this slightly - you can change the screen colors or number of columns or rows. Set custom title of window 1 to "SerialOut"Ĭompile and save as an app from within Script Editor, and you have a double-clickable application to launch a serial Terminal session. Set normal text color of window 1 to "green" Set background color of window 1 to "black" Solution: Use screen, Terminal, and a little AppleScripting.įirst, launch Script Editor and type/paste in the following code:ĭo script with command "screen /dev/tty.KeySerial1" Minicom requires installation of Fink or MacPorts and is overly complex.It is not worth the shareware fee in its current form. The developer doesn't seem in any hurry to rectify the situation.

It hasn't been updated in five years or so, and isn't a Universal Binary. I often have to do router configuration via a console port, so I use a Keyspan Serial Adapter to get access.
