<s>
General	B-Language
Graphics	I-Language
Interface	I-Language
(	O
GGI	B-Language
)	O
was	O
a	O
project	O
that	O
aimed	O
to	O
develop	O
a	O
reliable	O
,	O
stable	O
and	O
fast	O
computer	O
graphics	O
system	O
that	O
works	O
everywhere	O
.	O
</s>
<s>
The	O
intent	O
was	O
to	O
allow	O
for	O
any	O
program	O
using	O
GGI	B-Language
to	O
run	O
on	O
any	O
computing	B-Device
platform	I-Device
supported	O
by	O
it	O
,	O
requiring	O
at	O
most	O
a	O
recompilation	B-Language
.	O
</s>
<s>
GGI	B-Language
is	O
free	B-License
and	I-License
open-source	I-License
software	I-License
,	O
subject	O
to	O
the	O
requirements	O
of	O
the	B-License
MIT	I-License
License	I-License
.	O
</s>
<s>
The	B-Language
GGI	I-Language
project	I-Language
,	O
and	O
its	O
related	O
projects	O
such	O
as	O
KGI	O
,	O
are	O
generally	O
acknowledged	O
to	O
be	O
dead	O
.	O
</s>
<s>
The	O
project	O
was	O
originally	O
started	O
to	O
make	O
switching	O
back	O
and	O
forth	O
between	O
virtual	B-Application
consoles	I-Application
,	O
svgalib	B-Application
,	O
and	O
the	O
X	B-Operating_System
display	O
server	O
subsystems	O
on	O
Linux	B-Application
more	O
reliable	O
.	O
</s>
<s>
Portability	O
through	O
a	O
flexible	O
and	O
extensible	O
API	B-General_Concept
for	O
the	O
applications	O
.	O
</s>
<s>
The	O
GGI	B-Language
framework	O
is	O
implemented	O
by	O
a	O
set	O
of	O
portable	O
user-space	B-Operating_System
libraries	B-Library
,	O
with	O
an	O
array	O
of	O
different	O
backends	O
or	O
targets	O
(	O
e.g.	O
</s>
<s>
Linux	B-Language
framebuffer	I-Language
,	O
X11	B-Operating_System
,	O
Quartz	B-Operating_System
,	O
DirectX	B-Application
)	O
,	O
of	O
which	O
the	O
two	O
most	O
fundamental	O
are	O
LibGII	O
(	O
for	O
input-handling	O
)	O
and	O
LibGGI	O
(	O
for	O
graphical	O
output	O
)	O
.	O
</s>
<s>
All	O
other	O
packages	O
add	O
features	O
to	O
these	O
core	O
libraries	B-Library
,	O
and	O
so	O
depend	O
on	O
one	O
or	O
both	O
of	O
them	O
.	O
</s>
<s>
Andreas	O
Beck	O
and	O
Steffen	O
Seeger	O
founded	O
The	B-Language
GGI	I-Language
Project	I-Language
in	O
1994	O
after	O
some	O
experimental	O
precursors	O
that	O
were	O
called	O
"	O
scrdrv	O
"	O
.	O
</s>
<s>
Development	O
of	O
scrdrv	O
was	O
motivated	O
by	O
the	O
problems	O
caused	O
by	O
coexisting	O
but	O
not	O
very	O
well	O
cooperating	O
graphics	O
environments	O
(	O
mainly	O
X	B-Operating_System
and	O
SVGAlib	B-Application
)	O
under	O
the	O
Linux	B-Application
operating	I-Application
system	I-Application
at	O
this	O
time	O
which	O
frequently	O
lead	O
to	O
lockups	O
requiring	O
a	O
reboot	O
.	O
</s>
<s>
The	O
first	O
scrdrv	O
design	O
was	O
heavily	O
influenced	O
by	O
the	O
graphics	O
subsystem	O
of	O
the	O
DJ	O
DOS	O
extender	O
and	O
some	O
concepts	O
from	O
the	O
SANE	B-Application
project	O
.	O
</s>
<s>
The	O
basic	O
problem	O
that	O
scrdrv	O
solved	O
was	O
that	O
it	O
provided	O
a	O
kernel	O
mode	O
driver	O
that	O
knew	O
enough	O
of	O
the	O
video	O
hardware	O
to	O
set	O
up	O
modes	O
,	O
thus	O
allowing	O
to	O
get	O
into	O
a	O
sane	B-Application
state	O
even	O
from	O
a	O
messed-up	O
or	O
crashed	O
graphics	O
application	O
.	O
</s>
<s>
About	O
1996	O
,	O
GGI	B-Language
1.0	O
was	O
released	O
under	O
the	O
LGPL	O
license	O
.	O
</s>
<s>
GGI	B-Language
only	O
consisted	O
of	O
the	O
core	O
lib	O
named	O
libggi	O
.	O
</s>
<s>
It	O
included	O
input	O
handling	O
,	O
a	O
set	O
of	O
2d	O
graphic	O
primitives	O
and	O
some	O
userspace	B-Operating_System
drivers	I-Operating_System
for	O
graphic	O
boards	O
along	O
with	O
a	O
Linux	B-Application
kernel	O
patch	O
with	O
the	O
userspace	B-Operating_System
interface	O
for	O
the	O
drivers	O
.	O
</s>
<s>
In	O
1997	O
,	O
GGI	B-Language
went	O
into	O
a	O
complete	O
re-design	O
.	O
</s>
<s>
Many	O
new	O
ideas	O
and	O
a	O
decision	O
from	O
Linux	B-Application
made	O
GGI	B-Language
to	O
what	O
it	O
became	O
in	O
GGI	B-Language
2.0	O
released	O
in	O
August	O
2001	O
under	O
the	O
MIT	O
release	O
.	O
</s>
<s>
In	O
1998	O
,	O
there	O
was	O
a	O
big	O
flame	O
war	O
on	O
the	O
linux	B-Application
kernel	O
mailing	O
list	O
about	O
getting	O
KGI	O
into	O
the	O
kernel	O
.	O
</s>
<s>
Linus	O
Torvalds	O
explained	O
his	O
concerns	O
about	O
GGI	B-Language
stating	O
,	O
"	O
I	O
think	O
that	O
X	B-Operating_System
is	O
good	O
enough	O
"	O
and	O
expressing	O
concern	O
regarding	O
the	O
overall	O
direction	O
of	O
GGI	B-Language
.	O
</s>
<s>
to	O
have	O
two	O
keyboards	O
attached	O
to	O
the	O
same	O
machine	O
,	O
one	O
operating	O
a	O
text	O
console	O
on	O
one	O
graphics	O
adapter	O
and	O
one	O
operating	O
a	O
graphics	O
console	O
on	O
the	O
other	O
(	O
as	O
was	O
demonstrated	O
on	O
the	O
Linux-Kongreß	O
´97	O
)	O
and	O
even	O
allows	O
for	O
having	O
different	O
keyboard	O
layouts	O
on	O
different	O
virtual	B-Application
consoles	I-Application
or	O
attaching	O
keyboards	O
via	O
network	O
.	O
</s>
<s>
The	O
modern	O
Linux	B-Application
input	O
event	O
system	O
allows	O
programs	O
(	O
e.g.	O
</s>
<s>
Xorg	O
)	O
to	O
receive	O
keyboard	O
events	O
other	O
than	O
through	O
the	O
console	O
keyboard	O
,	O
allowing	O
multiseat	B-Operating_System
operation	O
.	O
</s>
<s>
A	O
set	O
of	O
talks	O
about	O
GGI	B-Language
,	O
KGI	O
and	O
EvStack	O
were	O
given	O
at	O
LinuxExpo	O
98	O
.	O
</s>
<s>
For	O
GGI	B-Language
2.0	O
,	O
KGI	O
was	O
split	O
off	O
and	O
became	O
its	O
own	O
project	O
named	O
The	O
KGI	O
Project	O
.	O
</s>
<s>
GGI	B-Language
2.0	O
consisted	O
of	O
a	O
set	O
of	O
libraries	B-Library
.	O
</s>
<s>
During	O
the	O
2.0	O
beta	O
phase	O
in	O
late	O
1998	O
the	O
license	O
of	O
the	O
libraries	B-Library
was	O
changed	O
from	O
LGPL	O
to	O
a	O
MIT-style	O
license	O
.	O
</s>
<s>
It	O
worked	O
on	O
FreeBSD	O
,	O
code	O
for	O
OpenBSD	O
,	O
NetBSD	B-Device
and	O
even	O
Microsoft	B-Application
Windows	I-Application
were	O
there	O
as	O
well	O
as	O
some	O
support	O
for	O
more	O
hardware	B-Device
platforms	I-Device
.	O
</s>
<s>
Generic	O
GGI	B-Language
code	O
was	O
in	O
libgg	O
,	O
a	O
sublib	O
within	O
libgii	O
.	O
</s>
<s>
The	O
core	O
graphic	O
library	O
,	O
libggi	O
,	O
has	O
a	O
lightweight	O
set	O
of	O
graphic	O
primitives	O
that	O
was	O
common	O
enough	O
to	O
write	O
any	O
kind	O
of	O
graphic	O
application	O
,	O
while	O
higher-level	O
API	B-General_Concept
went	O
into	O
other	O
libraries	B-Library
on	O
top	O
of	O
libggi	O
.	O
</s>
<s>
These	O
were	O
called	O
GGI	B-Language
extensions	O
.	O
</s>
<s>
libggi	O
support	O
a	O
set	O
of	O
targets	O
,	O
most	O
of	O
them	O
were	O
Linux	B-Application
specific	O
:	O
fbdev	B-Language
,	O
X	B-Operating_System
,	O
aa	O
,	O
vcsa	O
,	O
terminfo	B-Device
and	O
some	O
pseudo	O
targets	O
such	O
as	O
tile	O
,	O
multi	O
,	O
palemu	O
and	O
trueemu	O
.	O
</s>
<s>
The	O
GGI	B-Language
extensions	O
featured	O
higher-level	O
API	B-General_Concept
.	O
</s>
<s>
libggiwmh	O
provides	O
functionality	O
for	O
windowed	O
only	O
targets	O
,	O
at	O
that	O
time	O
this	O
was	O
only	O
X	B-Operating_System
.	O
libggimisc	O
provided	O
some	O
basic	O
stuff	O
like	O
vga	O
splitline	O
.	O
</s>
<s>
GGI	B-Language
2.0.2	O
was	O
released	O
in	O
December	O
2002	O
.	O
</s>
<s>
The	O
most	O
user	O
visible	O
change	O
was	O
from	O
the	O
scratch	O
re-designed	O
X	B-Operating_System
backend	O
.	O
</s>
<s>
November	O
2004	O
,	O
the	O
last	O
bugfix	O
from	O
the	O
GGI	B-Language
2.0.x	O
stable	O
tree	O
was	O
released	O
in	O
favour	O
for	O
a	O
new	O
GGI	B-Language
2.1.x	O
stable	O
tree	O
.	O
</s>
<s>
GGI	B-Language
2.1.x	O
runs	O
on	O
many	O
Operating	O
Systems	O
:	O
GNU	B-Application
Hurd	I-Application
,	O
Linux	B-Application
,	O
*	O
BSD	O
,	O
System	B-Operating_System
V	I-Operating_System
,	O
Mac	B-Operating_System
OS	I-Operating_System
X	I-Operating_System
and	O
Microsoft	B-Application
Windows	I-Application
.	O
</s>
<s>
Support	O
for	O
more	O
hardware	B-Device
platforms	I-Device
has	O
been	O
added	O
.	O
</s>
<s>
NetBSD	B-Device
even	O
created	O
a	O
binary	O
package	O
for	O
NetBSD/Vax	O
!	O
</s>
<s>
A	O
new	O
GGI	B-Language
library	O
on	O
top	O
of	O
libgii	O
called	O
libgiigic	O
has	O
been	O
added	O
.	O
</s>
<s>
GGI	B-Language
2.2	O
was	O
released	O
in	O
December	O
2005	O
.	O
</s>
<s>
The	O
target	O
auto	O
detection	O
has	O
been	O
reworked	O
and	O
was	O
no	O
longer	O
linux	B-Application
centric	O
.	O
</s>
<s>
GGI	B-Language
replaced	O
its	O
own	O
integer	O
datatypes	O
with	O
ANSI	O
C99	O
types	O
for	O
more	O
portability	O
.	O
</s>
<s>
A	O
target	O
for	O
Quartz	B-Operating_System
has	O
been	O
added	O
.	O
</s>
<s>
Mac	B-Operating_System
OS	I-Operating_System
X	I-Operating_System
users	O
no	O
longer	O
depend	O
on	O
X11	B-Operating_System
but	O
still	O
can	O
use	O
the	O
X11	B-Operating_System
backend	O
.	O
</s>
<s>
Latest	O
release	O
is	O
GGI	B-Language
2.2.2	O
,	O
a	O
bugfix	O
release	O
in	O
the	O
GGI	B-Language
2.2.x	O
stable	O
series	O
.	O
</s>
<s>
The	B-Language
GGI	I-Language
Project	I-Language
was	O
moving	O
onward	O
to	O
the	O
GGI	B-Language
3.0	O
release	O
.	O
</s>
<s>
The	O
input	O
handling	O
had	O
been	O
replaced	O
with	O
a	O
reactor	B-Operating_System
event	I-Operating_System
model	I-Operating_System
,	O
which	O
is	O
more	O
flexible	O
than	O
using	O
select( )	O
on	O
a	O
file	B-Application
descriptor	I-Application
.	O
</s>
<s>
This	O
also	O
simplified	O
the	O
input-drivers	O
in	O
general	O
,	O
particularly	O
for	O
those	O
who	O
do	O
n't	O
use	O
file	B-Application
descriptors	I-Application
such	O
as	O
input-quartz	O
.	O
</s>
<s>
libggi	O
also	O
had	O
gotten	O
a	O
new	O
VNC	B-Protocol
target	O
,	O
</s>
<s>
which	O
allowed	O
to	O
run	O
any	O
application	O
as	O
a	O
VNC	B-Protocol
server	I-Protocol
.	O
</s>
<s>
In	O
GGI	B-Language
3.0	O
,	O
the	O
extension	O
mechanism	O
had	O
been	O
re-designed	O
from	O
scratch	O
to	O
simplify	O
interactions	O
between	O
the	O
extensions	O
and	O
the	O
core	O
libs	O
.	O
</s>
<s>
This	O
required	O
a	O
little	O
API	B-General_Concept
change	O
.	O
</s>
