Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!ames!ncar!gatech!udel!rochester!rit!tropix!moscom!ur-valhalla!uhura.cc.rochester.edu!sunybcs!rutgers!cs.utexas.edu!uunet!mcvax!kth!sunic!ifi!naggum!m2cs.uu.no!frode From: frode@m2cs.uu.no (Frode Odegard) Newsgroups: comp.windows.news Subject: multi-screen programming Keywords: NeWS multiple monitors frame buffer programming idea Message-ID: <191@m2cs.uu.no> Date: 22 Jul 89 04:41:51 GMT Organization: Modula-2 CASE Systems A.S, Oslo, Norway Lines: 26 A few days ago I browsed trough the init.ps file and discovered that 'framebuffer' is created using 'createdevice'. Since I now have both a monochrome and a color monitor on my Sun-3/60C, I tried using createdevice to create OtherMonitor, and it worked. Then I opened a window on my other monitor and ...... one could actually write PS code to allow the user to open windows on any monitor, to move windows and icons from one monitor to another and.. does anyone know if X/NeWS includes PS code to do this? Having two monitors increases my productivity a LOT (especially since I can run Suntools (&Frame Maker) on my right side and NeWS on my left). I've been speculating...maybe framebuffer could become a function that actually returns 'currentframebuffer' and maybe 'currentframebuffer' could be set when the user moves the cursor from one monitor to another? I haven't been really deep into the low-level code for event handling but it'd be fun to hear what the NeWS experts have to say on this. - Frode -- _____________________________________________________________________ Frode L. Odegard, Modula-2 CASE Systems, Maridalsveien 139, N-0461 OSLO 4, NORWAY. Email: frode@m2cs.uu.no. For a full resume send mail to info@m2cs.uu.no (message must contain the command "resume frode").