summaryrefslogtreecommitdiffstats
path: root/software/screen.page
blob: 7bcf4bcba39f020576b104c4a2a427d8f2dabded (plain)
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

Re-attach uniquely
--------------------

If you are attached to a remote screen over SSH and the connection drops, then
you re-attach later with ``screen -x``, there will still be some pseudo-zombie
sessions attached. This is annoying because the new sessions will have their
display dimensions locked to the dimensions of the old sessions. To connect to
a screen session as the only client (disconnecting all the old half-dead
sessions), use:

    $ screen -d -r

Disable default bash completions
---------------------------------

At least on debian wheezy, screen has tab completions which prevent, eg:

    $ screen /dev/ttyU<TAB>

from completing as ``/dev/ttyUSB0`` et al.

To disable this, go to ``/usr/share/bash-completion/completions`` and ``sudo mv
screen screen.disabled``.