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)

0
votes
0answers
4 views

Run screen command with variable & tick through cron (cron run .sh)

I run screen command through cron, where the codes is in lorem.sh files. This is cron codes: * * * * * cd /home/z; ./lorem.sh Inside lorem.sh: screen -S screenname -X stuff $'\033[B' sleep 1 ...
0
votes
1answer
31 views

How to start several jobs in different screen sessions in a Bash-script?

The programm I want use can be started via ./myprogram < input_part1.txt > output_part1.txt How can I start four jobs of myporgram in a BASH-script where each job runs in a separate ...
0
votes
2answers
41 views

How to know when a job in screen finishes?

Is it possible to know if a script executed inside a screen session finished or not? The script can be seen by typing jobs and I would like to terminate the screen session when the script is finished. ...
0
votes
0answers
21 views

Zsh script cannot find screens

I have created a zsh script launching many screens in detached mode with particular names and running particular processes in them in order to automate some data analysis in high energy physics. ...
0
votes
0answers
33 views

Bash script for opening screens and compiling the same file

I have written a bash script to initiate separate screen sessions and run a command in each of them that compiles the same C++ source file in ROOT (an object-oriented data analysis framework ...
2
votes
0answers
80 views

How to write a shell script to run multiple command in different screen sessions?

My goal is to write a zsh script in order to create multiple screen sessions and run separate commands on each of them. I would also like to check at the beginning of my script if there are any ...
2
votes
1answer
27 views

How to disallow GNU screen from making change to my putty window title

Currently whenever I open a screen session from within PuTTY, the window title of the PuTTY window changes to "screen". I would like to prevent this from happening. Please let me know what is the ...
3
votes
1answer
27 views

Valid screen session names

With GNU screen (version 4), why is it that the following runs perfectly fine: $ screen -S some-name But if I try having a slash (/) in the session name, it gives me an error about multiuser ...
0
votes
1answer
15 views

“screen” process closes out of the blue [closed]

I spawned 4 screen processes with the following command (one after the other): screen ./"executeable" Logging back into the server I run the program on at a later time only showed 3 processes ...
2
votes
2answers
23 views

Why there are two sequential screen processes?

I have one computer running Debian Wheezy(screen version 4.01.00devel) and another one Debian Squeeze(screen version 4.00.03jw4) and under both of them screen automatically starts another process ...
2
votes
0answers
30 views

page up in gnu screen with Shift-PageUp

In the Linux terminal the key sequence Shift-PageUp can often be used to scroll up. However, this key sequence doesn't seem to work in gnu screen when ssh'ing to particular machines. I have two ...
0
votes
1answer
32 views

How can I automatically interrupt what I'm doing to input something?

As per Nick Winter's The Motivation Hacker, I want to measure my happiness. I know that I'm bad at remembering things or responding to reminders, so I'd like to set up a daemon that, at random ...
1
vote
1answer
26 views

Save views in multiple screen terminals

As I do in default single view screen terminal of ubuntu; gnome-terminal \ --tab-with-profile=Default --working-directory="some dir" --title="some title" \ --tab-with-profile=Default ...
2
votes
1answer
64 views

Ctrl-S doesn't work in rtorrent when accessed via screen. Can't start torrents

I run rtorrent remotely on a seedbox. When I log in with a web interface I'm able to start torrents, and when torrent files get dropped into my watched folder that works too. However, when I try to ...
2
votes
3answers
35 views

Setting regions in a Screen session

I'm trying to get a 'Screen' with 4 tabs to split the screen into 4 regions. I'm running 4 instances of bfgminer. One instance per USB Hardware miner. Unfortunately it has to be this way. So I'm ...
2
votes
1answer
97 views

Why does this script work on Ubuntu, and not Debian?

I run a simple minecraft server. I made a script awhile ago for Ubuntu that would automatically create a Gnu screen and start said server. I decided get a new server with debian instead. Now for some ...
1
vote
1answer
42 views

failed to stuff “ctrl-a H” to a screen session

I need to toggle logging from outside of a detached screen session. Interactively you do this by pressing ctrl-a H. Their octal codes are \001 and \110. (source) What I tried: $ screen -S test ...
1
vote
1answer
76 views

What triggers this screen prompt “Screen used by <username> on host01.”?

Every now and then some key combination clears my working (Gnu) screen and brings up this message: Screen used by <username> on host01 Password: What key combination causes this and what does ...
2
votes
1answer
69 views

Bash Script Display Remote Screen Session to User

I'm kind of new to bash scripting and I'm having trouble figuring out how to accomplish this. I'm working on a script that is designed to backup and manage a java application that runs within a ...
3
votes
3answers
341 views

How are “xterm” and “screen” related?

I am not quite sure if there is any subtle or wide differences between screen and xterm. I have used screen before and had it being described as kind of like a multiplexer and have tried xterm a few ...
1
vote
0answers
85 views

How to enable Control key combinations for GNU screen on putty?

I am accessing a linux box via ssh using putty. Key combinations work fine when I'm not running screen. However, Ctrl key combinations do not work under a screen session. In fact, a Ctrl-any key is ...
3
votes
2answers
147 views

How do I start a screen session using an upstart job with a non privileged user?

I have struggled with this problem for two days and have tried many things to fix it to no avail. I'm hoping you guys can help me out. I am trying to create an Upstart job that starts a new screen ...
0
votes
1answer
48 views

GNU Screen: how to start a bash process and execute a command within it?

I'm trying to set up a screenrc file that opens a few windows, and in one of them I'd like to start a shell and start vim within it (rather than starting vim directly). I've tried things along the ...
1
vote
2answers
34 views

Matrix Structure for screen rotation

I can set my screen rotation to inverted with: xrandr -o inverted xinput set-prop 'ELAN Touchscreen' 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1 and back to normal with: xrandr -o ...
0
votes
0answers
99 views

VT100 terminal emulation to use with a Java-based 8-bit computer emulator

I'm successfully using GNU Screen as serial terminal to "talk" to my Altair 8800 clone (http://altairclone.com/) using serial line. The command I use is: screen -istrip /dev/ttyUSB0 Screen does the ...
0
votes
2answers
41 views

No numlock in screen?

I am using a laptop and Putty on a Windows system. When I connect to my Debian Squeeze server in Bash environment, I can use the "Pos1/Home" or "End" (at the numlock part of the keyboard) to navigate ...
1
vote
1answer
51 views

Remove BS and ESC from Log files

Whenever I use the script command to record the keys I type or when I activate the logging mode in screen, all BS (Backspace) and ESC (Escape) key presses are also included in the file. e.g: cd ...
3
votes
0answers
84 views

Screen flickering (only on desktop) with Fedora 20, but why?

I'm using Fedora 20 and since I returned from the weekend, my screen flickers very fast. This occurs only on the desktop (excluding the menubar, with the fedora-menu and the clock, etc.) and the ...
3
votes
4answers
407 views

Keeping a process running on server even SSH is closed [duplicate]

I am running long program on server, which is basically Jar file of java program. I want to keep this program running even if SSH terminal is closed, how I can keep this program running on server?
0
votes
1answer
45 views

Set alias which doesn't send specified text? [closed]

EDIT I set a alias task in ~/.bashrc. The following: alias join="clear; screen -ls; screen -rx [<ID_OF_THE_RUNNING_SCREEN> quit]" If i the task join is executed, the following has to ...
1
vote
1answer
65 views

Set a screen session name at the command prompt

I am trying to create a simple alias that will allow me to create a new screen and set its name simple by typing newscreen {screenname} where {screenname} is set at the prompt. For example, I would ...
0
votes
0answers
184 views

Black screen after logged in. Xubuntu 12.10

Hi I'm a total noob in Linux/ubuntu. I had Xubuntu 12.10 running for a month or so without major problems. A few days ago after downgrad firefox from 29 to 28 by removing and reinstalling and ...
2
votes
1answer
47 views

script that calls a third party script that calls screen - how to start screen detached?

I have a script 'myscript.sh', that calls a vendor script 'vendorscript.sh'. The vendor script runs screen in the foreground. I would like to run the vendor script with screen detached. If possible ...
2
votes
2answers
151 views

Getting 256 colors to work in terminal multiplexer

tmux I followed Getting 256 colors to work in tmux: I have alias tmux='TERM=xterm-256color tmux' in ~/.bashrc and also set-option -g default-terminal "screen-256color" in ~/.tmux.conf In konsole: ...
1
vote
0answers
52 views

Linux Mint default physical screen before login

I currently have to do annoying things to log into Linux Mint 16 Petra. I have two screens: new, left, VGA old, right, DVI The mouse is trapped on the left screen and the login dialogue for mdm is ...
1
vote
1answer
43 views

how to debug/fix screen crashes on startup

(this is a question in reference to the OS X version of Gnu screen. I don't know if this makes any difference - and I guessed that Unix & Linux would have better screen-fu than Ask Different.) ...
1
vote
1answer
59 views

Combining local and remote terminal multiplexing

I use tmux regularly to easily handle multiple terminals on my local machine. Sometimes, I need to connect to a remote machine and start a script in one the terminals (i.e. a pane or window in tmux). ...
0
votes
1answer
77 views

GNU Screen: Creating new window with title specified

Is there a way of creating new window in GNU screen with title specified while creating the window itself. I know that I can create a new window and then set the title using ^A A but is there a way ...
3
votes
2answers
156 views

screenrc subshell for every window

.screenrc: shell -${SHELL} caption always "%n(%t) %= %{b}@%H[%l] : %{r}%c:%s" termcapinfo xterm ti@:te@ termcap xterm 'AF=\E[3%dm:AB=\E[4%dm' terminfo xterm 'AF=\E[3%p1%dm:AB=\E[4%p1%dm' ...
3
votes
1answer
134 views

Init script leaves thousands of defunct processes

My problem is that I have an init script that is generating thousands of defunct bash processes. My goal is to have a program called "fr24feed" in its own screen session on boot. After looking at ...
0
votes
1answer
33 views

Attaching a screen to a name

Okay for me to load a screen I have to do screen -r server Is there a way I can set it up so that can just be shown by the command: screen -x name
0
votes
1answer
45 views

I hit Ctrl+d while in a screen session, how do I now send commands?

I was trying to Ctrlad, and failed miserably and input Ctrld instead, now the screen won't respond to my commands. They appear, and the app running in the screen (a minecraft server) is still ticking ...
4
votes
1answer
62 views

How to see screen information at the top of terminal?

I once used a server where using the screen command gave me a colorful header which told me the name of the screen, the total number of screens, the runtime, cpu utilization and maybe some hotkeys to ...
2
votes
1answer
131 views

How do I fix this strange behavior with ssh, gnome terminal and gnu screen where function keys F1 through F4 are not accepted?

Here is what I am trying to do: open Gnome terminal launches with my command prompt ssh into work via VPN launch screen create two screen windows try to use F3 and F4 as "prev" and "next" with no ...
1
vote
2answers
137 views

Screen: Current directory in caption bar (not as title)

How can I show the current directory of the currently active session in a screen status bar (not as title of the session!)? I have tried with various combinations n,m={0,1} of backtick 102 n m pwd ...
0
votes
0answers
36 views

get information about screen windows

I run two scripts simultaneously within screen. screen is started by a script. I am working on a method for automatic window selection depending on the state of the scripts. This works (screen -S ...
2
votes
2answers
210 views

vim colors not automatically loaded (probable Vundle conflict)

I've been trying to port my Windows .vimrc to Linux, to use on the command line (on gnome-terminal). Everything works fine, except for the colorscheme. It looks like it's loaded (:colorscheme returns ...
0
votes
2answers
475 views

GNU screen status bar - how to make it display shell session names?

Let's say I have several shell "tabs" (or screens? sessions?) named bash1, bash2, etc. open in GNU screen. I want the status bar (i.e., the caption line) to display the names as "bash1 | bash2 | ..", ...
0
votes
0answers
109 views

Screen create/resume session, run command an detatch

I am trying to make a startup script for my Minecraft severs but I can't figure out how to: If the session "Server1" exists, run a command in it, if it doesn't, create the session and then run the ...
3
votes
3answers
426 views

Starting screen without welcome screen

Running screen I see this: How can I start screen directly, without this welcome screen?