OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Mar 24, 2017 3:53 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: OGDOS
PostPosted: Sun Jan 29, 2017 2:48 am 
Offline
Member
Member

Joined: Wed Jan 25, 2017 3:37 pm
Posts: 71
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.


Top
 Profile  
 
 Post subject: Re: OGDOS
PostPosted: Sun Jan 29, 2017 3:00 am 
Offline
Member
Member

Joined: Tue Mar 04, 2014 5:27 am
Posts: 736
monobogdan wrote:
Turbo Vision is written on C, Turbo Pascal uses only it's units.


RTFriendlyM.


Top
 Profile  
 
 Post subject: Re: OGDOS
PostPosted: Sun Jan 29, 2017 1:08 pm 
Offline
Member
Member

Joined: Wed Jan 25, 2017 3:37 pm
Posts: 71
Hi :)

What shell is better?

With standard style or with list style?


Attachments:
Screenshot_28.jpg
Screenshot_28.jpg [ 14.34 KiB | Viewed 261 times ]
Screenshot_20.jpg
Screenshot_20.jpg [ 14.28 KiB | Viewed 261 times ]
Top
 Profile  
 
 Post subject: Re: OGDOS
PostPosted: Sun Jan 29, 2017 2:05 pm 
Offline
Member
Member

Joined: Wed Jan 25, 2017 3:37 pm
Posts: 71
Run program :)


Attachments:
Screenshot_29.jpg
Screenshot_29.jpg [ 13.91 KiB | Viewed 249 times ]
Top
 Profile  
 
 Post subject: Re: OGDOS
PostPosted: Sun Jan 29, 2017 4:18 pm 
Offline
Member
Member

Joined: Wed Jan 25, 2017 3:37 pm
Posts: 71
Commited two variants of shell and run utility.


Top
 Profile  
 
 Post subject: Re: OGDOS
PostPosted: Sun Jan 29, 2017 5:25 pm 
Offline
Member
Member
User avatar

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2049
Location: Bucharest, Romania
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.

_________________
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]


Top
 Profile  
 
 Post subject: Re: OGDOS
PostPosted: Mon Jan 30, 2017 1:48 am 
Offline
Member
Member

Joined: Wed Jan 25, 2017 3:37 pm
Posts: 71
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.


Top
 Profile  
 
 Post subject: Re: OGDOS
PostPosted: Mon Jan 30, 2017 1:51 am 
Offline
Member
Member

Joined: Wed Jan 25, 2017 3:37 pm
Posts: 71
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.


Top
 Profile  
 
 Post subject: Re: OGDOS
PostPosted: Mon Jan 30, 2017 2:26 am 
Offline
Member
Member
User avatar

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2049
Location: Bucharest, Romania
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!)

_________________
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]


Top
 Profile  
 
 Post subject: Re: OGDOS
PostPosted: Mon Jan 30, 2017 2:28 am 
Offline
Member
Member

Joined: Wed Jan 25, 2017 3:37 pm
Posts: 71
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 :)


Top
 Profile  
 
 Post subject: Re: OGDOS
PostPosted: Mon Jan 30, 2017 3:20 am 
Offline
Member
Member
User avatar

Joined: Thu Jul 12, 2012 7:29 am
Posts: 566
Location: Tallinn, Estonia
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...

_________________
Learn to read.


Top
 Profile  
 
 Post subject: Re: OGDOS
PostPosted: Mon Jan 30, 2017 4:30 am 
Offline
Member
Member

Joined: Wed Jan 25, 2017 3:37 pm
Posts: 71
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.


Top
 Profile  
 
 Post subject: Re: OGDOS
PostPosted: Mon Jan 30, 2017 8:51 am 
Offline
Member
Member
User avatar

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2049
Location: Bucharest, Romania
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.

_________________
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]


Top
 Profile  
 
 Post subject: Re: OGDOS
PostPosted: Mon Jan 30, 2017 9:22 am 
Offline
Member
Member

Joined: Wed Jan 25, 2017 3:37 pm
Posts: 71
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?


Top
 Profile  
 
 Post subject: Re: OGDOS
PostPosted: Mon Jan 30, 2017 9:29 am 
Offline
Member
Member
User avatar

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2049
Location: Bucharest, Romania
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.

_________________
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group