Questions tagged [gnu-screen]

GNU Screen is a software application that can be used to multiplex several virtual consoles.

GNU Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.

310 questions
13
votes
4 answers

Run (GNU) Screen from script

I would like to launch some application inside screen session but from a script. Without script I would just launch screen, then open N windows with crtl-a-c and execute programs in each windows. I tried the following screen -d -m -S test screen -S…
radius
  • 9,633
  • 25
  • 45
13
votes
1 answer

.screenrc - multiple regions on launch

I know it's possible, but I can't for the life of me figure out how, to launch screen with one window in split region mode? ie: I have screen set to open multiple windows on launch, but want window 0 to be split into two regions with an application…
Rob B
12
votes
5 answers

Set xterm (PuTTY) window title when using screen?

I am trying to get screen to set my xterm title. I have this working outside of screen, but screen keeps whatever title was in place when I started it. Here is my .bashrc: function bash_prompt_command() { # How many characters of the $PWD…
James Sumners
  • 513
  • 3
  • 7
  • 17
12
votes
18 answers

Remote Desktop Connection Screen is totally black but server is working perfectly

Server is working perfectly but when I do RDC screen is only black. This happened before and I fixed it by powering off the server via KVM/IP, but I don't want do that again. How can I fix this issue. OS: Windows Server 2008 R2 Web Edition SP1
Furkan Gözükara
  • 556
  • 2
  • 10
  • 27
11
votes
8 answers

Can't get detached screen to resume

I use putty and have an unreliable wireless connection, so I use screen to keep my work going. Often I'll get disconnected, and then I can't reattach my screen. I'll run screen -D -RR and it will just sit there indefinitely. I've tried ctrl+z to get…
Dave Aaron Smith
  • 289
  • 1
  • 2
  • 10
10
votes
2 answers

Is it possible in a script to tell if it is being run from within GNU screen?

We have a long running process on a remote server which is kicked off manually from time to time. Unfortunately internet connections die, kernels panic and a whole host of other challenges can be encountered by the ssh session used to connect and…
cclark
  • 567
  • 2
  • 6
  • 14
10
votes
2 answers

How to prevent screen from terminating when command in window terminates

When running 'screen ls' the screen stops with the text [screen is terminating]. I would like screen to keep the session alive and reattach to it to see the output of ls. Of course the real thing is that I don't run screen ls, but rather a screen…
Jarl
  • 305
  • 1
  • 4
  • 10
10
votes
2 answers

What's the difference between hardstatus and caption in GNU Screen?

I've started to play with GNU Screen setting. What's the difference between hardstatus and caption in GNU Screen? hardstatus seems to appear at the bottom on the Terminal, but I don't even know what caption really is yet.
PJ.
  • 3,017
  • 5
  • 21
  • 15
9
votes
2 answers

How do you get TERM=screen-256color on CentOS 5.7?

CentOS 6.0 comes with the ability to set its TERM to screen-256color. It doesn't work in CentOS 5.7, though. How can you get CentOS 5.7 to support screen-256color?
Neil
  • 2,425
  • 8
  • 36
  • 45
9
votes
4 answers

Specifying a log name for screen output without relying on .screenrc

In a Bash script, I use "screen -L" to log executed commands in color. For example: screen -L tree Then we read the logfile with less -R. When this script is executed, other screens are potentially running so we don't know which screenlog.*…
Philippe Blayo
  • 281
  • 1
  • 2
  • 10
9
votes
2 answers

Wrap current session in a screen session

I started an big operation, but I didn't start a screen session, So i can't disconnect without canceling the operation. Is there a way to inject screen so that the operation continues and sends its output to the screen session and i can safely…
Bob Fanger
  • 371
  • 3
  • 9
8
votes
2 answers

Start detached screen session

I would like to start screen detached session, but I want to evaluate some bash. It seems screen only supports an executable and binary. I want do do some magic like: screen -d -m script.sh 2>&1 | tee logfile.log but this apparently does not work.…
lzap
  • 2,882
  • 2
  • 23
  • 23
8
votes
3 answers

Share screen session with users in the same group (Linux)

I can create a detached screen session using the following command: [user1@host-pc ~]$ screen -d -m -S sname program ...and resume to it using this command: [user1@host-pc ~]$ screen -r sname Is there a way to let users that are in the same group…
johndir
  • 305
  • 1
  • 5
  • 9
8
votes
4 answers

GNU Screen and Tmux: tips and tricks

So I am a big fan of the multiplexers like GNU Screen and Tmux, but even using Screen for years now I still recognize that there are many things there I don't know (and I only use Tmux for a couple of months so its worse). What configs and tips and…
coredump
  • 12,713
  • 2
  • 36
  • 56
8
votes
2 answers

Does tmux have all the features that screen has? And those screen is missing?

I'm considering switching from screen to tmux, but I've invested lots of time developing an extensive .screenrc, and I don't want to find after many hours of porting it to tmux that tmux can't do something that is important to me. I've looked at…
iconoclast
  • 1,800
  • 2
  • 18
  • 30
1 2
3
20 21