Commit graph

81 commits

Author SHA1 Message Date
Lisa Milne
219d7455dd cc part 1 2025-08-30 23:28:20 +10:00
Lisa Milne
62d8fedc38 setup for loading "binaries" from plain text 2025-08-30 21:28:55 +10:00
Lisa Milne
4e36e1749f fix ls not listing symlinked directories properly 2025-08-30 10:39:43 +10:00
Lisa Milne
7071a63dfa convert format of programs to always have main(argc,argv) 2023-12-19 14:36:09 +10:00
Lisa Milne
fe972ddd11 a bunch of little fixes 2023-12-18 21:44:02 +10:00
Lisa Milne
733ee75dd2 shell pathfill 2023-12-18 20:46:56 +10:00
Lisa Milne
2983f4a1dd add chown command 2023-12-18 17:55:57 +10:00
Lisa Milne
e3a86643d2 add a proper login manager 2023-12-17 17:20:10 +10:00
Lisa Milne
98bedb8ca0 user command to add and delete users 2023-12-17 14:11:07 +10:00
Lisa Milne
ad4815d672 cookie notice, and some about/intro changes 2023-12-17 09:42:18 +10:00
Lisa Milne
99a58594d3 su to root 2023-12-16 22:31:45 +10:00
Lisa Milne
a7f5087c7c add support for setuid/setguid on executable files 2023-12-16 14:30:29 +10:00
Lisa Milne
af1942daa1 convert file permissions to using bitwise integer values 2023-12-16 13:13:04 +10:00
Lisa Milne
cc67caaf7c oops 2023-12-15 20:43:03 +10:00
Lisa Milne
279fc3c8aa add command for loading files from the local device 2023-12-15 19:53:50 +10:00
Lisa Milne
c56fe770b9 conditional expressions in shell and scripts 2023-12-15 14:56:19 +10:00
Lisa Milne
23f2408b0e test command 2023-12-15 13:43:30 +10:00
Lisa Milne
9ec6e0e26a shell piping and io redirects 2023-12-15 00:44:44 +10:00
Lisa Milne
409470d0bc add sleep() and sleep command 2023-12-14 16:10:00 +10:00
Lisa Milne
13113b59d5 add strip command (lol) 2023-12-14 15:55:37 +10:00
Lisa Milne
0ac73e2a5a add tail command 2023-12-14 15:45:53 +10:00
Lisa Milne
8a6e6bb619 add head function 2023-12-14 15:20:33 +10:00
Lisa Milne
c618fb3ac1 fix less chopping off the top line 2023-12-14 15:02:20 +10:00
Lisa Milne
cf42631655 fix a bug in a 3-line program 2023-12-13 21:21:27 +10:00
Lisa Milne
b460a00c6d more curses, and get vi working again 2023-12-13 17:39:48 +10:00
Lisa Milne
140aff20a5 fix libcurses, get less working again 2023-12-13 16:22:07 +10:00
Lisa Milne
8dad3466d0 add a whole lot of missing newline characters, and fix file download a bit 2023-12-13 14:23:53 +10:00
Lisa Milne
b6d539ec7f shell tabfill and history back in place, ability to set tty into raw mode added 2023-12-13 13:42:57 +10:00
Lisa Milne
d8604b3e3b so many shell bugs - builtins freeze the shell 2023-12-12 20:09:17 +10:00
Lisa Milne
0597769c61 get shell working with tty (also fix a bug that went unnoticed without a proper tty) 2023-12-12 18:39:45 +10:00
Lisa Milne
b1f3476fc2 get file access/modify/change times in place, update stat, add times to ls -l 2023-12-10 20:46:41 +10:00
Lisa Milne
6918e5dbed date command 2023-12-08 23:33:07 +10:00
Lisa Milne
8eb92af201 modify stat/fstat to stat/lstat/fstatat 2023-12-08 21:47:21 +10:00
Lisa Milne
de1dd33882 libtime and the start of time and date handling 2023-12-08 15:52:27 +10:00
Lisa Milne
bb8d7d0da1 add group file, and user/group data functions getpw*/getgr* 2023-12-06 20:53:05 +10:00
Lisa Milne
bd75d0b3c9 update open() to work as it should with flags 2023-12-04 21:18:35 +10:00
Lisa Milne
5aa0ee97c9 chmod command 2023-12-03 18:13:57 +10:00
Lisa Milne
0a9e229841 make shared object distinguishable from executable files in getFileType and file 2023-12-03 16:11:56 +10:00
Lisa Milne
cc03c96982 add stdio.mkdir() and mkdir command 2023-12-03 13:16:18 +10:00
Lisa Milne
14fd1f7d69 add rm command, fix bug in vfs.remove() 2023-12-03 12:18:24 +10:00
Lisa Milne
a295a16a28 add vi command, and fix bug in write() 2023-12-02 18:28:47 +10:00
Lisa Milne
0fe4544107 libcurses (ncurses) starter, and switch less to using it 2023-11-28 22:33:20 +10:00
Lisa Milne
081da9b754 oops fix programs suddenly failing 2023-11-28 15:45:38 +10:00
Lisa Milne
3aeae461f0 a basic printf (and etc) implementation 2023-11-28 15:31:38 +10:00
Lisa Milne
abc7e6c4a5 the system is now multi-user 2023-11-28 11:02:01 +10:00
Lisa Milne
1f2c8d85f3 move libraries to actual libraries (/lib/lib*.so) 2023-11-27 19:01:52 +10:00
Lisa Milne
82e39184f1 get less working again 2023-11-26 18:28:54 +10:00
Lisa Milne
abf74e32c0 add -a to ls (now that there are dot files) 2023-11-26 14:28:24 +10:00
Lisa Milne
39ebcdc049 wait, waitpid, waitall, and get the shell using them 2023-11-26 14:24:37 +10:00
Lisa Milne
7ac6f677be start getting commands working again, and cleanup some old io workarounds 2023-11-26 12:18:48 +10:00