cLinux [now with OPTIONAL Desktop Enviroment] [Bye CraftOS, kappa]
#41
Posted 07 October 2016 - 09:59 PM
I'm currently remaking the OS, to make it more modular and compatible towards window managers / desktop enviroments and programs in general.
The thing is, I'm taking it easy meaning that I'm not very far ATM.
Who is kinda working on this too? thecrimulo. (Tho he only helped me out, I'll still ship it as ours)
I'll also consider implementing Sewbacca's own FS API (don't know how yet)
#42
Posted 08 October 2016 - 07:57 PM
#43
Posted 08 October 2016 - 09:46 PM
Here are some things, i would improve:
- A help or cmdlist command to list all available commands
- Improve resolving paths (like '..', '.') (you can use fs.combine())
- A edit program or a view program to view a file.
#44
Posted 08 October 2016 - 09:49 PM
Sewbacca, on 08 October 2016 - 09:46 PM, said:
Here are some things, i would improve:
- A help or cmdlist command to list all available commands
- Improve resolving paths (like '..', '.') (you can use fs.combine())
- A edit program or a view program to view a file.
I'm currently making a rewrite, thank you for your ideas, going to implement them in the rewrite tho.
If you want to test the rewritten code, go to the github page and then choose the rewrite branch
#45
Posted 08 October 2016 - 09:51 PM
#46
Posted 08 October 2016 - 10:00 PM
str = string.reverse(str) str = string.sub(str, 2) str = string.reverse(str)
to
str = string.sub(str, -2)
or
str = string.sub(str, 1, -2)
Edited by Sewbacca, 08 October 2016 - 10:00 PM.
#47
Posted 08 October 2016 - 10:04 PM
Sewbacca, on 08 October 2016 - 10:00 PM, said:
str = string.reverse(str) str = string.sub(str, 2) str = string.reverse(str)
to
str = string.sub(str, -2)
or
str = string.sub(str, 1, -2)
Wow I'm good at math in shool but totally forgot about it while programming
Ty for that remind
#48
Posted 08 October 2016 - 10:11 PM
Piorjade, on 08 October 2016 - 10:04 PM, said:
Sewbacca, on 08 October 2016 - 10:00 PM, said:
str = string.reverse(str) str = string.sub(str, 2) str = string.reverse(str)
to
str = string.sub(str, -2)
or
str = string.sub(str, 1, -2)
Wow I'm good at math in shool but totally forgot about it while programming
Ty for that remind
Yeah, i didn't know it for a while as well.
#49
Posted 09 October 2016 - 06:27 PM
EDIT:
Currently almost no documentation at all LMAO
Had been stuck with multitasking for about 2 hours....
NOTE:
The commandline currently writes this:
#[a number]
This number indicates, how many tasks are running on commandline-level
When you enter a command it first prints the names/paths of the running tasks and then executes your command
For example after reboot:
#2 *presses enter* CommandLine RedNet #2 *enters path to a file* CommandLine RedNet <executes code of that file, the code decides to sleep for 2 seconds> #3 _ (waits 2 seconds) --> #2 hello world (it printed the part after sleep) #2 _
ANOTHER UPDATE ON THE REWRITE:
Edited by Piorjade, 11 October 2016 - 07:45 PM.
#50
Posted 14 October 2016 - 07:08 PM
Please report bugs here or on GitHub, I will work on this more often now <3
EDIT:
Some things on the first post are completely changed now, but I can't rewrite it right now, maybe later.
Edited by Piorjade, 14 October 2016 - 07:09 PM.
#51
Posted 14 October 2016 - 11:31 PM
Edited by Piorjade, 15 October 2016 - 11:37 AM.
#52
Posted 15 October 2016 - 10:16 PM
KNOWN BUG IN doorX:
Edited by Piorjade, 15 October 2016 - 10:43 PM.
#53
Posted 16 October 2016 - 03:28 AM
EDIT:
Ugh I can't believe that something crashes now again when loading the languagefile...
EDIT2:
Well nvm I was dumb, fixed it.
Edited by Piorjade, 16 October 2016 - 03:38 AM.
#54
Posted 16 October 2016 - 04:40 AM
#55
Posted 21 October 2016 - 07:06 PM
- Add new users <-- in about 2-4 days (I'm currently very busy with school)
Filebrowser (as packman package) <-- in about 0-2 days<--- already there (package fsexpose), but quite buggy, works flawless in CraftOS tho...- Packman GUI, for every DE you want (may take longer, I'll have to think whether I want to make my own (preffered)) <-- don't know when
- Maybe read-only homedirectory, if it's not YOUR directory <-- don't know when
- Maybe home directory encrypting, but would kill the point above <-- don't know when
EDIT: INFORMATION
Well I didn't touch this for about 1-2 weeks and yesterday I was trying to fix the filebrowser, but then I found out that there is a critical bug in the thread manager, allowing a program to simply access the old FS API, which SHOULD be removed when starting a program (it even should've been removed after shell.lua finishes) but somehow they still have access to it.
So now I'm slowly starting to rewrite the system once again (not FULLY but still much) to prevent that kind of thing to happen...
(maybe I'll even know how to fix the filebrowser while coding...)
Also I may not be that active here for a couple of weeks, as I got stuff in school to do and I'm thinking of starting to program with Löve2D or even Unity.
Edited by Piorjade, 25 October 2016 - 04:56 PM.
#56
Posted 21 November 2016 - 09:03 PM
#57
Posted 23 November 2016 - 11:46 AM
Stevan, on 21 November 2016 - 09:03 PM, said:
Hold CTRL + R is currently the only "built-in" function.
If you want to add a reboot command do this:
sudo edit /bin/reboot --This is inside of editor os.reboot() --Press CTRL, go to save, press CTRL again, go to exit --This is in the console again reboot
NOTE:
(I'm currently not working on the re-rewrite, as I have many exams coming up and I want to learn Unity3D. (Currently I'm completely stuck with saving a whole environment, which can be edited while playing... look Animal Crossing))
Edited by Piorjade, 23 November 2016 - 11:47 AM.
#58
Posted 28 November 2016 - 07:14 PM
#59
Posted 29 November 2016 - 05:27 PM
X3ME, on 28 November 2016 - 07:14 PM, said:
Anyways, if you help me I'd be really happy (I can't currently work on it as I stated above)
EDIT: Had nothing to do... so I worked on the re-rewrite quite a bit again..he..he..
Edited by Piorjade, 29 November 2016 - 10:01 PM.
#60
Posted 30 November 2016 - 09:46 PM
- Removed unnecessary threadmanagers (only using one, remade threadmanager for everything EXCEPT services, which use sThread.l)
- Got commandline working
- Got argument-passing working again
- Blah
- Things that I mentioned above are mostly fixed / done (for example programs have no access to old.fs anymore)
TODO:
- Move sThread.l to /sys/ (noticed that while writing this)
- Test out everything
- Polish commandline
Things that I can't fix:
- fsexpose (sudo packman install fsexpose) flickers (I think that has to do with the many threadmanagers, cuz there is no real multitasking)
Edited by Piorjade, 30 November 2016 - 09:47 PM.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users