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

0
votes
1answer
12 views

GNU screen. nothing happens when trying to resume session

I have a D-LINK nas (Linux 3.2.34 armv7l), where I have screen, compiled from sources. Everything was fine until something happened and now I can't resume the session. The symptoms are as follows ...
0
votes
0answers
11 views

How can I start multiple screen windows side-by-side inside one screen instance automatically?

I want to have a desktop/keyboard shortcut that opens a terminal running a screen session that displays top in the upper 60% and iostat in the lower 40%, and possibly pidstat, too. Is that possible? ...
1
vote
0answers
17 views

Creating multiple screens in a for loop to run parellel programs and sending commands to each

Before flagging this questions as redundant, i have read and tried every answer to similar questions with no success I have this loop where it traverses a directory structure, and runs a program ...
1
vote
1answer
28 views

gnu/screen: sesseion-name in status-line

How do I add the GNU/Screen's session-name (as set by C-a :sessionname foo) to its' status line? The manual says that S is the escape code for session name but when I try to add %S to my caption I ...
0
votes
1answer
55 views

Archlinux - Autostart `screen` after boot

I'm building some small internet radio player using Archlinux. All I need right now is to autostart (without login!) script or just command: su -c 'screen "vlc (a lot of parameters)"' vlc_user By ...
1
vote
1answer
35 views

See entire output of process in 'screen'

I am running a script in screen, which takes several days to run. Occasionally, I log back in to check the output, and I'd like to see the output during the times I did not have the screen attached. ...
1
vote
1answer
41 views

Fish shell syntax highlighting looks weird in byobu-screen

When I am in plain fish shell, a command is highlighted like so: but when I am in byobu-screen and type the same thing, I get: When I do a fish_config and look at my color palette, nothing is ...
0
votes
1answer
46 views

How to bind exit to a key?

When I am using screen, every time I use kill, it prompts a confirmation and ask me whether to really kill (which I really do after pressing so many keys). To get around this I type exit instead. But ...
0
votes
1answer
55 views

Remove vertical split bar of a termincal multiplexer, vacating the space instead of hiding it

For the last decade I usually work in a full-screen mode terminal emulator (often xterm), and often with vertical split. The recent GNU Screen offers vertical split with ctrl-a |. 1280×720 offers 160 ...
1
vote
1answer
41 views

why does screen cause problems with sftp?

I love to use screen, but I haven't really had much experience using it over ssh. At work I recently was issued a shell account and I decided to try to configure it so that screen gets run when I ...
2
votes
1answer
18 views

GNU Screen: deleted directory screen was started in

I started screen in a directory I since deleted and every time I open a new window I get the following error: shell-init: error retrieving current directory: getcwd: cannot access parent ...
1
vote
0answers
11 views

GNU screen lost encoding settings after detached and reattached

I set the defencoding and encoding in the .screenrc, defencoding GBK encoding GBK GBK After I detached and reattached the session, the encoding settings don't work. screen -r -d -S session How ...
1
vote
1answer
22 views

Launching GUI apps from GNU screen on OS X

On OS X 10.9.1, when I try to launch GUI Apps on OS X from within a GNU screen terminal, the app simply hangs without showing a window. Launching the same app from a regular terminal outside screen ...
0
votes
0answers
23 views

Increasing scrollback for screen in putty

I use screen a lot. Whenever I scroll up, I see that there is the screen command I used to reattach to the screen. I was wondering if we can increasing the size of scrollback for screen from screen ...
1
vote
0answers
49 views

Case insensitive search in tmux's copy mode?

So in tmux's copy mode you can search text with the ? (at least if it's in vi mode). However, it only finds matches with the same case. I also want matches that have a different case. So, when I ...
1
vote
2answers
58 views

Echo to screen session and to file

I want to execute the following command: echo $RANDOM 2>&1 >> test.txt in this screen session: screen -S test -X eval 'stuff "echo $RANDOM 2>&1 >> test.txt\015"' ...
2
votes
1answer
21 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
57 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
53 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
67 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 ...
0
votes
1answer
53 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 more delicate tasks. However yesterday when starting I was unable to execute any command (ls, ssh, mkdir), quick debugging turned ...
0
votes
0answers
44 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
84 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 ...
0
votes
1answer
294 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
53 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
60 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
97 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
39 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
368 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
67 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
278 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
65 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
0answers
38 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 ...
0
votes
0answers
40 views

GNU-Screen - how can I attach without detaching

I would like to get Screen to do if following if the screen is not attached elsewhere, attach to it if it is attached do nothing (return to command line) if no screen exists then create a new one ...
1
vote
1answer
237 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
317 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
54 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
35 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
86 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
0answers
204 views

gnu-screen multiuser: Cannot opendir /var/run/screen/S-username: Permission denied

I am trying to send commands to a screen session owned by a different user. screen -x someuser/sometask -X somecommand That always results in: Cannot opendir /var/run/screen/S-someuser: Permission ...
0
votes
0answers
37 views

Restore window split in screen after detaching

Sometimes I use screen and its window functionality to monitor several logs. I utilise the horizontal split such that I can see several running logs at the same time. When I detach and re-attach from ...
0
votes
1answer
155 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
56 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
2answers
379 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
865 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
1answer
162 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
100 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
75 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
52 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
21 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 ...