Hi,
I suppose this post could fall under comp.os.linux/comp.os.unix as
well, but I figured since my end goal was control from C++ code I
figured this group might be the place to start.
As the subject states, is it possible to control an xterm running on a
linux 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). So it acts as a log window for
the program's output. 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
else has a suggestion.
Thanks in advance for any guidance.
Dennis 4 4190
Dennis wrote: Hi, I suppose this post could fall under comp.os.linux/comp.os.unix as well, but I figured since my end goal was control from C++ code I figured this group might be the place to start.
You missed.
comp.lang.c++ is for discussions about the C++ standard. http://www.parashift.com/c++-faq-lit...t.html#faq-5.9 As the subject states, is it possible to control an xterm running on a linux 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). So it acts as a log window for the program's output. 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 else has a suggestion.
Try
comp.windows.x
Dennis wrote: Hi, I suppose this post could fall under comp.os.linux/comp.os.unix as well, but I figured since my end goal was control from C++ code I figured this group might be the place to start.
As the subject states, is it possible to control an xterm running on a linux 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). So it acts as a log window for the program's output. 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 else has a suggestion.
Thanks in advance for any guidance.
Dennis
Sending text to the xterm screen would require writing to the PTY
device. But then if your program is started in the xterm, you could
just use stdout/stderr.
When you talk of minimizing maximizing a window, I don' think it matters
if it is an xterm or an instance of netscape. Then you are talking
about X calls. If this is what you are after you may want to look at a
newsgroup for X.
Good Luck.
~S
"Gianni Mariani" <gi*******@mari ani.ws> wrote in message
news:bl******** @dispatch.conce ntric.net... Dennis wrote: Hi, I suppose this post could fall under comp.os.linux/comp.os.unix as well, but I figured since my end goal was control from C++ code I figured this group might be the place to start. You missed.
comp.lang.c++
is for discussions about the standard C++ language.
comp.std.c++
is for discussions about the C++ standard.
-Mike
Gianni Mariani wrote: Dennis wrote: Hi, I suppose this post could fall under comp.os.linux/comp.os.unix as well, but I figured since my end goal was control from C++ code I figured this group might be the place to start.
You missed.
comp.lang.c++ is for discussions about the C++ standard.
Ummm, no. It's for questions concerning the standard C++ language.
Questions about the standard itself belong in comp.std.c++.
Brian Rodenborn This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Leonardo Henrique Machado |
last post by:
Is is possible to create a link that opens a xterm window?
The person clicks on the links and a funcion calls
/usr/bin/X11/xterm -e ssh <IP>
which gives the person a shell on that IP machine.
How could I do it?
|
by: Stelios Xanthakis |
last post by:
Hi.
I'm trying to open an xterm in slave mode connected
to a pseudo tty with an interactive python shell.
This can be useful when working in a GUI to pop up
xterm'd shells. The program below is a first attempt.
It opens an xterm with an interactive python interpreter
in which we can even run "os.system ('bash')" and
call vi. However there are problems...
|
by: Seda Ozulku |
last post by:
I don't have much information about .Net. May be it must be a silly
question.
I have Windows Application running at the server. I need to Access the
program functions ( like at given time program sends mail to customer or you
can manually select customer and send it ) from web. Why web? I dont want
to install client applications to the all user... And Clients dont have
access to server via Terminal and because of th e the Server...
|
by: schwerdy |
last post by:
Hi together,
can someone provide an example of a curses application that works in a
xterm that can be resized?
I could not find any working example yet...
Thanks in advance,
Sebastian 'Schwerdy' Schwerdhöfer
|
by: gimme_this_gimme_that |
last post by:
I spent about an hour getting this today ...
For you cygwin users who want to run db2 commands
like you'd run them from a UNIX environment ....
Create a C:/cygwin/usr/X11R6/bin/startlocalxterm.bat
script like this one and start your xterm session using
this.
Note the use of db2cmd /w /i
| |
by: RWC |
last post by:
Hi!
I'm having some trouble controlling how the XP Packaging Wizard installs my
applications. In 97, there were options to replace older, never or always,
if there was a file conflict. Now with XP, the user is prompted if they
want to keep the file or not. I'd like to bypass this prompt and over write
certain files, and NEVER overwrite others (the data file for instance).
Right now, the user can choose to run the upgrade set up, but...
|
by: valpa |
last post by:
I'm a net admin for about 20 unix servers, and I need to frequently
telnet on to them and configure them.
It is a tiring job to open a xterm and telnet, username, password to
each server.
Can I do it automatically by python? After that, there have 20 xterm
consoles opened and telneted to their corresponding servers. Then I
could start to type command in these xterms.
Any suggestion appreciate. Much thanks.
|
by: Roy, Anirban (Anirban) |
last post by:
Hi,
I am new to Pythion world.
My Objective : I want to open an Xterm and try to send message to that
xterm. I dont want to use Expect script.
I have written a small program
import os
|
by: hlubenow |
last post by:
Hello,
I'd like to check, if a single key is pressed on a Linux xterm.
This code waits for a key to be pressed and returns the character:
--------------------------------------------
#!/usr/bin/env python
import sys
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |