roell@lan.informatik.tu-muenchen.dbp.de (Thomas Roell) (04/11/90)
It may bee asked yet, but anyway.. I've build a graphics application, and the Problem ist that every time the kernel sends a message (ex. FD(0): NO SPACE,... etc.) to the console my graphics are destroyed. How can I prevent the kernel form sending messages direct to the console? Does it perhaps linking /dev/console to /dev/null ? (not the good way) Or is there a simple way. Next Question: My Doc states that there is a special memory-mapped keyboard mode (especially for X-Windows). Has anybody out there used it allready ? If so, please send me some example code. Can I use this mode for a seriell driven mouse too ? Or is there another way to get a signal from the kernal whenever a mouse-event arrives (currently I'm using poll(2) and nonblocking reads, but thats too slow!). - Thomas -- _______________________________________________________________________________ Thomas Roell Inst. f. Informatik / Technische Universitaet M"unchen Arcisstr. 21 / 8000 Munich 2 / Fed.Rep. of Germany E-Mail (domain): roell@lan.informatik.tu-muenchen.dbp.de UUCP (when above fails): roell@tumult.{uucp | informatik.tu-muenchen.de} -------------------------------------------------------------------------------
cpcahil@virtech.uucp (Conor P. Cahill) (04/12/90)
In article <1833@tuminfo1.lan.informatik.tu-muenchen.dbp.de> roell@lan.informatik.tu-muenchen.dbp.de (Thomas Roell) writes: >I've build a graphics application, and the Problem ist that every time the >kernel sends a message (ex. FD(0): NO SPACE,... etc.) to the console my >graphics are destroyed. How can I prevent the kernel form sending messages >direct to the console? Do what most of the Xwindow servers do: Switch to one of the VTs and do your graphics there. Console error messages will not appear on a VT. -- Conor P. Cahill (703)430-9247 Virtual Technologies, Inc., uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160 Sterling, VA 22170