.screenrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 01 Jan 2024 20:53:49 +0200
changeset 1039 78cdb4a057e3
parent 952 04e8208374bd
permissions -rw-r--r--
Create symlink from ~/.bash_profile for login shell to activate my ~/.bashrc.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
195
e7703ed69e4e If a window goes unresponsive, don't block the whole session waiting for it.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 144
diff changeset
     1
e7703ed69e4e If a window goes unresponsive, don't block the whole session waiting for it.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 144
diff changeset
     2
startup_message off
e7703ed69e4e If a window goes unresponsive, don't block the whole session waiting for it.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 144
diff changeset
     3
472
75161fbbc814 Document "escape ^zz".
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 467
diff changeset
     4
# Use backtick instead of C+a as this makes more sense for emacs.
205
a13f2fb04ded Use backtick instead of Ctrl+A.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 204
diff changeset
     5
escape ``
472
75161fbbc814 Document "escape ^zz".
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 467
diff changeset
     6
# Use C-z instead of C-a.
75161fbbc814 Document "escape ^zz".
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 467
diff changeset
     7
# escape ^zz
205
a13f2fb04ded Use backtick instead of Ctrl+A.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 204
diff changeset
     8
207
db705bb4344e term xterm-256color
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 206
diff changeset
     9
term xterm-256color
db705bb4344e term xterm-256color
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 206
diff changeset
    10
db705bb4344e term xterm-256color
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 206
diff changeset
    11
shell bash
db705bb4344e term xterm-256color
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 206
diff changeset
    12
467
6f8820ca7f1c Tell screen to ignore the case of characters in searches. No flow control,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 207
diff changeset
    13
# Autodetach session on hangup instead of terminating screen completely.
6f8820ca7f1c Tell screen to ignore the case of characters in searches. No flow control,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 207
diff changeset
    14
autodetach on
6f8820ca7f1c Tell screen to ignore the case of characters in searches. No flow control,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 207
diff changeset
    15
195
e7703ed69e4e If a window goes unresponsive, don't block the whole session waiting for it.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 144
diff changeset
    16
# If a window goes unresponsive, don't block the whole session waiting for it.
e7703ed69e4e If a window goes unresponsive, don't block the whole session waiting for it.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 144
diff changeset
    17
nonblock on
144
27f383858159 Ctrl+Tab and Ctrl+Shift+Tab to switch session in GNU Screen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
206
e27dc360b685 Define a bigger scrollback, default is 100 lines.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 205
diff changeset
    19
# Window numbering starts at 1, not 0.
e27dc360b685 Define a bigger scrollback, default is 100 lines.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 205
diff changeset
    20
bind c screen 1
e27dc360b685 Define a bigger scrollback, default is 100 lines.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 205
diff changeset
    21
bind 0 select 10
e27dc360b685 Define a bigger scrollback, default is 100 lines.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 205
diff changeset
    22
e27dc360b685 Define a bigger scrollback, default is 100 lines.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 205
diff changeset
    23
# Define a bigger scrollback, default is 100 lines.
e27dc360b685 Define a bigger scrollback, default is 100 lines.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 205
diff changeset
    24
defscrollback 10000
e27dc360b685 Define a bigger scrollback, default is 100 lines.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 205
diff changeset
    25
e27dc360b685 Define a bigger scrollback, default is 100 lines.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 205
diff changeset
    26
vbell on
e27dc360b685 Define a bigger scrollback, default is 100 lines.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 205
diff changeset
    27
467
6f8820ca7f1c Tell screen to ignore the case of characters in searches. No flow control,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 207
diff changeset
    28
# Tell screen to ignore the case of characters in searches.
6f8820ca7f1c Tell screen to ignore the case of characters in searches. No flow control,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 207
diff changeset
    29
ignorecase on
6f8820ca7f1c Tell screen to ignore the case of characters in searches. No flow control,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 207
diff changeset
    30
6f8820ca7f1c Tell screen to ignore the case of characters in searches. No flow control,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 207
diff changeset
    31
# No flow control, e.g. ^S and ^Q.
6f8820ca7f1c Tell screen to ignore the case of characters in searches. No flow control,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 207
diff changeset
    32
defflow off
6f8820ca7f1c Tell screen to ignore the case of characters in searches. No flow control,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 207
diff changeset
    33
952
04e8208374bd Added Shift+Tab for session switching in GNU Screen & tmux.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 472
diff changeset
    34
# Ctrl+Tab in Mintty to switch session.
144
27f383858159 Ctrl+Tab and Ctrl+Shift+Tab to switch session in GNU Screen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    35
bindkey "^[[1;5I" next
952
04e8208374bd Added Shift+Tab for session switching in GNU Screen & tmux.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 472
diff changeset
    36
# Ctrl+Shift+Tab in Mintty to switch session.
144
27f383858159 Ctrl+Tab and Ctrl+Shift+Tab to switch session in GNU Screen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
bindkey "^[[1;6I" prev
952
04e8208374bd Added Shift+Tab for session switching in GNU Screen & tmux.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 472
diff changeset
    38
# Shift+Tab to switch session.
04e8208374bd Added Shift+Tab for session switching in GNU Screen & tmux.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 472
diff changeset
    39
bindkey "^[[Z" next