From: Jacek K. <kop...@in...> - 2000-05-18 15:36:01
|
> I think you put too much in the kernel, and you completely ignore > multi-heads setup. What you can probably do better is: > Have an event mask for every console (beep, write, cursor move, etc.) > and whenever an unmasked event occurs, write a packet describing the > event and which console to a char misc device. Then, a user space daemon > can read the events, and decide what to do. Thanks for suggestions. 8-) I recall now that policy shouldn't go into the kernel. 8-) This was a quick-and-dirty patch to satisfy my needs. And it was made for the 2.2.12 kernel without any consideration for future, so in linuxconsole-dev I was actually only asking whether I should go on with this (and implement that char device and other suggestions) or if it's all unneeded and useless crap. 8-) AND I didn't know much about the kernel workings, certainly not enough to even think of making a device. 8-) I'll probably be able to study more during the summer, if I'm told it's useful and acceptable. Jacek Kopecky -- http://www.inf.upol.cz/~kopeckyj ICQ: 49514837 Finger kopeckyj(at)alpha.inf.upol.cz for Geek Code. |