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
1answer
10 views

ssh from screen leads to unknown terminal error

I' making ssh connection (via lsh) from one ubuntu host to another from within screen. If I try to run 'mc' right after that I got following error: Unknown terminal: screen-256color-s Check the TERM ...
0
votes
0answers
10 views

How to get back my splitted screen after I lost connection

I was executing the screen command with a splitted window in my CentOS server then I lost connection to it. I reconnected to my server and I did screen -r to get my screen back but now I don't see ...
1
vote
1answer
14 views

Filter screenlog with screen command

Pressing Ctrl+A, H, lets me log output of the screen command. However, the output file is too large. Is it possible to apply a grep-like filter so that I can control what gets logged? For example, I ...
1
vote
1answer
27 views

Escape sequences for function keys (F1-F12), especially F11 and F12

I want to use the terminal multiplexer byobu, so I need to use the function keys (F1-F12). However, I am accessing a remote machine via SSH, so I need to send function keys over SSH. (I'm running ...
0
votes
0answers
13 views

How to print screen command output

Running a screen cmd in my tcl scrpit. I would like to print the output to screen coomand in my log book file. is there any option to print the output in log file ? My command is send_unix_cmd ...
0
votes
1answer
13 views

JAR file terminates unexpectedly without error

I have a JAR file that I'm running in a screen session using java -jar <myjarfile> and for some reason it stops running at unexpected times. I'm redirecting both the StdErr and StdOut to ...
1
vote
1answer
30 views

ttyUSB0 serial port crashes and locks, requires computer reset

I posted this question on stack overflow already but after looking up similar questions I realized this is a much better place for it (and it only got 8 views after 10 hours on a Sunday). If necessary ...
0
votes
0answers
22 views

Black screen trying to install CentOS 6

I've got a windows 8.1 Acer Laptop and I'm trying to put CentOS 6 on it as a dual boot set up. The laptop doesn't have a CD drive. I've already partitioned my hard drive. I've used Unetbootin to put ...
4
votes
1answer
48 views

Screen: can I execute commands and split the window when starting screen?

I use the screen command on several servers, where I monitor several log files. I arrange the log files to my preferences with several splits and by naming the regions. Sometimes the server gets ...
2
votes
1answer
32 views

screen: ‘-S sessionname’ vs. ‘-t name’

What's the difference between screen -S <sessionname> and screen -t <name>? It seems that both assign a name to the newly created screen, which can be reattached using this name.
1
vote
0answers
19 views

GNU Screen window rename nuisance

I like to pop up a screen session with pre-opened SSH connections to the primary servers that I administrate at the office. I give these windows each a very brief name, typically 2-4 characters, so ...
1
vote
0answers
19 views

Capturing screen of “perf top” or other interactive programs

I'm trying to write a script to capture output of perf top Similar to top, perf top detects the screen size and fill information to the screen. But sadly unlike top which has a batch mode, perf does ...
1
vote
1answer
16 views

Screen bind key requires extra Enter (RET) key

I was playing around with GNU Screen's configuration and put the following configuration in ~/.screenrc: bind l eval 'exec ls' So, now when I type C-a l, it runs ls under the current directory. ...
1
vote
1answer
49 views

Issue Using Crontab to Create/Restart Screen and Run Command

I want to have a certain script (rails rake task) running on my server at all times - it basically populates my DB using a live feed. I can create a screen (http://linux.die.net/man/1/screen) and run ...
0
votes
0answers
41 views

Issues with Screen - Running Minecraft in a while loop through a screen session

So two days ago I changed my startup scripts for my minecraft server. Problem is, after about 3 hours, the screen for it that I was monitoring "mc" vanished and refuses to list when using -ls. The ...
1
vote
2answers
55 views

Show output of a command run inside screen if it exits with errors

I am using the screen command for starting server running in foreground. But in case there is an error when starting server I am not able to see the output of command. I have to run it again without ...
0
votes
1answer
30 views

zsh alias with linefeeds, commas and quotes

In my zshrc I have an alias like this: alias sl='screen -list' It fits my need (seeing what screens I have running), but the output is rather ugly: [pts/7]~% sl There are screens on: ...
0
votes
2answers
48 views

How to set tmux terminfo to screen-256color? [duplicate]

If I do not use tmux my terminal is the following: ~$ echo $TERM xterm If I use tmux by adding the following into .bashr # tmux configuration tmux attach &> /dev/null if [[ ! $TERM =~ ...
2
votes
2answers
33 views

Replace screen process from within screen

I have configured my shell to exec screen when it starts, unless it's already running within a screen session. So in a TTY, the process tree will look like something like this: ...
1
vote
0answers
97 views

Can screen add nl (new-line) for each (carriage-return)

Edited: I have data acquisition hardware that sends out serial data via UART into FTDI (serial to USB) device. The FTDI is plugged into USB port and its port name is /dev/ttyUSB0. This device ...
3
votes
1answer
41 views

What is screen's “Multi display mode”?

screen's man page mentions a "Multi display mode" at one place: -x Attach to a not detached screen session. (Multi display mode). It's the only place where "Multi display mode" is mentioned. ...
0
votes
1answer
59 views

Where can I find the screenlog.0 file?

I have to run some scripts in a screen and I used the C-a H command to record the output to a screenlog.0 file when I press the shortcut keys the message is Logfile "screenlog.O" closed. But if I try ...
2
votes
1answer
30 views

GNU Screen - any way to remove password when detached?

Protecting a GNU screen session with a password is good security. However, how does one remove the password if you need to share a session with a colleague? I tried the following to clear it and got ...
3
votes
1answer
56 views

How can I add the session name to my screen status display?

This is my current .screenrc files which is mostly copied from the link in the code #First iteration 2014-09-06, not quite sure of stuff to add # got a fancy hardstatus line noted below hardstatus on ...
2
votes
0answers
55 views

screen command not showing status bar

I have a ~/.screenrc file that contains the following lines: # 2.2) hardstatus = navigation bar @ bottom hardstatus alwayslastline "%H %-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<" I have to admit ...
2
votes
0answers
51 views

screen with urxvt keybindings

I promise I've been searching thoroughly for an answer... So, my goal is to emulate the standard urxvt "tabbed" behaviour with screen keybinds, i.e. map three keybinds and that's ctrl+left (prev), ...
0
votes
1answer
57 views

What happens to screen session over ssh when connection is lost? [closed]

I ssh to a remote computer, and create a screen session there. Then I lose the internet connection. When I ssh again to the computer, I want to see if the created screen session is still there, so I ...
3
votes
1answer
155 views

Change the parent process of a process?

Is it possible to change the parent process of a process? If yes, how? For example, how does screen manage to attach a screen session and the processes running inside it to different shell ...
0
votes
2answers
28 views

Start Screen session when background programs running [duplicate]

I have Matlab running in a Linux session for almost 2 days, and afraid to lose the computations if my network connection fails. Will moving Matlab to the background and starting 'screen' be the answer ...
0
votes
0answers
32 views

Trying to attach to a screen kills the terminal

I was trying to attach to a screen session on a remote computer, with screen -r, but my terminal got killed (I was trying to attach and see what it is, because I did not remember creating it). Now ...
4
votes
3answers
685 views

How can I resume a screen that I did not manage to detach?

I use the screen Screen visual consoles. To detach a screen I need to press Ctrl+A followed by D but some time a session is closed without detaching it. It appears as (Attached) on screen -list: ...
2
votes
1answer
64 views

Screenshot of a window in a detached or remote screen

Is there a way to take a "screenshot" of linux screen command. In other words can "screen -r" command to be called with the same behaviour as "top -b -n 1" - print contents once and exit. Background ...
2
votes
0answers
29 views

Screens die even though process is still running

I have a problem with running an irssi in a screen session on a tomato usb router setup. Screen reports session as dead, even though the process is still running (both for screen and irssi) Screen ...
1
vote
1answer
42 views

GNU Screen switch to different window

I have these in my .screenrc file: screen -t ghci 0 screen -t bash 1 screen -t dev 4 Now, I put these in my my .screenrc file to split them: split -v focus Now I want to switch to the window ...
1
vote
1answer
68 views

What software is lock or lck

Which software provides /usr/bin/lock or /local/bin/lck ? The manual says that GNU Screen will call a screenlock program. But I don't have them in my system. Also my $LOCKPRG is empty. So is there ...
0
votes
0answers
18 views

GNU screen - prompt position is not at the top in full screen mode (PuTTY)

when I use screen (in combination with PuTTY), the prompt doesn’t jump to the top position of the terminal when switching to full screen mode. When I start screen, the prompt is in the first line as ...
0
votes
0answers
15 views

how to determine which terminal tag page is in a specific virtual screen

I opened several terminal tag pages, and ssh into the remote machine on these terminal tag pages. I'm using Ubuntu. I used screen command to open several screens on a remote machine and use Ctrl+A+D ...
1
vote
1answer
32 views

Convert screen command for tmux

Is anyone familiar with how to run programs from crontab in tmux instead of a screen session? For instance what would be the command line equivalent of this: @reboot cd /home/morggin/mcserver ...
1
vote
1answer
94 views

there are screens in the list, but “no screen to be resumed”

When I type screen -r I expect to either see: A list of screens to resume, or a message "There is no screen to be resumed." Today, I see there is one screen, but I still get the message that there is ...
0
votes
0answers
155 views

tmux / screen ctrl+arrow (left right) doesn't work on SSH

I've configured tmux to skip words on Ctrl+right / left : set-window-option -g xterm-keys on It works just fine, but as I do SSH, it doesn't work and prints ;5D or ;5C.. The same issue occurred ...
1
vote
1answer
59 views

How to tell screen session to regenerate its socket?

Note: the situation described here is completely different from this one. I have a couple of still-attached screen sessions, but screen -list produces % screen -list No Sockets found in ...
1
vote
0answers
38 views

GNU screen split: how to show active pane in caption

I am using GNU screen with a horizontal split, but it is not always easy to decide which pane is active (e.g. when using a program like top in one of the panes). Is it possible to change the color of ...
0
votes
1answer
62 views

Nano Editor over Screen in Terminal isn't fullscreen

When I connect to a device using Screen in terminal, if I open Nano text-editor it only takes up a fraction of the screen. How do I make it fullscreen?
3
votes
1answer
54 views

Identify in which screen instance a process is running

A process listening on port 8113 (Solr) is not responding. I've found its PID via netstat but the server has about two dozen Solr process running in various screen sessions. 3607.foobar-client2 ...
1
vote
1answer
70 views

terminate screen monitoring serial port

I'm using screen /dev/tty-MyDevice to look at traffic on my serial port. Pressing Ctrl+D doesn't cause the screen to terminate. How do I terminate it? Thanks
2
votes
2answers
318 views

Why pressing Ctrl-h in xterm + tmux sends “^?”?

xterm: $ echo $TERM xterm-256color $ stty -a speed 38400 baud; rows 52; columns 91; line = 0; intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = ...
0
votes
0answers
298 views

Establish communication between Arduino Mega & Linux Terminal in Ubuntu 14.10

I am failing regularly in establishing syncing between my arduino mega(/dev/ttyACM0) and the terminal. Even I thought of establishing output using GNU Screen utility. The terminal just hangs for ...
2
votes
3answers
33 views

Copy a rectengular block into primary selection from within screen session

If you are on a remote machine in a screen session you can Enter the "copy-mode" by Ctrl+a+ESC and then use Space and the arrow keys to do a normal selection. Now you can use a small c to set the ...
0
votes
1answer
68 views

Problem connecting with Beagleboard through serial?

I'm trying to connect to a BeagleBoard on Ubuntu using a Serial-to-USB adapter. It is currently being recognized as ttyUSB0 on our system. When I run "screen /dev/ttyUSB0 115200" the output just says ...
1
vote
3answers
152 views

Running background process with screen command in xshell

screen command is a nice program for us to run process background, but I found Ctrl + a w do not show screen windows list in xshell(Xmanager component) and Ctrl + a k do not kill this screen terminal ...