Commit Graph

66 Commits

Author SHA1 Message Date
62cf07afc7 ulib uprintf to pipe not termdev, ulib Add stringbuffer and linearlist, tb Capture subshell output 2025-10-01 20:08:44 +02:00
fa8a774115 tb Hex/byte escapes 2025-09-29 23:18:27 +02:00
39981fdbbf tb String escaping 2025-09-29 23:12:19 +02:00
10711f7fb3 tb Fix string tokenization bug (bad classification) 2025-09-29 22:58:40 +02:00
0fb63b4695 pctl Add kill command 2025-09-29 21:43:28 +02:00
46e52c8d48 tb %PID builtin command 2025-09-29 21:37:48 +02:00
4e8afae5fb all procs are user procs 2025-09-29 21:32:07 +02:00
e03e950879 tb Fix alias expansion 2025-09-28 23:27:04 +02:00
2b93d6d184 tb input from ps2kb 2025-09-28 23:26:07 +02:00
f5f44da5f6 tb finally works 2025-09-28 22:37:03 +02:00
1fd6c4e221 Get rid of writefmt functions 2025-09-28 20:10:41 +02:00
8d081bedb0 Ditch dlmalloc in favour of custom umalloc 2025-09-27 22:32:38 +02:00
3b1bb9d531 WIP 2 2025-09-27 15:16:26 +02:00
0c65bd9891 Rewrite ps2kbproc, rbuf (kernel ring buffer) and pipe read/write, Change to -O0 in kernel code 2025-09-20 16:50:40 +02:00
222e846881 tb Allow the user to kill current process in interactive mode (Ctrl+S) 2025-09-20 12:41:54 +02:00
a24b1fc677 diagdummy Simple dummy app for diagnostics and debugging 2025-09-20 12:25:02 +02:00
97bc0aa05b tb Use % for builtin cmd prefix 2025-09-20 11:38:54 +02:00
6cd4c73438 tb Allow for only one consequent alias expansion 2025-09-20 11:13:48 +02:00
9694d1a5a0 Use unified header file ulib.h 2025-09-20 10:54:31 +02:00
3f0231be3f tb Don't schedrelease() when reading in-pipe 2025-09-20 10:38:36 +02:00
5b6408b06b tb fix call to schedrelease() 2025-09-19 23:47:55 +02:00
b7ad1e0633 tb Spin efficiently with new schedrelease() syscall 2025-09-19 23:41:24 +02:00
1b5701a659 schedrelease() syscall for more efficient spinning 2025-09-19 23:38:08 +02:00
e01d8d5e1a pctl ls List procs by PID 2025-09-19 23:06:37 +02:00
c94ef4d990 pctl List procs by name 2025-09-19 22:50:34 +02:00
2c0d50a401 pctl Display memory usage and process state 2025-09-19 22:38:39 +02:00
1af0d1f5bc Use uint8_t for keyboard chars 2025-09-19 21:00:33 +02:00
504bdbd4ba pctl More compact output of ls subcmd 2025-09-19 20:45:49 +02:00
8d0f80f821 tb Clear screen shortcut 2025-09-19 20:07:17 +02:00
40b7dcedf8 tb Command aliases, preloading scripts 2025-09-19 19:55:35 +02:00
24a90b24e8 tb Handle keyboard inside of the shell interactive mode 2025-09-19 19:09:54 +02:00
d7153bf0b6 pctl display bad subcommand 2025-09-19 18:24:48 +02:00
ad56890ee9 Adopt pipe handle inheritance 2025-09-19 18:12:36 +02:00
4c17f26915 add PCTL_DELETE for removing pipes 2025-09-18 22:43:24 +02:00
9e9d2c5190 pctl format output as a table 2025-09-18 11:22:09 +02:00
e5e707eb54 tb running cmds in interactive mode 2025-09-18 00:57:24 +02:00
ba1c0eedbd tb implement command logging 2025-09-17 22:07:58 +02:00
6a8af7727e PCTL ignore build artifacts 2025-09-17 21:49:04 +02:00
91e65bb35a Resolve hisenbugs regarding GCC and -Os 2025-09-17 21:48:16 +02:00
0a5523f234 WIP 2025-09-15 22:35:15 +02:00
40ccb7d476 TB print hello world 2025-09-14 23:31:14 +02:00
69e23a9ca3 ioctl() IOCTL_STAT command 2025-09-14 19:30:20 +02:00
26ff717b50 Fix dlmalloc horror bug - mman_map overwrites application code 2025-09-14 19:07:00 +02:00
e6891b39cc Parsing commandline arguments 2025-09-13 15:43:31 +02:00
dc3d80d707 Handle process arguments 2025-09-10 23:25:03 +02:00
2f9f4d9397 Userspace dlmalloc port, supporting syscalls mman_map()/mman_unmap() 2025-09-10 21:52:01 +02:00
91c493c818 processctl() PCTL_SPAWN cmd, scheduler embryo state, redirected pipes 2025-09-10 01:11:22 +02:00
3b42abc027 Temporary mountpoint (temp) 2025-09-09 19:38:39 +02:00
71be9c5fb3 Use uprintf instead of debugprint 2025-09-09 18:21:55 +02:00
4ade9ad1a0 Move all syscalls into one file 2025-09-09 18:18:55 +02:00