SchOS/ports/alpine/world
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

49 lines
1.5 KiB
Text

# Alpine packages built into the apk-managed root, one per line.
#
# Edit this, then run `make alpine-lock` to resolve it, with every dependency,
# into world.lock -- exact versions and checksums. A normal build installs
# exactly what world.lock says from dist/alpine/, downloading only files it
# does not have yet, and never asks Alpine what is newer. That happens only
# when you run `make alpine-lock` again.
#
# Anything else is one `apk add` away on the running system; this list is
# what a fresh image starts with.
# The login shell. Replaces SchOS's own zsh port.
zsh
# Terminal descriptions for zsh, htop, and everything else that draws.
ncurses-terminfo-base
# The PCI and USB ID databases: lspci, fastfetch and Xorg read them.
hwdata-pci
hwdata-usb
# X on the framebuffer, with startx. /root/.xserverrc and .xinitrc (from
# mkaroot.sh) start it with -dumbSched and run Window Maker in it.
xorg-server
xf86-video-fbdev
xf86-input-evdev
xinit
# The desktop: Window Maker, a terminal for it, and a font for both.
windowmaker
xterm
font-dejavu
# Stress: terminal programs that draw, multiplex and poll. htop and btop read
# /proc hard; tmux wants ptys, sockets and signals; mc does everything at once.
htop
btop
tmux
mc
ncdu
fastfetch
# Games. In the terminal: nethack, the BSD set, and two toys. On X: lbreakout2
# (SDL 1.2) and the classic X clients.
nethack
bsd-games
cmatrix
sl
lbreakout2
xeyes
xclock
xcalc
# A browser: NetSurf, on GTK 3 -- glib's threads, cairo, pango, TLS. The step
# before WebKit (epiphany), which is `apk add` away.
netsurf