screen (GNU Screen) is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). For computer monitors, see the tag /monitors.

learn more… | top users | synonyms (1)

2
votes
1answer
620 views

How to move window in GNU Screen

I have a window called 'Codes' in window 1, and I want to move it to window 7, is it possible?
14
votes
4answers
24k views

How to split window vertically in GNU Screen?

I saw some body split their window to 2x2, I just want to know how to do that? I know the 'split' command in Screen can only split the window horizontally.
5
votes
1answer
1k views

GNU screen color and pine

I use GNU screen to run pine mail reader. I use external aspell to do spellchecking for the e-mails I sent. The problem is that when aspell finishes, pine restores the old content of the terminal, but ...
6
votes
4answers
7k views

tabs when using 'screen'

I am using Ubuntu 10.04. After I installed screen: sudo apt-get install screen I made two ssh connections to two remote servers by doing the following things step by step (I do the following steps ...
7
votes
1answer
661 views

Screen cuts off beginning of long command when accessed through bash history

I'm using the default versions of bash and screen in OS X Lion. When I'm in a screen session and I scroll back through the bash history and I come to a command that is long enough to wrap. I might ...
1
vote
2answers
301 views

screen : automatic creating or reattaching sessions in different configurations

What's clean way to achieve, following functionality: function screen_create_or_reuse(){ if [ running_screen_session "$1" ]; then reattach_screen_session screen_name_"$1" else ...
1
vote
1answer
452 views

After screen Reattaching, previous bash broken

After I reattach screen session : screen -DR already_attached_session My previous terminal is broken with broken bash: [remote power detached] Warning: Program '/bin/bash' crashed. I can not ...
7
votes
2answers
22k views

Increasing Screen Size/Resolution on a VirtualBox Instance of Centos

I have VirtualBox instance of Centos 5. The screen size is quite small (800*600) and I'd like to increase it to 1280*1080. Under the Gnome preferences for "Screen Resolution" I only get the option for ...
7
votes
3answers
4k views

nohup vs. Screen

In the past, I've used nohup to run big background jobs, but I've noticed that a lot of people use Screen in this context. Does Screen provide some kind of functional advantage that I am unaware of, ...
1
vote
2answers
106 views

How can I change the default action of C-a in screen to just a backtick `?

I tried something like escape ^` But that did not do it? I just want to change the default ctrl-a behavior. Also, is it possible to bind each numeric key (1, 2, 3, 4, 5) to change those specific ...
1
vote
1answer
256 views

Keep screen ratio while maximizing mplayer

I have a movie with a 1024x576 resolution while my screen resolution is 1280x800. How can I keep the ratio of 1024/576 while MPlayer is stretched to the whole screen?
9
votes
1answer
858 views

Why am I getting 'Name collision between …' errors and how can I fix them?

Every time I try to launch vim or emacs or even top (I think it's actually any command that uses ncurses) in a unix terminal (on a cluster computer over ssh), I get a a continuous stream of 'Name ...
4
votes
2answers
706 views

Screen: Resuming most recent screen? Making selection easier?

I have a couple of questions regarding screen: When I type screen -r, I get the following: There are several suitable screens on: 25154.tracks (Detached) 29278.mywork (Detached) ...
2
votes
2answers
324 views

Is it possible to detach a process started from one ssh session using another ssh session? [duplicate]

Possible Duplicate: How can I disown it a running process and associate it to a new screen shell? I started a process from one ssh session to a target machine T. The system from which I ...
1
vote
0answers
124 views

Getting better resolution on OpenSolaris.2009.06?

I am running OpenSolaris.2009.06 on Dell PowerEdge T410 server (x86 machine). It has Matrox G200 video card. Currently I am getting a maximum of 1024 * 800 screen resolution. There is no xorg.conf ...
7
votes
1answer
1k views

How do I highlight a search result in tmux?

When I search a terminal window in tmux, it sets the cursor the keyword search, but doesn't highlight the matching word. Screen used to do this, and it was much easier to visually find a match. ...
1
vote
2answers
1k views

How can I automatically run a script inside screen if the script is not in $PATH

I have a scenario where I need to cd into a directory before running a script: cd repos; python script.py But it should be setup such that it automatically runs when screen is started. So in ...
6
votes
2answers
274 views

Concatenate two screen sessions

Because of some server issues I ended up with two screen sessions, each with a few windows. I have long-running tasks in both sessions and don’t want to abort one of them just to get rid of one of the ...
3
votes
1answer
2k views

Showing GNU screen session name and window title in shell prompt

Is there a way to present the GNU Screen session name and window title in the prompt of the shell (let us say, the Bash prompt defined by PS1)?
3
votes
1answer
572 views

'Cannot open display' on restored GNU screen session

Using debian unstable with Gnome 3 but I think this has always happened. If I log out and then log back in again it seems the X session is restarted or in some way changed. In any case, when I start ...
5
votes
2answers
663 views

Lock a byobu session with password?

I used to leave my byobu sessions detached on a server. I want to lock the session to prevent other users (root account) accessing my session. Is this possible?
2
votes
1answer
4k views

Linux Mint Change Screen Resolution

I installed Linux mint 10.I have nvidia geforce 9500 GT.After installing nvidia-current package,my screen resolution become 800*600.There is no 1024*768 in Monitors menu. Running inxi -Gx shows, ...
3
votes
3answers
4k views

Killing multiple GNU screen sessions with the same name

Sometimes my script bugs out and multiple screen sessions with the same name get created. Is there a way to kill all of these with this name in one command? Rx:/scripts# screen -S haydoz-script -X ...
4
votes
2answers
2k views

Convert gnu screen status line to tmux status line

I am using the following screen status line, configured in my screenrc: I configured it using the following line: hardstatus alwayslastline hardstatus string '%{= kG}[ %{G}%H %{g}][%= ...
6
votes
1answer
871 views

Is there a way to show previous messages in screen?

When I use screen I can only see the current data on the terminal (commands, messages, etc.). Is there a way, apart from printing anything I want to a file, to see the previous messages (the same ...
1
vote
1answer
190 views

Return Carriage not working (Screen)

When I execute the command screen -S myscreen -X stuff $'search add $1 \015' from a shell it works perfectly. If I put it in a .sh file and run it as sh /test.sh variablehere it sends it to screen as ...
3
votes
1answer
488 views

How can I have screen transmit an audible bell produced in a background window?

I managed to replace the audible bell by a visual clue in the active window, but for background windows, can I get an audible bell instead of a visual notification ?
3
votes
1answer
638 views

Change screen “hardstatus” color dynamically

I show the hard-disk free space in hardstatus screen. But also I want change the color of this value when it's less than a value to alert me. I have done a script that it checks this and it returns a ...
2
votes
1answer
281 views

Cron & Gnu Screen - Trouble with detached screen [duplicate]

Possible Duplicate: sending text input to a detached screen I have a script for my Minecraft server that runs automatically every 15 minutes. The problem is that after a server reboot, ...
24
votes
4answers
6k views

Can mouse wheel scrolling work in a /usr/bin/screen session?

Is there any way to use the mouse wheel to scroll through the output of a screen session? I can use the keypad scroll through previous output in screen after pressing ctrl+a [. Is it possible to do ...
11
votes
2answers
12k views

How can I switch between ttys without using screen?

So lets say you boot up your linux install all the way to the desktop. You start up a gnome-terminal/konsole/whatever so you have a tty to enter commands to. Now lets say I SSH into that same ...
1
vote
1answer
437 views

How to resume multiple instances of Screen from command line with minimal steps?

I have about 15 instances of screen running on my linux server. They are each running processes I need to monitor. I had to close terminal (hence the reason I launched screen). Is there a way to ...
4
votes
1answer
906 views

How to run streamripper and mplayer in a split-screen X terminal, via a single script

I want to run streamripper in its own X Terminal (window), then split the terminal horizontally, and then run mplayer in the lower half. This is simple enough to do manually, but getting a script to ...
1
vote
2answers
517 views

Adjusting Screen Size on Ubuntu Virtualbox

When running Ubuntu as a Vitualbox guest, with a Windows 7 64-bit machine as host, how can I maximize the screen so it fills up the whole monitor?
10
votes
2answers
752 views

Prevent GNU Screen from closing

Is there any way to make GNU Screen not close if I end all its subprocesses? Ideally, it would create a new window running a shell if I accidentally closed the last window.
2
votes
1answer
95 views

Configuring screen, window problems

I Have recently started configuring "screen", I have included my .screenrc below. I have a problem that if windows 0 & 1 (containing bash) are idle for about 10 mins they will close only leaving ...
84
votes
5answers
24k views

Moving tmux window to pane

How do I move an existing window into a pane in another window in tmux when I have multiple windows, and vice versa? I'm coming from screen, where I can switch to the pane and then switch windows ...
7
votes
1answer
2k views

GNU screen: move between regions

I've started splitting window in GNU screen into different regions - rather than switching between windows. Anyway, having split a window into 4 regions (2x2) it takes 3 C-a <Tab> to return ...
11
votes
3answers
10k views

sending text input to a detached screen

I'm trying to run a minecraft server on my unRAID server. The server will run in the shell, and then sit there waiting for input. To stop it, I need to type 'stop' and press enter, and then it'll ...
4
votes
2answers
411 views

What are the virtues of multitasking with traditional job control vs Tmux/Screen?

tmux and screen let you run different processes (e.g. vim, a bash script, mysql, psql, etc) in different virtual windows. But traditional Unix job control (using CTRL-z, fg, bg, and jobs) seem to give ...
4
votes
2answers
2k views

Is there a way to run 'screen' in read-only mode?

I'd like to be able to check progress and output of my existing screen sessions, but in a read-only manner, so as to prevent something from going wrong due to user error. Is there a way to do this?
1
vote
4answers
1k views

How to prevent a program from dying when its ssh session dies?

I have a really old console application that I want to make a bit more resilient. The program is used this way: the user uses a custom terminal emulator to connect to a remote machine through ssh ...
2
votes
2answers
274 views

Divorced input line in GNU Screen

Is it possible to divorce my input from the overall shell using Screen? What I'm aiming for is akin to a status line that expands if I type more than would fit within a single line and is ...
14
votes
2answers
7k views

How to get the output inside `screen` out to a script?

I have a screen instance running, and I would need to execute some code inside the screen, and get the result out to my script. The first part is quite easy, I just screen -S session_name -X eval ...
3
votes
2answers
909 views

Working with screen and emacs

I'm working with emacs (on the terminal) and I use screen to switch between terminals. The key combination Ctrl+A is grabbed by screen. Is there a way to change screen key binding?
5
votes
5answers
3k views

Setting a name for a screen session

Is there a way to give a particular name to a unix screen session? For instance, say I'm running the same program multiple times, each with different parameters and I want to tell which one is which.
4
votes
2answers
1k views

Screen session running as root? (it shouldn't be) node.js

cd /serv screen -R node {in the screen} node test.js C^a d initially, ls -l /dev/pts total 0 crw--w---- 1 tick-tock tty 136, 0 2011-04-19 16:41 0 crw--w---- 1 tick-tock tty 136, ...
4
votes
2answers
1k views

Terminal and web browser combination

I often use only two applications, terminal and web browser. I like the tmux application which enables to split a terminal window into more regions. I noticed that I can open lynx in another region ...
1
vote
3answers
1k views

How do i execute a remote script with 'screens'?

I need to execute a script locally. The problem is, it needs to use screen and send the ctrl d command. How would i do this? The script will be on my local windows machine. i can use winscp, putty, ...
3
votes
1answer
947 views

Screen status bar multiple lines

I am using screen with several tabs open to separate my projects between them. However, when I open too many tabs they just appear off screen and I can no longer see them in my "screen status bar". I ...