Screen is a terminal multiplexor that runs several separate processes, typically interactive shells, on a single physical character-based terminal. Each virtual terminal emulates a DEC VT100 plus several ANSI X3.64 and ISO 2022 functions and also provides configurable input and output translation, serial port support, configurable logging, multi-user support, and many character encodings, including UTF-8. Screen sessions can be detached and resumed later on a different terminal.
This package is known to build and work properly using an LFS-7.4 platform.
Download (HTTP): http://ftp.uni-erlangen.de/pub/utilities/screen/screen-4.0.3.tar.gz
Download (FTP): ftp://ftp.uni-erlangen.de/pub/utilities/screen/screen-4.0.3.tar.gz
Download MD5 sum: 8506fd205028a96c741e4037de6e3c42
Download size: 821 KB
Estimated disk space required: 5.8 MB
Estimated build time: 0.2 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/screen
Install Screen by running the following commands:
./configure --prefix=/usr \ --with-socket-dir=/var/run/screen \ --with-pty-group=5 \ --with-sys-screenrc=/etc/screenrc && sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* && make
This package does not come with a test suite.
Now, as the root
user:
make install && install -m 644 etc/etcscreenrc /etc/screenrc
--with-socket-dir=/var/run/screen
:
This option places the per-user sockets in a standard location.
--with-sys-screenrc=/etc/screenrc
:
This option places the global screenrc file in /etc
.
--with-pty-group=5
: This
option sets the gid to the value used by LFS.
Older versions of LFS use the value 4 for the tty group. If you are using LFS version 7.1 or older, change the pty-group option to 4.
sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/*: This command corrects the configuration and documentation files to the location that is used here for the global screenrc file.
You may want to look at the example configuration file that was installed and customize it for your needs.
Last updated on 2013-09-05 09:23:52 -0700