|
6892fd96d0
|
sh: Split a command into arguments and pass those on
This is a big achievement!!
|
2022-10-26 20:06:21 +02:00 |
|
|
23b12d2d56
|
sh: Clear exit status if we do not execute another command
|
2022-10-26 19:39:04 +02:00 |
|
|
5492b1b44d
|
sh: Implement our own execvp() while we wait for libc.
Of course, this is a very primitive execvp with hardcoded paths.
If it were decent, it would be integrated into libc instantly.
|
2022-10-26 19:36:09 +02:00 |
|
|
7d20c507b1
|
Kernel, libc, userspace: Implement command-line arguments (argv)
The only thing missing now is for sh to pass them on.
|
2022-10-26 18:57:06 +02:00 |
|
|
0bad662c2f
|
sh: If fork() fails, show an error containing fork
|
2022-10-26 17:13:47 +02:00 |
|
|
af452e2b2a
|
Kernel, libc: Add dup2()
|
2022-10-25 18:58:06 +02:00 |
|
|
a1a1157151
|
sh: update it
|
2022-10-22 15:09:09 +02:00 |
|
|
4aa979bd87
|
sh: remove duplicate code
|
2022-10-22 15:08:27 +02:00 |
|
|
27a18a608c
|
libc: Implement fgets, fgetc, getc, getchar (with buffered read IO)
|
2022-10-22 11:38:16 +02:00 |
|
|
da61e3648f
|
Kernel: Implement blocking reads
This is a huge step forward!! bc actually runs now, without echo or backspace, but it runs!!
|
2022-10-21 21:26:19 +02:00 |
|
|
0720b3245b
|
sh: Do not backspace if command is empty
|
2022-10-20 19:32:32 +02:00 |
|
|
bd4c587409
|
sh: Try to execute programs in /bin if they are not found
|
2022-10-20 19:12:17 +02:00 |
|
|
de167c3c67
|
sh: Show last command' exit status in prompt if non-zero
|
2022-10-20 08:21:18 +02:00 |
|
|
aebd860947
|
libc: Add stdin
Aka keyboard :)
|
2022-10-19 20:43:04 +02:00 |
|
|
a815beacfb
|
sh: add builtins
|
2022-10-19 20:34:10 +02:00 |
|
|
7e9744419e
|
sh: Improve it
|
2022-10-19 20:16:21 +02:00 |
|
|
3c5c92c7c3
|
sh: Add a simple interactive shell
|
2022-10-19 19:42:05 +02:00 |
|