crabterm-0.1.0 is not a library.
crabterm
A terminal (UART) server and client written in Rust.
Inspired by termhub but rewritten from scratch in Rust (not compatible).
If used without the server ability, then it is very similar to picocom or minicom.
Features
- Serial port connections (e.g.,
/dev/ttyUSB0) - TCP device connections (connect to remote serial servers)
- TCP server mode (expose a serial port over the network)
- Multiple simultaneous TCP clients
- Echo mode for testing without hardware
- Configurable keybindings
- Timestamp filtering on output
- Auto-reconnection on disconnect
Installation
Usage
# Connect to a serial device
# Connect with specific baudrate
# Connect to a TCP device
# Start a TCP server exposing a serial port
# Echo mode (for testing)
# Headless mode (daemon, no local console)
Configuration
Configuration file: ~/.crabterm
Example:
# Quit with Ctrl+Q
bind ctrl+q quit
# Prefix mode: Ctrl+A followed by another key
prefix ctrl+a
# Send break signal with Ctrl+A, b
bind ctrl+a b send \x00
# Toggle timestamp filter
bind ctrl+a t filter-toggle timestamp
License
MIT