Hi Todd,
I've updated my CVS and i'm happy to see a working console! i've also
tryed to adapt jcurses to JOS removing several things like file-based
properties or hash tables but i've found these problems:
1. in the host build, the method console.setChar seems to not work. I've
seen several consoleXX.java in host/bytecode/jos/platform/driver, but what
is the file used in the host build ? (it seems console.java, but i think
i'm wrong!). Adding setChar should be simple, I think, it would be
required to add simple lines in jjconsol.c, but i have not understand in
which way, starting from jos.system.console, we arrive to jjconsol.c.
2. the java.lang.Integer class has some problems, i mean the method
"Integer.parseInt()" seems to not work.
3. what's happened in etherboot image ? after downloading jos-nbi.zip the
booting station hangs up. I've forgot something or is there a (millennium)
bug ?
Cheers,
Corrado.
On Wed, 5 Jan 2000, Todd L. Miller wrote:
> > 1. how can I put a char with a back and fore color onto the screen (using
> > console or consoled class) ?
>
> Er. This is something that's not actually supported by the
> consoles right now. (Gee, Avery, looks like I *did* forget something :))
> It shouldn't be too difficult to add get/setAttribute() methods to the
> console classes.
>
> > 2. how can I read a *single* char ? (yes I have to use a KeyboardListener
> > I think, but in the host build any typed char is returned only after a
> > newline. I have designed a native class which, using a native method and
> > some ncurses system call, is able to read a single keystroke, but I think
> > it is better to integrate this inside JOS host core).
>
> Scarily enough, I just finished doing this! (See prior email,
> re: host progress. That email also includes the to-do list.) I guess
> your request means that I should go ahead and commit my changes to CVS.
>
> > My objective is to write the *first* interactive JOS application.
>
> Might it, perchance, be a shell? :)
>
> -_Quinn
>
>
> _______________________________________________
> Kernel maillist - [EMAIL PROTECTED]
> http://jos.org/mailman/listinfo/kernel
>
>
_______________________________________________
Kernel maillist - [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel