SchOS/ports
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz fdbd9bcf95 zsh: two more cache answers that claimed capabilities SchOS lacks
Checking the rest of ZSH_CACHE after the killesrch fix, on the principle that
one wrong answer in a hand-written block is rarely the only one. Two more, both
`yes`, both measurable on the running system in a line each.

**zsh_cv_sys_path_dev_fd=/dev/fd.** Neither /dev/fd nor /proc/self/fd exists --
/proc/self does not exist at all. So `<(cmd)` failed at the point of use with

    cat: /dev/fd/11: No such file or directory

which reads as a broken command rather than as a feature the system does not
have.

**zsh_cv_sys_fifo=yes.** mkfifo() does not fail here. It *succeeds*, and
produces a character device: mknod() turns S_IFIFO into a T_DEV and keeps the
major/minor, so `ls -l` shows `crw-rw-rw- 438, 0` where a `p` belongs, and
nothing written to it comes back out. Succeeding wrongly is what made `yes`
look defensible.

Both `no` now. `<(cmd)` says "doesn't look like your system supports FIFOs",
which names the missing thing instead of blaming cat, and `$( )` is unaffected.

The two gaps are recorded in docs/architecture/filesystem.md rather than left
implied by a build flag -- named pipes and a path to one's own descriptors are
both real features, and neither exists.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 00:36:48 +02:00
..
fastfetch kernel: processes have an environment now, and zsh is the shell 2026-09-12 23:26:50 +02:00
JetBrains_Mono Initial commit: Schunix as it stands before the SchOS rename 2026-08-09 13:47:01 +02:00
kilo userland: 268 applets, an editor, names that resolve, and a web server 2026-09-14 19:24:55 +02:00
lwip net: a TCP/IP stack, and AF_INET on the sockets that were already there 2026-08-15 16:02:48 +02:00
mk ports: ncurses, so zsh's line editor has a terminal to drive 2026-09-12 21:34:36 +02:00
mksh kernel: processes have an environment now, and zsh is the shell 2026-09-12 23:26:50 +02:00
musl Build and tools work on Linux, macOS and BSD as well as Windows 2026-08-09 14:24:53 +02:00
ncurses kernel: processes have an environment now, and zsh is the shell 2026-09-12 23:26:50 +02:00
Roboto Initial commit: Schunix as it stands before the SchOS rename 2026-08-09 13:47:01 +02:00
toybox build: fix four things a clean build found, three of them mine 2026-09-14 19:45:22 +02:00
zsh zsh: two more cache answers that claimed capabilities SchOS lacks 2026-09-22 00:36:48 +02:00
Makefile userland: 268 applets, an editor, names that resolve, and a web server 2026-09-14 19:24:55 +02:00