Posts tagged ·

screen

·...

Screen cheat list

no comments

Found this cheatlist somewhere…

Credits to the one who uploaded it ..


+-------------------------------------------------------------------------------------------------+
| The formatting here is simple enough to understand (I would hope). ^ means ctrl+, so ^x is |
| ctrl+x. M- means meta (generally left-alt or escape)+, so M-x is left-alt+x |
|-------------------------------------------------------------------------------------------------|
| Action | tmux | screen |
|----------------------------------------------+-------------------------------+------------------|
| | tmux OR | |
| start a new session | tmux new OR | screen |
|----------------------------------------------+-------------------------------+------------------|
| re-attach a detached session | tmux attach OR | screen -r |
| | tmux new-session | |
| | tmux attach-session | |
|----------------------------------------------+-------------------------------+------------------|
| re-attach an attached session (detaching it | tmux attach -d OR | screen -dr |
| from elsewhere) | tmux attach-session -d | |
|----------------------------------------------+-------------------------------+------------------|
| re-attach an attached session (keeping it | tmux attach OR | screen -x |
| attached elsewhere) | tmux attach-session | |
|----------------------------------------------+-------------------------------+------------------|
| detach from currently attached session | ^b d OR | ^a ^d OR |
| | ^b :detach | ^a :detach |
|----------------------------------------------+-------------------------------+------------------|
| rename-window to newname | ^b , OR | ^a A |
| | ^b :rename-window | |
|----------------------------------------------+-------------------------------+------------------|
| list windows | ^b w | ^a w |
|----------------------------------------------+-------------------------------+------------------|
| list windows in chooseable menu | | ^a " |
|----------------------------------------------+-------------------------------+------------------|
| go to window # | ^b # | ^a # |
|----------------------------------------------+-------------------------------+------------------|
| go to last-active window | ^b l | ^a l |
|----------------------------------------------+-------------------------------+------------------|
| go to next window | ^b n | ^a n |
|----------------------------------------------+-------------------------------+------------------|
| go to previous window | ^b p | ^a p |
|----------------------------------------------+-------------------------------+------------------|
| see keybindings | ^b ? | ^a ? |
|----------------------------------------------+-------------------------------+------------------|
| | ^b s OR | |
| list sessions | tmux ls OR | screen -ls |
| | tmux list-sessions | |
|----------------------------------------------+-------------------------------+------------------|
| toggle visual bell | | ^a ^g |
|----------------------------------------------+-------------------------------+------------------|
| create another shell | ^b c | ^a c |
|----------------------------------------------+-------------------------------+------------------|
| exit current shell | ^d | ^d |
|----------------------------------------------+-------------------------------+------------------|
| split pane horizontally | ^b " | |
|----------------------------------------------+-------------------------------+------------------|
| split pane vertically | ^b % | |
|----------------------------------------------+-------------------------------+------------------|
| switch to another pane | ^b o | |
|----------------------------------------------+-------------------------------+------------------|
| kill the current pane | ^b x OR (logout/^D) | |
|----------------------------------------------+-------------------------------+------------------|
| close other panes except the current one | ^b ! | |
|----------------------------------------------+-------------------------------+------------------|
| swap location of panes | ^b ^o | |
|----------------------------------------------+-------------------------------+------------------|
| show time | ^b t | |
+-------------------------------------------------------------------------------------------------+

My Irssi with screen tabbar (within bash)

no comments

My fav Irssi theme

The code you need to place in .screenrc in your root:

#change the hardstatus settings to give an window list at the bottom of the
#screen, with the time and date and with the current window highlighted
hardstatus alwayslastline
hardstatus string ‘%{= kG}[ %{G}%H.blinkenshell.org %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%l%{g}][%{W} %d/%m/%Y %{W}%c:%s %{g}]’
Source: