Script to launch terminal window?

Hi,

I am a newbie here. Trying to find a way of writing a script to launch multiple terminal or console windows on solaris 9. I used to be able to do this using cmdtool on older versions of solaris and it was even possible to configure the size and screen position of the window and the title. Need to cut down on time taken to set up an environment I use for testing an application at work.

Cheers.

Ok, You can try:

$ /usr/bin/term -e "mc"

ok that didn't work I'm afraid. I do not have /usr/bin/term.

I also see the following if I do a "man term" -

File Formats . . . . term(4)

NAME

. . . . term - format of compiled term file

Any other ideas?

I found dtterm which will do what I want but I have not been able to get the "-e" option working to launch a program on the newly launched console window. Anyone managed to do this?

/usr/bin/term -e "vi" # I mean what term can be and other console, and dir can
be other.
Look, do some commands to find a terminal programs on your unix:

ls /usr/bin|grep term
ls /usr/bin|grep rxvt
ls /usr/bin|grep console

Just then you can type: /usr/bin/$term -e "vi"
option "-e" is "execute command". :cool:

There is no /usr/bin/term (or any other terminal in /usr/bin) in Solaris 9, except maybe gnome-terminal if gnome is installed, so the OP cannot use that.

/usr/dt/bin/dtterm is "standard" terminal, if using -e the command should be enclosed in quotes if it is more that one word, also it is best to give the full path to the command you want to run.