--
Posted via CNET Help.com
http://www.help.com/
Try 'man dtterm' or 'man xterm' if the former is not available. This should
get you started. It's been a while since I've done what you want, but there
should be an option that lets you start a terminalwindow and execute a
command in it. Dtterm and xterm have mostly the same options, I believe.
Xterm -h (or dtterm -h maybe) might show some of the options aswell.
Rinus.
"Rick" <rick...@mindless.com> schreef in bericht
news:t380vgb...@corp.supernews.com...
If that's not suitable then use "dtterm -e script"; the location of dtterm
should be in your PATH like xterm.
Jef Claunch
With any type of xterm work-alike (like dtterm), you can use the '-e'
switch to specify a process to be run in the session. Once the process
is finished, the terminal closes.
So, you would have to write 2 different scripts, the master & the
slave.
<=master=>
#!/bin/ksh
dtterm -e slave &
exit 0
<==>
<=slave=>
#!/bin/ksh
while true; do
(many other useful commands...)
done
exit 0
<==>
Then you would run the master script.
--
thks.jeff
Sent via Deja.com http://www.deja.com/
Before you buy.