Sea Console new Beta Version

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Post by Alboin »

I really don't know....I doubt it would work... :)

That method is *very* hackish, so I would suggest you not do it, but instead not use 'system' at all (Which, uses bash, so, yeah...), and look into the exec and friends system calls.

Also, I don't know if it might be of any help, but I found this. I'm not sure of the portability....?

By the way, if you want your shell to resize automatically, it should be possible by catching the SIGWINCH signal, like:

Code: Select all

#include <signal.h>

void catch(int num) {
	printf("RESIZE\n");
}

int main() {
	signal(SIGWINCH, catch);
	for(;;);
}
That post was very much without harmony. :?
C8H10N4O2 | #446691 | Trust the nodes.
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post by piranha »

Thanks, but I solved the output thing.
I have it return to text mode and then run the program. Also, F2 now goes to text mode and back.

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post by piranha »

Al-righty Then!
The Final Version of 0.3 is FINISHED!
http://seaosmain.googlepages.com/seaconsole

ChangeLog from Beta 2:
+Cleaned Up
+Added First Run function (When you run it the first time, it creates a user).
+Removed several Bugs.
+I made better the way it deals with commands.
+Finished command history.
+Optimized Some Code.

So, tell me what you think and all of that.

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
Post Reply