Skip to content

Conversation

@clemdiep
Copy link
Contributor

@clemdiep clemdiep commented Dec 3, 2025

In cannon mode, the kernel should directly write to the console and handle special chars like backspace. Also, read syscall only return when end of line is reached, which is expected by libc fgets/getc functions.

In raw mode, no processing is done by the kernel and each char are returned directly. This is used by more for example.

There's more possible on the mode (=> termios), but only the base ones are implemented by this PR.

Closes #232

@clemdiep
Copy link
Contributor Author

clemdiep commented Dec 3, 2025

CI isn't working when building usr because of termios.h which seems to have some problem with the standard GCC toolchains. This should be fixed with #227

@clemdiep clemdiep linked an issue Dec 3, 2025 that may be closed by this pull request
@clemdiep clemdiep merged commit 44fdd8e into 144-support-musl Dec 10, 2025
7 of 11 checks passed
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.

Rework console management

4 participants