Operating System - HP-UX
1834225 Members
2380 Online
110066 Solutions
New Discussion

Re: dtterm & xterm question

 
SOLVED
Go to solution
Jason Berendsen
Regular Advisor

dtterm & xterm question

I want to write a script that will simultaneously run a make recovery on a couple of systems and open a dtterm or xterm window on my machine with the results. I am able to open a dtterm window on the machine with the following command:
/usr/bin/X11/dtterm -ls -display IP:0

Is there some way to then populate this dtterm with the output from the make recovery?

Thanks,

Jason
2 REPLIES 2
Jordan Bean
Honored Contributor
Solution

Re: dtterm & xterm question


Something like this should work:

remsh ${HOST} dtterm -ls -display ${DISPLAY} -e make_net_recovery -s ${SERVER} -ib

Thomas D. Harrison
Frequent Advisor

Re: dtterm & xterm question

Jordan's solution is probably the best for your situation but I wanted to point out that the xterm command has the -e option which allows you to execute a command when it opens.

Example:

xterm ..all your other options.. -e echo "Hello World"

The -e option must be the last one.
Imbibo ergo sum.