Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!mcdphx!toy!razdan From: razdan@phx.mcd.mot.com (anshuman razdan) Newsgroups: comp.windows.x Subject: Re: X on a SUN cgfour Message-ID: Date: 29 Aug 90 17:22:26 GMT References: <352@decvax.decvax.dec.com.UUCP> Sender: listen@mcdphx.phx.mcd.mot.com Organization: Motorola MCD Lines: 51 In-reply-to: tarsa@abyss.zk3.dec.com's message of 27 Aug 90 21:12:06 GMT We have a SUN system with the cgfour frame buffer. This frame buffer gets configured as two screens :0.0 is the color FB and :0.1 is a mono frame buffer. If X is fired up on login, then I can get from one screen to the other by sliding off the current screen to the left or the right. However, if X is fired up to run over (under?) suntools (SUNOS 3.4), then I cannot get the the other screen using the mouse. What I have been doing is firing up an application for the "other" screen. TWM, appears to transfer mouse control to the screen as part of the client positioning process. Is there someway I can run both suntools *and* X in such a was as to have easy mouse access to both X screens? (I do *not* want to have to run two copies of suntools in order to do this.) Yes you can do it and it is not very difficult either. I do not have a script at hand but can tell you the basic steps required to do it. 1. Start your suntools in /dev/fb (i.e. in generic frame buffer). Use -d option. 2. From one of the windows in suntools (shelltool) fire X11 just the way you do it but with the -dev option and give the device name (i.e. /dev/cgfour0). Thus System can be fooled to think that there are two frame buffers and you will get both tools in color. This however is applicable to all frame buffers (cgfour0 and up). 3. If want X11 in B/W then give the monochrome device name to X11 before starting. 4. Run the adjacentscreen command to tell the system that you want to toggle betweeen /dev/fb and cgfour0. 5. The drawback is that when you move from one screen to another you need to refresh the screen. Good Luck -- Anshuman Razdan ************************************************************ * razdan@toy Test and Methodology Group * * * * razdan@phx.mcd.mot.com Diablo Plant, Tempe Az * ************************************************************