macOS and Linux
| Platform | State |
|---|---|
| Linux | where supervise is developed and run every day |
| macOS | runs on Apple silicon; seats and the seat view have been run there |
| Windows | not tried |
What differs on a Mac
Section titled “What differs on a Mac”- Process facts. Linux answers “which process is this, and who started
it” from
/proc. macOS has no/proc, so the seat host reads the same facts from the process table. - Memory. The check that keeps a heavy job from starting on a full machine reads available memory differently on each system.
- The seat-view key. The default key that opens the seat view is
Ctrl+\. A Norwegian Mac keyboard cannot type it, in a bare terminal or inside tmux;Ctrl+4opens the view there. Other layouts are not measured. AnywhereCtrl+\fails,supervise prefix --capturestores a chord you press that works; the installer offers it once. - The runtime directory. Linux has
/run/user/<uid>. On a Mac, doctor sets up a directory under the system temp directory and names it. - The socket path. Each seat listens on a Unix socket in the runtime
directory. macOS allows 103 bytes for that path, Linux 107. The default
directory fits; with a longer one
supervise claudestops and names the limit, and a shorterXDG_RUNTIME_DIRis the fix.
What is the same
Section titled “What is the same”The seats, the plugin and the recap are the same code on both, and repld runs on both. The handoff is the same code too, and has only been run on Linux.