Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 989 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 989 Bytes

opencu - serial terminal emulator

This is a port of OpenBSD's serial terminal emulator cu(1) to Linux.

Dependencies

Portable cu(1) is built using cmake. It requires a working C compiler, standard library and headers and libevent.

Building from source

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Binary Packages

Pre-built binary packages for opencu are available in Debian, Ubuntu and the Arch User Repository (AUR). It is our hope that packagers take interest and help adapt opencu to more distributions.

Usage

To connect to the serial port at /dev/ttyUSB0 with a baud rate of 115200 baud:

cu -l /dev/ttyUSB0 -s 115200

To close the connection and exit cu, enter ~.. You can use ~? to print a list of all supported commands.