Newsgroups: comp.windows.open-look Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!news.cs.indiana.edu!nstn.ns.ca!aucs.acadiau.ca!880274d From: 880274d@aucs.AcadiaU.ca (Ralph Doncaster) Subject: how do I detect a color framebuffer? Message-ID: <1991Apr5.182435.8354@aucs.AcadiaU.ca> Reply-To: 880274d@aucs.acadiau.ca (Ralph Doncaster) Organization: School of Computer Science, Acadia Univ., Nova Scotia Distribution: na Date: Fri, 5 Apr 91 18:24:35 GMT Lines: 9 I am doing some work in xview/X11, and I would like to be able to tell whether my program is on a b/w or color display. I know how to do it from a shell, bu checking /dev for the device, but would like a cleaner way to do it. -- +---------------------------------------------------------------------------+ |Ralph Doncaster I don't have anything interesting to put in my .sig | |880274d@AcadiaU.CA 330 CHI, Acadia U., Wolfville, NS B0P 1X0 542-3010 | |UUCP: {uunet|watmath|utai}!cs.dal.ca!aucs!880274d BITNET: 880274d@Acadia | +---------------------------------------------------------------------------+