SchOS/tools/posix
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz fd9d392416 Pseudo-terminals, and what tmux and htop needed around them
- /dev/ptmx and /dev/pts/N: Unix98 pairs with a full line discipline,
  window sizes, job control and hangup (kernel/dev/pty.c).
- The console speaks scroll regions, insert/delete line, SU/SD, RI/IND/NEL,
  DECSC/DECRC; swallows charset designations and private CSI sequences;
  and LF only returns the carriage under ONLCR.
- setsid() drops the controlling terminal, so a pane's pty becomes its ctty.
- pipe2() honours O_NONBLOCK and O_CLOEXEC (libevent's signal pipe).
- File modes are stored and enforced: chmod, fchmod(at), umask, creation
  modes; /tmp is 1777.
- /proc/stat has real user/system/idle; /proc/<pid>/task; kthread flag.
- SO_PEERCRED, IOV_MAX 1024.
- /proc/strace: name a program and its syscalls go to the kernel log.
- World gains htop, btop, tmux, mc, ncdu, fastfetch, games, X toys, NetSurf.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-25 02:11:10 +01:00
..
alpine-lock.sh build: an apk-managed root, with SchOS as a package 2026-10-24 15:28:32 +02:00
memory-sync.sh tools: group scripts by what runs them 2026-08-09 14:38:02 +02:00
mkaroot.sh Pseudo-terminals, and what tmux and htop needed around them 2026-10-25 02:11:10 +01:00
mkdisk.sh storage: AHCI, GPT/MBR partitions, and a disk a PC can boot 2026-10-22 10:57:41 +02:00
mkiso.sh SCFF: the live root ships compressed, with Xorg and Window Maker 2026-10-24 21:17:31 +02:00
mktree.sh tools: group scripts by what runs them 2026-08-09 14:38:02 +02:00
mutate.sh tools: scripts that run from anywhere, and a mutation test that ran nothing 2026-08-11 10:39:58 +02:00
release.sh tools: release.sh publishes the ISO, and keeps only the newest one 2026-10-24 22:11:01 +02:00
schcom_test.sh licence: SchOS is GPL-2.0-or-later, no longer Apache-2.0 2026-10-22 08:48:45 +02:00
schfs_roundtrip.sh licence: SchOS is GPL-2.0-or-later, no longer Apache-2.0 2026-10-22 08:48:45 +02:00
setup-fedora.sh Prepare for the move to Fedora 2026-08-09 17:25:07 +02:00
sha256check.sh tools: group scripts by what runs them 2026-08-09 14:38:02 +02:00