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
2
votes
1 answer

Unable to have a Vim-like window-size-increase in Screen

I see alt text http://files.getdropbox.com/u/175564/screen-bigger.png where I have two windows open in Screen's split. I would like to increase the zise of the window at the bottom by Ctrl-A [number] + similarly as you can do in Vim. I did not find…
2
votes
2 answers

FreeBSD out of box Screen/TMUX functionality?

Does FreeBSD include capabilities out of box that are similar to Screen or TMUX? If so, what is the utility called? Update: I'd rather not use Screen due to it licensing. TMUX is BSD-3 clause, which is great. But if FreeBSD includes similar…
Jacob
  • 21
  • 2
2
votes
2 answers

Restart screen in screen session

Similarly to this question about restarting ssh when ssh is the only mode of connection to a server, what happens if I aptitude upgrade screen inside a screen session?
Cyrille
  • 123
  • 4
2
votes
3 answers

How can I run a batch of commands inside one "screen" window?

I'm using screen (LINUX) to run servers or task, but I want to put more than one task in one screen, is it impossible? Like: screen -A -m -d -S test_screen userdel -r user_test && useradd -m -p 'encrypt_pass' user_test How to change && because it…
altdovydas
  • 33
  • 3
2
votes
1 answer

run several bash scripts with expect code and leave them running

I have a bunch of several bash scripts that will perform some actions that require user input, therefore I'm using expect with it. However, I need one to keep running. But if I use expect, the expect command will wait while the script is running and…
Andreas Calvo
  • 21
  • 1
  • 2
2
votes
2 answers

xrvt/xterm flickers in Ubuntu when using screen

I have xrvt running with the screen command, but it flickers every time I press, say the right arrow key. (It flickers white). Any ideas as to why? Ps. Gnome terminal is hard to set up with 6x13 condensed bitmap fonts...
2
votes
1 answer

I cannot use screen stuff command from cron, but I can from a shell script (same user)

I have a shell script on FreeBSD that sends a few screen stuff commands to a running screen session (which runs a Minecraft server). The commands work when I execute it manually. But if I put the same script into the same user's crontab, it does…
SagaLhan
  • 21
  • 2
2
votes
3 answers

How can I return to nohup after logout?

I'm working on an AIX and cannot install screen but want to use its capabilities. Basically I want to be able to run a session (maybe logout), then the same user but logged in again to be able to get it back to the foreground. I send a job to the…
Vladimir
  • 179
  • 1
  • 1
  • 6
2
votes
2 answers

Send input to all screen windows

Is there a command in screen to replicate a command to every window? I'd like to send something such as 'reboot' to every window at once. Is this possible? I've seen talk about the 'at' command via screen, but I don't know if this is correct or not,…
Stefhen
  • 143
  • 2
  • 8
2
votes
4 answers

Should I update the kernel on a Linux machine?

As I understand it, updating to a new kernel (with the normal linux-image... package, not by rolling my own) requires a server restart. However, one of our servers (Ubuntu 10.04) is running several extensive screen sessions. Restarting kills those…
Christoph Wurm
  • 299
  • 2
  • 12
2
votes
3 answers

Lock down a linux system with screen

I need to lock down a system so that a group of individuals can log into the server via ssh. When they log into ssh I would like them to be presented with a screen session and locked down to that single application. This is so the application can…
Spectre
  • 21
  • 1
2
votes
2 answers

How can I force GNU Screen to flush its logfile?

I am using Screen like this: screen -L -dm -S session1 -c "./game_server -options" to wrap around game servers. I log their output to a file and can send them input with: screen -r session1 -p0 -X "stuff \"this into input^M\"" The timeout between…
Gipsy King
  • 123
  • 1
  • 5
2
votes
1 answer

Prevent Screen from creating sub shells

I'm running a Linux system that starts a custom text mode application from the .bashrc. The users are getting disconnected due to network dropouts. I had the idea that I'd use screen to allow them to get back to the prior session, but I like to make…
Walter
  • 1,057
  • 7
  • 14
2
votes
1 answer

checking on remote applications

I want to run and check on apps (like rtorrent) running on server via ssh. I'd prefer not to use background/foreground stuff. What I really want to do is have a screen session on this server all the time and attach/detach/reattach remotely, but…
devin
  • 1,246
  • 3
  • 20
  • 27
2
votes
1 answer

Screenrc Settings to get status of Remote Server

I frequently use ssh within screen to connect to a set of machines. It would be ideal to have the caption line show information about the server that I am ssh'd into (eg machinename, uptime and info from vmstat). I noticed that the backtick screen…
User1
  • 2,486
  • 5
  • 20
  • 21