GNU Screen

From Wikipedia, the free encyclopedia
(Redirected from Gnu screen)
GNU Screen
Original author(s)Oliver Laumann, Carsten Bormann
Developer(s)Amadeusz Sławiński, Alexander Naumov and the GNU Project
Initial release1987; 37 years ago (1987)
Stable release
4.9.1[1] Edit this on Wikidata / 17 August 2023
Preview releaseNone [±]
Repository
Written inC
Operating systemUnix-like
TypeTerminal multiplexer
LicenseGPL-3.0-or-later
Websitewww.gnu.org/software/screen/

GNU Screen is a terminal multiplexer, a software application that can be used to multiplex several virtual consoles, allowing a user to access multiple separate login sessions inside a single terminal window, or detach and reattach sessions from a terminal. It is useful for dealing with multiple programs from a command line interface, and for separating programs from the session of the Unix shell that started the program, particularly so a remote process continues running even when the user is disconnected.

Released under the terms of version 3 or later of the GNU General Public License, GNU Screen is free software.

Features[edit]

GNU Screen can be thought of as a text version of graphical window managers, or as a way of putting virtual terminals into any login session. It is a wrapper that allows multiple text programs to run at the same time, and provides features that allow the user to use the programs within a single interface productively. This enables the following features: persistence, multiple windows, and session sharing.

Screen is often used when a network connection to the terminal is unreliable, as a dropped network connection typically terminates all programs the user was running (child processes of the login session), due to the session ending and sending a "hangup" signal (SIGHUP) to all the child processes. Running the applications under screen means that the session does not terminate – only the now-defunct terminal gets detached – so applications don't even know the terminal has detached, and allows the user to reattach the session later and continue working from where they left off.

Example of working with the GNU Screen

History[edit]

Screen was originally designed by Oliver Laumann and Carsten Bormann at the Technical University of Berlin and published in 1987.[2][3]

Design criteria included VT100 emulation (including ANSI X3.64 (ISO 6429) and ISO 2022) and reasonable performance for heavy daily use when character-based terminals were still common. Later, the at-the-time novel feature of disconnection/reattachment was added.

Around 1990, Laumann handed over maintenance of the code to Jürgen Weigert and Michael Schroeder at the University of Erlangen–Nuremberg, who later moved the project to the GNU Project and added features such as scrollback, split-screen, copy-and-paste, and screen sharing.[4]

By 2014, development had slowed to a crawl. Wanting to change this, Amadeusz Sławiński volunteered to help. In response, Laumann granted him maintainership. Sławiński proceeded to put out the first new Screen release in half a decade. Because there were some unofficial "Screen 4.1" releases floating around the Internet, he called this new release "Screen 4.2.0".

In May 2015, on openSUSE Conference, Jürgen Weigert invited Alexander Naumov to help to develop and maintain GNU screen. Two months later with Alex's help GNU screen 4.3.0 was released.

See also[edit]

  • xpra, a tool to run X Window System applications on one machine, disconnect them from that machine's display, then reconnect them to another machine's display.
  • Byobu, a frontend for GNU Screen or tmux
  • tmux, an ISC-licensed terminal multiplexer with a feature set similar to GNU Screen

Further reading[edit]

References[edit]

  • Martin Streicher (10 Feb 2009) Speaking UNIX: Stayin' alive with Screen, IBM DeveloperWorks
  • Philip J. Hollenback (22 Aug 2006) Using screen for remote interaction, Linux.com
  • Adam Lazur (January 2003) Power Sessions with Screen, Linux Journal, issue 105
  • William Von Hagen, Brian K. Jones, Linux server hacks, Volume 2, O'Reilly Media, 2005, ISBN 0-596-10082-5, pp. 155–157 (Hack #34)
  • Carl Albing, J. P. Vossen, Cameron Newham, Bash cookbook, O'Reilly Media, 2007, ISBN 0-596-52678-4, pp. 415–418
  • Dru Lavigne, BSD hacks, O'Reilly Media, 2004, ISBN 0-596-00679-9, pp. 44–48 (Hack #12)
  • Noah Gift, Jeremy Jones, Python for Unix and Linux system administration, O'Reilly Germany, 2008, ISBN 0-596-51582-0, pp. 300–301
  • Paul Mutton, IRC hacks, O'Reilly Media, 2004, ISBN 0-596-00687-X, pp. 345–349 (Hack #92)

Notes[edit]

  1. ^ Alex Naumov (17 August 2023). "GNU Screen v.4.9.1". Retrieved 18 August 2023.
  2. ^ "BSD screen manager -- Part 1 of 2 - (nf)". Newsgroupnet.sources. 20 Mar 1987. Retrieved 15 May 2017.
  3. ^ "BSD screen manager -- Part 2 of 2 - (nf)". Newsgroupnet.sources. 20 Mar 1987. Retrieved 15 May 2017.
  4. ^ screen ftp

External links[edit]