> 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

Reply via email to