Formatting code for GnuScreen
{{parent page="Unix"}}
===GnuScreen===
Don't really need introduction to this as most *nix users should know this well. Get it from http://www.gnu.org/software/screen/
==Useful keys==
%%
C-a a : toggle between screens
C-a F : fit screen to current terminal size
C-a [ : copy mode, then use C-b and C-f to scroll back and forward. Use spacebar to begin / end copy
C-a ] : cancel copy mode, paste copied text
%%
==Interacting with screen==
%%
screen -X stuff <keys_to_send>
%%
==screenrc==
I prefer not to use C-a so I have it remapped to "z"
%%
vbell off
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
escape ^zz
%%
===GnuScreen===
Don't really need introduction to this as most *nix users should know this well. Get it from http://www.gnu.org/software/screen/
==Useful keys==
%%
C-a a : toggle between screens
C-a F : fit screen to current terminal size
C-a [ : copy mode, then use C-b and C-f to scroll back and forward. Use spacebar to begin / end copy
C-a ] : cancel copy mode, paste copied text
%%
==Interacting with screen==
%%
screen -X stuff <keys_to_send>
%%
==screenrc==
I prefer not to use C-a so I have it remapped to "z"
%%
vbell off
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
escape ^zz
%%