You can use this in your screenrc, opens 4 windows, sets titles, first one is interactive and selected.

screen -t shell
screen -t ls
stuff "ls\015"
screen -t du
stuff "du /\015"
screen -t script
stuff "my-script\015"
select 0

László Monda demis ki::
On Thu, 2008-07-17 at 12:40 -0400, Mark Eichin wrote:
looks like you might want to use "stuff" to push the commands at a
normal screen that has a shell open (so that it runs them, and stays
interactive.)

I don't think that "stuff" is capable of what I want to do.  I basically
want to write a script, like:

new-screen-window ls
new-screen-window du /
new-screen-window my-script

Where the new-screen-window utility opens new screen windows without
jumping to them.  I'd also like to specify the title of the individual
windows.



------------------------------------------------------------------------

_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to