EtchedPixels / FUZIX

FuzixOS: Because Small Is Beautiful
Other
2.19k stars 275 forks source link

util: cu - micro serial console #1114

Closed veremenko-y closed 1 week ago

veremenko-y commented 1 week ago

NAME

cu - simple serial console.

SYNOPSIS

cu -l device [-s speed] [-E escape-character]

DESCRIPTION

Simple and minimal terminal emulator program, to use with modems and alike.

Just like other terminal emulator progrms cu supports escape sequence to execute a command in cu itself.

OPTIONS

-l device

Path to the character device. -E escape-character Set alternate escape character.

-s speed

Set speed of the device in baud before connecting.

COMMANDS

Commands are executed by first inputing escape character ( ESC ) which by default is ˜

  ESC .   Quit program and restore device termios to the previous settings.

ESC ESC

Print escape character verbatim.

Note: Escape character is only acknowledged after a new line.

EXAMPLES

cu -l /dev/tty2

cu -s 300 -l /dev/tty2

BUGS

To be found.

AUTHORS

Yaroslav Veremenko

EtchedPixels commented 1 week ago

Thanks a lot