Questions tagged [gnu-screen]

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

GNU Screen

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

Alternatives

  • - Alternative to GNU Screen that includes most of its features

  • - Wikipedia article on Byobu (software):

    Byobu is an enhancement for the terminal multiplexers GNU Screen or tmux that can be used to provide on screen notification or status as well as tabbed multi window management. It is aimed at providing a better user experience for terminal sessions when connecting to remote servers.

129 questions
206
votes
13 answers

kill a screen session

I'm trying to kill a screen session. I noticed a lot of other related questions, but none of those answers are working for me. I am trying to kill the following session: screen -ls There is a screen on: 23520.pts-6.porkypig (09/30/2013…
JohnMerlino
  • 7,309
17
votes
2 answers

Using GNU Screen with 256 colors

I recently installed GNU screen on a machine I ssh into. How do I get GNU screen to use 256 colors? So far, I've tried adding the following to my .screenrc: term screen-256color and attrcolor b ".I" # allow bold colors - necessary for some…
Scott
  • 271
  • 1
  • 2
  • 5
14
votes
4 answers

How do I copy text from the program "screen" to my clipboard?

I want to copy some text from screen to my clipboard. I know how to get into copy and paste mode in screen, but I want that text to go to my clipboard so I can paste it on the browser, for example. How do I do this? Thanks!
5
votes
2 answers

Default GNU screen "screens"

As the title says, I would like to set up GNU screen on my headless box such that when it starts up with some screens already running. My .bashrc file runs screen on the first login with screen -xRR and I would like htop and various logs to be…
robjtede
  • 153
4
votes
2 answers

Will my screen process continue after i log out?

I opened a screen as root user by typing sudo su - and then screen. I then ran a command to start my Minecraft server. After that I detached the screen by pressing Ctrl-A and d. Will the process (my server) continue to run after I log out of my…
tjespe
  • 1,338
4
votes
0 answers

Forwarding GNU Screen notification to Ubuntu desktop

GNU Screen has utility of monitoring window activity. Is it possible to forward the notification of GNU Screen to Ubuntu desktop environment? For example, when GNU Screen generates a notification, urgent animation in Unity panel is triggered or…
Kadir
  • 453
  • 4
  • 13
4
votes
1 answer

Execute command on Gnu Screen attachment

Is it possible for GNU Screen to detect when a session has been attached and to run a command? (The command will be a shell script that I wrote) Thanks.
Sandro
  • 577
3
votes
3 answers

How to disable window caption bar in GNU Screen?

I usually split my GNU Screen into four regions, and I don't really need the status bars for each of those windows. Is there an option to disable GNU Screen window status bars? I could only find caption always|split only in the manual. Thanks :)
Stann
  • 15,116
2
votes
0 answers

GNU screen hangs on the pandaboard

I've installed the headless 11.04 variant of Ubuntu on my pandaboard. Most things seem to work correctly, but when I launch screen bash seems to hang and I must kill it using ctrl-z kill %1 in order to continue. Has anyone been able to use screen on…
2
votes
1 answer

GNU screen: Running commands in different window when screen is started

The .screenrc file allows the user to specify that they want multiple windows open when screen is first run. Eg. screen -t myWindowA 0 "" screen -t myWindowB 1 "-${SHELL}" screen -t myWindowC 2 "-${SHELL}" What I would like is for each window to…
1
vote
1 answer

Attaching to a service in screen

I am fairly new to Ubuntu, but I am becoming better everyday. I know that to detach from a service in screen you do Ctrl+a+d. But I do not know how to attach back to it when I need to. Can someone tell me what the command is to attach back to…
Salah
  • 11
  • 2
0
votes
1 answer

How we can detach from screen?

I am new in linux. I used to work on windows(performance testing, load testing, smoke testing and so on ). I am doing a job which requires to perform some tests.
0
votes
2 answers

finding what's running on screen session

I have this screen process which has open my serial port: $ sudo lsof | grep /dev/ttyS0 screen 23520 root 6u CHR 4,64 0t0 1421 /dev/ttyS0 $ cd /proc/23520 $ head -n 5 status Name: screen …
JohnMerlino
  • 7,309
0
votes
1 answer

ubuntu 20.04 Desktop: screen terminates after logoff

afair $ screen -v Screen version 4.08.00 (GNU) 05-Feb-20 is method to run commands continuously after logout. But on my 20.04 this doesn't work. user@laptop:$ ssh user@machine user@machine:$ screen -ls No Sockets found in /run/screen/S-user …
0
votes
1 answer

How do I clear the GNU screen command screen?

Running "screen" for example with: screen /dev/ttyUSB0 115200 How do I clear the screen once in a while?
ianski
  • 3
1
2