Screen … It let you have multiple virtual windows in one physical terminal session, and very necessary to use if you are compiling remotely and your internet connection is not reliable.
1) Download latest RPM
1 |
http://www.rpmfind.net/linux/rpm2html/search.php?query=screen |
2) Install screen dependencies
1 |
#yum -y install ncurses-devel texinfo pam-devel libtool |
3) Install screen
1 2 |
#rpmbuild --rebuild screen-4.0.2-5.src.rpm #rpm -ivh /usr/src/redhat/RPMS/i386/screen-4.0.2-5.src.rpm |
4) Show screen
1 |
#screen -ls |
5)Create Screen Session
1 |
#screen |
6) Create Screen Virtual window
1 |
press ctrl+a,c |
7) Change between Screens
1 2 3 4 5 |
press ctrl+a, 0 Session 0 press ctrl+a, 1 Session 1 press ctrl+a, 2 Session 2 |
8 ) To resume a Screen session
1 |
#screen -r session name |
The download link wasn’t working but #yum install screen worked like a charm.
Why not use “yum install screen” ?