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,Nano-X] Remove unused AF_NANO sockets, cleanup Nano-X source #2219

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

ghaerr
Copy link
Owner

@ghaerr ghaerr commented Feb 3, 2025

Sets CONFIG_UNIX=y UNIX sockets default ON in IBM PC and PC-98 builds. This allows CI builds to be used for running nano-X in client/server mode.

Cleans up kernel and nano-X source code.
Adds <sys/un.h> instead of <linuxmt/un.h>
Removes CONFIG_NANO ("nano sockets") as CONFIG_UNIX ("UNIX sockets") are standard and now work.

First step in getting proper debug output from nano-X: replace printf with perror or __dprintf to be able to see errors. This requires that the serial console be enabled when running nano-X, which is a bit tricky when also using a mouse.

@ghaerr ghaerr merged commit d492ae1 into master Feb 3, 2025
2 checks passed
@ghaerr ghaerr deleted the nano branch February 3, 2025 17:24
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