Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pasteur!dent.Berkeley.EDU!davidh From: davidh@dent.Berkeley.EDU (David S. Harrison) Newsgroups: comp.windows.x Subject: Re: xgraph display in unix:0.0 Keywords: xgraph display frame buffer Message-ID: <16803@pasteur.Berkeley.EDU> Date: 2 Sep 89 20:31:43 GMT References: <1542@dukeac.UUCP> Sender: news@pasteur.Berkeley.EDU Reply-To: davidh@ic.Berkeley.EDU Followup-To: comp.windows.x Organization: UC Berkeley Electronics Research Lab Lines: 25 > I have been using xgraph on a sun 3/60 under Sun OS (3.5). I > have found that the graph window always shows up in unix:0.1, > even if I explicitly state "-display unix:0.0". I looked > back at the original archive, and found that this problem was > noted by the moderator. I think you have omitted an important piece of information. The visuals of your two screens must be different (i.e. one is color the other is monochrome). Xgraph tries to be intelligent about selecting an appropriate visual. Its algorithm favors color over black and white. Thus, I suspect unix:0.1 is your color screen. I don't have an easy solution to the problem. I am not sure, but I suspect I can't easily determine whether you have explicitly specified the screen in your display specification without explictly parsing the specification manually. Perhaps someone can suggest a strategy. In the interim, you can change the function ux11_std_vismap in ux11/ux11s_vismap.c to always use the default screen and visual by changing the value of UX11_MIN_DEPTH from four to zero. David Harrison UC Berkeley Electronics Research Lab (davidh@ic.Berkeley.EDU, ...!ucbvax!ucbcad!davidh)