Back to Interactive Shell
Oils has a headless mode with osh --headless, which is meant to divorce the shell and the terminal. You should be able to interact with a shell through a GUI, rather than a terminal.
It uses the "FANOS" protocol we invented, which is ~200 lines of C or ~100 lines of Python. FANOS stands for "file descriptors and netstrings over sockets".
Slogans:
#shell-gui on Zulip has many discussions: https://oilshell.zulipchat.com/#narrow/stream/266977-shell-guifanos.go library: https://github.com/subhav/web_shell/push-registers { foo } to avoid clobbering $?, BASH_REMATCH, and other registers (VM globals).read --json and read --qtt make more sense?)--source (global) (or should it be --use (namespaced) ?)#shell-gui on Zulip for discussion!This is a non-FANOS interface: