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
1k views

Use Screen commands (C-A C-C, etc.) in byobu-tmux

I was having some troubles with byobu lately while using the screen back-end, so I switched to using the tmux back-end, which works like a charm. The problem is now that my keyboard has tiny F1­-F12 ...
2
votes
0answers
270 views

monitoring changes in windows of screen while screen is detached

It is possible to monitor windows in screen (I mean the terminal multiplexer called screen) with Ctrl-a M. However, I am only aware of the notification when I am looking at any window. What I want, ...
2
votes
1answer
303 views

Set Terminal.app proxy icon with xterm and screen

For quite a while, I've been using the supplied answers for Resume Zsh-Terminal (OS X Lion) to set the proxy icon for Terminal.app while running under zsh, and so far, it's been working quite well. ...
0
votes
1answer
703 views

Remap shift-tab to tab in bash/screen/putty in Linux?

Well I use vi-mode in bash via the set -o vi command. What's annoying is when I'm typing words in capital then try to complete using tab but don't release the shift-key fast enough, it brings me out ...
1
vote
1answer
2k views

Configure GNU Screen's colors?

GNU Screen gives my bash prompt nice colors, though the dark blue is hard to read on a black background. I can change the ls colors using /etc/DIR_COLORS but the bash prompt in screen doesn't get ...
4
votes
2answers
2k views

How to make IRSSI running under screen in a remote system to beep on my local pc for new messages?

I have an irssi running forever under a "screen" in a remote linux server system. I have fedora 16 in my laptop and ssh into the server and resume my irssi screen when I come to work. But I miss a ...
3
votes
1answer
970 views

Running into errors reattaching to a GNU screen session that tunnels X over SHH

After tunneling X over an SSH connection using screen on the remote, how can I reattach the screen session from another machine and tunnel X to that other machine? I either get "cannot open display" ...
2
votes
2answers
2k views

Load RVM environment in Screen and ZSH

This topic has been driving me nuts for a while now, and I'd like to be able to figure out what's going wrong. I use zsh with screen in my terminal, and have been for a while. However, for whatever ...
1
vote
2answers
2k views

Split vertical for GNU screen in cygwin

In cygwin using GNU screen there isn't the vertical split (vsplit). How can i add the vsplit
2
votes
1answer
637 views

How to get byobu to run screen instead of tmux?

With the recently added tmux support, byobu has started running tmux instead of screen. I did not change any settings. It just started using tmux. I would rather use screen. How can I change this?
2
votes
1answer
650 views

gnu screen: find which screen window has a given running process or variable?

I would like to find out which of my ~50 gnu screen windows has a process running with a specific variable defined in it. For example, about a week ago, I did this: id=ABC123456; ~/run_long_process $...
11
votes
3answers
14k views

How can I start multiple screen sessions automatically?

I'm trying to build a command that launches screen, creates four sessions with different names, and run four different commands. I know how to do this manually: 1. screen 2. ./command1 args 3. CTRL-...
0
votes
1answer
1k views

Starting program on boot with screen

Here is my script in init.d (Debian Linux) #! /bin/sh # /etc/init.d/blah # # Some things that run always touch /var/lock/McMyAdmin # Carry out specific functions when asked to by the system case "$...
2
votes
1answer
1k views

installing git version of gnu screen on a rh6 linux with no root permissions

How I would go about installing git version of gnu screen on a centos with no root permissions? I tried this: mkdir ~/work cd ~/work git clone git://git.savannah.gnu.org/screen.git cd screen/src ./...
3
votes
2answers
2k views

gnu screen: reordering windows like browser drag+drop tab reordering

I have 20 windows open in my screen session, and I would like to reorder the right-most window 20 to say, just between positions 9 and 10 like this: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ...
2
votes
1answer
263 views

Child processes remain after quitting screen

I'm seeing some strange screen behavior on OSX. When I quit screen, child processes are not killed. $ screen $ tail -f (or some long running process inside screen) Then, I kill the current screen ...
1
vote
2answers
611 views

vim : <c-a> occupied from tmux/screen

I use screen/tmux and vim. In vim, I can't use <c-a> for increment a number, <c-a> is occupied from screen/tmux. any suggestion for a simple map for increment a number ? I try with ...
6
votes
3answers
2k views

How can I run byobu from xterm at starting?

I set up byobu auto run with the command byobu-enable. It's great when I log in from terminal or ssh, but how can I make xterm attach to it automatically ? (mate-terminal from Linux mint especially)
1
vote
0answers
415 views

GNU screen and PID namespaces

I have GNU screen running in LXC container, thus having private PID namespace. I'm trying to attach to that screen from "outside" the namespace. Both screens share filesystem, thus are able to access ...
0
votes
1answer
179 views

How to reconnect a screen session every time terminal is fired?

I wrote this command to reconnect an active screen session when Terminator is opened. It works find but there has got to be a better way to to it This is goes in the Terminator config file (note ...
2
votes
4answers
969 views

Use gnu-screen and X instead of desktop environment?

I have a HTPC with Debian currently installed on. I would like to run applications which got a gui but without using a desktop environment such as gnome, kde etc. I was wondering if running X would ...
5
votes
3answers
3k views

Reattaching screen (having irssi running) forces window resize

Whenever I reattach to my detached screen (containing Irssi), my Putty screen is resized to something it has been at startup. If I change the window size after this, detach the screen and resize it ...
1
vote
2answers
1k views

Reopen screen session after connecting to server

Im working only in a screen session on my vps which runs all the time. When I connect to this server via ssh, I reattach this with a bash alias alias screenr='screen -r -d' What I want: Connecting ...
1
vote
0answers
127 views

Getting the screen to delete contents of less, man, etc. after “q” [duplicate]

Possible Duplicate: Using screen, commands like less and man don't clear the screen afterwards In bash without screen if I do a less or man and then type q to quit, the contents of the ...
3
votes
1answer
1k views

How to open two terminals side by side using `screen`

I use vim a lot. I can open two files side by side with -O option: $ vim -O hello.{h,cpp} Today I tried screen: `C-a |` => split terminal vertically. `C-a <tab>` => switch to the ...
1
vote
1answer
321 views

Reattaching to screen - Linux

We run several screen instances from one box, eg. : 27185.pts-53.CentOS-57-64-minimal (Detached) 27209.pts-53.CentOS-57-64-minimal (Detached) 27281.pts-53.CentOS-57-64-minimal (Detached)...
125
votes
3answers
53k views

Rename screen session

Is it possible to change the name of a GNU screen session? Say I called started it with "screen -S foo" and I want to rename it to bar.
2
votes
1answer
160 views

Screen “dies” whenever “ls” is executed

I'm running Screen 4.00.03 on my RHEL 5 server. Wheneven I open a new screen and execute ls the screen dies. This only happens in this server and not in other servers. What is causing this problem? ...
2
votes
1answer
2k views

Screen reattach: Cannot open your terminal

I am trying to use screen with another user than I logged in. The command is started with: sudo -u user /usr/bin/screen -A -m -d -S screen ./nice_command For reattaching I am using screen -x screen,...
2
votes
1answer
756 views

Move already running program into screen

Is it possible to have a already started program move to screen/tmux? I'd like to have something like the following: program; ^Z screen; fg; I know the above won't work, but is there a way to ...
0
votes
1answer
182 views

Using a script to control a process already running in screen

Due to Gnu Screen being hard to Google for, I've been having trouble finding an answer to this one. As a concrete (what are you trying to do) example: Running a server process (under linux) starts up ...
1
vote
1answer
113 views

How to determine if the client on an ssh connection is using screen

I have an odd predicament. I want to detect on the remote end of an ssh connection if the client is running the terminal inside a screen session. I want to set my prompt based on this. So far I have ...
3
votes
3answers
2k views

Keep GNU screen window open after program terminates?

The GNU Screen manual says: When a program terminates, screen (per default) kills the window that contained it. The (per default) suggests that you can change this option, so that a program ...
3
votes
2answers
535 views

GNU Screen: Combining split-regions and full-screen sessions

Let's say I have three sessions: 0, 1 and 2 I'm on session 0 and I press CTRL-A S to split the screen. Then I select session 1 for the bottom split region, while 0 is in the upper. Can I switch to ...
1
vote
2answers
1k views

How to re-enable function keys in byobu?

I was using byobu on Ubuntu 11.10 Server and I needed to hit a function key in an app, so I hit F9 to bring up the config menu and switched the keybinding set from "f-keys" to "screen-escape-keys". ...
1
vote
1answer
1k views

Scrolling in GNU Screen

I'm seeing something weird in GNU screen. When I use screen on my own Ubuntu 10.04 box, as I enter a bunch of lines in the shell, I can see my GNOME-terminal window gathering my scrollback, and I can ...
1
vote
0answers
97 views

GNU screen session dies when I open vim or vi

Sometimes it dies in the moment a file is opened. Sometimes it allows me to browse the same file and dies on tenth PageDown, for example. I set "term xterm" in .screenrc.
1
vote
1answer
1k views

Using fg with screen

I have a running job in a ssh terminal on an external server. I can pause it with CTRL + Z and resume it with fg. But I would like to pause it, run screen screen -S my_job and get it back in front ...
5
votes
1answer
3k views

Detach screen in screen?

I like to have a screen session set up with two windows side by side (Ctrl+A | key combo). The issue is that sometimes I need to run a server that starts a screen session in the foreground of one of ...
3
votes
2answers
10k views

How to list all users that have terminal sessions, including screen sessions?

I would like to have a list of all users that are active on my Linux system, including those who have running but detached screen sessions. The who command only shows me currently logged in users, but ...
3
votes
2answers
3k views

Is there an application like screen but for GUI applications?

I'm running few projects at the moment, I'd like to switch between them without closing and reopening all applications. Is there a way to do so with some screen-like application? Only way till now is ...
1
vote
1answer
1k views

How do I get the F9 menu in GNU screen on Mac OS X?

Using screen on Mac OSX 10.7.1. Already applied various hacky fixes to get the home and end keys to work, changed the command key to left control key - however now I find the F buttons all do silly ...
1
vote
2answers
2k views

byobu in ubuntu always attaches to the same session

It used to be when I ran byobu I would get a new session with a new socket and I could open multiple windows in that one. Now when I run it it concurrently attaches to the same one existing byobu ...
0
votes
1answer
2k views

GNU Screen: Setting the default baud rate

Does anyone know how to set the default baud rate for GNU Screen? Currently I explicitly specify the baud rate when I open screen like so: $ screen /dev/ttyUSB0 115200 115200 is a magic number, and ...
1
vote
0answers
141 views

How to use cursor keys with a modifier to switch buffers in GNU screen

I want to use cursor keys with a modifier like Ctrl to switch between screen buffers (e.g. C-a [arrow] or C-a C-[arrow]). So far I have tried settings like the ones below with no success. bind \...
1
vote
1answer
248 views

Vim “* and ”+ in screen

I recently started using screen, and I am enjoying it quite a bit. The problem is, when I run vim from within screen, I can no longer seem to access the + register. It used to be, I could say "+dd ...
1
vote
0answers
489 views

LINUX [UBUNTU]: screenlog.0 - modify path

I have a screen command like this: screen -A -h 1500 -m -dmS SKY-001 /home/SKY-users/SKY-001/./ ... I'd like to start the output logging and save the screenlog.0 file to /home/SKY-users/SKY-001. ...
4
votes
1answer
264 views

linux 'screen' command - lowers process priority if detached?

If I run a program within a screen session, and then detach the screen - does the program have lower scheduling priority?
1
vote
1answer
225 views

How to divide screen within a bash script

I have made a short bash script that gets xml data using curl and sends some (it's a chat, in fact) regarding its given arguments. So I can either run the following : watch --no-title myscript and ...
3
votes
1answer
653 views

Write special chars in hardstatus of GNU Screen

I want write the next specials chars to hardstatus of GNU Screen: "↑" (up arrow) and "↓" (down arrow), but it shows strange chars. How can I do this? More info: This worked to me before but I have ...