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

[kernel,cmds] Fix tty SIGINT not handled when using sercat #2001

Merged
merged 2 commits into from
Sep 5, 2024
Merged

Conversation

ghaerr
Copy link
Owner

@ghaerr ghaerr commented Sep 5, 2024

Fixes ^C not terminating sercat found by @RNRetailer discussed in #1974 (comment).

Also changed sercat so that when run with no arguments, /dev/ttyS0 is automatically selected for the serial port, when run from the direct console. When run from a serial port, that serial port will be selected, otherwise a command argument must be specified.

sercat will either terminate when ^D is received from the serial port, or additionally, if not being run from a serial port, a ^C will terminate the program.

@ghaerr ghaerr merged commit 64113a4 into master Sep 5, 2024
1 check passed
@ghaerr ghaerr deleted the sercat branch September 5, 2024 21:52
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.

1 participant