Commit graph

64 commits

Author SHA1 Message Date
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
Lisa Milne
a15f693f93 chmod() 2023-11-13 17:00:39 +10:00
Lisa Milne
65da9d8682 stat() and the start of chmod() 2023-11-13 09:54:23 +10:00
Lisa Milne
781b9d1acc get export working with no arguments 2023-11-13 09:34:59 +10:00
Lisa Milne
df55e9f3ad simplify which and type a bit 2023-11-12 21:22:48 +10:00
Lisa Milne
221599955a should not be able to cd into a file 2023-11-12 20:23:13 +10:00
Lisa Milne
45b03465c3 make reading from and writing to devices work consistantly 2023-11-12 19:16:26 +10:00
Lisa Milne
f90a77c42a process manager pt1 2023-11-11 22:06:50 +10:00
Lisa Milne
04a4b8ed87 getBuffer for future io redirects 2023-11-11 21:43:48 +10:00
Lisa Milne
48aad6beba also support command substitution inside quotes in strToArgs 2023-11-11 18:22:36 +10:00
Lisa Milne
f70937e91f add single quote support to strToArgs 2023-11-11 18:17:12 +10:00
Lisa Milne
2a91fce083 actually support command substitutions in strToArgs 2023-11-11 18:03:37 +10:00
Lisa Milne
5246630d6f setup for command substitution in shell 2023-11-11 18:00:50 +10:00
Lisa Milne
71d513a65e touch used on an unloaded remote file should load the file 2023-11-11 17:49:16 +10:00
Lisa Milne
26d3686e2b ls should not load remote data 2023-11-11 17:45:31 +10:00
Lisa Milne
d0ebf7eaaf do not htmlEncode data in commands 2023-11-11 17:36:29 +10:00
Lisa Milne
ba46d0685b fix htmlEncode stripping the last character 2023-11-11 17:27:52 +10:00
Lisa Milne
9cff3a7c10 more playing with tty size pt2 2023-11-11 17:25:32 +10:00
Lisa Milne
ac0662b21c more playing with tty size 2023-11-11 17:22:48 +10:00
Lisa Milne
ac2f7f813d in htmLEncode, only replace space with   on the last character in string 2023-11-11 16:57:18 +10:00
Lisa Milne
c543504387 remove test file 2023-11-10 21:37:48 +10:00
Lisa Milne
a822465cf4 make full paths when needed 2023-11-10 18:32:48 +10:00
Lisa Milne
4d671e3ba3 make downloads work via stdio (writing to /dev/local triggers download) 2023-11-10 17:11:15 +10:00
Lisa Milne
f740ef7733 get standard input working 2023-11-10 16:47:15 +10:00
Lisa Milne
cabc585e00 html encode less output 2023-11-10 14:34:21 +10:00
Lisa Milne
e5fff8dbc4 add mention of less to help 2023-11-10 10:49:52 +10:00
Lisa Milne
7d87b9c216 less should error when file doesn't exist 2023-11-10 10:48:19 +10:00
Lisa Milne
7031ee2d70 write sources to /usr/src 2023-11-10 10:44:33 +10:00
Lisa Milne
836fd6340e modify tty line count so less displays everything 2023-11-10 10:34:07 +10:00
Lisa Milne
20737984e7 less should now mostly work (also added lipsum to test it with) 2023-11-10 09:53:48 +10:00
Lisa Milne
90169d6546 start of shell tabfill 2023-11-09 20:49:18 +10:00
Lisa Milne
3906795007 add support for opening a file without loading, fix a resolvePath bug in touch, add file command 2023-11-09 18:42:52 +10:00
Lisa Milne
43ada86383 fix bug in vfs link resolution, add some files 2023-11-09 14:02:20 +10:00
Lisa Milne
ae1b79a286 work towards programs not directly accessing the clite object 2023-11-09 09:47:04 +10:00