Path: utzoo!utgpu!watserv1!watmath!att!rutgers!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!mips!sgi!shinobu!odin!ramoth.esd.sgi.com!msc From: msc@ramoth.esd.sgi.com (Mark Callow) Newsgroups: comp.sys.sgi Subject: Re: toolplaces/xwininfo equivalent? Message-ID: <1990Oct17.181251.20223@odin.corp.sgi.com> Date: 17 Oct 90 18:12:51 GMT References: <1990Oct17.005518.26123@nas.nasa.gov> Sender: news@odin.corp.sgi.com (Net News) Reply-To: msc@sgi.com Organization: Silicon Graphics Inc., Entry Systems Division Lines: 24 In article <1990Oct17.005518.26123@nas.nasa.gov>, browning@nas.nasa.gov (David S. Browning) writes: |> |> In IRIX 3.2 running 4Sight 1.4 on a 4D/60. |> (No IRIX 3.3 'till I get bigger disks.) |> |> I'd like to extract position and size information from the windows that |> are currently on my screen (not just their prefposition's). After I |> move the windows around so they're how I want them, I want to know what |> size and position coordinates to put in my user.ps file so they will |> come up the same way next time. Suntools has "toolplaces," X11 has |> "xwininfo." Is there something similar for 4Sight (rather, NeWS)? In ~4Dgifts/.4sight there is a file called prefpos.ps. This file, which can be loaded from your user.ps, adds an entry to the window frame menu of all your windows that saves the windows position in a file in a form understood by the window manager so that it will place the window in the same place next time. Look at the READM in ~4Dgifts/.4sight and the comments in the file for more information. -- From the TARDIS of Mark Callow msc@ramoth.sgi.com, ...{ames,decwrl}!sgi!msc "There is much virtue in a window. It is to a human being as a frame is to a painting, as a proscenium to a play. It strongly defines its content."