Skip to content

Instantly share code, notes, and snippets.

@BlackChar
Created August 18, 2017 12:12
Show Gist options
  • Save BlackChar/5e3eae7716c9e00a84ce265fd27e8eb0 to your computer and use it in GitHub Desktop.
Save BlackChar/5e3eae7716c9e00a84ce265fd27e8eb0 to your computer and use it in GitHub Desktop.
#
# NCSA Telnet like .screenrc - by Antoni Sawicki <tenox@tenox.tc>
# Copy and modify as you like. Submissions are welcome. Have Fun!
#
msgminwait 0
msgwait 0
startup_message off
caption splitonly
caption always "%{= gk}%-Lw%{= bW}%50> %n%f* %t %{-}%+Lw%< %= %{= rk} %H %l %{= gk} %0c:%s %{-}"
shelltitle bash
attrcolor u "Y"
attrcolor b "R"
bindkey -k k1 select 1 # F1 -> SCR1
bindkey -k k2 select 2 # F2 -> SCR2
bindkey -k k3 select 3 # F3 -> SCR3
bindkey -k k4 select 4 # F4 -> SCR4
bindkey -k k5 select 5 # F5 -> SCR5
bindkey -k k6 select 6 # F6 -> SCR6
bindkey -k k7 select 7 # F7 -> SCR7
bindkey -k k8 other # F8 -> SWAP
bindkey "\033[20~" prev # F9 -> PREV
bindkey "\033[21~" next # F10 -> NEXT
bindkey "\033[23~" detach # F11 -> DTCH (detach)
bindkey "\033[24~" quit # F12 -> KILL (kill all)
bindkey "\033[1~" copy # HOME -> SCBK (scrollback)
bindkey "\033[4~" stuff "q" # END -> QUIT (scrollback)
bindkey "\033[5~" stuff "\002" # PGUP -> PGUP
bindkey "\033[6~" stuff "\006" # PGDN -> PGDN
screen
screen
screen
screen
screen
screen
screen
select 0
kill
select 1
msgminwait 1
msgwait 5
scrollback 1024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment