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
0answers
13 views

GNU screen - open new window in working directory of current window in a named (sessionname) session?

In order to open a new screen window in the same directory as the current working directory of the screen window you are launching it from (rather than the directory you initially launched the screen ...
0
votes
1answer
14 views

iTerm2 -> ssh -> gnu screen -> split window: scroll wheel not working

I'm using Mac OS X as a workstation. With iTerm2, I connect to a remote host (Ubuntu Server) using this command: ssh -t user@host screen -D -R -R But I can't get the scroll wheel to work correctly, ...
1
vote
1answer
17 views

Does GNU screen issue signal 28?

Bit of a long shot... I'm executing a long-running process that takes several hours. The process is the re-indexing of the CDDB database's fuzzy matching file. The process keeps quitting after a ...
0
votes
1answer
17 views

GNU Screen hangs in ConEmu

I just did an update of Cygwin on a Windows 7 box. When I open ConEmu to a Cygwin Bash terminal, everything seems fine. However, if I run GNU Screen, the terminal locks up until I forcibly kill ...
0
votes
0answers
5 views

Exiting copy mode in GNU screen takes too long when tailing

Start screen, and run a command that tails a frequently-updated logfile, or a command akin to this: while true; do date; sleep 1; done Now hit CTRL+a+ESC to enter copy mode. Scroll around or ...
0
votes
1answer
23 views

Backup MySQL, using Screen and Crontab

I'm trying to backup my database's table every day, using mysqldump, screen and crontab. If I run only mysqldump, it dumps correctly, but if I do it trough screen, the output file is blank. Editing ...
0
votes
1answer
14 views

Can't open display after reattach screen session

When I first start my screen session my X-display works. I.e., I can start X-apps like xterm, etc. However, when I reattach my previous screen session, from a different X, the X-display no longer ...
0
votes
1answer
16 views

Moving from screen to tmux but having trouble in copying (double click doesnt work in tmux)

While in putty double clicking a word copies it to clipboard, I am unable to copy by doubling clicking when I am using tmux in putty. I am able to do it using SHIFT key, but I want to do it without ...
0
votes
1answer
92 views

How can I send keyboard input into a GNU screen session without attaching to it?

I need to send keyboard input to a GNU screen session without attaching to it. I have tested this example but it does not work: screen -S ffa3 -X "say SERVER REBOOT IN FEW MINUTES" No I am also ...
-1
votes
1answer
33 views

How do I create a new blank window in screen when I have multiple sessions running?

I'm running multiple concurrent screen sessions for a variety of projects. I'm attached to one and issue the command (Ctrl-A c) to create a new window. It creates the window, but strangely, it's a ...
0
votes
0answers
9 views

gnu-screen scrollback mode documentation for whether it blocks execution?

I saw in this answer that gnu-screen's scrollback mode blocks execution because gnu-screen "blocks the output pipe". Where is the official documentation for gnu-screen's scrollback mode behavior ...
0
votes
1answer
24 views

How do I save my screen GNU session?

I am trying to use a GNU screen session to go through a long code line by line to debug. I'm working in it through a shell. I start the screen with screen -S Name. Normally I run a few lines of ...
0
votes
1answer
18 views

How to open up an old screen session after ssh logged out

I am getting the following message: $ screen -R Poly There are several suitable screens on: 14583.PolygenicOCD3 (Detached) 61499.Poly (Detached) 13205.PolygenicOCD (Detached) ...
1
vote
1answer
25 views

What is this 'stuff' in the command being sent to screen?

To send Control+C to a detached screen-session I can do as has been demonstrated elsewhere: screen -S NameOfSession -p 0 -X stuff $'\003 or screen -S NameOfSession -X -p 0 stuff "^C" My question ...
0
votes
1answer
12 views

gnu-screen's caption/hardstatus: how do you append text after the session-name?

For older versions of gnu-screen (i.e. without the %S), I found out how to print the session-name in the hardstatus or caption of gnu-screen by reading this answer. The solution is to add the ...
0
votes
0answers
36 views

R: how to open a running r script in rstudio

I've been running an analysis in a computer cluster that works on linux from my computer, and I run it on rstudio. This analysis takes like 12 days, so before running the r script I made a "screen" to ...
0
votes
1answer
52 views

Make less use alternate screen, but only if entire file won't fit on one screen

I'd like less to quit immediately if the entire file can be displayed within one screen. For this, I'd use the -F option: -F or --quit-if-one-screen Causes less to automatically exit if the ...
0
votes
1answer
31 views

where to check out the screen detached command line application crash log on Ubuntu

So, I was running some application with the following command line after SSHing into my server, and after then detached the window by ctrl+a ctrl+d: SCREEN /bin/bash -c php index.php -whatever > ...
1
vote
2answers
61 views

bash like --init-file in the tcsh

The bash/screen scenario: screen -dmS sessionname -c /path/to/screenrc the /path/to/screenrc contains for example screen -t windowtitle1 bash --init-file /path/to/window1.bashinit screen -t ...
2
votes
1answer
73 views

Starting a detached screen session and a Java program with one command

I found an answer on super user that the following should create a screen session in detached mode. But it is not working in my situation. screen -dmS sessionname java -jar ...
0
votes
0answers
43 views

Running a code remotely with screen but killed shortly after logout

I often run a code on a remote Linux/Ubuntu desktop with the use of screen. So I log in through SSH, start a screen, start the job, detach the screen and everything works fine. However, recently the ...
0
votes
2answers
44 views

Can't attach to GNU Screen - not showing in list but still running

I have screen running but it doesn't show in a list and it won't allow me to attach it. $ screen -ls (08-21 12:38:23) No Sockets found in ...
1
vote
0answers
26 views

GNU-Screen super-key as escape

The super-key (windows key, et al) isn't representable using ascii or terminal escape sequences, so I doubt a tty-oriented utility like screen would support it, but does it? Can I use the super-key ...
0
votes
1answer
92 views

No notifications in irssi for new private messages

My problem is that I get no notifications in irssi when receiving a new message: whether that be a private message, or just a message from a chan which isn't my current window. I use two different ...
0
votes
1answer
31 views

Change to Virtual Console 2-4 on target system via PuTTY and screen

I am trying to figure out how to change to Virtual Consoles 2-4 on a target system using PuTTY and screen. I have read the screen man pages and the replies here, but I still can't figure it out. ...
0
votes
1answer
56 views

How do I view the tab completion function for a command in bash?

I ultimately want to alias screen -r. I mostly want to do this because that command has an awesome tab completion feature that shows me the current GNU screen sessions. I want that power with the ...
0
votes
2answers
54 views

How do I set key bindings for ctrl page up and ctrl page down in gnu screen?

So ctrl page up and down are all the rage nowadays, and I'd like to be able to C-p and C-n in gnu screen when I hit ctrl-pgup and down. I've tried and tried but the documentation is a little thin. Any ...
0
votes
1answer
30 views

How to test if screen is started, then execute a command in screen and detach it?

screen -list There are screens on: 4278.chat (07/16/15 14:26:47) (Detached) 15127.notifier (07/16/15 13:27:57) (Detached) My goal is to : If chat screen is not ...
0
votes
1answer
261 views

how to resume a screen session?

When I log to my SSH, I have 2 screen sessions: screen -list There are screens on: 4278.chat (07/16/15 14:26:47) (Attached) 15127.notifier (07/16/15 13:27:57) ...
3
votes
0answers
27 views

GNU screen is slow exiting

I've set up my .bashrc to automatically screen -DRA (even though it's a local session). screen works fine, except that if I run exit from the last window or otherwise close it from the client itself, ...
0
votes
2answers
148 views

'screen.linux': unknown terminal type

When I run clear I get: 'screen.linux': unknown terminal type I get this error message when, on a Debian 7 machine running the OpenVZ kernel, from within a screen session, I vzctl enter into a ...
-2
votes
1answer
97 views

Alternatives to byobu as a tmux distribution?

Are there good alternatives for byobu as a tmux distribution?. Minimal, stable and that just works? or most tmux users just learn tmux specifics and configure it all by themselves?
0
votes
0answers
49 views

How to list screen sessions with the currently running commands?

screen -list list the current sessions identified by the pid.tty.host tuple. Is there a way to list those tuples along with the commands each screen session is currently running? I've checked the ...
0
votes
0answers
37 views

Do GNU Screen windows know their name?

I'm trying to write a custom GNU screen key binding which dumps each window's name and environment to file. This would allow me to save/recover a screen session when my server needs rebooting. I ...
0
votes
0answers
77 views

Scrolling with trackpad/mouse in screen on OS X Terminal

I use screen command on Terminal on OS X. When I want to scroll up I change the mode to Copy Mode by pressing Ctrl A Esc. Then I use my trackpad to scroll up/down. It works. However, sometimes ...
1
vote
1answer
379 views

Starting script in screen with cron

I apologise if this has been asked before but I am not sure how to question a search query for this. I am extremely new to linux and I have been learning as I go to solve issues. I am trying to set ...
0
votes
1answer
101 views

Running Cygwin Screen as a standalone program?

Would it be possible to separate Screen from Cygwin, and run it without running Cygwin first? If not, are there any alternatives to screen on Windows?
1
vote
1answer
75 views

VIM + screen on remote (ssh) linux machine

The problem happens with my text in vim when I'm working inside of screen this is my .screenrc file defshell -bash startup_message off term screen-256color and this is what I can see in my terminal ...
0
votes
1answer
54 views

gnu screen: previous search result

In GNU Screen, I can do a reverse text search by pressing ^A and then typing [?search_string, and press n to go to the next (reverse search) result. But if I go too far and want to go back one result, ...
0
votes
1answer
57 views

GNU Screen equivalent for X11 aplications [duplicate]

What is the X11 equivalent of GNU Screen for X11 applications? I know there is VNC, possibly RDP and other candidates, but last week when tuning up my VNC config I've stumbled upon a project, that was ...
1
vote
1answer
38 views

Why is vim inserting the contents of ". after I leave insert mode

vim is doing something that I can't quite figure out. When I leave insert mode, and navigate with j/k/h/l within a second of doing so, vim appends the contents of the ". buffer. On a tip from How to ...
0
votes
1answer
94 views

Resize terminal Emacs window to fit when resuming a Screen session from larger display in Ubuntu

Whenever I start a GNU screen session running GNU emacs (nw, so in terminal) on my desktop with a large monitor, then resume it on my laptop, emacs still thinks it's on a large monitor. This means as ...
0
votes
1answer
41 views

GNU screen version confusion

I try to use mousetrack on in screen in Debian Jessie, and it is supported from version 4.1 Mouse in screen(1) on the Linux console? But there are some confusion in the screen version. dpkg -s ...
0
votes
0answers
72 views

GNU Screen hardstatus string not highlighting active tabs correctly

Good Morning, The hardstatus line of my .screenrc file is acting weird on CentOS but works fine on Ubuntu Server. The line I am using is this: hardstatus string '%{= kB}[ %{B}%H %{= kB}]%{kB}[%= ...
0
votes
0answers
23 views

Mouse works erratically/intermittently over remote SSH

I work remotely sometimes. I’ll use Vim inside a Screen session, over SSH. I use the mouse in Vim. Sometimes the mouse breaks. One of these things happens: Random characters get inserted into my ...
1
vote
1answer
284 views

tmux / screen ctrl+arrow (left right) doesn't work on SSH

I've configured tmux to skip words on Ctrl+right / left : set-window-option -g xterm-keys on It works just fine, but as I do SSH, it doesn't work and prints ;5D or ;5C.. The same issue occurred ...
1
vote
0answers
60 views

Make serial gnu-screen send a line at once

Is it possible to send lines at once in linux screen utility, if used as serial terminal, like for example screen /dev/ttyACM0 9600? By default, every character typed is sent immediately, but my ...
2
votes
2answers
239 views

gnu screen not to change my window titles

I set meaningful names to new windows I create in gnu screen, but then when I 'cd' or open vim that name gets changed to 'pwd' for instance. Is there a way to prevent screen from changing the title? I ...
0
votes
0answers
23 views

How to hide/unhide a particular window in screen?

Is there any command or hack to get such a behavior? Or is there a better way to get what i want(taking the unused window out of context temporarily instead of killing it) instead of this ?
0
votes
0answers
33 views

How can I automatically run two commands in different screen windows with an argument?

My process is ctrl+a 0 command $1 ctrl+a 1 /join#$1 I'd like to shorten it down to one command.