lkml.org 
[lkml]   [1998]   [Apr]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 29 Mar 1998 02:29:17 +0100 (BST)
FromChris Evans <>
SubjectRe: GGI and cli/sti in X
On Sat, 28 Mar 1998, Kyle Cronan wrote:

> Just so I understand this better, what exactly would have to go in the
> kernel for it to be able to restore text mode in this sort of situation,
> or perhaps if it is given some kind of keyboard signal.

Something maybe like a /dev/graph, and:

X: open /dev/graph
X: ioctl(fd, GRAPH_SET_MODE, MODE_1024_768_32)
X: CRASH!!!!!! (or kill -9) implicit exit() implicit close (dev_graph_fd)
kernel: ooh usage count on /dev/graph is 0 and we're still in gfx mode
kernel: better tell the driver to revert back to textmode
gfx driver: no problem, I know how to go MODE_1024_768_32 -> MODE_TEXT_80_25

Sounds nice doesn't it?

Chris


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 12:42    [from the cache]
©2003-2008