Re: Controlling an Xterm from a C++ Program

From: Andrew Gabriel (andrew_at_cucumber.demon.co.uk)
Date: 09/30/03


Date: 30 Sep 2003 14:14:50 GMT

In article <1b936e67.0309300458.31a9c52f@posting.google.com>,
        dquelch@yahoo.com (Dennis) writes:
> Hi,
>
> As the subject states, is it possible to control an xterm running on a
> linux/unix desktop from another standalone program? For example, suppose I
> have program running inside an xterm on the desktop. From another
> piece of software I would like to be able to control when that xterm
> pops up or is minimized (iconified). I would guess that I would need to capture the
> PID of the xterm at startup, and then maybe send a signal telling it
> to popup/popdown? Is something like this possible? Or maybe someone
> has a another suggestion.

What are you running in the xterm?

I have an application which brings up xterms on ptys but drives
the xterm directly without running a separate program in them.
It kills and starts new ones when it wants to get rid or create
new windows.

-- 
Andrew Gabriel


Relevant Pages

  • Re: Key Mapping
    ... putty isn't xterm. ... Modifiers which send extra parameters include control, alt, shift. ... Before this feature, xterm would generally send the same string, ignoring ...
    (comp.editors)
  • Controlling an Xterm from a C++ Program
    ... is it possible to control an xterm running on a ... linux/unix desktop from another standalone program? ... have program running inside an xterm on the desktop. ...
    (comp.unix.programmer)
  • emacs behave differently in xterm
    ... to use it in xterm but the keyboard behave differently in xterm. ... (control - left mouse button -> select Meta Send Escape). ... Emacs do not recognize C-tab (it is recognized as tab - as if I ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Controlling an Xterm from a C++ Program
    ... is it possible to control an xterm running on a ... > linux/unix desktop from another standalone program? ... > have program running inside an xterm on the desktop. ... > piece of software I would like to be able to control when that xterm ...
    (comp.unix.programmer)
  • Re: Controlling an Xterm from a C++ Program
    ... > the xterm directly without running a separate program in them. ... can run several executables. ... Right now it can control their ... all spit out their logs in the same run window. ...
    (comp.unix.programmer)