Nicolas Souchu wrote:
> I'm a bit confused by the source layout and the KGI / GGI architecture.
> For exemple, what's the kgi directory in the GGI distribution?
It contains an outdated version of the KGI implementation that works with
libggi. Shortly after the stable libGGI release we decided to separate
libGGI and KGI development, in order to have more frequent libGGI releases.
The new KGI tree can be found at http://kgi.sourceforge.net (or
www.kgi-project.org).
> Could someone draw me a quit picture of the various KGI layers?
You can find documentation of the currently developed kgi-0.9 architecure
at the site mentioned (Articles section).
> Also what's the xterm stuff in the linux drivers?
It's an sane implementation of a xterm-compatible terminal emulation for the
Linux console. Mainly to have the linux specific extensions separated from
the standard xterm behaviour.
> Sorry, but the sources are not commented and since I'm not a Linux kernel
> expert I can't distinguish Linux from KGI interfaces.
There are similar files in kgi-0.9, located in linux/drivers/kgi in the
patched kernel. These implement a full reimplementation of a console subsystem,
which now also official kernel develoers have accepted to be neccessary.
However, as KGI development started, it was just broken and we had to do
a sane console implementation first. The problem was mainly that you have
to coordinate who is accessing which hardware, and the console driver,
SVGAlib and XFree86 are happily competing for concurent access...
> I would have imagined something much more light from the KGI point of view.
So would have I, but the console code in Linux was just crap. The linuxconsole
project attempts to address some of the issues, but does not do this
consequently
enough, in my opinion.
libGGI should be portable to *BSD without the need for a KGI port. If, however,
you are more interested in porting the KGI itself, get in contact with me.
Yours,
Steffen
_______________________________________________________________________________
Steffen Seeger mailto:[EMAIL PROTECTED]