3 ms·
Why not just make a server that starts up once in the background and then a lightweight c frontend to the server that essentially just pipes every keystroke to
by earenndil 9y ago
Why not just make a server that starts up once in the background and then a lightweight c frontend to the server that essentially just pipes every keystroke to the server?
- cben 9y agoShells are supposed to inherit a ton of state from their parent — [e]uid, groups, working dir, env vars, nice, umask, chroot, ... This takes zero effort in unix, but would all have to be (securely!) re-implemented to be able to send code to a shared execution daemon... And I expect the right implementation for many of these params will be running separate daemons anyway (eg. you clearly want one per user).