-
-
Notifications
You must be signed in to change notification settings - Fork 163
Headless Mode
andychu edited this page Jul 6, 2024
·
15 revisions
Back to Interactive Shell
- Use
push-registers { foo }
to avoid clobbering$?
,BASH_REMATCH
, and other registers (VM globals).
-
Blog Posts tagged #headless
- Oil's Headless Mode Should Be Useful for UI Research (Notes on the HotOS Unix Shell Panel)
- https://www.oilshell.org/release/latest/doc/headless.html
- Shell as an Engine for a GUI or TUI: https://github.com/oilshell/oil/issues/738
- web_shell prototype: https://github.com/subhav/web_shell/blob/master/command_server.sh
- descriptor passing would be nice. Uses LD_PRELOAD to trick bash into thinking it's running from a terminal.
-
#shell-gui
on Zulip has many discussions: https://oilshell.zulipchat.com/#narrow/stream/266977-shell-gui
- Demo of how to pass a pipe, and e.g. dump JSON (is our json builtin stable? Or does
read --json
andread --qtt
make more sense?) - command line option
--source
(global) (or should it be--use
(namespaced) ?) - Document "registers" ?
- More docs on how to implement a headless client. Join
#shell-gui
on Zulip for discussion!