lamsh,a shell so simple its nearly not usable

started by alice 2026-09-11

For now, a shell
I started on doing one command call first, then saw a blog post about writing a shell, so I thought, why not do just that
This is then version one, a prototype with one alias
Will add a good prompt, line editing, history etc later, for now it is as simple as a shell can be, in C89 using goto if course

So should I do input as an array of chars and use the TERMIOS stuff for line editing? I don't want other dependencies than libc.

https://git.sr.ht/~trondelag__/lam/tree/GPLit/item/lam.c

Log in or register to reply.