On Fri, 03 Dec 1999, Todd L. Miller wrote:
>
> Good stuff! Be aware that I'm trying to provide a standardized
> console for JOS -- though only method I'm thinking about supporting is
> putChar(x,y,char) (and possibly putStyle()) -- so that some of the
> back-end support exists/will exist (at least for the i386 build -- the
> host build will need different back-end stuff).
This should be enough! The standard class which writes onto the screen is
"JavaTerminal" which uses the properties defined in "termcap.ini". However, the
"Terminal" class file associated to a given term-type (e.g. VT100, ANSI) is
also defined in "termcap.ini", so you may implement a class which class C
native methods (for example). In addition, the property file "termcap.ini" is
virtualized by the interface AbstractProperties and created by the
TerminalPropertiesFactory class. Using this mechanism, you can use other
terminal capability definition methods instead of a file-based one.
> I'd like to see the
> curses text windowing, etc, become std equipment on JOS though. (That is,
> anywhere a putChar() console is appropriate, so would a curses console.
> Under that assumption, jos.system.curses would be an appropriate package
> name, with jos.system.curses.console (screen?) the interface class.)
OK!!!!
Bye,
Corrado.
--
======================================================
Eng. Corrado Santoro - PhD Student
Unversity of Catania - Engineering Faculty
Institute of Computer Science and Telecommunications
Viale A. Doria, 6 - 95125 CATANIA (ITALY)
Tel: +39 095 7382365 Fax: +39 095 7382397
EMail: [EMAIL PROTECTED]
Personal Home Page:
http://www.cdc.unict.it/~csanto
ARCA Mobile Agent Framework Home Page:
http://netra.cdc.unict.it/ARCA
======================================================
_______________________________________________
Kernel maillist - [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel