screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Run a command on startup on a specific window, don't close window on pro


From: Thomas Manson
Subject: Run a command on startup on a specific window, don't close window on programm exit
Date: Sat, 13 Nov 2010 00:43:40 +0100

Hi,


 I'm configuring screen to open several windows, and automatically connect to some servers (key authentication).

I've edited the screen configuration file to this :

screen -t NS0  1 /home/thomas/scripts/connectToServer/ns0
screen -t NS1  2 /home/thomas/scripts/connectToServer/ns1
screen -t SD1  3 /home/thomas/scripts/connectToServer/sd1
screen -t SD2  4 /home/thomas/scripts/connectToServer/sd2
screen -t DELL 5 /home/thomas/scripts/connectToServer/dell
screen -t DEV  6 /home/thomas/scripts/connectToServer/dev
screen -t CRF  7 /home/thomas/scripts/connectToServer/crf
screen -t box  8 /home/thomas/scripts/connectToServer/box
screen -t apps 9 /home/thomas/scripts/connectToServer/apps
screen -t HOME 0 shell                                   


But if a connection happend to close, the associated window close as well.

How can I prevent this behaviour (ie windows remains open and I can see " connection lost with server...")

Thanks !
Thomas.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]