OSDev.org
https://forum.osdev.org/

OGDOS
https://forum.osdev.org/viewtopic.php?f=2&t=31303
Page 2 of 3

Author:  monobogdan [ Sun Jan 29, 2017 2:48 am ]
Post subject:  Re: OGDOS

alexfru wrote:
monobogdan wrote:
alexfru wrote:
I have almost finished porting the D-Flat windowing system to my Smaller C compiler.
Here's a pic of a demo program, memopad, using it (running in DOSBox).
I don't think one needs to reinvent it. Working public domain code, familiar look and feel of Turbo Vision and the likes of it.

Looks interesting.

I think originally this is turbo vision based. Right?


I don't think it is, not in terms of code (TV's code is quite different and it was written in Object Pascal and C++ with bits of assembly, while D-Flat is mostly C). Same idea and similar behavior, though.


Turbo Vision is written on C, Turbo Pascal uses only it's units.

Author:  alexfru [ Sun Jan 29, 2017 3:00 am ]
Post subject:  Re: OGDOS

monobogdan wrote:
Turbo Vision is written on C, Turbo Pascal uses only it's units.


RTFriendlyM.

Author:  monobogdan [ Sun Jan 29, 2017 1:08 pm ]
Post subject:  Re: OGDOS

Hi :)

What shell is better?

With standard style or with list style?

Attachments:
Screenshot_28.jpg
Screenshot_28.jpg [ 14.34 KiB | Viewed 5527 times ]
Screenshot_20.jpg
Screenshot_20.jpg [ 14.28 KiB | Viewed 5527 times ]

Author:  monobogdan [ Sun Jan 29, 2017 2:05 pm ]
Post subject:  Re: OGDOS

Run program :)

Attachments:
Screenshot_29.jpg
Screenshot_29.jpg [ 13.91 KiB | Viewed 5515 times ]

Author:  monobogdan [ Sun Jan 29, 2017 4:18 pm ]
Post subject:  Re: OGDOS

Commited two variants of shell and run utility.

Author:  Love4Boobies [ Sun Jan 29, 2017 5:25 pm ]
Post subject:  Re: OGDOS

There were actually two versions of Turbo Vision, one written in Object Pascal, the other in C++ (both using Borland extensions). The latter was released into the public domain, whereas the former remained proprietary but had its source code distributed with Turbo Pascal. I actually started learning OOP by studying the Pascal version 15-20 years ago.

Regarding the images, they look like a TUI, not like a shell. A shell is a CLI program, typically consisting of a REPL running on top of an interpreter in a terminal. Why don't you make the running facility part of the file manager? It seems pretty silly to have to go through the file manager to see the path of an executable, remember it, go back, and type it in. The notepad should probably be such an application program instead of a separate option.

There is plenty more to be said. If you want to design an interface, I recommend learning more about them from this book.

Author:  monobogdan [ Mon Jan 30, 2017 1:48 am ]
Post subject:  Re: OGDOS

Love4Boobies wrote:
There were actually two versions of Turbo Vision, one written in Object Pascal, the other in C++ (both using Borland extensions). The latter was released into the public domain, whereas the former remained proprietary but had its source code distributed with Turbo Pascal. I actually started learning OOP by studying the Pascal version 15-20 years ago.

Regarding the images, they look like a TUI, not like a shell. A shell is a CLI program, typically consisting of a REPL running on top of an interpreter in a terminal. Why don't you make the running facility part of the file manager? It seems pretty silly to have to go through the file manager to see the path of an executable, remember it, go back, and type it in. The notepad should probably be such an application program instead of a separate option.

There is plenty more to be said. If you want to design an interface, I recommend learning more about them from this book.

You can run executable from filemanager.

Author:  monobogdan [ Mon Jan 30, 2017 1:51 am ]
Post subject:  Re: OGDOS

Love4Boobies wrote:
There were actually two versions of Turbo Vision, one written in Object Pascal, the other in C++ (both using Borland extensions). The latter was released into the public domain, whereas the former remained proprietary but had its source code distributed with Turbo Pascal. I actually started learning OOP by studying the Pascal version 15-20 years ago.

Regarding the images, they look like a TUI, not like a shell. A shell is a CLI program, typically consisting of a REPL running on top of an interpreter in a terminal. Why don't you make the running facility part of the file manager? It seems pretty silly to have to go through the file manager to see the path of an executable, remember it, go back, and type it in. The notepad should probably be such an application program instead of a separate option.

There is plenty more to be said. If you want to design an interface, I recommend learning more about them from this book.


When i find way to opitimize my putpixel implementation, i'm write normal shell.

Author:  Love4Boobies [ Mon Jan 30, 2017 2:26 am ]
Post subject:  Re: OGDOS

I don't think you've clicked on any of those links, have you? Bash and the Command Prompt in Windows are shells. Presumably, you're talking about a GUI. I would read that book in order to learn the vocabulary and to be able to design something that doesn't stink, like you have so far. :) (It's not an offense, we all do it!)

Author:  monobogdan [ Mon Jan 30, 2017 2:28 am ]
Post subject:  Re: OGDOS

Love4Boobies wrote:
I don't think you've clicked on any of those links, have you? Bash and the Command Prompt in Windows are shells. Presumably, you're talking about a GUI. I would read that book in order to learn the vocabulary and to be able to design something that doesn't stink, like you have so far. :) (It's not an offense, we all do it!)

I know about it's, i mean in android for example launchers is shells. Really, if you don't know :)

Author:  dozniak [ Mon Jan 30, 2017 3:20 am ]
Post subject:  Re: OGDOS

monobogdan wrote:
I know about it's, i mean in android for example launchers is shells. Really, if you don't know :)



So posix execve() call is a shell, you say...

Author:  monobogdan [ Mon Jan 30, 2017 4:30 am ]
Post subject:  Re: OGDOS

dozniak wrote:
monobogdan wrote:
I know about it's, i mean in android for example launchers is shells. Really, if you don't know :)



So posix execve() call is a shell, you say...


execve is hack, not shell.

Author:  Love4Boobies [ Mon Jan 30, 2017 8:51 am ]
Post subject:  Re: OGDOS

These "launchers" are certainly not shells. That's just Android slang for themes or skins. If you want to see a shell running under Anrdoid, you can check out the adb one.

Author:  monobogdan [ Mon Jan 30, 2017 9:22 am ]
Post subject:  Re: OGDOS

Love4Boobies wrote:
These "launchers" are certainly not shells. That's just Android slang for themes or skins. If you want to see a shell running under Anrdoid, you can check out the adb one.

And so, i can use android slang on osdev, right?

Author:  Love4Boobies [ Mon Jan 30, 2017 9:29 am ]
Post subject:  Re: OGDOS

But you're using it wrong. You're using the word "shell", which means something else, instead of the ambiguous "launcher", which I still wouldn't recommend unless you want to waste people's time with extra explanations about Android nomenclature. I actually had to Google "Android launchers". And themes/skins/launchers are not the same as GUIs, they are just a presentation running on top of it.

Page 2 of 3 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/