On Fri, Nov 12, 2010 at 6:43 PM, Thomas Manson <dev.mansontho...@gmail.com>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...") > How about adding "bash -l" to the end of your login scripts. For example: ## Begin ns0 ### ssh ns0 bash -l ### End ns0 ### Kevin > Thanks ! > Thomas. > > _______________________________________________ > 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