[CentOS] GNU Screen Macro?

Sean Carolan

scarolan at gmail.com
Mon Feb 23 16:31:25 UTC 2009


Anyone know if this is possible with GNU screen?

I would like to have a macro or keyboard shortcut whereby the
following actions are performed:

1.  Open new screen window (CTRL-A C)
2.  ssh to some $host
3.  Rename current screen as $host (CTRL-A A $host)

I can see that typing "screen" while within a screen session opens a
new window, however I'm not clear on how to automate steps 2 and 3.



More information about the CentOS mailing list