Difference between revisions of "Screen"
(→Introduction to Screen) |
|||
Line 9: | Line 9: | ||
== Introduction to Screen == | == Introduction to Screen == | ||
− | + | Screen provides you with an ANSI/vt100 terminal emulator, which can multiplex up to 10 pseudo-terminals. On startup, it executes $SHELL in window 0. Then it reads ~/.screenrc to learn configuration, keybindings, and possibly open more windows. | |
== Dependencies == | == Dependencies == | ||
Line 20: | Line 20: | ||
Compile the package: | Compile the package: | ||
− | ./configure --prefix=/usr --with-socket-dir=/var/run/screen \ | + | ./configure --prefix=/usr \ |
+ | --with-socket-dir=/var/run/screen \ | ||
--with-sys-screenrc=/etc/screenrc && | --with-sys-screenrc=/etc/screenrc && | ||
− | sed -i | + | sed -i "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* && |
make | make | ||
Line 44: | Line 45: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD32}" ./configure --prefix=/usr --with-socket-dir=/var/run/screen \ | + | CC="gcc ${BUILD32}" ./configure --prefix=/usr \ |
+ | --with-socket-dir=/var/run/screen \ | ||
--with-sys-screenrc=/etc/screenrc && | --with-sys-screenrc=/etc/screenrc && | ||
− | sed -i | + | sed -i "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* && |
make | make | ||
Line 58: | Line 60: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILDN32}" ./configure --prefix=/usr --with-socket-dir=/var/run/screen \ | + | CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ |
+ | --with-socket-dir=/var/run/screen \ | ||
--with-sys-screenrc=/etc/screenrc && | --with-sys-screenrc=/etc/screenrc && | ||
− | sed -i | + | sed -i "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* && |
make | make | ||
Line 72: | Line 75: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD64}" ./configure --prefix=/usr --with-socket-dir=/var/run/screen \ | + | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ |
+ | --with-socket-dir=/var/run/screen \ | ||
--with-sys-screenrc=/etc/screenrc && | --with-sys-screenrc=/etc/screenrc && | ||
− | sed -i | + | sed -i "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* && |
make | make | ||
Revision as of 14:26, 1 March 2007
Download Source: | http://ftp.gnu.org/pub/gnu/screen/screen-4.0.3.tar.gz |
---|
Contents
Introduction to Screen
Screen provides you with an ANSI/vt100 terminal emulator, which can multiplex up to 10 pseudo-terminals. On startup, it executes $SHELL in window 0. Then it reads ~/.screenrc to learn configuration, keybindings, and possibly open more windows.
Dependencies
Optional
Non-Multilib
Compile the package:
./configure --prefix=/usr \ --with-socket-dir=/var/run/screen \ --with-sys-screenrc=/etc/screenrc && sed -i "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* && make
Install the package
make install
Command Explanations
--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.
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.
Multilib
This package does not provide any libraries so only one installation is needed.
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr \ --with-socket-dir=/var/run/screen \ --with-sys-screenrc=/etc/screenrc && sed -i "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* && make
Install the package
make install && install -m 644 etc/etcscreenrc /etc/screenrc
N32
Compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ --with-socket-dir=/var/run/screen \ --with-sys-screenrc=/etc/screenrc && sed -i "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* && make
Install the package
make install && install -m 644 etc/etcscreenrc /etc/screenrc
64Bit
Compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr \ --with-socket-dir=/var/run/screen \ --with-sys-screenrc=/etc/screenrc && sed -i "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* && make
Install the package
make install && install -m 644 etc/etcscreenrc /etc/screenrc
Contents
Installed Programs: | screen |
---|---|
Installed Libraries: | None |
Installed Directories: | /var/run/screen |
Short Descriptions
screen | is a terminal multiplexor with VT100/ANSI terminal emulation. |
---|