a-shell
a-shell copied to clipboard
emacs?
I know we have Vim but is there any chance you could add emacs?
Emacs is covered by the GPL, and thus incompatible with AppStore rules as far as I know. But I will add microemacs at some point.
If you provide the emacs binary as a standalone file, it won’t be in the build itself, but users could download it (and perhaps execute a script to install it!) and wouldn’t violate the GPL.
iOS security rules are pretty strict: in order for the system to execute a binary, it must be signed by the developer and placed in a directory that can only be accessed at installation time (so, not accessible by the user).
That wouldn’t inhibit execution of webassembly files, which there is a compiler for, if placed in the user directory. I can make a very simple C file that just prints “hello world” and compile it (without manually signing it) and it’ll execute.
Ah, yes, a WebAssembly version of emacs would work. The problem right now is to get interactive input to the WASM binary. I haven't found a way yet.
Well, I suppose one of the best ways to go about it would be to work off the same kind of framework done with Vim.
Vim is running native, instead of using WebAssembly. Very few commands in a-Shell are using WebAssembly (file, tree, ctags, xz).