Is gui based in the kernel?
Is gui based in the kernel?
Hey,
I'm currently building a kernel for my OS, and after reading about GUI and how to make it etc, I was wandering, do you make it in the kernel?
I guess that your "desktop" or whatever, as the kernel, would have it. And any programs would just be programmed with an inside kernel.
Touch
I'm currently building a kernel for my OS, and after reading about GUI and how to make it etc, I was wandering, do you make it in the kernel?
I guess that your "desktop" or whatever, as the kernel, would have it. And any programs would just be programmed with an inside kernel.
Touch
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
I dont mean it how you think.
Look:
Thats what I mean.
Look:
Code: Select all
<CLI> (This is the first part of the kernel)
<CLI><GUI> (This sits on top of the CLI)
"We cannot trust the sword in the hands of a n00b!" - Southpark
Hi,
Write a kernel that's capable of running applications. Then write an application called "CLI" that's capable of starting other applications. Then write another application called "GUI" that's also capable of starting other applications.
Now boot your OS and start the CLI. From the CLI type "GUI" and start the GUI, and then exit the CLI. Next, click on something in the GUI to start the CLI again in a window.
To make this work, implement "virtual terminals" so the user can press alt+F1 to alt+F12 to select which virtual terminal to look at, where each virtual terminal can have a CLI, a GUI or any other (full screen) application.
Next, write 2 more CLI's (call one BASH and the other CSH) and 2 more GUIs (one that uses 3D effects like shadows, alpha blending, etc, and the other that is very "minimal"). Now have 3 completely different CLIs running on alt+F1, alt+F2 and alt+F3, and have 3 completely different GUIs running on alt+F4, alt+F5 and alt+F6.
Now consider what happens when the user starts one "GUI application" in a window of another GUI. Does the OS allow this? If not, why not?
BTW it'd also be a good idea to allow applications (and CLIs, GUIs) to be transferred from one place to another. That way the user can shift applications/CLIs/GUIs from one virtual terminal to any other unused virtual terminal, and could also shift applications/CLIs/GUIs between virtual terminals and GUI windows.
Cheers,
Brendan
Write a kernel that's capable of running applications. Then write an application called "CLI" that's capable of starting other applications. Then write another application called "GUI" that's also capable of starting other applications.
Now boot your OS and start the CLI. From the CLI type "GUI" and start the GUI, and then exit the CLI. Next, click on something in the GUI to start the CLI again in a window.
To make this work, implement "virtual terminals" so the user can press alt+F1 to alt+F12 to select which virtual terminal to look at, where each virtual terminal can have a CLI, a GUI or any other (full screen) application.
Next, write 2 more CLI's (call one BASH and the other CSH) and 2 more GUIs (one that uses 3D effects like shadows, alpha blending, etc, and the other that is very "minimal"). Now have 3 completely different CLIs running on alt+F1, alt+F2 and alt+F3, and have 3 completely different GUIs running on alt+F4, alt+F5 and alt+F6.
Now consider what happens when the user starts one "GUI application" in a window of another GUI. Does the OS allow this? If not, why not?
BTW it'd also be a good idea to allow applications (and CLIs, GUIs) to be transferred from one place to another. That way the user can shift applications/CLIs/GUIs from one virtual terminal to any other unused virtual terminal, and could also shift applications/CLIs/GUIs between virtual terminals and GUI windows.
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.