Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!ucbcad!ucbvax!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: querying window size Message-ID: <8712101956.AA00405@LYRE.MIT.EDU> Date: 10 Dec 87 19:56:23 GMT References: <16821@gatech.edu> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 8 If you are running an application inside an xterm window, you can use the same trick that 'resize' uses; send the ANSI escape sequence to save the cursor position, then move the cursor to row 999, column 999 and read the cursor position, then send the restore cursor position sequence. If you're not running inside an xterm, your question has little meaning; XGetGeometry will return the size of any window, but from your point of view it's a procedure call, not a command sequence.