Questions tagged [gnu-screen]
GNU Screen is a command line utility which allows the user to create multiple shell sessions on one connection. These sessions are decoupled from the primary connection and so maintain state for the user, even if the connection is dropped.
659
questions
1
vote
0
answers
100
views
Incorrect cyrillic symbols representation in the GNU screen program
I use screen program to run a game server on a VDS. Sometimes I need to see what happens in the game and open SSH session via Putty and then run screen -x ... as usual. Recently I faced with weird ...
1
vote
0
answers
150
views
Reattaching a screen in a crontab to wait until the screen closes returns "Must be connected to a terminal."
I use a bash script to backup a minecraft world, which is called from a crontab every day. Though the backups are made just fine, I've found an error message in the output:
Must be connected to a ...
1
vote
0
answers
383
views
Execute a command on screen termination
I have been using screen for a while, but the process I am running seems to terminate at times, closing the screen out. So I have to reopen the screen again.
I was wondering if it was possible to ...
1
vote
1
answer
1k
views
Is there a way to see all output in PuTTy using screen?
I have a linux server that is connected to my ec2 instance and I'm trying to do some debugging when I'm in screen. The issue I'm facing is that sometimes I get big long error messages that fill up ...
1
vote
0
answers
354
views
Some key bindings in `screen` do not work as expected
I recently installed screen for Raspbian Buster using bash and it doesn't seem to work completely.
I am able to create a new window using Ctrl+a c and flip between the windows. I can see the windows ...
1
vote
0
answers
17
views
How to make gnu-screen String Escape "W" use my special format?
The default %W will get this format
windowtitle windowname
For example
0 zsh 1 zsh
But i want to use this instead
[0][zsh]
1
vote
1
answer
402
views
Use .bashrc in a detached screen
So, I've got a bunch of export ... environment variable lines in my .bashrc, and I would like to call some programs (specifically Jupyter notebook) that need access from those notebooks from screen, ...
1
vote
1
answer
2k
views
Set terminal width in screen using PuTTY connection
I'm connecting from PuTTY on a Windows box to a RHEL server. I like to do my work in screen, and I like a terminal window that's wider than 80 characters.
I have my PuTTY terminal set to be 120 ...
1
vote
1
answer
324
views
GNU screen won't send control character from config file but will when set manually
My .screenrc has the following line:
escape ^Jj
However, I can't manage to send a literal ^J in a screen session based on this!
Version: Screen version 4.06.02 (GNU) 23-Oct-17
Host: Debian-based ...
1
vote
1
answer
557
views
How to detach instead of terminate a GNU Screen session inside xterm when pressing C-c?
On X startup the following is ran automatically:
xterm -e screen -rS app1
This opens up an xterm session and attaches the screen of app1, which was already running in a detached state.
What I'd ...
1
vote
1
answer
427
views
Running split command in GNU screen conflicts with split Unix utility
I am trying to run the command split from within GNU screen in order to create a new horizontal region. This command is instead interpreted as a call to the Unix split utility at /usr/bin/split for ...
1
vote
0
answers
215
views
Fonts are different in vim under byobu compared to vim under screen and normal terminal
The font shows different in vim under normal bash and vim under byobu. Attached is a screenshot.
This is the default byobu setting as soon as I do an apt install byobu.
However, the font looks normal ...
1
vote
0
answers
492
views
How do I prevent all terminals crashing in Mac OS Sierra?
I usually have multiple terminal windows open, with most of them either ssh'ed into an Ubuntu session or running emacs.
In one of the ssh sessions, I was reattaching a screen (the screen was running ...
1
vote
1
answer
713
views
VIM: visually selected text sometimes appears as underlined, not reversed
I am using vim under GNU screen via ssh on a remote machine.
When I visually select text, the text normally appears as reversed (highlighted) to indicate that it is selected.
However, after a while ...
1
vote
1
answer
819
views
Cannot type in screen session after C-a
Often when detaching from a gnu screen, using the ctrl-a+d command, I accidentally don't click the d (simply pressing ctrl-a), which prevents any kind of input or commands afterwards. Typing does not ...
1
vote
1
answer
458
views
How to change SYSIN and SYSOUT (curses mode) for a background process to another terminal session (screen utility)?
I currently run an background process started by a deamon process. It has no terminal and works fine as it doesn't have any screen i/o. It is started via a shell script which I can change. The shell ...
1
vote
1
answer
54
views
Launch consecutive commands in screen
I would like to launch cmd1 and cmd2 in the same screen instance. I want cmd2 to be launched only when cmd1 has completed. I have tried this:
screen -d -m ./cmd1.bash "$File" && ./cmd2.bash ...
1
vote
0
answers
193
views
SSHing gives me UTF-8, but using 'ssh -t' does not
I'm accessing my desktop machine using SSH to connect to a Screen session. If do this:
ssh -p 12345 111.11.111.111
screen -r "Jelly"
I have UTF-8 support working fine. However, if I do this:
ssh -p ...
1
vote
2
answers
179
views
Easily copy current command line in GNU-Screen
I want to copy the text command to copy in the current command line in a very fast way.
user@server:~/somepath$ command to copy
I know this way:
Use Ctrl+[ to enter copy mode,
Navigate by arrow ...
1
vote
0
answers
399
views
Running GNU Screen on Raspbian with vertival split spilling content
I am running Screen on a Raspberry Pi. My shell on the Pi is ZSH with OH-MY-ZSH. I have connected to the Pi via SSH from a Mac. When I run certain commands like HTOP or Vim the output spills over to ...
1
vote
1
answer
398
views
GNU Screen hangs in ConEmu
I just did an update of Cygwin on a Windows 7 box. When I open ConEmu to a Cygwin Bash terminal, everything seems fine. However, if I run GNU Screen, the terminal locks up until I forcibly kill ...
1
vote
1
answer
147
views
Backup MySQL, using Screen and Crontab
I'm trying to backup my database's table every day, using mysqldump, screen and crontab. If I run only mysqldump, it dumps correctly, but if I do it trough screen, the output file is blank.
Editing ...
1
vote
0
answers
133
views
GNU-Screen super-key as escape
The super-key (windows key, et al) isn't representable using ascii or terminal escape sequences, so I doubt a tty-oriented utility like screen would support it, but does it? Can I use the super-key ...
1
vote
1
answer
870
views
No notifications in irssi for new private messages
My problem is that I get no notifications in irssi when receiving a new message: whether that be a private message, or just a message from a chan which isn't my current window.
I use two different ...
1
vote
1
answer
1k
views
Running Cygwin Screen as a standalone program?
Would it be possible to separate Screen from Cygwin, and run it without running Cygwin first? If not, are there any alternatives to screen on Windows?
1
vote
1
answer
483
views
VIM + screen on remote (ssh) linux machine
The problem happens with my text in vim when I'm working inside of screen
this is my .screenrc file
defshell -bash
startup_message off
term screen-256color
and this is what I can see in my terminal (...
1
vote
1
answer
302
views
Play GNU screen terminal sessions and slow them down
I have some log files made with GNU screen which I would like to watch.
These use elinks and vim, it is not simple bash text.
If I use cat, it almost works save that it is too fast. Is there a way to ...
1
vote
1
answer
144
views
Follow current window in screen -x
Using screen -x (after connecting over ssh) from a second computer is a great way to follow what someone is doing in a terminal.
However, if the first person changes the screen window (C-a p or C-a ...
1
vote
1
answer
701
views
How to give each virtual terminal in GNU Screen it's own background color?
I have a dream: I want each virtual terminal within GNU Screen to have it's own unique background color.
I think I can fake it in an .bashrc script that emits xterm control codes to set background ...
1
vote
0
answers
590
views
Why when I run a program in a detached screen section it became very slow?
I am not so into Linux and I have the following situation related a strange behavior of the screen command.
The situation is the following one: one a RaspBerry Pi I have installed Raspbian (that is a ...
1
vote
1
answer
68
views
Auto Complete to Windows input queue from text on printed screen
I have a bin which output hostnames to stdout in following format (Usually, it is ~20 lines):
ldn0000000002;ldn0000000040;ldn00000000055;ldn0000000117;nyk0000000001;nyk0000000002;tky0000000001
Then ...
1
vote
0
answers
102
views
GNU screen lost encoding settings after detached and reattached
I set the defencoding and encoding in the .screenrc,
defencoding GBK
encoding GBK GBK
After I detached and reattached the session, the encoding settings don't work.
screen -r -d -S session
How ...
1
vote
1
answer
141
views
PATH not set in GNU Screen, OS X 10.9
I'm not a regular user of screen but every few weeks I use for some delicate tasks.
However yesterday when starting I was unable to execute any command (ls, ssh, mkdir), quick debugging revealed that ...
1
vote
0
answers
182
views
Running vncserver from screen
At work, we use VNC to run a graphical session on a remote Linux server from Windows-based client laptops (sigh). I have a laptop with a much lower resolution than the external monitor on my desk at ...
1
vote
0
answers
186
views
Emacs and Gnu Screen Causing Line Wrap Problems
I have gnuscreen on with multiple "tabs" open. Emacs is on tab 0.
When I tab to a different screen and return to Emacs, the lines do not wrap properly anymore. They blend into each other. If I have a ...
1
vote
0
answers
691
views
Autostart multiple screen sessions in Ubuntu Server
I recently set up a Newznab server on Ubuntu Server 12.04 (nothing illegal, just TV shows as I prefer to use XBMC instead of Tivo) and I'm having some trouble at the very final step.
I can run my ...
1
vote
3
answers
843
views
Is there a way to make GNU Screen not prompt for confirmation?
My googling only left me the clue that this was the case for old screen, and now the new screen prompts for confirmation (e.g. whenever I try to kill a window or exit out of screen) . Is there a ...
1
vote
0
answers
2k
views
How do you resize a split window in gnu screen to maximum?
While in gnu screen for linux, how do I resize the current window to full screen?
<ctrl-a> a :resize max
does not work.
1
vote
1
answer
66
views
In screen, close emacs window AND scroll up
When I use screen and I close an emacs window, the prompt remains at the bottom of the screen where than popping to where the prompt was before I opened emacs. How can I fix this? It only happens when ...
1
vote
1
answer
471
views
How to disable keyboard on a user using ssh?
I am trying to create an automated monitoring system that other people can see but cannot do commands.
I have a problem where the user is automatically connected to a screen where the monitoring is ...
1
vote
1
answer
2k
views
Why do I appear 3 times "logged in" in macosx? (zsh and screen)
I'm using the following options in order to launch a 'screen' session when I launch Terminal.app to my OSX Mountain Lion:
**~/.zshrc relevant option**
if [[ $STY = '' ]] then screen -UxR; fi # ...
1
vote
1
answer
394
views
Change GNOME terminal colours when running screen
I'm using GNOME Terminal on CentOS 5.
I have the terminal settings customized to use the colours I like. However when I run screen (or tmux) the colours for my terminal input lines are always ...
1
vote
1
answer
445
views
GNU Screen garbling bmon
bmon runs fine in a regular terminal, however, when run from inside screen the output is garbled and unusable. This problem doesn't affect all curses applications - top and htop run fine. bwm-ng runs ...
1
vote
0
answers
558
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 ...
1
vote
0
answers
137
views
Getting the screen to delete contents of less, man, etc. after "q" [duplicate]
Possible Duplicate:
Using screen, commands like less and man don't clear the screen afterwards
In bash without screen if I do a less or man and then type q to quit, the contents of the less ...
1
vote
1
answer
514
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 ...
1
vote
0
answers
136
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.
1
vote
0
answers
804
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.
Is ...
1
vote
0
answers
179
views
How to use cursor keys with a modifier to switch buffers in GNU screen
I want to use 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 success.
bind \...
1
vote
1
answer
215
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 07:...