GNU screen as serial terminal


Overview

GNU screen makes a very good serial port terminal. You can connect a screen window to any serial device.
The communication settings are a comma separated list of control modes as would be passed to stty. See the man page for stty for more info.

see http://www.noah.org/wiki/Screen_notes

top

Example

Following an example of a screen command using an USB serial adapter set to 4800 bits/s, character size of 8 bits, no parity, one stop bit, input 'line feed' to 'carriage return' translation, output newline performing a carriage return, local echo:

screen /dev/ttyUSB0 4800,cs8,-parenb,-cstopb,inlcr,onlret,echo
top

Serial Devices on Mac OSX

Serial devices on Mac OSX usually have paths /dev/cu.*.
e.g. /dev/cu.Bluetooth-Modem

As GNU screen is available on every standard Mac OSX system, it is the serial terminal program of choice there too.

See Mac's and serial TTY's

top

top
line
This site maintained by:
lukas.zimmermann@unibas.ch
My public PGP key
last updated: 2014-09-30 Valid CSS! Valid XHTML 1.0 Strict