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)

4
votes
1answer
1k views

Cannot set up screen panning in Ubuntu with xRandR which states that it cannot find the modes

I am using a Samsung n150 netbook with a 10.1 inch screen and it has a maximum screen resolution of 1024x600. I am running Ubuntu 10.04 LTS and want to enable screen panning for a larger virtual ...
3
votes
2answers
510 views

Resuming screen with UTF8 enabled breaks character input

Overview of UTF8 screen re-attachment issues. Problem: Creating a screen that uses UTF8 works perfectly until re-attaching said screen session. Steps: ssh remothost screen -U -S ttytter [detach ...
3
votes
4answers
3k views

Leave remote command running storing output

Scenario; I have SSH'ed to a machine, opened a new screen session, and fired off a script. Some days later I SSH back to that machine, re-attach the screen session and look at the output that has ...
4
votes
1answer
277 views

How do you bypass or skip the intro message when starting screen?

When I start screen, I get a message giving the version, copyright, and bug-reporting email address. I don't want to see this every time I start screen. Searching the man page didn't seem to result ...
4
votes
1answer
900 views

byobu configuration menu is missing options

I've used byobu on servers in the past (with byobu version 3.4) but I recently installed CentOS 6.2 and installed byobu 5.15 from the tarball. Most byobu-config menus have options to change ...
6
votes
4answers
3k views

Is there a tmux equivalent of “screen -D -R”

I would like to know if there is a way to get tmux to behave like screen -D -R so I could say, have the command as a default command in Putty. These screen switches would force detach of an existing ...
4
votes
2answers
1k views

Buffer overrun on Fedora 16 serial

I got a brain smashing problem with Fedora 16 and my serial port. I use the serial to monitor an STB on which I'm developping. The STB runs on Linux and when booted, I launch the program I'm working ...
0
votes
1answer
410 views

Setting LS_COLORS and in a GNU Screen

Is there a way to set a GNU Screen LS_COLORS to that of the default non-screen terminal window? Is there .screenrc or .screen_profile, I don't understand what happens when a GNU Screen is ...
2
votes
2answers
306 views

GNU Screen and Emacs

I upgraded recently to OpenSuSE 12.1 from 11.3 and now when I open any files in emacs from inside a screen session, I get a blank buffer. Let's say I open it as: emacs myFile.txt it will open to an ...
0
votes
2answers
229 views

Why doesn't Alpine's viewer command work within GNU screen and how can I fix it?

The title pretty much says it all. When I run the viewer command in alpine from within GNU screen it tells me "viewer command completed" but it doesn't actually bring up Lynx (or any other viewer). I ...
1
vote
2answers
539 views

Move to the beginning of a line in screen [duplicate]

Possible Duplicate: Shell: how to go to the beginning of line when you are inside a screen? Normally to get to the beginning of a line in a terminal the command is Ctrl+a. While using GNU ...
2
votes
1answer
2k views

What's the difference between a screen being attached and detached?

[blah]$ screen -ls There are screens on: 16517.pts-0.blah (01/28/2012 01:55:32 PM) (Detached) 4345.pts-1.blah (01/27/2012 11:22:48 AM) (Attached) 2 Sockets in ...
5
votes
1answer
4k views

how to resize horizontally a screen region

I am using screen to split my terminals but I would like to be able to resize the horizontal dimension of the split screens. If I do C-a :resize 10 I only change the vertical dimension to 10 lines. ...
3
votes
0answers
135 views

What do you use to manage your shell history? [duplicate]

Possible Duplicate: Preserve bash history in multiple terminal windows Can I easily search my history across many screen windows? I rely on my shell history a lot, I use Ctrlr and arrow ...
21
votes
3answers
6k views

Shell: how to go to the beginning of line when you are inside a screen?

I am inside a screen (screen -Ra). I have a long command, and I am at the end. Instead of keeping the left arrow, how can you go to the beginning of the line? CTRL-A works when I am in a normal ...
2
votes
3answers
871 views

console vim in screen session: remap Ctrl-Shift-Left, Ctrl-Shift-Right to not delete lines

I have my gvim setup so that I can select word-wise with Ctrl-Shift-Right, Ctrl-Shift-Left etc. (yes, I know it's a bad habit, but it works for me..). Unfortunately, these key combinations delete ...
3
votes
1answer
481 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)
26
votes
1answer
28k views

How to recover a 'lost' screen session?

Somehow I managed to close a screen window without screen 'noticing' it, so the session is still flagged as attached. This prevents me from re-attaching to this session. What can I do? ...
5
votes
2answers
3k views

Screen status bar to display current directory for zsh/bash shell

I use GNU screen a lot with zsh as my shell. It would be a nice feature (I think) to be able to display the current directory name (not the full path) as the tab title. I can do that with CTRL+A ...
0
votes
1answer
678 views

Disable screen outputting “[screen is terminating]”

How do I disable the output when you are done with a screen from the screen command? Example: function foo() { echo "Testing..." sleep 2 echo "Done!" } export -f foo screen -q bash -c ...
4
votes
2answers
2k views

How to rename a gnu screen session

I am running a screen session and I'd like to change it's name. I know that when starting a new screen session I can use the '-S' option to give it a name. How do I change that name once the session ...
1
vote
0answers
271 views

how to focus different `regions`(Ctrl-a S) via mouse-click in `screen`?

When I start vim in a screen session, and activate the mouse: :set mouse=a the mouse remains disabled. I cannot switch tabs via mouse click. How can I configure screen so that mouse support in vim ...
2
votes
1answer
684 views

.ssh/config way to spectify pseudo-tty allocation and command execution (like screen)

Is there any way to specify, in .ssh/config, a command like: ssh -t remote-host "screen -dR screen_name" so I can easily access the remote screen session with ssh remote-host? Right now I solved ...
5
votes
2answers
367 views

How to do block selection in `screen`

In vim, there's a CtrlV to do block selection. How can I do it in screen?
10
votes
2answers
3k views

Force GNU screen to reflow to current terminal width on reattach?

I would like to force GNU screen to reflow to the existing terminal width when I reattach a session. It seems to me this worked properly before I upgraded a machine to CentOS 6, but I cannot figure ...
2
votes
1answer
560 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?
12
votes
4answers
22k 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
6k 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
619 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
300 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
434 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 ...
6
votes
2answers
21k 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
105 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
246 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
825 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
689 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
319 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 ...
6
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
258 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
554 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
631 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
834 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 ...