SchOS/kernel/core
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
..
console.c i2c-hid: the touchpad crash was a printf format, not the driver 2026-10-25 00:28:23 +02:00
dma.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
kalloc.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
klog.c GMMOS: the Guru Meditation Micro OS, alive under the PSOGM 2026-10-25 01:11:04 +02:00
kmem.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
ksym.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
main.c Pseudo-terminals, and what tmux and htop needed around them 2026-10-25 02:11:10 +01:00
panic.c GMMOS: the Guru Meditation Micro OS, alive under the PSOGM 2026-10-25 01:11:04 +02:00
qr.c qr: every version, 1 to 40 2026-10-25 00:43:36 +02:00
sbuf.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
sleeplock.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
spinlock.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
string.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
time.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
uaccess.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00