Summary: A screen manager that supports multiple logins on one terminal. Name: screen Version: 3.9.8 Release: 3 License: GPL Group: Applications/System Source0: ftp://ftp.uni-erlangen.de/pub/utilities/screen/screen-%{version}.tar.gz Patch0: screen-3.7.6-compat21.patch Patch1: screen-3.9.4-makeinfo.patch Patch2: screen-3.9.8-osdef.patch Patch4: screen-3.9.5-jbj.patch Patch5: screen-ia64.patch Patch7: screen-3.9.5-docbugs.patch Patch8: screen-3.9.5-deletehack.patch Patch9: screen-3.9.5-closealldocbug.patch Patch10: screen-3.9.8-select.patch Prefix: %{_prefix} Prereq: /sbin/install-info BuildRoot: /var/tmp/%{name}-root %description The screen utility allows you to have multiple logins on just one terminal. Screen is useful for users who telnet into a machine or are connected via a dumb terminal, but want to use more than just one login. Install the screen package if you need a screen manager that can support multiple logins on one terminal. %prep %setup -q %patch0 -p1 -b .compat21 %patch1 -p1 -b .makeinfo %patch2 -p0 %patch4 -p1 -b .jbj %patch5 -p1 -b .ia64 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %build autoconf %configure perl -pi -e 's|.*#.*PTYMODE.*|#define PTYMODE 0620|' config.h perl -pi -e 's|.*#.*PTYGROUP.*|#define PTYGROUP 5|' config.h perl -pi -e 's|.*#undef HAVE_BRAILLE.*|#define HAVE_BRAILLE 1|' config.h perl -pi -e 's|.*#undef BUILTIN_TELNET.*|#define BUILTIN_TELNET 1|' config.h perl -pi -e 's|%{_prefix}/etc/screenrc|/etc/screenrc|' config.h perl -pi -e 's|/usr/local/etc/screenrc|/etc/screenrc|' etc/etcscreenrc doc/* perl -pi -e 's|/local/etc/screenrc|/etc/screenrc|' doc/* rm doc/screen.info* make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc/skel %makeinstall ( cd $RPM_BUILD_ROOT gzip -9nf .%{_infodir}/screen.info* strip .%{_bindir}/screen rm -f .%{_bindir}/screen.old .%{_bindir}/screen mv .%{_bindir}/screen-%{version} .%{_bindir}/screen ) install -c -m 0444 etc/etcscreenrc $RPM_BUILD_ROOT/etc/screenrc install -c -m 0644 etc/screenrc $RPM_BUILD_ROOT/etc/skel/.screenrc %clean rm -rf $RPM_BUILD_ROOT %post /sbin/install-info %{_infodir}/screen.info.gz %{_infodir}/dir --entry="* screen: (screen). Terminal multiplexer." if [ -d /tmp/screens ]; then # we're not setuid root anymore chmod 777 /tmp/screens fi %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/screen.info.gz %{_infodir}/dir --entry="* screen: (screen). Terminal multiplexer." fi %files %defattr(-,root,root) %doc NEWS README FAQ doc/README.DOTSCREEN %attr(755,root,root) %{_bindir}/screen %{_mandir}/man1/screen.* %{_infodir}/screen.info* %config /etc/screenrc %config /etc/skel/.screenrc %changelog * Tue Feb 13 2001 Florian La Roche - fix configure.in to use correct code to check for select() * Wed Jan 10 2001 Tim Waugh - Rebuild, which will hopefully fix bug #22537 * Sun Oct 01 2000 Florian La Roche - update to 3.9.8 - change the .jbj patch and add some more "user" -> "auser" cases * Thu Aug 15 2000 Crutcher Dunnavant - Patched the documentation to change the 'C-a C-\' to 'C-a \', - which is what is the real behaviour. this fixes bug #16103 * Thu Aug 3 2000 Crutcher Dunnavant - Fixed my fix, so that the hack goes in the /global/ file :) * Thu Aug 3 2000 Crutcher Dunnavant - Stuck an entry into the default screenrc file that forces - '^?' (backspace) to send '^H'. - Its an ugly fix for a termcap inheritance problem, - but it works, if anyone REALLY needs '^?' they can change it, - and I think we anger less people with this than the way it - currently behaves. (Read: vi and emacs work now) - POST NOTE (Aug 15): emacs is NOT happy with ^H, BUT screen thinks - that this is what backspace is supposed to do, so we don't change it. * Thu Aug 3 2000 Crutcher Dunnavant - Fixed some conflicting descriptions in the documentation * Thu Aug 3 2000 Crutcher Dunnavant - got a patch from rzm@icm.edu.pl to fix bug #10353 - which caused screen to crash when copying to a file buffer * Wed Jul 12 2000 Prospector - automatic rebuild * Sat Jun 10 2000 Bill Nottingham - rebuild, FHS tweaks * Sat May 6 2000 Bill Nottingham - fix build for ia64 * Mon Apr 3 2000 Bernhard Rosenkränzer - rebuild with new ncurses * Tue Mar 7 2000 Jeff Johnson - rebuild for sparc baud rates > 38400. * Tue Feb 15 2000 Bernhard Rosenkränzer - Fix MD5 password support (Bug #9463) * Thu Feb 3 2000 Bill Nottingham - handle compressed man pages * Fri Dec 10 1999 Bill Nottingham - update to 3.9.5 * Wed Oct 20 1999 Bill Nottingham - you know, we weren't just patching in Unix98 pty support for fun. * Wed Aug 18 1999 Bill Nottingham - put screendir in ~ * Wed Aug 18 1999 Jeff Johnson - update to 3.9.4. * Wed Jun 16 1999 Bill Nottingham - force tty permissions/group * Wed Jun 5 1999 Dale Lovelace - permissions on /etc/skel/.screenrc to 644 * Mon Apr 26 1999 Bill Nottingham - take out warning of directory permissions so root can still use screen * Wed Apr 07 1999 Bill Nottingham - take out warning of directory ownership so root can still use screen * Wed Apr 07 1999 Erik Troan - patched in utempter support, turned off setuid bit * Fri Mar 26 1999 Erik Troan - fixed unix98 pty support * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 3) * Thu Mar 11 1999 Bill Nottingham - add patch for Unix98 pty support * Mon Dec 28 1998 Jeff Johnson - update to 3.7.6. * Sun Aug 16 1998 Jeff Johnson - build root * Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr * Wed Oct 21 1997 Cristian Gafton - upgraded to 3.7.4 * Wed Oct 08 1997 Erik Troan - removed glibc 1.99 specific patch * Tue Sep 23 1997 Erik Troan - added install-info support * Mon Jul 21 1997 Erik Troan - built against glibc