Commit Graph

142 Commits

Author SHA1 Message Date
064064eb26 made wget less needy. 2017-09-09 22:57:48 +10:00
3dff3ce99e added a wget function, because wtf not 2017-09-09 22:56:36 +10:00
1406044789 made login() use userlib and automatically load users and stuff. shiny. 2017-09-09 21:26:29 +10:00
48f3576581 fixed that issue with log() where it DOESN'T WORK 2017-09-09 21:23:26 +10:00
a7be3ada0d added some better copper configuration stuff. 2017-09-09 21:22:58 +10:00
74c9030668 added a way to set the current user. security implications: 0, because I don't have any perms. 2017-09-09 21:20:26 +10:00
e745ae05e9 more logging improvements 2017-09-08 14:50:34 +10:00
fa15579f9f improved logging significantly 2017-09-07 22:09:48 +10:00
c83fd7a482 made luash not crash without login() 2017-09-07 13:12:48 +10:00
56aca17c96 added a simple password protection system 2017-09-07 13:12:10 +10:00
af2ce42583 made sha256.lua work with ocemu 2017-09-07 13:11:32 +10:00
ecba456ef6 made sha256.lua behave on plain lua 2017-09-07 12:58:42 +10:00
b60a7161ab made fs-automount quiet, now uses log() 2017-09-05 19:43:46 +10:00
b5011de5ab don't start luash() automatically when headless 2017-09-05 19:43:23 +10:00
bfd5ea7cb4 improved motd stuff 2017-09-05 19:42:56 +10:00
fa3338589f made readline return false when ctrl-shift-c is pressed. 2017-09-05 19:08:51 +10:00
98e9b95f54 made luash print the motd 2017-09-05 19:08:24 +10:00
7dee940cf2 made spawn() return the pid of the spawned process 2017-09-05 19:07:13 +10:00
e8bd168ad8 LKR cache improvements. 2017-09-05 19:06:24 +10:00
437f65e0dc made fs-automount cope with non-fs boot devices better 2017-09-04 20:43:26 +10:00
1e3d4eddac fixed more stuff for #5, added logflushd 2017-09-04 20:13:31 +10:00
24e5d76527 removed copper.0.lua because it's unneccesary 2017-09-04 02:52:46 +10:00
8b7179edfe more fixes for #5 2017-09-04 02:37:43 +10:00
9bc2b463ec made spawn() log errors 2017-09-04 02:36:05 +10:00
f289516c9d fixed cache clearing, some nil issues 2017-09-04 02:20:45 +10:00
621cc397a2 made setup.lua spawn nshd on headless systems 2017-09-04 02:10:03 +10:00
a27e70ad0e made log() prefix a timestamp 2017-09-04 02:04:05 +10:00
a40d2dfc29 made copper actually add sent messages to the filter 2017-09-01 09:10:18 +10:00
7e42870c71 added nsh for remote login and stuff. 2017-09-01 09:07:07 +10:00
55310a6c2c made write() actually use the right session ID 2017-09-01 06:43:38 +10:00
4956591894 added cp and mv to shutil 2017-08-31 12:45:59 +10:00
fca81639fa added fs.cp and fs.mv for copying amd moving files. 2017-08-31 12:31:54 +10:00
8e7b96ae08 added the copper reliability layer, part of the copper daemon. 2017-08-30 21:07:41 +10:00
fef9b7d540 added copper's packet system, reliability layer still WIP. 2017-08-28 16:06:07 +10:00
862f1dcd30 made ps() deal with when a task dies 2017-08-28 16:04:26 +10:00
2c61a6150b fixed io closing files and stuff 2017-08-27 04:22:11 +10:00
3c142e6e2a Merge branch 'master' of github.com:XeonSquared/PsychOS, because I never push my code >.> 2017-08-27 03:55:15 +10:00
4e27aa166c added an autorun script. \o/ 2017-08-27 03:55:00 +10:00
0b624a6245 added os.genenv, made the MultICE ev compat work properly. 2017-08-27 03:53:40 +10:00
22839cd27c made run() generate an environment for stuff it runs 2017-08-27 03:52:54 +10:00
1834eadb29 made skex2 use the previous include-external-files feature so you can run it outside the kernel. 2017-08-27 03:52:09 +10:00
292ced2368 Made genkernel accept some different commands so you can include executable files in your kernel. 2017-08-27 03:50:31 +10:00
ee7da224f1 made io buffers actually write, hopefully. 2017-08-20 16:01:25 +10:00
45d0b85887 made it only spawn a tty and keyboard driver when the machine has the hardware 2017-08-04 17:46:11 +10:00
219d3a8326 made luash nicer to use 2017-08-04 17:44:37 +10:00
e341ada43e fixed a few crashes resulting from the fs library 2017-08-04 17:44:10 +10:00
57e9a106c2 added loadlin.lua - for loading PsychOS from OpenOS 2017-08-04 14:14:07 +10:00
0f6d126eaf added a heap of tape-related functionality. I'm not really happy with it yet. 2017-08-04 14:01:55 +10:00
221d0fbd1b added labels to ps() 2017-08-04 09:05:25 +10:00
4c068cbf81 ctrl-shift-r to reset 2017-08-04 07:44:46 +10:00
d68f8f9edd added loadfile, run and srun to shutil. 2017-08-04 07:08:44 +10:00
b1e40cbdb3 made fs-automount mount /tmp as /boot if the system boots from a tape drive. 2017-08-03 19:37:04 +10:00
d116491528 rewrote buffers, made io use the new buffers, fixed an fs bug or two. 2017-08-03 17:54:38 +10:00
b47fb83d73 made shutil's mem() act more like free 2017-08-03 17:53:36 +10:00
0db4fdee01 made tabs 8 chars wide 2017-08-03 17:52:10 +10:00
b390e2764b added some nice stuff like ps(*f*) and mem() to shutil 2017-08-03 17:42:59 +10:00
224d2160ac added a timeout to net.recvstring 2017-08-03 12:24:54 +10:00
d234a9e4bf removed the memory free part from luash 2017-08-03 12:24:06 +10:00
f736810fc3 added a timeout to event.pull 2017-08-03 12:22:51 +10:00
08a94c879b added vt52.lua, a better terminal emulator 2017-08-03 11:44:20 +10:00
31e5c5a54b made fs-automount not crash the system when running under ocvm 2017-08-03 09:10:02 +10:00
fcf9599abe changed some stuff in buffer.lua, work in progress. 2017-08-03 00:27:16 +10:00
07a9a3db3b added the net-ext library. pretty bare-bones atm but it'll be useful later. note to self: write documentation. 2017-08-02 23:52:52 +10:00
581edc74a1 made the network driver use _G.net for configuration. 2017-08-02 23:51:30 +10:00
bd41474e31 fixed sha256.lua, included it in the kernel. 2017-08-02 18:00:03 +10:00
0eeb2a3a58 added sha256 from SecureOS 2017-08-02 17:35:35 +10:00
ede81e3250 made fs-automount.lua mount labelled filesystems as their label. 2017-08-02 00:23:26 +10:00
593f6c40c0 a bunch of random bugfixes 2017-08-01 23:59:29 +10:00
6879c22e13 added skex2, a less terrible editor 2017-08-01 23:26:48 +10:00
e39451bfac added skex, a kinda-terrible line editor 2017-08-01 21:39:34 +10:00
ac12f3a940 added an alias io.read = readln 2017-08-01 21:39:10 +10:00
a6323122ba fixed an issue with path resolution 2017-08-01 18:13:31 +10:00
fcaf9dff75 added a cat() function to shutil 2017-08-01 16:56:33 +10:00
3d932ac480 made luash nicer to use 2017-08-01 16:38:43 +10:00
72e71c4c23 fixed a few stupid bugs with shutil and fs 2017-08-01 16:29:56 +10:00
ba8a800940 moved cd() into a new library, shutil. 2017-08-01 15:49:39 +10:00
ed2503e9a2 added an automounting program that runs at boot. 2017-08-01 15:45:57 +10:00
2aa6976c32 fixed path resolving and a few functions 2017-08-01 15:45:22 +10:00
e94916e4ab Merge branch 'master' of github.com:XeonSquared/PsychOS 2017-08-01 14:42:36 +10:00
f9e4b1b238 Uncomment component functions. 2017-08-01 14:42:12 +10:00
bec97bb026 added fs utility functions 2017-08-01 14:36:38 +10:00
4165f49396 fixed cd() a little 2017-07-31 23:23:57 +10:00
0fe7982c45 made the build system capable of self-hosting 2017-07-31 13:04:44 +10:00
0e96f9818f made luash state the current dir 2017-07-31 12:10:45 +10:00
67789cccae also ported the MultICE io API 2017-07-31 12:10:24 +10:00
d477d9a069 added a ported, minimal version of the fs API from MultICE 2017-07-31 12:10:07 +10:00
5300a21a37 added a component wrapper, for abstraction purposes. 2017-07-31 12:09:43 +10:00
d23768f941 made user IDs strings 2017-07-31 12:09:09 +10:00
611190b0bf fixed buffer.lua, now actually works. 2017-07-31 09:40:02 +10:00
a95611806d made the OS cope with killed tasks 2017-07-31 09:39:42 +10:00
5a6018ad5e a bit of cleaning 2017-07-31 09:26:58 +10:00
6160564247 added all the already working stuff 2017-07-30 19:12:10 +10:00