Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #example to autostart apps
- #screen -t weechat 0 weechat
- #screen -t alpine 1 alpine
- #screen -t filemanager 2 mc
- #screen -t search 3 lynx https://ssl.scroogle.org
- #screen -t news 4 newsbeuter
- #screen -t w3m 5 w3m http://www.pclinuxos.com
- # VARIABLES - Boolean values
- autodetach on # default: on
- crlf off # default: off
- deflogin off # default: on
- hardcopy_append on # default: off
- startup_message off # default: on
- termcap xterm 'AF=\E[3%dm:AB=\E[4%dm'
- terminfo xterm 'AF=\E[3%p1%dm:AB=\E[4%p1%dm'
- vbell off # default: ???
- #options
- defscrollback 3000 # default: 100
- silencewait 15 # default: 30
- #
- # ===============================================================
- # VARIABLES - Paths and Files (esp. programs)
- # ===============================================================
- # bufferfile: The file to use for commands
- # "readbuf" ('<') and "writebuf" ('>'):
- # bufferfile $HOME/.screen_exchange
- #
- # hardcopydir: The directory which contains all hardcopies.
- # hardcopydir ~/.hardcopy
- # hardcopydir ~/.screen
- #
- # shell: Default process started in screen's windows.
- # Makes it possible to use a different shell inside screen
- # than is set as the default login shell. Halleluja! :-)
- # shell zsh
- shell bash
- # shell ksh
- #
- # ===============================================================
- # VARIABLES - Strings
- # ===============================================================
- # some notes on COLOR before explaining its use in
- # the commands caption, hardstatus, and sorendition.
- #
- # COLOR: colors codes are combinations of
- # [attribute modifier] [color description]
- # the manual talks of "attribute/color modifiers".
- # see the manual, section "STRING ESCAPES".
- #
- # Color table:
- # 0 Black . leave color unchanged
- # 1 Red b blue
- # 2 Green c cyan
- # 3 Brown / yellow d default color
- # 4 Blue g green b bold
- # 5 Purple k blacK B blinking
- # 6 Cyan m magenta d dim
- # 7 White r red r reverse
- # 8 unused/illegal w white s standout
- # 9 transparent y yellow u underline
- #
- # note: "dim" is not mentioned in the manual.
- #caption always "%?%{+b kw}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%? %{gk}%=%c %{yk}%d/%M/%Y"
- caption always "%{+b k0} [ %H ] [ %D %d %M %Y] [ %c ]"
- hardstatus alwayslastline "Current Screen:%{ kw}%n (%t)%{= kr}%? %{= kr} %?%-Lw%? %{= kr}<[%{= kw}%n*%f %t%? %{= kr}]> %{= kr}%?%+Lw%?%?%= %l"
- #
- # activity: This message *includes* a "beep" with '~'.
- activity "activity in %n (%t) [%w:%s]~"
- #
- # bell: This message *includes* a "beep" with '~'.
- bell "bell in %n (%t) [%w:%s]~"
- #
- # pow_detach_msg: Message shown when session
- # gets power detached.
- pow_detach_msg "BYE"
- #
- # vbell_msg: Message shown when the
- # "virtual bell" rings.
- vbell_msg " *beep* "
- #
- # ==============================================================
- # BIND bind - defaults
- # ==============================================================
- # The "bind" command assign keys to (internal) commands
- # SCREEN checks all the keys you type; you type the key
- # which is known as the "command character" then SCREEN
- # eats this key, too, and checks whether this key is
- # "bound" to a command. If so then SCREEN will execute it.
- #
- # The command "bind" allows you to chose which keys
- # will be assigned to the commands.
- #
- # Some commands are bound to several keys -
- # usually to both some letter and its corresponding
- # control key combination, eg the command
- # "(create) screen" is bound to both 'c' and '^C'.
- #
- # The following list shows the default bindings:
- #
- # break ^B b
- # clear C
- # colon :
- # copy ^[ [
- # detach ^D d
- # digraph ^V
- # displays *
- # dumptermcap .
- # fit F
- # flow ^F f
- # focus ^I
- # hardcopy h
- # help ?
- # history { }
- # info i
- # kill K k
- # lastmsg ^M m
- # license ,
- # log H
- # login L
- # meta x
- # monitor M
- # next ^@ ^N sp n
- # number N
- # only Q
- # other ^X
- # pow_break B
- # pow_detach D
- # prev ^H ^P p ^?
- # quit \
- # readbuf <
- # redisplay ^L l
- # remove X
- # removebuf =
- # reset Z
- # screen ^C c
- # select " '
- # silence _
- # split S
- # suspend ^Z z
- # time ^T t
- # title A
- # vbell ^G
- # version v
- # width W
- # windows ^W w
- # wrap ^R r
- # writebuf >
- # xoff ^S s
- # xon ^Q q
- # ^] paste .
- # - select -
- # 0 select 0
- # 1 select 1
- # 2 select 2
- # 3 select 3
- # 4 select 4
- # 5 select 5
- # 6 select 6
- # 7 select 7
- # 8 select 8
- # 9 select 9
- # I login on
- # O login off
- # ] paste .
- #
- # FAQ: So many keys are bound to some command already -
- # which keys are unbound yet? Which are free for binding?
- # A: SCREEN does not have a command to show you
- # a table of currently unbound keys - sorry!
- # You simply have to read this setup file. ;-)
- #
- # Summary: Here is a table of the keys
- # which are not bound by default:
- # unbound: -B--E-G--J-L---P-R-TUV--Y-
- # bound: A-CD-F-HI-K-MNO-Q-S---WX-Z
- #
- # And here are the default bind commands if you need them:
- #
- # bind A title
- # bind C clear
- # bind D pow_detach
- # bind F fit
- # bind H log
- # bind I login on
- # bind K kill
- # bind L login
- # bind M monitor
- # bind N number
- # bind O login off
- # bind Q only
- # bind S split
- # bind W width
- # bind X remove
- # bind Z reset
Advertisement
Add Comment
Please, Sign In to add comment