tarsa@abyss.zk3.dec.com (Greg Tarsa) (08/28/90)
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.) Any insight would be appreciated. Thanks, Greg Tarsa Software Consulting -------------------------------- 33 Seabee Street Bedford, NH 03102 tarsa@elijah.mv.com (603)668-9226 {decuac,decvax}!elijah!tarsa
mouse@LARRY.MCRCIM.MCGILL.EDU (08/29/90)
> 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.) I assume you're running R4. (R3 had :0.0 as mono and :0.1 as color.) When running under suntools, the auto-zaphod feature is disabled because of the way X gets mouse events. You have to get to the other screen by way of an XWarpPointer call[%]. I have two programs that can do this for you; neither of them is quite as handy as sliding off the sides of the screen, but one of them isn't a bad substitute: it puts up little doodads to click on to change screen. (Ftp to 132.206.1.1 and fetch X/xscreenwarp.c, or write to me if you can't ftp.) [%] There may be other ways; I suspect grabbing the mouse with a confine-to window on the desired screen may work, but haven't checked. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu
razdan@phx.mcd.mot.com (anshuman razdan) (08/30/90)
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 * ************************************************************