3 ms·
There is more to writing a shell than simply reading commands and executing them after fork()ing. TTY handling must be done right¹ and interrupt and signal han
by teddyh 9y ago
There is more to writing a shell than simply reading commands and executing them after fork()ing. TTY handling must be done right¹ and interrupt and signal handling is rather tricky to get right as well².
① http://www.linusakesson.net/programming/tty/ http://www.linusakesson.net/programming/tty/
② https://www.cons.org/cracauer/sigint.html https://www.cons.org/cracauer/sigint.html
- tyingq 9y agoThe title does say "Part 1"