Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util: ucom - micro serial console #1101

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

veremenko-y
Copy link
Contributor

@veremenko-y veremenko-y commented Oct 17, 2024

NAME

ucom - simple serial console.

SYNOPSIS

ucom [-s speed] device

DESCRIPTION

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

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

OPTIONS

-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 ˆA.

ESC q

Quit program and restore device termios to the previous settings.

ESC ESC

Print escape character verbatim.

EXAMPLES

ucom /dev/tty2

ucom -s 300 /dev/tty2

BUGS

To be found.

AUTHORS

Yaroslav Veremenko

SEE ALSO

@EtchedPixels
Copy link
Owner

Might make sense if it followed a minimal subset of cu options so it's more standardly unixish


-l /dev/tywhatever
-s speed

@veremenko-y
Copy link
Contributor Author

veremenko-y commented Oct 20, 2024

Might make sense if it followed a minimal subset of cu options so it's more standardly unixish


-l /dev/tywhatever
-s speed

Make sense. But would you want me to also make ~ an escape character like cu?
I didn't really follow cu spec because I also didn't follow cu escape sequence. I could do that though if you think it's beneficial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants