473,657 Members | 2,287 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

opening a new terminal and output it there

two threads are running in a prog i need the output of one thread in a
new terminal which the prog will create and the output of other thread
in the old terminal

Jun 29 '07 #1
13 4602
"sa********@gma il.com" <sa********@gma il.comwrote:
two threads are running in a prog i need the output of one thread
No. What you need are lessons on punctuation, capitalisation, and
topicality.

Richard
Jun 29 '07 #2
sa********@gmai l.com wrote:
two threads are running in a prog i need the output of one thread in a
new terminal which the prog will create and the output of other thread
in the old terminal
Fine. Go ahead and write that program! You are just trying to cheat
and make somebody else do the work for you.
Jun 29 '07 #3
On Jun 29, 12:40 pm, jacob navia <j...@jacob.rem comp.frwrote:
sayansa...@gmai l.com wrote:
two threads are running in a prog i need the output of one thread in a
new terminal which the prog will create and the output of other thread
in the old terminal

Fine. Go ahead and write that program! You are just trying to cheat
and make somebody else do the work for you.

when i open a dtterm i find the output in old terminal but not in new
terminal hoe to rediedt the ouput in the new terminal

Jun 29 '07 #4
santosh <sa*********@gm ail.comwrote:
like say comp.os.ms-windows.program mer.win32 or comp.os.linux etc.
neither of this would have dtterm (see second message from OP)

noting that the usual redirection to the above-cited newsgroups in
this group is usually done to be insulting...

regards

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Jun 29 '07 #5
In article <13************ *@corp.supernew s.com>,
Thomas Dickey <di****@saltmin e.radix.netwrot e:
>santosh <sa*********@gm ail.comwrote:
>like say comp.os.ms-windows.program mer.win32 or comp.os.linux etc.

neither of this would have dtterm (see second message from OP)
Good point.
>noting that the usual redirection to the above-cited newsgroups in
this group is usually done to be insulting...
Gee. Ya think???

Jun 29 '07 #6
In article <11************ **********@m37g 2000prh.googleg roups.com>,
sa********@gmai l.com <sa********@gma il.comwrote:
>when i open a dtterm i find the output in old terminal but not in new
terminal hoe to rediedt the ouput in the new terminal
I doubt there's an easy way to direct different threads' standard
output to different terminals. You'll probably have to open a new
stream and write the output to that. The problem then is finding out
the name of the file to open corresponding to the new terminal.

I'm not familiar with dtterm, but if it's a unix program and is like
other terminal programs I've used it may be possible to open a "pseudo
terminal" device, pass the name of that device to dtterm as an
argument, and send output to the terminal by writing to that device.
You need to read the manual.

-- Richard
--
"Considerat ion shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.
Jun 29 '07 #7
In article <13************ *@corp.supernew s.com>,
Thomas Dickey <di****@saltmin e.radix.netwrot e:
>santosh <sa*********@gm ail.comwrote:
>like say comp.os.ms-windows.program mer.win32 or comp.os.linux etc.
>neither of this would have dtterm (see second message from OP)
I find references to dtterm for Linux . Might not be its primary
platform, but seems to exist.
--
Prototypes are supertypes of their clones. -- maplesoft
Jun 29 '07 #8
Walter Roberson <ro******@ibd.n rc-cnrc.gc.cawrote :
In article <13************ *@corp.supernew s.com>,
Thomas Dickey <di****@saltmin e.radix.netwrot e:
>>santosh <sa*********@gm ail.comwrote:
>>like say comp.os.ms-windows.program mer.win32 or comp.os.linux etc.
>>neither of this would have dtterm (see second message from OP)
I find references to dtterm for Linux . Might not be its primary
platform, but seems to exist.
it's very rare (only google can find the information ;-).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Jun 29 '07 #9
Thomas Dickey <di****@saltmin e.radix.netwrit es:
santosh <sa*********@gm ail.comwrote:
>like say comp.os.ms-windows.program mer.win32 or comp.os.linux etc.

neither of this would have dtterm (see second message from OP)
Ok, so he's probably not using Windows or Linux, but those were both
reasonable guesses given the information available (except that
comp.os.linux is a hierarchy, not a single newsgroup). Note that
santosh didn't specifically say that the OP should go to one of those
groups; the OP should be able to figure out which newsgroup is
appropriate for his system. comp.unix.solar is is a possibility, but
that also is only a guess.
noting that the usual redirection to the above-cited newsgroups in
this group is usually done to be insulting...
Nonsense. We try to redirect posters to newsgroups where they'll be
able to get good answers to their questions. There is nothing even
vaguely insulting in santosh's reply.

What reply would have met your standards for politeness?

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Jun 29 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1043
by: Jay Davis | last post by:
What is the best way to run python in Xemacs (with C-c C-c) with real time standard output? Right now, the python output window fills up when the program is finished running, but if the program runs for hours it would be nice to see the output as it is written. I know that I can switch to a python interpreter window and paste the code in etc but I don't care about the interpreter, just about the (printed) output after C-c C-c.
38
3513
by: jrlen balane | last post by:
basically what the code does is transmit data to a hardware and then receive data that the hardware will transmit. import serial import string import time from struct import * ser = serial.Serial()
4
4061
by: flamesrock | last post by:
First, I'm very new to gui programming, so please go lightly on me :) Ok, so far I've settled on wxPython, and what I'd like to do as a first leap is *convert* a text program into a gui program. It would have a few buttons as function controls and one main scrollable panel that acts like a terminal window. I want to make it so that clicking on a button that performs an operation will output it to the scrollable wxpython terminal panel,...
1
3607
by: Michael | last post by:
Hello, Not sure if this is the right message board but I have an interesting problem. Using Visual Studio .NET, C++, I want to write an all-encompassing C++ program to download new files from an FTP Server. The C++ program will ftp to the server and download a list of files, match those files with the ones I've already received, put together a new ftp script and download.
1
3142
by: dfaul | last post by:
I have tested using a single .ADP file on a Win 2003 TS server, and have multiple people access this file. The backend is SQL. As I suspected, the 2nd user gets a Read-Only warning on the .ADP file, and cannot access the project. Are their any Access/VB/.NET developers out there that have a suggestion on what the best/efficient way is to develop a frontend to SQL and run it on a Terminal Server/Citrix Box? Is there any way possible...
2
1419
by: Davide Bortolini | last post by:
Hi everybody, i have this question. I want setup a server with DB2 UDB 8.2 ESE on Win 2003 Srv Standard with Terminal Services Enabled. Since the compatibility matrix does not means W2K3 with terminal services (there is a reference only for W2K that must have at least SP2 for terminal services) i would konw if DB2 was compatible with this environment. Or if someone has the same environment. Thank you Davide Bortolini
16
2701
by: John Salerno | last post by:
Here's my new project: I want to write a little script that I can type at the terminal like this: $ scriptname package1 where scriptname is my module name and any subsequent arguments are the names of Linux packages to install. Running the script as above will create this line: sudo aptitude install package1 package2 ...
1
2051
by: Kevin Walzer | last post by:
I'm trying to display the output of an external process (invoked via popen) in a Tkinter text widget. I successfully start the process (based on what I'm seeing in my terminal output), but I can't get the output to display in the Tkinter widget. It seems to block. Any ideas? My code is below: def runDump(self): self.password.destroy()
2
5761
by: Michael B. Trausch | last post by:
I am having a slight problem with UTF-8 output with Python. I have the following program: x = 0 while x < 0x4000: print u"This is Unicode code point %d (0x%x): %s" % (x, x, unichr(x)) x += 1
5
2250
mschenkelberg
by: mschenkelberg | last post by:
I was wondering if it is easy to direct output in a scenario where the program gets user input from stdin and instead of outputting result on next line after use hits enter, it will output on same line user entered input. Normally this happens because user must press enter to submit text ./test Please enter a number: 32 You entered 32. I would like to do this: ./test Please enter a number: 32 You entered 32.
0
8407
marktang
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...
0
8837
Oralloy
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...
0
8739
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8512
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,...
0
7347
agi2029
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...
1
6175
isladogs
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...
0
4171
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...
1
2739
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
2
1732
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.