Commit graph

49 commits

Author SHA1 Message Date
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
Lisa Milne
682d832586 shell preprocessing (env variable substitution) 2023-11-08 20:47:04 +10:00
Lisa Milne
40efd18938 add . and .. support to lib.resolvePath, fix bugs in commands not using lib.resolvePath 2023-11-08 18:02:55 +10:00
Lisa Milne
53fedffe87 fix shell prompt bug, add file type detector, start to work on more commands 2023-11-08 17:21:02 +10:00
Lisa Milne
34848dd74f fix group bug, make ls -l show link target 2023-11-08 15:05:44 +10:00
Lisa Milne
10f1572bab start help, some tweaks to stdio 2023-11-08 10:35:43 +10:00
Lisa Milne
02f6ee6691 touch command 2023-11-08 09:29:42 +10:00
Lisa Milne
7fcd7a0694 terminal scrolling headaches 2023-11-07 21:11:28 +10:00
Lisa Milne
ded2aa9739 added ability to download a file using cat 2023-11-07 18:48:52 +10:00
Lisa Milne
c38dd412e7 shell macros, start of commands (ls,cat) 2023-11-07 18:11:05 +10:00
Lisa Milne
148b1dc133 exec shell commands pt1 2023-11-07 11:27:07 +10:00
Lisa Milne
8df6253e2b get a working vfs and unix io 2023-11-07 09:56:22 +10:00
Lisa Milne
1381e55db6 urgh file loading 2023-11-06 12:06:28 +10:00
Lisa Milne
ef30e3100a error catching, safe running, logging, and setting up for file access 2023-11-05 14:18:25 +10:00
Lisa Milne
96bf936ec9 initial commit 2023-11-05 09:32:15 +10:00