Created
May 1, 2012 16:11
-
-
Save michaelherold/2569234 to your computer and use it in GitHub Desktop.
Working scrollback buffer with GNU screen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This was discovered on the following blog post: | |
| # http://liquidat.wordpress.com/2008/10/17/short-tip-gnu-screen-with-proper-scroll-session-management-support/ | |
| termcapinfo xterm* ti@:te@ | |
| # Also from that post is caption support, which is nice to have | |
| caption always # activates window caption | |
| caption string '%{= wk}[ %{k}%H %{k}][%= %{= wk}%?%-Lw%?%{r}(%{r}%n*%f%t%?(%u)%?%{r})%{k}%?%+Lw%?%?%= %{k}][%{b} %d/%m %{k}%c %{k}]' # good looking window bar | |
| bindkey -k k5 prev # F5 for previous window | |
| bindkey -k k6 next # F6 for next window |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment