Screen - extra options: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Category:Linux]] | [[Category:Linux]] | ||
= Controlling screen inside screen = | |||
ctrl+a a will pass the escape sequence (ctrl+a) to the sub-screen.. | |||
=Enable UTF-8= | So, ctrl+a a d will do ctrl+a d in the sub-screen (detaching it) | ||
It works with any screen command, for example ctrl+a, a, c will create a window in the sub-screen | |||
= Customizing screen = | |||
Save in $HOME/.screenrc | |||
== Enable UTF-8 == | |||
<pre> | <pre> | ||
# Support UTF-8 | # Support UTF-8 | ||
| Line 12: | Line 22: | ||
Start screen with <code> screen -U </code> | Start screen with <code> screen -U </code> | ||
= | == Much more usable bottom screen line == | ||
<pre> | <pre> | ||
## Wolfram Schlich <wolfram@schlich.org> | ## Wolfram Schlich <wolfram@schlich.org> | ||
Latest revision as of 16:26, 5 August 2013
Controlling screen inside screen
ctrl+a a will pass the escape sequence (ctrl+a) to the sub-screen..
So, ctrl+a a d will do ctrl+a d in the sub-screen (detaching it)
It works with any screen command, for example ctrl+a, a, c will create a window in the sub-screen
Customizing screen
Save in $HOME/.screenrc
Enable UTF-8
# Support UTF-8 defutf8 on utf8 on on
Start screen with screen -U
Much more usable bottom screen line
## Wolfram Schlich <wolfram@schlich.org>
activity "activity in %n (%t)"
autodetach on
bell "bell in %n (%t)"
caption splitonly "%2n %t"
crlf off
debug off
defbce off
defhstatus "screen: ^En (^Et)"
deflogin on
defmonitor off
defscrollback 8192
#escape ^Aa
fit
hardcopy_append on
hardcopydir ~/.screen
#hardstatus alwayslastline
#hardstatus string '%{= mK}%-Lw%{= KW}%50>%n%f* %t%{= mK}%+Lw%< %{= kG}%-=%D %d %M %Y %c:%s%{-}'
#hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f %t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
#hardstatus alwayslastline "%{=b}%{bw} %{.w}%d-%m %{.y}%0c %{-b}%{ck} %-Lw%{+b}%{gw} %n%f* %t%? (%u)%? %{-}%{-b}%+Lw %{=b}%{bw} %= %{.w}%H "
#hardstatus alwayslastline "%{= WK}%-w%{= kw}%n %t%{-}%+w"
hardstatus alwayslastline "%{= kw} %-w%{= wk}%n*%t%{-}%+w%{= kw} %=%d %M %0c %{g}%H%{-}"
msgminwait 1
msgwait 2
pow_detach_msg "ALL YOUR SCREEN ARE BELONG TO US"
silencewait 5
sorendition =b ry
startup_message off
vbell off
vbell_msg " WHAT YOU SAY!! "
vbellwait 1
verbose off
windowlist title "Num|Fl|Name"
windowlist string "%3n%+3=|%f%+3=|%t"
#zombie ^D^C
shelltitle '> |bash'