Skip to content

Conversation

@benpicco
Copy link
Contributor

Contribution description

These days native is usually wrapped by pyterm. pyterm already takes care of handling ^D, so no need to handle this as a special case in native.

Testing procedure

examples/networking/misc/telnet_server no longer exits when you press ctrl-d on the remote shell.

Issues/PRs references

These days `native` is usually wrapped by `pyterm`.
`pyterm` already takes care of handling ^D, so no need to handle this
as a special case in `native`.
@github-actions github-actions bot added the Area: sys Area: System label Mar 21, 2025
@benpicco benpicco requested a review from OlegHahm March 21, 2025 18:18
@OlegHahm
Copy link
Member

I'm not quite sure I understand the benefit of this PR. Does this fix or improve anything?

@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Jun 11, 2025
@benpicco
Copy link
Contributor Author

The only difference is for native with a remote shell.
When the remote shell sends ^D it will now terminate the connection, but not exit the native process.

@riot-ci
Copy link

riot-ci commented Jun 11, 2025

Murdock results

✔️ PASSED

8431d2e sys/shell: always default to CONFIG_SHELL_SHUTDOWN_ON_EXIT=0

Success Failures Total Runtime
10379 0 10379 12m:33s

Artifacts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: sys Area: System CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants