-
Notifications
You must be signed in to change notification settings - Fork 1
/
screenrc
92 lines (85 loc) · 4.11 KB
/
screenrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# ==============================================================================
# File: $HOME/.screenrc
# Purpose: Setup file for program "(GNU) screen"
# Latest update: Thu Oct 23 9:39:00 EST 2008
# ==============================================================================
#
# ==============================================================================
# SEE ALSO:
# ==============================================================================
# SCREEN Pages:
# http://
#
# Commands List:
# http://
#
# MailingList:
# http://www.yahoogroups.com/group/gnu-screen/
#
# ==============================================================================
# ESCAPE - the COMMAND CHARACTER
# ==============================================================================
escape "``" # Redefine the prefix key to ` and define a
# literal ` as ``
#
# ==============================================================================
# VARIABLES - Boolean values (on/off)
# ==============================================================================
allpartial off # Refresh entire screen on window change
#altscreen on # restore window contents after using (e.g.) vi
autodetach on # Autodetach session on hangup instead of
# terminating screen completely
defflow off # Set the default flow control mode
deflogin off # Do not register the window in utmp
hardstatus on
nethack on # print wackier status messages
startup_message off # Disable startup messages
#
# ==============================================================================
# VARIABLES - Number values
# ==============================================================================
defscrollback 5000 # Set the default number of scrollback lines
defmode 0620 # Set the default mode of each psuedo tty
vbellwait 2 # Seconds to pause the screen for visible bell
#
# ==============================================================================
# VARIABLES - Paths and Files (esp. programs)
# ==============================================================================
bufferfile /tmp/screen-buffer # Filename for the paste buffer
#shell -$SHELL # make the shell in every window a login shell
shell bash
#
# ==============================================================================
# VARIABLES - Strings
# ==============================================================================
activity "activity: window ~%" # Message when activity occurs in a window
vbell_msg "bell: window ~%" # Message for visible bell
#
# ==============================================================================
#
# ===============================
# Hardstatus Line and sorendition
# ===============================
#
# An alternative hardstatus to display a bar at the bototm listing the
# # window names and highlighting the current window name in blue
#hardstatus alwayslastline
#hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "
hardstatus alwayslastline "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "
# LEFT OFF HERE
chdir # Change to the home directory
shelltitle $HOST # Set the title of all shell windows
# connect windows to the displays so programs like mplayer can find it when
# we're inside a screen in a terminal application in a graphical environment
#export DISPLAY=':0'
# ==============================================================================
# STARTUP of programs in an extra window:
# ==============================================================================
#screen -t Shell 0 bash
#screen -t Emacs 1 /usr/local/bin/emacs -nw --no-init --debug-init
#screen -t wsadmin 2 bash
#screen -t tivoli-vmm4ncos 3 bash
#screen -t irc 1 emacs -nw --debug-init -f erc
screen 0
select 0
fit