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
1
vote
1 answer

screen is not detached

I have a script and use the following command in it: screen -dmS name bash -c "ls -1 > out" What I am trying to achieve is to create a screen session, run a command and detach from it. The command above is working fine, except for the screen…
Andrew
  • 1,104
  • 6
  • 21
  • 37
1
vote
1 answer

FreeBSD aliased user identification and GNU screen

The situation is the following. I have FreeBSD user M, which is an alias for root, i.e., its UID equals to 0. I have a daemon started as M (as a shell for an autologin console, if it matters). The daemon should start screen non-interactively. And…
1
vote
1 answer

Reconnect to screen and preserve splits

Is it possible to reconnect to a disconnected screen session and preserve the screen splits?
Matt
  • 1,142
  • 1
  • 12
  • 32
1
vote
2 answers

Disable clear at start of screen via .screenrc?

Is there any way to disable the behavior of gnu-screen, of issuing a clear at startup? I'm using screen merely as a backstop, so that if disconnected, the session isn't HUP'ed. And I've got my shell (bash) config'd to "exec screen -A" on login, so…
mvgfr
  • 11
  • 4
1
vote
1 answer

embedded linux serial terminal

I have built a custom embedded system using debian 6.0. using /etc/inittab i have made several (8) processes running on different /dev/ttyX terminals, which i can switch between using Alt+FX key combination. the thing is using this setup i need to…
aliz
  • 11
  • 1
1
vote
2 answers

confusion in attaching detaching screen on Ubuntu

screen -list shows There are screens on: 9531.pts-0.ubuntu (03/02/2011 12:43:34 PM) (Detached) 2101.pts-0.ubuntu (03/02/2011 12:39:17 PM) (Attached) 2219.pts-0.ubuntu (03/02/2011 11:20:56 AM) (Attached) 3 Sockets in…
Registered User
  • 1,463
  • 5
  • 18
  • 37
1
vote
1 answer

Some keys not working under screen in vim

When using vim under screen, some keys are not working. Namely, Pressing Alt-Left produces '3D' and Alt-Right produces '3C' Also, pressing Up/Down when scrolling list of files in Command-T plugin produces 'A' and 'B' respectively. When I exit the…
Art
  • 297
  • 4
  • 12
1
vote
1 answer

Howto get exit code of a script started in screen session

I am currently creating a backup script which uses screen to start a backup job with rsync inside a screen session. The backup jobs are started as follows. screen -dmS backup /usr/bin/rsync ... As soon as the rsync job is finished, the screen…
Bettina
  • 11
  • 1
  • 2
1
vote
2 answers

GNU Screen: opening each screen buffer in a separate terminal tab

I'm looking for a Linux terminal that is fully integrated with GNU Screen, i.e. mapping each screen buffer to a separate tab and with full scrollback support - all that inside a SSH session. Is this currently possible?
lzm
  • 111
  • 1
1
vote
5 answers

Using screen to monitor non-interactive scripts (or some other solution)

I have some autonomous scripts that run commands on remote machines over ssh. These scripts rely on getting stdout, stderr, and the return code of each command run. I want to be able to monitor the progress of the scripts on each target machine so…
Michael
  • 11
  • 2
1
vote
2 answers

Centos start script for 'screen'?

I have a program that runs in the foreground so I run it via a 'screen'. Is there a good start/stop/restart template for 'screen'? I need it to pass the commands to the screen and create it if it doesn't exist.
Will
  • 257
  • 4
  • 19
1
vote
1 answer

Destroy a dead window in Screen

I know I can kill the current window using C-k, however it doesn't work for a dead window. Is there anyway to kill it? Thank you. C-a C-k (kill) Destroy current window.
garconcn
  • 2,388
  • 8
  • 35
  • 46
1
vote
2 answers

Getting a custom .bashrc available in ssh session

Currently, we have quite a lot of shared ssh logins to various servers, and my colleagues wouldn't like it if I fiddled with the default shell to much. I do however have quite a list of aliases and custom functions in my .bashrc that I'd like to…
Wrikken
  • 981
  • 9
  • 22
1
vote
1 answer

screen not setting $TERM to screen

I have a problem with gnu screen. Computer 1: open terminal $ printenv TERM xterm-color $ screen $ printenv TERM screen Computer 2: open terminal $ printenv TERM xterm-color $ screen $ printenv TERM xterm-color Both computers are running Mac OS X…
gdelfino
  • 95
  • 1
  • 9
1
vote
1 answer

screen -Amds screenname /patch/to/script.sh don't work only on debian

I have a problem with screen software, when I try to start screen with options screen -Amds screenname /patc/to/script.sh - nothing happens, it's a problem only on Debian system. On CentOS and FreeBSD - everything is OK (other OS I don't use, and…
user43925
  • 11
  • 2