Sea Console new Beta Version
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
Sea Console new Beta Version
Sea Console 0.3
New test request time!
Link: http://seaosmain.googlepages.com/seaconsole
For version 0.3 beta 2.
Could you guys test it and give me tips, bugs, ideas, etc...
Thanks, JL.
New test request time!
Link: http://seaosmain.googlepages.com/seaconsole
For version 0.3 beta 2.
Could you guys test it and give me tips, bugs, ideas, etc...
Thanks, JL.
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
I would really appreciate a disk image to be available...
Regards
inflater
Regards
inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Derrick operating system: http://derrick.xf.cz (Slovak and English )
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
It's not an OS, its a program.
EDIT: I forgot to mention: User name is 'bob', password is 'bob'.
-JL
EDIT: I forgot to mention: User name is 'bob', password is 'bob'.
-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
you still have all your sources #included in header files.
You should put your actual program code in .c files and only prototypes and other definitions in the headers.
You should put your actual program code in .c files and only prototypes and other definitions in the headers.
The cake is a lie | rackbits.com
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
I know, I write terrible code. I have yet to fix that, and I will try to later.you still have all your sources #included in header files.
Right now I just want to get the functions working.
-JL
P.S. But did it compile, and run, and work?
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
I haven't yet. It still doesn't build out of the box for me.
Code: Select all
Building Sea Console...
In file included from ./cons.c:8:
./ncur.h:192:3: warning: no newline at end of file
In file included from ./cons.c:12:
./scthreads.h:36: error: conflicting types for 'halt_threads'
./ncur.h:118: error: previous implicit declaration of 'halt_threads' was here
In file included from ./thread.h:1,
from ./cons.c:13:
/usr/include/pthread.h:143: error: conflicting types for 'pthread_exit'
./scthreads.h:142: error: previous implicit declaration of 'pthread_exit' was he
re
./cons.c:229: error: conflicting types for 'bssetup'
./scthreads.h:250: error: previous implicit declaration of 'bssetup' was here
mv: cannot stat `./cons': No such file or directory
Done!
The cake is a lie | rackbits.com
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
Thats weird, it worked for me when I downloaded it.
What version of gcc do you have?
-JL
What version of gcc do you have?
-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
I've it compiled. I'm on Gentoo x86_64, with GCC v. 4.1.2.
Some things....
Some things....
- When I resize my terminal, your shell doesn't. (There are lines left, as if it's not refreshing.) I'm not sure if it's supposed t refresh or not....
- I type in a command, let's say gcc, and the "gcc: no input files" jumps to the middle of the terminal. Also, after each command, the screen clears itself; IMO, not a favorable thing.
- Why does he clock refresh every 5 seconds? It doesn't matter, but, well, you know.
- the Backspace key doesn't work. It instead prints '^'.
- Maybe the prompt should be shorter....?
C8H10N4O2 | #446691 | Trust the nodes.
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
Thank you.Alboin wrote:I've it compiled. I'm on Gentoo x86_64, with GCC v. 4.1.2.
Some things....I don't know where you're going with it. At the moment, I'm kind of comparing it to bash, so, tell me if there's some twist I'm missing.
- When I resize my terminal, your shell doesn't. (There are lines left, as if it's not refreshing.) I'm not sure if it's supposed t refresh or not....
- I type in a command, let's say gcc, and the "gcc: no input files" jumps to the middle of the terminal. Also, after each command, the screen clears itself; IMO, not a favorable thing.
- Why does he clock refresh every 5 seconds? It doesn't matter, but, well, you know.
- the Backspace key doesn't work. It instead prints '^'.
- Maybe the prompt should be shorter....?
First, it should resize when you press F5, or hit enter twice.
Second, the output is in the middle so all hard coded windows can be in the first half of the screen. And I'm working on making an output window.
If the clock refreshes too fast, then junk is sometimes printed on the screen. I'm working on that too.
Thanks for this info, I'll work on the problems!
-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
OK, here is a new version, Beta 2 or something.......
I fixed a lot of problems that were suggested by Alboin...
And I separated the header files into C files (did that 5 min ago)...
Let me know what you think!
Again, the website: http://seaosmain.googlepages.com/seaconsole
-JL
I fixed a lot of problems that were suggested by Alboin...
And I separated the header files into C files (did that 5 min ago)...
Let me know what you think!
Again, the website: http://seaosmain.googlepages.com/seaconsole
-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
Yeah, unfortunately I have yet to figure out how to control the programs output in system() or similar functions...Alboin wrote:My only complaint is the line formatting. If I execute a program and the line printed is too long, it doesn't wrap within the shell's boundaries.
Other than that, it's quite an improvement.
Thanks.
And it compiled OK, I assume. I didn't test it that much after I separated the C files.
-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
For a quick hack, you can just redirect the program's output, and then print it afterwards. Actually, this is a very bad idea, but it sounds better than nothing.piranha wrote:Yeah, unfortunately I have yet to figure out how to control the programs output in system() or similar functions...
Code: Select all
char *meowgd = malloc(strlen(cmd) + 10);
sprintf(meowgd, "%s > tmp 2>&1", cmd);
system ( meowgd ); //Execute Command
free(meowgd);
//Print file 'tmp'
C8H10N4O2 | #446691 | Trust the nodes.
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
Thanks, but what happens if the program wants input? Does it still work?
-JL
-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io