Commit Graph

61 Commits

Author SHA1 Message Date
af27592957 tb Print colorful shell prompt and logged cmds, print terminal W/H 2025-11-15 00:58:40 +01:00
a530304e18 tb Use ps2kb MBus to handle C-S 2025-11-11 23:49:51 +01:00
f8863d19bd tb Use MBus for keyboard handling 2025-11-11 23:45:10 +01:00
44893aeeb0 tb Fix minor leak in 'do' builtin function (ufree args1) 2025-11-10 20:44:54 +01:00
a349154545 ulib Fix uninitialized variables 2025-11-10 18:49:08 +01:00
7db6a8e130 Add fsh_t type for filesystem handles 2025-10-29 15:39:46 +01:00
a96ea5edb6 tb Command-like scripts 2025-10-19 23:00:46 +02:00
a5fe64b253 Pass implicit PID into syscalls 2025-10-18 12:10:59 +02:00
a46da0a7ae tb Enable/disable command logging dynamically + setlogcmds builtin 2025-10-18 10:48:31 +02:00
d136c001df tb Handle line continuation and left trim lines before tokenizing 2025-10-18 10:36:34 +02:00
55f5fbefe4 tb Add & syntax to run commands without blocking/waiting 2025-10-16 15:55:39 +02:00
317667cfb8 Add eachfile and mkaliasbn builtins 2025-10-15 21:26:30 +02:00
fa6c194163 Break devctl() up into smaller syscalls 2025-10-14 21:35:10 +02:00
0c3250e8d6 Remove/fix unused stuff and other warnings 2025-10-14 20:20:41 +02:00
406434fed0 Break ioctl() up into smaller syscalls 2025-10-14 20:05:41 +02:00
c34a253d11 Split processctl() syscall into multiple smaller ones 2025-10-14 16:37:36 +02:00
a67d80a2d1 Use new pipe syscalls 2025-10-14 08:12:43 +02:00
5aebc61c06 auto load rc.tb script 2025-10-12 14:13:22 +02:00
3830af45c8 tb Reset any colors after running an app 2025-10-08 19:04:03 +02:00
a513909189 tb Fix handling CTRL+S 2025-10-05 20:05:09 +02:00
e9838d530f Rearchitecture PS2KB driver using event buffers 2025-10-05 19:48:15 +02:00
2cfd3ee2fa ioctl() IOCTL_STAT use path instead of already open io handle 2025-10-02 23:57:38 +02:00
91d648ade4 Remove % prefix for builtin commands 2025-10-01 22:50:27 +02:00
0232849994 tb Allow empty lines 2025-10-01 22:30:34 +02:00
73effcd52a tb Implement a string stack 2025-10-01 21:26:22 +02:00
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
46e52c8d48 tb %PID builtin command 2025-09-29 21:37:48 +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
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
1af0d1f5bc Use uint8_t for keyboard chars 2025-09-19 21:00:33 +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
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