mple, just displays open screens at bottom of
> term
> caption always "%{kW} %=%{.kG} %H:%{.kY}%1` %{.bW} %-w%{.rW}%f%n %t%{-}%+w
> %{.kG} %D %m/%d %C%a %{.Wk} %u%="
> screen -t NS0
> screen -t NS1
> stuff "~/test.sh\015"
>
> $
>
>
> $ screen -c .
Hey Kazahiro,
these options are awesome,
I can resurrect the last command and reconnect to my server by hitting the
'r' key !
(but if I choose to hit 'k' it closes the window while I would rather to
keep it open to do something else !)
Thanks,
Thomas.
On Sun, Nov 14, 2010 at 23:45, Kazuhiro
Chris 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 > wrote:
>
>> Hi,
>>
&
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