This patch contains the rest of the XFree86 DGA2 driver and some small changes in xwininp.c the handle fullscreen mode. 8bpp modes now work. The input also works, even if switching from "graphics" to "text" mode and vice versa, or executing one GRX application from another. In the last case, caller must switch to "text" mode before exec (it's a normal practice, demogrx does it). Warning: any attempt to read from stdin while in "graphics" mode blocks the application. This is a bad practice IMHO, so I will, unless there are any objections, replace such reads with GrKeyRead()-s.