Jump to content




OmniOS - The OS than can do (almost) anything


192 replies to this topic

Poll: OmniOS

How would you rate OmniOS?

You cannot see the results of the poll until you have voted. Please login and cast your vote to see the results of this poll.

Do you like OmniOS?

You cannot see the results of the poll until you have voted. Please login and cast your vote to see the results of this poll.

What do you want to be improved?

You cannot see the results of the poll until you have voted. Please login and cast your vote to see the results of this poll.
Vote Guests cannot vote

#141 Sewbacca

  • Members
  • 450 posts
  • LocationStar Wars

Posted 28 September 2016 - 02:48 PM

View PostCreator, on 27 September 2016 - 09:38 PM, said:

The GUI is definitely one the weaker parts of OmniOS.

Currently working on pipes. Perfecting them.

I've big problems with the f**king textutils cause of the global term.
Do you have the same problem with windows?
I thought on two solutions:
1. Loading the API for every program again and again
2. redirecting term, by switching between programs

Sewbacca

#142 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 28 September 2016 - 04:38 PM

I have encountered no such issues until now.

Could you explain what happens exactly. And I don't use textutils.

#143 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 29 September 2016 - 07:23 PM

Fixing the kernel currently.

Also working on the pipes. For some mysterious reason the always sends the first input it got.

#144 Sewbacca

  • Members
  • 450 posts
  • LocationStar Wars

Posted 29 September 2016 - 07:56 PM

I mean that, but i solved it now =)

#145 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 29 September 2016 - 08:47 PM

Just got the pipes to work perfectly. Now some more work into the shell.

I wanna implement this feature:

list >> target.txt

How is that called?

It's a form of piping.

#146 Sewbacca

  • Members
  • 450 posts
  • LocationStar Wars

Posted 29 September 2016 - 09:43 PM

View PostCreator, on 29 September 2016 - 08:47 PM, said:

Just got the pipes to work perfectly. Now some more work into the shell.

I wanna implement this feature:

list >> target.txt

How is that called?

It's a form of piping.

Why do you don't use the pipe letter '|'.
Also, Lua 5.3 has the fetaures >>, to compare two numbers bitwise.

#147 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 29 September 2016 - 09:50 PM

The pipe letter is for sending from one process to another, the >> is for sending to a file.

Current I use

list OmniOS | tac out.txt

tac is the opposite of cat (DamHydraz will kill me) and cat reads a file.

#148 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 30 September 2016 - 12:17 AM

Have you checked out lsh's pipe system? I think my previous post suggesting it got eaten a while back. It's got piping set up in accordance with sensible Lua idioms. The io functions are really the way to go for pipes.

#149 ashnwill

  • Members
  • 5 posts

Posted 30 September 2016 - 01:59 AM

I like OSes that really try to be unique and not just crappy CraftOS remakes, this is definitely good, keep it up

#150 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 30 September 2016 - 04:37 AM

View PostLyqyd, on 30 September 2016 - 12:17 AM, said:

Have you checked out lsh's pipe system? I think my previous post suggesting it got eaten a while back. It's got piping set up in accordance with sensible Lua idioms. The io functions are really the way to go for pipes.

I definitely remember the post :) And yes, I'll check it out.

ashnwill said:

I like OSes that really try to be unique and not just crappy CraftOS remakes, this is definitely good, keep it up

Thanks a lot! I'm really trying to make it have a lot of features that actually work.

#151 Sewbacca

  • Members
  • 450 posts
  • LocationStar Wars

Posted 30 September 2016 - 02:15 PM

View Postashnwill, on 30 September 2016 - 01:59 AM, said:

I like OSes that really try to be unique and not just crappy CraftOS remakes, this is definitely good, keep it up
#NoRemake

#152 Sewbacca

  • Members
  • 450 posts
  • LocationStar Wars

Posted 30 September 2016 - 10:15 PM

Oh, i forgot it to say: wow you are writing an own compiler.
So here:

WOW, you are writing an own compiler. Nice! =)
Sewbacca

Edited by Sewbacca, 30 September 2016 - 10:15 PM.


#153 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 01 October 2016 - 01:06 AM

View PostCreator, on 29 September 2016 - 09:50 PM, said:

The pipe letter is for sending from one process to another, the >> is for sending to a file.

Current I use

list OmniOS | tac out.txt

tac is the opposite of cat (DamHydraz will kill me) and cat reads a file.

Instead of calling it "tac" which is "cat" reversed I would call it dog. (A) Dog is just superior. :D

#154 Sewbacca

  • Members
  • 450 posts
  • LocationStar Wars

Posted 01 October 2016 - 07:41 PM

View PostH4X0RZ, on 01 October 2016 - 01:06 AM, said:

View PostCreator, on 29 September 2016 - 09:50 PM, said:

The pipe letter is for sending from one process to another, the >> is for sending to a file.

Current I use

list OmniOS | tac out.txt

tac is the opposite of cat (DamHydraz will kill me) and cat reads a file.

Instead of calling it "tac" which is "cat" reversed I would call it dog. (A) Dog is just superior. :D
And god reserved ^^.

#155 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 03 October 2016 - 06:25 PM

Hey guys,

after some heavy debugging during the last week I am rolling out a new minor version. "Why minor?" you ask. Well, this version does not add a ton of new features. It rather improves on the existing ones, and mainly fixes bugs and other annoying issues.

1.1.0 Update (Codename 16w40a)

New features:
  • Shell piping works somewhat decently
  • It boots (It doesn't always.)
  • Event redirection (One process passes all the events it receive to a child process. A child process is any process that was created by a given process and of which it has the handle.)
  • reduced it's size drastically by removing useless crap from it. It now has the glorious size of 483KB. I could shrink it if I wanted.
  • It logs stuff so that you can debug. Mainly for myself.
  • All those linux bins in /bin. Some of the work.

Planned features in future versions:
  • I really want to improve the installer
  • Inter-process-communication
  • Devices, like random or tty (Can someone explain what tty is exactly and how it works?)
  • Separates windows from processes, which makes visible output redirection easier.


#156 Piorjade

  • Members
  • 244 posts
  • LocationComputer, Germany

Posted 04 October 2016 - 11:39 AM

AFAIK are ttys like multiple "instances" of the linux term (this is not very accurate but kinda is like that).
One thing I noticed, is that many distros boot their DE in tty8 (ctrl + alt + f(nmbr) to switch to another tty) and the others are basically terminals without having X booted.

Correct me if I'm wrong..

EDIT:
Wrote boot wrong 2 times .. it's really cold out here
Can't move my fingers lol

Edited by Lyqyd, 04 October 2016 - 02:26 PM.


#157 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 04 October 2016 - 07:42 PM

I just updated the installer.

Features:
  • Less ugly
  • Can select version
  • Can choose whether to boot on startup

Also, I had some issues with piping and window drawing. Turns out it was a pretty stupid mistake, which Exerro helped me find. So he gets some credit for that. :)

#158 TheRockettek

  • Members
  • 547 posts
  • LocationRem is best girl

Posted 05 October 2016 - 06:13 AM

https://en.m.wikiped...iki/Getty_(Unix)

#159 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 05 October 2016 - 07:59 PM

There's a few things I got working today:
  • ramFS: this means that true temporary files are now possible. They are also blazing fast.
  • devFS: the filesystem itself is only setup to map peripherals for now, but the plan is have the device files too. The first one would be operational: dev/zero.

Edited by Creator, 05 October 2016 - 08:00 PM.


#160 Sewbacca

  • Members
  • 450 posts
  • LocationStar Wars

Posted 05 October 2016 - 08:14 PM

You can simplify the if statements (maybe it decrease your performance, idk):
if mode:match '^[aw]b?$' then






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users