Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!nsc!voder!blia!mao From: mao@blia.BLI.COM (Mike Olson) Newsgroups: comp.windows.x Subject: Re: Color Sun implementation Message-ID: <6255@blia.BLI.COM> Date: 20 Jan 89 17:12:51 GMT References: <27328@bu-cs.BU.EDU> <2480@daisy.UUCP> Reply-To: mao@blia.UUCP (Mike Olson) Organization: Britton Lee Lines: 27 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