Questions tagged [gnu-screen]

screen (GNU Screen) is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). For computer monitors, see the tag /monitors.

screen (GNU Screen) is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.
For computer monitors, see .

937 questions
574
votes
7 answers

Scroll inside Screen, or Pause Output

I use screen for my command-line tasks while managing the servers where I work. I usually run small commands (mostly file-system tasks) but sometimes I run more extensive tasks (like DBA). The output of those tasks is important to me. Since I use…
AeroCross
  • 6,273
  • 4
  • 17
  • 7
331
votes
10 answers

How to split the terminal into more than one "view"?

From vi, if you issue the command :sp, the screen splits into two "views", allowing you to edit more than one file from the same terminal. Along those same lines, is there a way to have multiple shells open in the same terminal?
Justin Ethier
  • 16,686
  • 9
  • 43
  • 55
289
votes
4 answers

Can't resume screen, says I am already attached?

I am working on a remote Debian Jessie server. I have started a screen session, started running a script, then been disconnected by a network timeout. Now I have logged in again and want to resume the session. This is what I see when I list…
Richard
  • 3,273
  • 5
  • 15
  • 13
207
votes
10 answers

tmux vs. GNU Screen

Browsing through questions I found about tmux (I normally used GNU Screen). My question is what are pros and cons of each of them. Especially I couldn't find much about tmux.
Maciej Piechotka
  • 16,578
  • 11
  • 57
  • 93
191
votes
9 answers

How can I disown a running process and associate it to a new screen shell?

I have a running program on a SSH shell. I want to pause it and be able to unpause its execution when I come back. One way I thought of doing that was to transfer its ownership to a screen shell, thus keeping it running in there. Is there a…
levesque
  • 3,775
  • 5
  • 20
  • 15
137
votes
4 answers

How do you detach the 2nd screen from within another screen?

I've accidentally attached to a 2nd GNU screen session from within an existing screen session and cannot detach or issue commands to the inner screen. I remember figuring out how to do that before but completely forgot and would like to keep it as…
Artem Russakovskii
  • 1,505
  • 2
  • 9
  • 9
134
votes
8 answers

How do I kill all screens?

I accidentally created over 1000 screens. How do I kill them all with one command? (Or a few)
BrainStone
  • 3,534
  • 12
  • 32
  • 53
132
votes
6 answers

Setting a name for a screen session

Is there a way to give a particular name to a unix screen session? For instance, say I'm running the same program multiple times, each with different parameters and I want to tell which one is which.
well actually
  • 3,045
  • 5
  • 20
  • 11
117
votes
1 answer

there are screens in the list, but "no screen to be resumed"

When I type screen -r I expect to either see: A list of screens to resume, or a message "There is no screen to be resumed." Today, I see there is one screen, but I still get the message that there is no screen to be resumed: [root@server chiliNUT]#…
chiliNUT
  • 1,669
  • 3
  • 16
  • 18
91
votes
4 answers

How to recover a 'lost' screen session?

Somehow I managed to close a screen window without screen 'noticing' it, so the session is still flagged as attached. This prevents me from re-attaching to this session. What can I do? me@iupr-serv8:~$ screen -r There are several suitable screens…
Framester
  • 1,633
  • 4
  • 18
  • 17
89
votes
5 answers

How to split window vertically in GNU Screen?

I saw some body split their window to 2x2, I just want to know how to do that? I know the 'split' command in Screen can only split the window horizontally.
Rocky
  • 1,559
  • 2
  • 15
  • 10
87
votes
3 answers

Shell: how to go to the beginning of line when you are inside a screen?

I am inside a screen (screen -Ra). I have a long command, and I am at the end. Instead of keeping the left arrow, how can you go to the beginning of the line? CTRL-A works when I am in a normal window, but when I am inside a screen pressing CTRL-A…
user11498
  • 2,421
  • 4
  • 22
  • 25
79
votes
2 answers

How to change default new window directory from within the tmux

I recently moved from GNU screen to tmux. I find it quite similar but with bigger support (I switched due to problem with escape-time in neovim- resolution was only for tmux). Unfortunately in tmux I'm unable to find a similar command to…
lewiatan
  • 1,099
  • 2
  • 11
  • 15
73
votes
6 answers

How do I cycle through panes inside a window in tmux like in screen?

I thought Moving tmux pane to window was the same question but it doesn't seem to be. Coming from using GNU screen regularly, I'm looking for tmux to do the same things. On of the things I do regularly is have a couple of different windows open,…
FooBar
  • 833
  • 1
  • 7
  • 7
72
votes
5 answers

Can mouse wheel scrolling work in a Screen session?

Is there any way to use the mouse wheel to scroll through the output of a screen session? I can use the keypad scroll through previous output in screen after pressing ctrl+a [. Is it possible to do this with the mouse wheel? (I'm using putty, but I…
kristi
  • 821
  • 1
  • 7
  • 6
1
2 3
62 63