473,320 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 4567
"sa********@gmail.com" <sa********@gmail.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********@gmail.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.remcomp.frwrote:
sayansa...@gmail.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*********@gmail.comwrote:
like say comp.os.ms-windows.programmer.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.supernews.com>,
Thomas Dickey <di****@saltmine.radix.netwrote:
>santosh <sa*********@gmail.comwrote:
>like say comp.os.ms-windows.programmer.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**********************@m37g2000prh.googlegroups .com>,
sa********@gmail.com <sa********@gmail.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
--
"Consideration 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.supernews.com>,
Thomas Dickey <di****@saltmine.radix.netwrote:
>santosh <sa*********@gmail.comwrote:
>like say comp.os.ms-windows.programmer.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.nrc-cnrc.gc.cawrote:
In article <13*************@corp.supernews.com>,
Thomas Dickey <di****@saltmine.radix.netwrote:
>>santosh <sa*********@gmail.comwrote:
>>like say comp.os.ms-windows.programmer.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****@saltmine.radix.netwrites:
santosh <sa*********@gmail.comwrote:
>like say comp.os.ms-windows.programmer.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.solaris 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_Keith) 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
Keith Thompson <ks***@mib.orgwrote:
Thomas Dickey <di****@saltmine.radix.netwrites:
>santosh <sa*********@gmail.comwrote:
>>like say comp.os.ms-windows.programmer.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
OP didn't cross-post, so that information was not given by _him_.
One of the snooty replies pointed him in that direction.

If I didn't know what dtterm was, I'd at least look to see before
offering poor advice regarding it (let's hope that no one ever
asks you for traffic directions).
>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.
;-)

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Jun 29 '07 #11
On 29 Jun 2007 15:53:57 GMT, in comp.lang.c , ri*****@cogsci.ed.ac.uk
(Richard Tobin) wrote:
>I'm not familiar with dtterm, but if it's a unix program
port of decterm to unix I think ? Supports some legacy h/w emulation
anyway. Archaic.

--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Jun 29 '07 #12
Mark McIntyre <ma**********@spamcop.netwrote:
On 29 Jun 2007 15:53:57 GMT, in comp.lang.c , ri*****@cogsci.ed.ac.uk
(Richard Tobin) wrote:
>>I'm not familiar with dtterm, but if it's a unix program
port of decterm to unix I think ? Supports some legacy h/w emulation
anyway. Archaic.
no: dxterm iirc is a port of decterm, but that's a different program.

regarding "Archaic" - the FAQ for this newsgroup is full of that,
so there's no point in pursuing _that_.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Jun 29 '07 #13
Thomas Dickey <di****@saltmine.radix.netwrites:
Keith Thompson <ks***@mib.orgwrote:
>Thomas Dickey <di****@saltmine.radix.netwrites:
>>santosh <sa*********@gmail.comwrote:
like say comp.os.ms-windows.programmer.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

OP didn't cross-post, so that information was not given by _him_.
One of the snooty replies pointed him in that direction.

If I didn't know what dtterm was, I'd at least look to see before
offering poor advice regarding it (let's hope that no one ever
asks you for traffic directions).
santosh may or may not have known what dtterm is, but he was replying
to an article that *didn't mention dtterm*. The original article only
mentioned "terminals". The OP mentioned dtterm in another followup,
one that santosh likely hadn't even seen.
>>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.

;-)
I fail to see the humor.

--
Keith Thompson (The_Other_Keith) 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 #14

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

Similar topics

0
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...
38
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 =...
4
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....
1
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...
1
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...
2
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...
16
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...
1
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...
2
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 +=...
5
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...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.