On Tue, Feb 24, 2009 at 12:43 AM, Chris Henderson <henders...@gmail.com> wrote: > When I SSH to a server, I would like screen to open that SSH > connection in a new window and (re)name that window as that server's > name. I have seen this done somewhere before using hardstatus but I > don't have that config.
Here's how I prefer to do it. I use ^A e to turn on the caption line, ^A E to shut it off. windowlist string "(%3n) %{..g}[%{..Y}%t%{..g}]%{..g}%=%f" windowlist title "Num Name" bind E caption splitonly "%{= Bw} (%2n) %{..g}[%{..Y}%t%{..g}] %{> h}" bind e caption always "%{= Bw} (%2n) %{..g}[%{..Y}%t%{..g}] %{> h}" Then I have a menu script that essentially does things like this: screen -t foo.example.com ssh foo.example.com -- Andy Harrison public key: 0x67518262 _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users