Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!agate!bionet!csd4.milw.wisc.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!CS.WISC.EDU!dcmartin From: dcmartin@CS.WISC.EDU ("David C. Martin") Newsgroups: comp.windows.x Subject: Re: Color Sun implementation Message-ID: <8901210038.AA14504@cheddar.cs.wisc.edu> Date: 21 Jan 89 00:38:13 GMT References: <6255@blia.BLI.COM> Sender: daemon@bloom-beacon.MIT.EDU Organization: University of Wisconsin - Madison Lines: 40 Someone should correct me if I am wrong, but I believe that you can simply rename /dev/cgfour0 to /dev/fb (ie. change the major/minor numbers for /dev/fb to match those in /dev/cgfour0) since the initialization for the Sun monitor assumes that it is emulating a bw2 with the default setup. You can check this be opening the device and then determining if the monitor is in emulation mode and what type of monitor it is emulating. Check the ioctls for fb in fbio(4S). dcm -------- Your message: regarding the problem of staring up Xsun on a cgfour0, jeff turner (voder!pyramid!decwrl!sgi!daisy!turner) writes > xinit -- Xsun -dev /dev/cgfour0 we've had the same problem here, and have wrapped xinit in a script: #!/bin/csh stty -tostop if ( -e /dev/cgfour0 ) setenv XDEVICE /dev/cgfour0 xinit ... where ... is the set of args you pass to xinit, excluding the -dev stuff in jeff's posting. this script is useful from any machine; if you're on a sun with a color monitor, then you'll use it. otherwise, the server will search for a display as normal. i don't remember why we put the stty in. something in R2 didn't work without it. i'm not brave enough to take it out, but you may not need it. mike olson britton lee, inc. ...!ucbvax!mtxinu!blia!mao mao@blia.bli.com --------