I have been asked by numerous people what are practical uses for uxDOS.
uxDOS is a OS designed to mostly be a single application system. While this system lends itself great for system controls and automations, games, movie player, network server and so on. It does not lend itself for office type duties. In a office scenario the users are more efficient being able to access multiple of applications at once. So while uxDOS is great for a cash register. It won't be that good for writing up spreadsheets and word processing documents. While uxDOS is plenty user-friendly, maybe even more user-friendly than most OS's. It doesn't not lend itself well to tasking between applications.
Of course its capable of daemons and network servers. The user interface is made purely for one application at a time.
Sunday, May 29, 2011
Wednesday, May 25, 2011
It's one thing to talk. But people like visuals. So not to disappoint here is a couple of visual eye candy things from uxDOS. It's not much but its a fun visual of the success of the library systems getting built.
First is DirectFB and links2 built against it. Here is Links2 browsing Ebay.
This is just a demo for Turbo Vision version 2.1.
Today I updated Turbo Vision libraries to 2.2 and have built SETedit for the default editor. Also added in SVGALib for more compatibility. As always there is no X11 libs.
Making pretty good progress. Very happy with my results.
Tuesday, May 24, 2011
Turbo Vision Library
The Arch Linux's Turbo Vision package is broke. I briefly tried to fix the package but than decided it was a waste of time. Since TV is going to be a fundamental part of the OS, there is no real point to fixing the package. On top of that I decided to use and have successfully built and implemented TV 2.1 pre-release version. It kind of seems like TV is a bit of a sleepy project. There is a good possibility I may end up forking it. Not intentionally but just to maintain what I need for this project.
Why am I so in love with Turbo Vision? I have been since the Turbo Pascal 7 days. It's elegant and clean. It accomplishes user friendly GUI in a text mode TUI. It's easy to write in and highly configurable. I've worked a lot with ncurses and have tried a lot of different TUI's. None accomplish what Turbo Vision does so elegantly.
Next on my agenda is to replace top from ctrl+alt+F5 with a custom application that will be a task manager that will list loaded programs and let you kill the program out of memory. It will also be the system console to view error logs as well.
After the system manager is made the next on the agenda is to work on the GTK libaries. But after the GTK library I will start working on a uxDOS configuration and installer using Turbo Vision library. But I need to get the DFB stuff done first for a embedded project i'm working on. Which takes a priority.
Why am I so in love with Turbo Vision? I have been since the Turbo Pascal 7 days. It's elegant and clean. It accomplishes user friendly GUI in a text mode TUI. It's easy to write in and highly configurable. I've worked a lot with ncurses and have tried a lot of different TUI's. None accomplish what Turbo Vision does so elegantly.
Next on my agenda is to replace top from ctrl+alt+F5 with a custom application that will be a task manager that will list loaded programs and let you kill the program out of memory. It will also be the system console to view error logs as well.
After the system manager is made the next on the agenda is to work on the GTK libaries. But after the GTK library I will start working on a uxDOS configuration and installer using Turbo Vision library. But I need to get the DFB stuff done first for a embedded project i'm working on. Which takes a priority.
Monday, May 23, 2011
Step 1 of 50,000 Steps
Last night I got my all the frame buffering and DirectFB libraries built and built Links with graphics and got to see the Google Logo and graphics for the first time in what will be uxDOS.
I have taken out the login prompts and have to terminals at CTRL+ALT+F1 and CTRL+ALT+F2 I have top at CTRL+ALT+F5 and SysCon at CTRL+ALT+F6
On top of that uxDOS starts in frame buffer mode of 800x600x24 which in TUI mode give 100 columns by 75 rows. A bit more elbow room than 80x25. In the old days using higher resolution made it harder for people to read the letters because everyone on average had about half the size of monitors today. Remember back in the 90's a 21" monitor was in the thousands, maybe even in the tens of thousands of dollars to get. Most people were squinting at a 13" monitor back when the standard of 80x26 was made.
But anyways. Building the frame buffer stuff using other peoples ports as a guideline has really made me realize how much X11 has been duct tape for *nix. Seems a lot people will use X11 base libraries when they really shouldn't be relying on it being there. But thats just it. Thats the problem i'm addressing. X11 is on every *nix computer with graphics in the past. So if your doing something graphical you can rely on trusty old X11 to bail you out. I have to build custom libaries myself like Jasper for doing JPEG 2000 because the default Arch Linux one requires X11. I'm running into tons of stuff like this. It would be nice if uxDOS could bring attention to this issue as I believe its what is keeping Linux hog tied to bloated old slow X11. Dont' get me wrong! I love X11 and probably know more about X11 than most people. I was studying the crap out of it when I was a kid and Motif was still pimpy and new. A lot of people don't know XPM and Athena widgets were designed to be utilized with text mode character rendering to produce graphics with less hardware faster. Again CPU power was at a premium so they built it that way so they could build X Terminals for a lot less price was the theory at least. X11 is awesome. X11 has been doing stuff since the 70s that Windows has only just recently learned how to do. The problem is this... my computer is not a mainframe. Nor do I want people on my network running applications on my computer and the user interface on theirs. Is there even a company out there that still makes X terminals or has the world already gone the ways of Citrix and MS's RDP? Point being is its ridiculous to hold on to X11 when no one uses it the way its supposed to be used anyways. A lot of people don't even know that X11 is a network graphics protocol. The only thing people are using it for is that the X server was the common place for a unix system to get its graphics mojo from. Basically people are not that familiar with what X is really doing.
A xserver is a application. in fact thats why if you do run a application remotely you specify :0 at the end of the IP. Your telling which occurrence of xserver to attach to because there could be multiple as it was just considered a user application. XDM was kind of a hack on inittab to put a graphical login prompt for users to login straight into X windows.
Any ways... X11 has never been necessary for *nix to do graphics. It was just the standard among different *nix machines on how to do graphics. Now days we have a smorgasbord of graphical API's to choose from to make porting easy. Now days it would be much more practical to rely on wx, GTK, QT for widget graphics and OpenGL for drawing than to rely on the old standards of X11. Particular since the majority of platforms people want to port to don't have X11 natively.
The use of X11 on Linux needs to under go some serious reevaluation. It's actually a tricky topic as there has been a major drift away from X11 for speed and performance reasons. But a lot of the libraries in X are still referenced here and there but maybe not enough to warrant having X there at all. Basically the functions could be found else where but the programmer was familiar with good old X so he uses the X version rather than looking for one in the environment he is targeting. Well thats what it seems to be to me on what is happening today. I will definitely know more as I tackle more porting challenges.
I have taken out the login prompts and have to terminals at CTRL+ALT+F1 and CTRL+ALT+F2 I have top at CTRL+ALT+F5 and SysCon at CTRL+ALT+F6
On top of that uxDOS starts in frame buffer mode of 800x600x24 which in TUI mode give 100 columns by 75 rows. A bit more elbow room than 80x25. In the old days using higher resolution made it harder for people to read the letters because everyone on average had about half the size of monitors today. Remember back in the 90's a 21" monitor was in the thousands, maybe even in the tens of thousands of dollars to get. Most people were squinting at a 13" monitor back when the standard of 80x26 was made.
But anyways. Building the frame buffer stuff using other peoples ports as a guideline has really made me realize how much X11 has been duct tape for *nix. Seems a lot people will use X11 base libraries when they really shouldn't be relying on it being there. But thats just it. Thats the problem i'm addressing. X11 is on every *nix computer with graphics in the past. So if your doing something graphical you can rely on trusty old X11 to bail you out. I have to build custom libaries myself like Jasper for doing JPEG 2000 because the default Arch Linux one requires X11. I'm running into tons of stuff like this. It would be nice if uxDOS could bring attention to this issue as I believe its what is keeping Linux hog tied to bloated old slow X11. Dont' get me wrong! I love X11 and probably know more about X11 than most people. I was studying the crap out of it when I was a kid and Motif was still pimpy and new. A lot of people don't know XPM and Athena widgets were designed to be utilized with text mode character rendering to produce graphics with less hardware faster. Again CPU power was at a premium so they built it that way so they could build X Terminals for a lot less price was the theory at least. X11 is awesome. X11 has been doing stuff since the 70s that Windows has only just recently learned how to do. The problem is this... my computer is not a mainframe. Nor do I want people on my network running applications on my computer and the user interface on theirs. Is there even a company out there that still makes X terminals or has the world already gone the ways of Citrix and MS's RDP? Point being is its ridiculous to hold on to X11 when no one uses it the way its supposed to be used anyways. A lot of people don't even know that X11 is a network graphics protocol. The only thing people are using it for is that the X server was the common place for a unix system to get its graphics mojo from. Basically people are not that familiar with what X is really doing.
A xserver is a application. in fact thats why if you do run a application remotely you specify :0 at the end of the IP. Your telling which occurrence of xserver to attach to because there could be multiple as it was just considered a user application. XDM was kind of a hack on inittab to put a graphical login prompt for users to login straight into X windows.
Any ways... X11 has never been necessary for *nix to do graphics. It was just the standard among different *nix machines on how to do graphics. Now days we have a smorgasbord of graphical API's to choose from to make porting easy. Now days it would be much more practical to rely on wx, GTK, QT for widget graphics and OpenGL for drawing than to rely on the old standards of X11. Particular since the majority of platforms people want to port to don't have X11 natively.
The use of X11 on Linux needs to under go some serious reevaluation. It's actually a tricky topic as there has been a major drift away from X11 for speed and performance reasons. But a lot of the libraries in X are still referenced here and there but maybe not enough to warrant having X there at all. Basically the functions could be found else where but the programmer was familiar with good old X so he uses the X version rather than looking for one in the environment he is targeting. Well thats what it seems to be to me on what is happening today. I will definitely know more as I tackle more porting challenges.
And so it begins...
I've decided (with recommendation of some friends) to start a blog to record the process and thoughts of building yet another Linux distribution. Now I'll try to premeditate and answer all the questions by answering the questions I would have if someone told me they were starting to build a new Linux distribution.
The reason for construction of uxDOS is the desire to have a simple foundation. Something that is useful not just for embedded devices and system controllers, but something that is practical for the gamers who want to be able to tap all the power of their computer for the game. For those of you who can, remember back in the early 90's? Remember when Windows 3.11 was out there but all the hardcore gamers refused to use it? Or exited Windows to run their games. Do you remember why? It was unnecessary and choked the performance of your game. Magically Microsoft adds a API called DirectX and everyone forgets you have a entire bloated GUI in the background gobbling system resources. Well and the desire to leave DOS was because there was issues with DOS as well. No standard real stable standard of addressing memory in 32 bit mode was one problem. Which added a lot of complexity for the application developers. There was no set 32 bit memory environment for DOS so developers had to pick from a collage of DPMI extender packages. A lot of time the DMPI extenders conflicted with each other and drivers. But the worst problem for DOS is there was no standard graphics API. VESA was still mostly just talk back than. Support for hardware or games was sparse or inaccurately implemented.
So what I'm purposing with uxDOS is to make is a Linux OS that boots up to a single user environment, with no login prompt. This is being built completely for a single local user. So there is no purpose to traditional unix user security. But this is not single user init mode and there is full access to networking. A simple shell GUI and/or TUI that is optionally loaded and doesn't require or use in any way X windows.
I was thinking maybe down the road of having the shell UI may end up having its own executable application system that would be similar to Mac OS's .app directories. But unlike MacOS, this shell needs to be easily manipulated and HIGHLY user configurable, like the old Windows 3.x.
The underpinning philosophy is to basically go back to the mindset of DOS and take what worked really good from than and move it forward to our widely available and accepted open standards today.
This is not just about being a minimalist. This is about removing things in *nix that was originally built in the 70s for the use in mainframe environments when CPU power was at a premium and users all used terminals to connect to a computer. uxDOS is about stripping off traditions that aren't necessary and get in the way and infusing old lost methods of doing things that were in many ways much more practical to the single user computer experience. Borrowing ideas from Amiga, Atari GEM/TOS, CP/M, MS-DOS, MacOS and anything else that is a more efficient single local user experience.
Which is where uxDOS gets its name from. Its short for User eXperience Disk Operating System.
Where am I now on the project? Just the basics. I've decided to go with Arch Linux as the originating package and try to remain compatible to their pacman software packages as much as possible. I liked how everything was packaged and made a lot of things very simplistic.
At this moment I'm porting over custom builds of DirectFB and plan to try to build everything based off of DirectFB. I've also got in the works of building Turbo Vision (yes you heard me right) to be the primary UI interface for configuring and isntalling. It will be mouse driven where possible and GPM in the CLI is default.
I do plan on porting OpenGL and GTK for compatibility. All of which will utilize DirectFB for the underpinning graphics.
So I got some work ahead of me and I'm more than happy to bring anyone on board who is interested on working on the project. This is a Linux distro project so don't expect a lot of instant gratification results. Suggestion and comments are also welcomed. Please note this is at a alpha version at best. As of writing this there is no installer/configuration application and distro ISO's. I won't have time to answer every "is it done yet?" but please feel free to chat me on the IRC at irc.freenode.net in channel #uxDOS.
I am kind of doubtful there is going to be too many people interested in this project as there is already a million versions of Linux to choose from and mine is yet just another flavor. But I'm going to build it because of my own needs for a OS exactly like this. There are a bunch of distro's of Linux that fits and could do the job but they are all like making two left shoes fit good enough. But who knows.
The reason for construction of uxDOS is the desire to have a simple foundation. Something that is useful not just for embedded devices and system controllers, but something that is practical for the gamers who want to be able to tap all the power of their computer for the game. For those of you who can, remember back in the early 90's? Remember when Windows 3.11 was out there but all the hardcore gamers refused to use it? Or exited Windows to run their games. Do you remember why? It was unnecessary and choked the performance of your game. Magically Microsoft adds a API called DirectX and everyone forgets you have a entire bloated GUI in the background gobbling system resources. Well and the desire to leave DOS was because there was issues with DOS as well. No standard real stable standard of addressing memory in 32 bit mode was one problem. Which added a lot of complexity for the application developers. There was no set 32 bit memory environment for DOS so developers had to pick from a collage of DPMI extender packages. A lot of time the DMPI extenders conflicted with each other and drivers. But the worst problem for DOS is there was no standard graphics API. VESA was still mostly just talk back than. Support for hardware or games was sparse or inaccurately implemented.
So what I'm purposing with uxDOS is to make is a Linux OS that boots up to a single user environment, with no login prompt. This is being built completely for a single local user. So there is no purpose to traditional unix user security. But this is not single user init mode and there is full access to networking. A simple shell GUI and/or TUI that is optionally loaded and doesn't require or use in any way X windows.
I was thinking maybe down the road of having the shell UI may end up having its own executable application system that would be similar to Mac OS's .app directories. But unlike MacOS, this shell needs to be easily manipulated and HIGHLY user configurable, like the old Windows 3.x.
The underpinning philosophy is to basically go back to the mindset of DOS and take what worked really good from than and move it forward to our widely available and accepted open standards today.
This is not just about being a minimalist. This is about removing things in *nix that was originally built in the 70s for the use in mainframe environments when CPU power was at a premium and users all used terminals to connect to a computer. uxDOS is about stripping off traditions that aren't necessary and get in the way and infusing old lost methods of doing things that were in many ways much more practical to the single user computer experience. Borrowing ideas from Amiga, Atari GEM/TOS, CP/M, MS-DOS, MacOS and anything else that is a more efficient single local user experience.
Which is where uxDOS gets its name from. Its short for User eXperience Disk Operating System.
Where am I now on the project? Just the basics. I've decided to go with Arch Linux as the originating package and try to remain compatible to their pacman software packages as much as possible. I liked how everything was packaged and made a lot of things very simplistic.
At this moment I'm porting over custom builds of DirectFB and plan to try to build everything based off of DirectFB. I've also got in the works of building Turbo Vision (yes you heard me right) to be the primary UI interface for configuring and isntalling. It will be mouse driven where possible and GPM in the CLI is default.
I do plan on porting OpenGL and GTK for compatibility. All of which will utilize DirectFB for the underpinning graphics.
So I got some work ahead of me and I'm more than happy to bring anyone on board who is interested on working on the project. This is a Linux distro project so don't expect a lot of instant gratification results. Suggestion and comments are also welcomed. Please note this is at a alpha version at best. As of writing this there is no installer/configuration application and distro ISO's. I won't have time to answer every "is it done yet?" but please feel free to chat me on the IRC at irc.freenode.net in channel #uxDOS.
I am kind of doubtful there is going to be too many people interested in this project as there is already a million versions of Linux to choose from and mine is yet just another flavor. But I'm going to build it because of my own needs for a OS exactly like this. There are a bunch of distro's of Linux that fits and could do the job but they are all like making two left shoes fit good enough. But who knows.
Subscribe to:
Posts (Atom)

