Commit graph

113 commits

Author SHA1 Message Date
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
d2ba616d4f fix bug with prompt being written to terminal 2023-12-08 18:28:01 +10:00
Lisa Milne
b032d45b63 fix potential memory leak in load.file() 2023-12-08 17:32:23 +10:00
Lisa Milne
de1dd33882 libtime and the start of time and date handling 2023-12-08 15:52:27 +10:00
Lisa Milne
524e028ad6 add /dev/console and /dev/time, and fix a bug in default device initialisation 2023-12-08 11:29:46 +10:00
Lisa Milne
daa5f39fdc make vi a command place the cursor correctly 2023-12-08 08:19:22 +10:00
Lisa Milne
6f1c569e67 documentation and version bump 2023-12-06 21:44:24 +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
1536bb264d fix remote file loading 2023-12-06 09:45:55 +10:00
Lisa Milne
bbf92c58ec some improvements to vi 2023-12-05 20:04:33 +10:00
Lisa Milne
777dac8bfc add /tmp directory 2023-12-05 18:10:05 +10:00
Lisa Milne
279860ea21 fix some css stuff 2023-12-05 11:45:23 +10:00
Lisa Milne
bd75d0b3c9 update open() to work as it should with flags 2023-12-04 21:18:35 +10:00
Lisa Milne
c674ca0015 documentation and version bump 2023-12-03 18:16:35 +10:00
Lisa Milne
5aa0ee97c9 chmod command 2023-12-03 18:13:57 +10:00
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