screen-users
[Top][All Lists]
Advanced

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

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


From: Chris
Subject: Re: Run a command on startup on a specific window, don't close window on programm exit
Date: Sun, 14 Nov 2010 12:06:35 -0500

Do this:

screen -t NS0
stuff "/home/thomas/scripts/connectToServer/ns0\015"

Add the "\015" which is the octal code for a Carriage Return.


On Fri, Nov 12, 2010 at 6:43 PM, Thomas Manson <address@hidden> wrote:
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.

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



reply via email to

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