Links: GNU screen main site - for downloads and documentation. Nice introductory article from kuro5hin.org, GNU Screen: an introduction and beginner's tutorial Introduction to using the scrollback buffer for copy and paste within screen
0
votes
1answer
15 views
gnu screen losing DISPLAY connection
I ssh tunnel into a remote desktop running Ubuntu via a terminal - and use gnu screen
to do my work there. I have enabled X11 forwarding in my ssh config for the use
of X11 applications launched from ...
0
votes
0answers
16 views
How to goto other end of highlighted text in copy-mode of tmux?
In GNU screen copy mode, I can type o to goto other end of highlighted text.
How to do it in tmux?
2
votes
1answer
19 views
GNU Screen prepending dollar signs to window titles
I recently copied my .screenrc from one computer (Mac OSX 10.4) to another computer (Fedora 16)
Now, on the Fedora computer, there is a $ prepended to all the window titles.
Here is my hardstatus ...
0
votes
2answers
54 views
tmux chain keyboard shortcuts, or equivalent for screen's `bind -c` + `command -c`
One nice feature of screen is its ability to assign keyboard shortcuts to groups called "classes". With bind -c, you could assign that shortcuts to a particular class, and binding command -c ...
4
votes
3answers
271 views
Byobu versus gnu screen versus tmux
So far I have used konsole to manage multiple shell sessions but it seems that byobu, gnu screen, and tmux offer a better support for multiple shells. I have never used neither of them before. One of ...
1
vote
1answer
40 views
Linux gnu screen - run commands immediately when screen starts?
In my .screenrc file, I have this line to open one screen window:
screen -t "normal"
And this line to open another window and run top:
screen -t "top" top
Those work just fine so I wanted to ...
3
votes
1answer
75 views
Is there a tmux version of screen's zombie mode?
screen has a feature called Zombie Mode, which makes it so that when the process of a screen (window or pane, in tmux terminology) dies, the window doesn't close - it just stays there until restarted, ...
2
votes
0answers
33 views
gnu screen - Copying text between windows
Is it possible to paste text copied in a paste buffer to a different window with some keybinding, without having to leave the current window? I.e., instead of going to the window and doing a Ctr-a + ...
1
vote
0answers
26 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, ...
1
vote
1answer
94 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
102 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 ...
1
vote
1answer
84 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" ...
0
votes
1answer
296 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
1answer
76 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?
1
vote
1answer
57 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 ...
1
vote
1answer
118 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
...
1
vote
3answers
100 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 ...
3
votes
2answers
245 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
106 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 ...
2
votes
4answers
146 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 ...
1
vote
2answers
132 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
1answer
70 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 ...
1
vote
1answer
541 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.
0
votes
1answer
53 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
61 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 ...
0
votes
3answers
211 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 ...
0
votes
1answer
140 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
42 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.
0
votes
2answers
203 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 ...
0
votes
1answer
198 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
57 views
How to use cursor keys to switch buffers in GNU screen
I want to use cursor keys or 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 ...
1
vote
0answers
103 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.
...
3
votes
1answer
69 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?
2
votes
1answer
151 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 ...
2
votes
1answer
163 views
gnu-screen: Automatically run script when attach/detach session
I would like to have bash script run by screen every time when i attach (start.sh) or detach (end.sh) session.
Is there any way to configure screen to do that?
1
vote
1answer
55 views
How to disable input translation for some keys in GNU Screen?
I have Ctrl-Left and Ctrl-Right bound for vim, and would like to be able to use these shortcuts when vim runs inside screen.
However, because of Screen's input translation my key presses are mangled ...
5
votes
2answers
146 views
Can I name GNU screen sessions?
I use multiple sessions for different things. One for work, one for school work and one each project I'm working on. It gets really hard to keep track of the sessions when screen -ls returns
...
2
votes
2answers
115 views
Screen does not appear in list when using sudo
While under root user (printed by whoami), execution of
sh -c "screen -d -m -S testscreen sh -c \"echo asd; echo qwe\""
creates a screen with two lines output, which can be reattached via screen -r ...
0
votes
1answer
83 views
Launch process in new window, whether GNU screen session exists or not
I'm having a bit of trouble with GNU's screen. What I want to do is this (from cron):
If a screen session named cron exists, add a new window to the session and launch a process in it (but do not ...
1
vote
1answer
79 views
gnu screen - how to highlight searched text
While doing a reverse text search via " C-a[? search_string",
I have to keep pressing 'n' to figure out
occurrences of 'search_string'.
Is there a configuration in GNU screen that can hihglight ...
0
votes
1answer
293 views
GNU screen, vim, and urxvt with 256 colours. gnu
I have defined
urxvt*color0: #000000
urxvt*color8: #777777
in my $HOME/.Xdefault. Using vim (console not gvim), this gives me a light grey for strings in bash scripts when I use urxvt. ...
0
votes
1answer
47 views
Reattaching GNU Screen session name with a common prefix
I have 2 screens with session names test1 and test19.
When I try to reattach to test1 by typing
screen -r test1
Gnu Screen cannot tell the difference and pops up
27082.test19 (08/10/2011 ...
1
vote
2answers
89 views
screen -x ignore utf8
I use screen and I use utf8 with this in my ~/.screenrc
# utf-8
encoding utf8 utf8
defencoding utf8
ok.
But, when I reopen screen with
screen -x
screen don't show the utf8 characters
EDIT
I ...
2
votes
1answer
101 views
Launch program automatically with screen/byobu using an alias
My screen starup commands look like:
screen alias1
screen alias2
alias1 is an alias pointing to command1 alias2 is an alias pointing to command2. alias1 and command1 share the same name. alias2 and ...
4
votes
2answers
55 views
A “view-only” mode in `screen`?
One of my favorite modes for screen is using the -x option, wherein multiple users can connect-to the same session (great for team troubleshooting and training purposes).
However, it would be really ...
1
vote
2answers
323 views
Run 'screen -RD' automatically after connecting from PuTTY
I would like to have PuTTY automatically run screen -RD when I log in, however I would like if possible, for this to be either configured as part of PuTTY, or for the server to identify when a PuTTY ...
3
votes
1answer
275 views
Mac Gnu-Screen doesn't load default .bash_profile
I have a bunch of custom settings in my bash_profile. when I use gnu-screen, I realized that my screens do not execute source /Users/disappearedng/.bash_profile. I try to put source ...
1
vote
1answer
110 views
GNU Screen: Visual indication of copy mode
When I enable copy mode in a window, I see "Copy mode ..." in the bottom line of the terminal. I configure screen to show the list of windows on the bottom. Now, when I switch to another window and ...
2
votes
3answers
274 views
Running emacs inside screen
I have a screenrc file but I am finding some conflicts when I run emacs inside screen. For e.g, moving across buffers in emacs, Ctrl-right arrow/left arrow, instead of moving back and forth sends ...
0
votes
2answers
196 views
I would like to write a shell script/rc file that automates GNU Screen splits and starts programs within them
I would like to automate a scenario when I am working on a rails project, and I think screen is the perfect way to accomplish this without having to drag and drop multiple windows after every startup ...