Questions tagged [gnu-screen]

GNU Screen is a software application that can be used to multiplex several virtual consoles.

GNU Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.

310 questions
8
votes
2 answers

When using vim with screen the keys ctrl + right and ctrl + left don't work

In the last days i became very addicted of using the combination terminator (in full screen) + screen + vim. But i'm having problems with the ctrl + right and ctrl + left key mappings, they are erasing text instead of jumping words. I already…
Dimas Kotvan
  • 241
  • 3
  • 7
7
votes
1 answer

screen causes "tail -F | grep" to echo unmatched lines

This is Ubuntu (3.13.0-29-generic #53), trying to do a simple bash script to monitor a log file for matching lines. If I do the following, there is no output in the bash shell except for matches, which is expected: tail -F server.log | grep…
Dale Mahalko
  • 755
  • 1
  • 6
  • 17
7
votes
5 answers

Linux: Connect to another a terminal session

I can use screen or tmux to connect to other terminal sessions, or to share them. But this work only when we first know we will use them. As root can access everything, is there a way to do the same thing without running screen ? Some pipes through…
Bertrand SCHITS
  • 2,922
  • 1
  • 13
  • 15
7
votes
1 answer

Exiting copy / scrollback mode upon detach in byobu / screen

I've discovered that if I go into "copy mode" or "scrollback mode" in a byobu screen, detach from it and leave it running, the buffer will fill up and eventually block the process I'm running in the screen. (Presumably because the process is…
aioobe
  • 371
  • 1
  • 4
  • 16
7
votes
2 answers

GNU screen clearing on vim,less,etc. exit

I'm very new to screen but have configured my ~/.screenrc file according to various recommendations I've found on the internet. I have one issue with it though which I'm sure could be resolved very easily; I think it's a termcap setting..? After…
Alex Leach
  • 1,697
  • 3
  • 16
  • 18
7
votes
2 answers

Password for GNU screen lockscreen command?

I have set a password for screen sessions in my .screenrc. It works great, any time I need to re-attach to a screen session I need to enter the password. There is another feature where you can lockout the current terminal (ctrl+a, x). This is a…
bawkstoo
  • 93
  • 1
  • 5
7
votes
4 answers

GNU screen display + from putty

Does anyone here know how to get the +-*/ on the numerical keypad to work in GNU screen from putty? Numbers work fine but not the operators. The / seems to be bind to rename the current shell or maybe start a new shell. My host OS is ubuntu 9.04…
Buzzzz
  • 205
  • 2
  • 6
6
votes
4 answers

GNU screen loses (parts of) command histories

I use GNU screen with 5 different sessions, each of which stores its own command history. But often I don't find a command in the history, although I'm sure I've used it exactly in the session I'm currently in, a few weeks ago. It seems there is a…
user9474
  • 2,448
  • 2
  • 25
  • 26
6
votes
1 answer

Obtain hardcopy from a screen session

I have a job launched in a screen session which is expected to run for several hours. From time to time I'm requested to check if job is still running and guess at wich % of work is. Guess if it is working or not is as simple as perform a ps -fu…
alphamikevictor
  • 1,062
  • 6
  • 19
6
votes
2 answers

Cygwin Screen and SSH: Utmp slot not found -> not removed

When I use screen on my computer and detach, I am taken back to the command prompt and everything is fine. However, if I SSH into my computer remotely and use screen, when I try to detach I get the error Utmp slot not found -> not removed. It then…
rwolst
  • 161
  • 5
6
votes
1 answer

nohup vs screen vs ? for manually starting daemon processes

When I need to start a background process on a low-importance server, I tend to use nohup: nohup ./server.sh & Most colleagues seem to prefer screen: screen -D -R mydaemon ./mydaemon.sh ^A ^D Are there any major differences in the effect of these…
Steve Bennett
  • 5,750
  • 12
  • 47
  • 59
6
votes
3 answers

using screen in another user with su

So, if i do this: su -c 'screen -dmS screenname script to run' - user to run as It won't work. The screen command is working if excecuted from root, so there is no problem there. If I do: su - user screen I get: Cannot open your terminal…
totokaka
  • 202
  • 2
  • 8
6
votes
2 answers

GNU screen, how to get current sessionname programmatically

[ This can be considered step 2 of my previous question Is it possible to change GNU screen session name after created? ] Actually, I'd like to write a script that can display current screen session name and change current session name. For…
Jimm Chen
  • 1,749
  • 5
  • 18
  • 32
6
votes
2 answers

Right aligning text in GNU Screen caption or hardstatusline

I have this in my .screenrc caption always "%{= Kw} [%0c] %-Lw%{= KW}[%50>%n%f* %t]%{= Kw}%+Lw%=| %l | ${FULLHOST}" It normally displays something like this: [01:06] 0$ vim 1$ top 2-$ tail [3$* ~] | 0.26 0.54 0.36 |…
Alex J
  • 2,844
  • 2
  • 23
  • 24
6
votes
4 answers

Can I create and manipulate unix "screens" in a script?

I have a work environment on my Ubuntu laptop in which I want to use three different screens. Eg. in terminal, I usually write screen -S mywork run_server_1 then, ctrl-a c to create a second screen run_server_2 etc. I'd like to write a script to…
interstar
  • 1,281
  • 4
  • 18
  • 23