GNU Screen is a command line utility which allows the user to create multiple shell sessions on one connection. These sessions are decoupled from the primary connection and so maintain state for the user, even if the connection is dropped.

learn more… | top users | synonyms

2
votes
1answer
23 views

Placing an “anchor” in GNU Screen

Usually, especially when debugging code, I have the code spit out a ton of data and since I'm using GNU Screen, I scroll back through the output to see what I need. But it's not always easy to find ...
2
votes
1answer
100 views

Vim not colouring the end of lines when run inside screen

When vim is started inside of gnu screen it does not colour the background after text. Screen looks like it should be setup for handling 256 colours correctly: $ screen $ tput colors 256 $ echo ...
1
vote
2answers
136 views

VIM/Screen background color is inverted for non-text characters

I'm trying to use a vim while inside a screen session. For some reason, the background color for the parts of the screen without text are displaying as dark while the parts with text are displaying as ...
0
votes
1answer
273 views

How to persist `gnu screen` layout after restart

I am using the screen split in 3 with vim on the left, and two other screens split horizontally on the right. I know that when detaching from a screen, I can save the layout with :layout save ...
1
vote
1answer
85 views

PATH not set in GNU Screen, OS X 10.9

I'm not a regular user of screen but every few weeks I use for some delicate tasks. However yesterday when starting I was unable to execute any command (ls, ssh, mkdir), quick debugging revealed that ...
0
votes
0answers
78 views

prohibitive keymapping with putty, gnu screen and vim

I'm logged in to my Debian machine using putty. I have a GNU screen session open and I am running vim in it. the problem I have is that when I go to save the file using :w<enter> this appears to ...
0
votes
1answer
171 views

Gnu Screen: “type” in all windows at once

I read this question on SO about the stuff command in screen. It's pretty useful, but I wondered if there was a way to actually interactively type into multiple windows at once? - stuff seems to be ...
1
vote
1answer
306 views

install screen from source code

I tried to install the screen command on RedHat from source code. But when I run the configure, it returned configure: error: !!! no tgetent - no screen So does anyone know how to fix it?
1
vote
1answer
543 views

screen returns [screen is terminating], but never terminates

I recently ran into an issue on my Ubuntu 12.10 server that I can't seem to find a solution for. From my server I run a couple of Minecraft servers on different ports, usually to start the servers I ...
1
vote
1answer
157 views

How do I use shellscripts for rails with 'screen'?

I've recently started Ruby on Rails development, and I'm using Vagrant as a VM to contain my Rails project, because Windows is a terrible OS to use for any sort of Ruby development, due to the ...
0
votes
1answer
71 views

Navigating multiple screens in Linux

I'm in a Linux terminal and created multiple screens. When I try screen -list, I get the following: prem@ubuntu:~$ screen -list There are screens on: 5110.work1 (11/15/2013 02:01:53 PM) ...
1
vote
1answer
140 views

Tab title is wrong with ssh/screen on osx

I am doing ssh -t host screen -D -RR in OS X (10.9) terminal tabs. My ~/.screenrc is identical on all remote hosts and contain the following line: hardstatus string "%H(%n:%t)$USER %h" My ...
0
votes
0answers
50 views

GNU Screen Draw Lag

I like using screen with multiple splits. I usually like 3 sections Resource Monitoring using HTop Text Editor using VIM Command line using Bash My issue is that, when I am doing something that ...
1
vote
2answers
986 views

How can I start new window in the same screen session automatically?

I read How can I start multiple screen sessions automatically?, but I don't understand the first accepted reply: screen -dmS "$SESSION_NAME" "$COMMAND" "$ARGUMENTS" In my case I need to ...
0
votes
1answer
86 views

gnu-screen does not clear all its contents upon leaving it

I am using screen in bash under CentOS. After leaving a screen with Alt-a d, I am back in bash as expected. But there are remnants of the screen output left, in particular the status line (don't know ...
1
vote
1answer
539 views

Screen sessions getting killed but processes still live on and run

This is a weird situation I've run into. We have a test server off site (or off site from where I work). To access the server, I need to VPN into its network. I ran screen to execute a long running ...
1
vote
1answer
86 views

list screen window number bash

I was wondering if there is a way to get which window number of screen that is active? As in: screen -X get-window-number I have found no way to list screen windows to output, only the actual screens. ...
0
votes
1answer
69 views

GNU Screen - String Escapes

Can somebody please explain or point me to good tutorial about "String Escapes" used in ~/screenrc. I am playing with $PS1 and ~/.screenrc. While $PS1 seems pretty clear (colors, conditions, escape ...
1
vote
1answer
592 views

how to paste from byobu's screen buffer (ubuntu 12.04 64bit)

I'm running byobu in gnome-terminal, under ubuntu 12.04 64bit. and trying to copy a screen buffer. i.e. by hitting F7, byobu entering "copy mode", then mark screen text by space key. the question ...
0
votes
4answers
530 views

Windows powershell screen equivalent

I am using a windows machine as a ssh server. I want to remotely run some tasks which takes several hours to finish. Is there any way to have persistent process even after remote ssh session is ...
1
vote
0answers
67 views

Running vncserver from screen

At work, we use VNC to run a graphical session on a remote Linux server from Windows-based client laptops (sigh). I have a laptop with a much lower resolution than the external monitor on my desk at ...
1
vote
1answer
41 views

How to execute a given command in a new screen?

I wish to rejoin an existing screen (there is only one on my system) kill window 6: screen -r -p 6 -X kill and execute the following command in a new window: cd /opt/stack/neutron && ...
-5
votes
1answer
107 views

Which is the modern front end to use for screen?

Looking for something that SHOWS opens screens and allows reattachment. Just one of many examples: root@helium:~# screen -r There are screens on: 32159.pts-1.helium (08/15/2013 03:11:54 PM) ...
0
votes
1answer
265 views

GNU screen quitting — sigterm to running process

I want to quit screen session. For this, I use screen -S session_name -X quit. This works well, but not like I would. The program running in screen has a handler for SIGTERM, and I really need this ...
1
vote
2answers
68 views

How to change the default command character in linux screen from cntr+a to cntr+t

I have been using screen in Linux and in some systems I get the default command character in Ctrl+T, but in others I get Ctrl+A. How can I change the configuration in those with Ctrl+A to Ctrl+T?
4
votes
3answers
991 views

GNU screen: change focus in split windows with mouse

Is there a way to enable proper mouse support in GNU screen so that I can switch the focus between split windows using my mouse? In other words, I'm looking for a mouse-driven alternative to typing ...
0
votes
1answer
1k views

Linux Debian Screen is terminating. Can't open screen

I use PuTTY to connect with my VPS server that runs on Debian 7.0 When I try open screen by screen -S {screenName} after enter there's just info [screen is terminating]. It happens on all ...
0
votes
2answers
517 views

Transfer current command to a detachable session (tmux/screen)

I'm currently running a backup and it now needs to be transferred to detachable one like on tmux/screen. Is there a way to do this when the command is currently running? I can send the command the ...
0
votes
2answers
137 views

How can I stop GNU screen killing my terminals on remote detach?

When I start screen in one terminal with $ screen -R foo and then remotely power-detach from another terminal with $ screen -D foo my first terminal dies. (Meaning, if I run it from ...
0
votes
1answer
124 views

Run hardcopy on a specific screen window

I'm trying to run screen to connect to a serial port. I want it to run a command, and then every 60 seconds I want to use hardcopy to write which is shown to a log file. So far I've done this: ...
0
votes
0answers
64 views

Gnu Screen rebounded control sequence, switch to last-visited window broken

First time questioner here, so please point out the errors I make. I configured my gnu screen so that the control sequence wouldn't collide with emacs: My .screenrc: # Bind control sequence key to ...
0
votes
0answers
25 views

Run screen splitted and specify commands for each windows?

Ubuntu 12.04, I would like to run gnu-screen already splitted in two regions and with certain commands in it, I have found that in new version of screen there are -Q argument, but I still dont get how ...
2
votes
1answer
234 views

How to kill screen session with running sudo command?

I'm trying to write a bash script which would relaunch my NodeJS server. This is how I'm launching the screen with the server: screen -S web-server -d -m node web-server.js which end up in this ...
3
votes
1answer
376 views

screen - move cursor to beginning of line

In bash I can usually move the cursor to the beginning of the line using CTRL+a. In screen, CTRL+a is being used for the special screen-commands. How can I a) use another key-combination for the ...
2
votes
1answer
570 views

How do I stop ssh-agent from forgetting my password after I login to the screen session from SSH?

I have a screen session open in an lxterminal window. If I SSH somewhere, the first time it happens, an ssh-agent window opens and asks me for my private key passphrase, and after that ssh goes right ...
2
votes
0answers
159 views

How to disable alternate buffer in GNU screen itself but not for vim, less inside it?

What I would like to accomplish is mouse wheel scrolling behavior that I'm used to in a regular ssh session. In bash prompt mouse wheel should scroll my terminal output, and inside less/vim - the ...
0
votes
1answer
477 views

set GNU screen background color

I would like screen to change the background color of the terminal (xterm) when started. I want to have a quick way of determining whether I am in screen or not. I often work over shh and it often ...
1
vote
2answers
2k views

how to remove a screen (detached sessions) in unix?

I have been working in different screen sessions in past projects , hence have a few screen sessions accumulated. Now i have been asked to remove excess/unrequired screen sessions from the unix box. ...
0
votes
1answer
240 views

How do I supress date/time display in GNU Screen vertical splits?

I am using a copy of GNU Screen packaged for Fedora 18. I copied these neat lines over onto my .screenrc, to show me the host/date-time/windows: # Neat status bar on the bottom of the screen caption ...
0
votes
1answer
87 views

Attach screen on a running terminal

I have a long running process in a (virtual) terminal that unfortunately was not started in a (gnu) screen session. Is there a way to migrate it in a screen session? (obviously, without stopping it) ...
0
votes
0answers
31 views

Linux screen program: determining the communication details of a working connection

I am trouble shooting an issue with a PySerial program which interfaces a step motor via terminal emulation, and going back to the use of screen as a known working interface. When I connect to the ...
1
vote
0answers
58 views

Emacs and Gnu Screen Causing Line Wrap Problems

I have gnuscreen on with multiple "tabs" open. Emacs is on tab 0. When I tab to a different screen and return to Emacs, the lines do not wrap properly anymore. They blend into each other. If I have a ...
0
votes
1answer
352 views

Locking a GNU-screen session after x minutes of non-use on Linux

I have a couple of services running in a GNU-screen session on top of Bash. Because one of the services contain sensitive data I have to constantly either close the terminal completely or lock the ...
0
votes
1answer
58 views

How to switch to an existing vim instance from inside of screen when opening a file twice

When i work on many files with screen and vim, often i try to open a file already open.. I must switch manually between screen windows witch ctrl-space and press ctrl-g until i find the right window. ...
1
vote
1answer
146 views

GNU Screen: run arbitrary command in the status bar?

Is it possible to get GNU Screen to display the output of an arbitrary command, e.g. who | wc -l, in the status bar, refreshing it, say, every minute?
2
votes
1answer
79 views

Gnu screen: Problems with %F

I'm trying to set region captions to list all windows on active (focused) screen region, and only the title for other regions. For example: caption always "%?%F %w %: %n*%t %?" should display ...
0
votes
0answers
75 views

Prevent a GNU Screen session from closing

So I run Irssi on my VPS inside a GNU Screen session and sometimes accidentally close Irssi process when I log out, therefore forgetting to close the Screen session beforehand. Is there a way that I ...
0
votes
1answer
211 views

Setting GNU Screen to send escape codes to outer terminal on TI

I’m using GNU Screen inside mintty. To get the scroll wheel to work, I had to switch the mintty scroll wheel mode with an escape code (^[[?7787h). This has the effect that the scroll wheel does not ...
0
votes
1answer
1k views

No Sockets found in /var/run/screen/S-root. when using `screen`

I want to screen on a machine with fedora the result is: [root@kitch udp]# screen -ls No Sockets found in /var/run/screen/S-root. [root@kitch udp]# screen -ls listen_for_exception No ...
1
vote
3answers
1k views

vim under screen under PuTTY working with mouse wheel?

Is there any way to make this work? i'd love to scroll my files in vim with the mouse scroll wheel. Also, i wouldn't mind scrolling the gnu screen buffer with the mouse wheel as well, without having ...