Commit graph

97 commits

Author SHA1 Message Date
Lisa Milne
755c79dd46 add a file type check to exec() 2023-12-03 16:27:33 +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
129c6ff315 more missing checks in vfs api 2023-12-03 14:12:47 +10:00
Lisa Milne
2dcce5b399 add missing permissions check in vfs mk*() 2023-12-03 13:23:28 +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
87d2a7ebc6 version bump, documentation update 2023-12-02 18:33:58 +10:00
Lisa Milne
a295a16a28 add vi command, and fix bug in write() 2023-12-02 18:28:47 +10:00
Lisa Milne
f63b61ee48 improve program/library loading 2023-11-29 18:45:39 +10:00
Lisa Milne
d0a2029b87 update libs documentation 2023-11-29 08:44:27 +10:00
Lisa Milne
0fe4544107 libcurses (ncurses) starter, and switch less to using it 2023-11-28 22:33:20 +10:00
Lisa Milne
cb5de9ed6d remove term.preventInput() 2023-11-28 17:37:30 +10:00
Lisa Milne
081da9b754 oops fix programs suddenly failing 2023-11-28 15:45:38 +10:00
Lisa Milne
6fea9dd2db documentation and version bump (0.3 for libraries in /lib) 2023-11-28 15:40:20 +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
f2be72edc1 write pre-vfs logs to logfile 2023-11-27 21:54:27 +10:00
Lisa Milne
b070abf90d make the shell exit properly, and also handle children exiting properly 2023-11-27 21:46:33 +10:00
Lisa Milne
dc048f20cc update documents and bump version 2023-11-27 20:37:45 +10:00
Lisa Milne
1f2c8d85f3 move libraries to actual libraries (/lib/lib*.so) 2023-11-27 19:01:52 +10:00
Lisa Milne
ccbb4fa408 shell history and tabfill 2023-11-26 19:54:37 +10:00
Lisa Milne
82e39184f1 get less working again 2023-11-26 18:28:54 +10:00
Lisa Milne
0e4fcf70b2 version bump, documentation 2023-11-26 15:13:04 +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
Lisa Milne
b34d9590cb move shell to /bin/sh (and shell.js) 2023-11-25 20:43:51 +10:00
Lisa Milne
279d1afbc2 preparing for tty reading 2023-11-25 11:46:06 +10:00
Lisa Milne
3b9fe3fd6b add uname() to stdlib, and add uname command 2023-11-24 16:08:39 +10:00
Lisa Milne
0d35fbf4a1 a bit of cleanup 2023-11-24 15:22:01 +10:00
Lisa Milne
843a644646 bump version string to 0.1-14 2023-11-23 21:55:36 +10:00
Lisa Milne
e49b180450 get env variables the "Right Way" - load them in from /etc/passwd and /etc/env on login 2023-11-23 21:54:14 +10:00
Lisa Milne
03bc7b2e66 get the shell exec working right 2023-11-22 17:34:47 +10:00
Lisa Milne
4baa505b4d change the term tty create/destroy functions to something a bit more unixy 2023-11-22 10:37:08 +10:00
Lisa Milne
dec325f8b2 get fork() and exec() working 2023-11-21 19:08:33 +10:00
Lisa Milne
05d29e37cf update readme 2023-11-21 14:20:28 +10:00
Lisa Milne
4803cf8e13 remove getFileType from stdlib 2023-11-21 14:05:09 +10:00
Lisa Milne
e8ef43130a add page up/down and home/end support to less 2023-11-21 13:48:52 +10:00
Lisa Milne
af70e329da readme updates 2023-11-21 12:48:26 +10:00
Lisa Milne
962c4204be add a readme file, mostly for git 2023-11-21 12:03:20 +10:00
Lisa Milne
cbf30ffa40 setup for exec() and multi-process 2023-11-17 21:00:48 +10:00
Lisa Milne
d5bb8fd814 move big CLIte text to a variable instead of writing it twice 2023-11-16 07:58:59 +10:00
Lisa Milne
6128bc86db move clite.state.input and clite.events to clite.term 2023-11-16 07:40:44 +10:00
Lisa Milne
856579064b version bump 2023-11-16 06:29:37 +10:00
Lisa Milne
95dfb9b684 process manager pt2 and vfs remove() 2023-11-15 17:27:56 +10:00
Lisa Milne
f9326399c1 clean up reboot code a bit, add help to reboot command 2023-11-14 14:53:45 +10:00
Lisa Milne
d8570be0f2 reboot command and /dev/initctl allows rebooting - forces reload of all javascript 2023-11-14 14:31:07 +10:00
Lisa Milne
befc29b2c7 start setting up for runlevels via /dev/initctl 2023-11-14 06:59:18 +10:00
Lisa Milne
3dbefb93da make file types human readable-ish, FT_TEXT rather than 1 2023-11-13 20:43:09 +10:00
Lisa Milne
80543aef12 commands should not access fd.node on file descriptors 2023-11-13 20:16:35 +10:00