[comp.windows.x] Raise/Lower Xterm under Application Control

mcdonley@dinl.uucp (alan mcdonley) (09/24/90)

NEED VERY BADLY:

1.  X-term, DECTerm, or the like window with the following specification
    a)  responds to ANSI cursor positioning sequences
    b)  can be invoked from an application program under program control
    c)  can be raised and lowered (exposed, unexposed) under the parent
    control
    d)  size and location controlled by parent process.

We have the Xterm and DECterm programs which meet a) and b) but we don't
know how to do c) or d) since the parent does not know the window name.
-- 

---------------------------------------------------------------------------
Alan McDonley,        Martin Marietta Information and Communication Systems
(303) 977-3347        mcdonley@inlatlas.den.mmc.com
P.O.Box 1260          ncar!dinl!mcdonley
Denver,CO 80201-1260  Opinions are my own, not my employer's.
--------------------------------------------------------------------------

mouse@LARRY.MCRCIM.MCGILL.EDU (09/27/90)

> 1.  X-term, DECTerm, or the like window with the following
>     specification
>     a)  responds to ANSI cursor positioning sequences
>     b)  can be invoked from an application program under program
>         control
>     c)  can be raised and lowered (exposed, unexposed) under the
>         parent control
>     d)  size and location controlled by parent process.

My mterm can do all of the above.  It has an option
	-blanket <window-ID>
which is designed specifically for running under control of another
program.  When this option is used, the emulator window is created as a
child of the specified window rather than as a child of the root.  Of
course, to raise/lower/expose/etc it, simply do perform the operation
on the parent window; since the emulator window is a child of it, it
will necessarily follow.  Resizes of the parent window are explicitly
tracked, so to resize the emulator simply resize the parent window.
The emulator window never has any border in this mode, so the parent
window's border, if any, will visually appear to be the emulator's
border.  If the emulator window is destroyed, perhaps due to the
destruction of the parent window, mterm will, of course, die.
(Command-line options and resources which would normally affect the
border and geometry of the window are ignored when -blanket is used.)

mterm can be had by ftp to 132.206.1.1, from the directory X/mterm.src,
or if you can't ftp then send me mail and I can mail you a copy.

(To make it understand ANSI escape sequences, you need to use 
-termtype ansi, or -termtype decansi if you want VT100-compatible
extensions like double height/width.)

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu