Skip to content

tobhe/opencu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.