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: Thomas Manson
Subject: Re: Run a command on startup on a specific window, don't close window on programm exit
Date: Mon, 15 Nov 2010 00:30:12 +0100

Hi Chris,

I don't understand the "stuff" thing in the command....

If I let it, I get  a command not found, and If I remove it, and just put "/path/to/command\015"

I get the same command not found...

Thanks for helping !
Thomas.

On Sun, Nov 14, 2010 at 18:06, Chris <address@hidden> wrote:
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



_______________________________________________
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]