-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscreenrc
50 lines (43 loc) · 1.12 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
##################################
#
# Standard .screenrc
#
##################################
escape `` # Use ` as escape character
startup_message off # No banner message
altscreen on # man/vi/etc clear screen when exiting
nethack on # Use Nethack style error messages
deflogin on # Update utmp for all windows
vbell off # No visual bell
defscrollback 1024 # Scrollback buffer
defutf8 on # UNICODE
# This ***NEVER*** works right
shelltitle "$ |bash" # Setup auto window titles
# Use 256 colors
# (sanity check?)
term "screen-256color"
####
# Hardstatus line
hardstatus alwayslastline
hardstatus string '%{= .W} %= %?%-Lw%?%{= .G}%n*%f %t%{= .W}%?%+Lw%?%='
####
# Bindings
# Remove some stupid / dangerous key bindings
bind ^k # kill
bind ^\ # kill and terminate
# Make them better
bind \\ quit
bind K kill
bind I login on
bind O login off
bind } history
# Can't seem to get new shells to source .bashrc otherwise
bind c screen bash -i
####
####
# Default startup
screen 0 bash
# Use this format to send commands to a window:
#screen -t TITLE 2
#stuff "COMMAND\015"
####