I need Terminal + Script together
Nate
natrik at gmail.com
Tue Nov 1 11:04:43 MET 2005
Edilmar wrote:
> > First of all, I need to start a terminal SSH into server, to display the
> > messages. Then, into this terminal, I want to start a script
> > automatically, without typing anything, only calling a class/method from
> > MindTerm to run the script and display the return messages into terminal.
> >
> > I'm doing a program with a database of scripts. Then, when I get someone
> > from a Combobox and click OK button, I want to start a Terminal to run
> > the script selected.
> >
Unless I'm missing something (entirely possible), it sounds like it
would be much easier to use a plain vanilla .login file like:
/path/to/script.file
-- or maybe you have use for a .login that starts up a screen
session, telling screen to run your script. For example, a .login
file containing this as its last line:
screen [options] /path/to/script.file
Of course, before logout, you'd have to close the screen session.
Like hitting ^D^D instead of ^D ...
- Nate
!DSPAM:4366a393847014118956!
More information about the Mindterm-users
mailing list