From: Hu Y. <ccp...@et...> - 2002-04-22 04:49:28
|
When zhcon support mouse with gpm, it should run in KD_TEXT mode, this is limited by gpm now. So new problem is: When VT is in text mode, kernel would blank screen and restore by its own VT buffer, and then broke zhcon's screen. Solution: 1. Disable blank screen attribute by TIOCLINUX, subcode 10, arg 0. Is it work? 2. console_blank_hook(), as kernel/console.c said, Hook so that the power management routines can (un)blank the console on our behalf. But it can be done by modules, and is useless as user api like zhcon. Any other suggestion? More futher, is it ok in FreeBSD? |