lkml.org 
[lkml]   [1998]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 13:42    [W:0.056 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site