Screen version 4.0.3 - How to Download and Install on Mac OS X
Tuesday the 9th of February, 2010

    version 4.0.3

      View the most recent changes for the screen port at: screen.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for screen.
      The raw portfile for screen 4.0.3 is located here:
      http://screen.darwinports.com/dports/sysutils/screen/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/screen


      The screen Portfile 45786 2009-01-22 02:52:52Z digdog macports.org #$

      PortSystem 1.0

      Name: screen
      Version: 4.0.3
      Revision: 3
      Homepage: http://www.gnu.org/software/screen/
      Description: Screen manager with VT100/ANSI terminal emulation
      Long Description: Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). Each virtual terminal provides the functions of a DEC VT100 terminal and, in addition, several control functions from the ANSI X3.64 (ISO 6429) and ISO 2022 standards (e.g. insert/delete line and support for multiple character sets). There is a scrollback history buffer for each virtual terminal and a copy-and-paste mechanism that allows moving text regions between windows.
      Category: sysutils
      Platform: darwin
      Maintainers: digdog
      Master Sites: http://fresh.t-systems-sfr.com/unix/src/misc/ ftp://ftp.uni-erlangen.de/pub/utilities/screen/ http://www.cis.nctu.edu.tw/~is85005/dports/screen/:encoding

      # The file '18' above is a fix for UTF8-to-Big5HKSCS encoding translation.
      # Reference: http://freebsd.sinica.edu.tw/~statue/index.php?file=20020513
      distfiles-append 18:encoding

      Checksums: ${distname}${extract.suffix} md5 8506fd205028a96c741e4037de6e3c42 18 md5 e5c53546a5c4968bd7e807c88e6b2198
      Patch Files: patch-maxargs patch-windowsize patch-wrp_vertical_split
      depends_lib port:ncurses

      extract.only ${distname}${extract.suffix}
      post-extract { file copy ${distpath}/18 ${workpath} }
      configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info --enable-locale --enable-telnet --enable-colors256 --enable-rxvt_osc
      configure.env LIBS=-lncurses

      post-destroot {
      xinstall -m 644 ${workpath}/18 ${destroot}/${prefix}/share/${name}/utf8encodings
      xinstall -m 644 ${workpath}/${distname}/etc/etcscreenrc ${destroot}/${prefix}/etc/screenrc
      xinstall -m 644 ${workpath}/${distname}/terminfo/screencap ${destroot}/${prefix}/etc/termcap
      system "tic ${workpath}/${distname}/terminfo/screeninfo.src"
      }

      platform darwin 8 {
      patchfiles-append patch-Makefile.in
      }

      platform darwin 9 {
      post-patch {
      reinplace s|^deflogin|#deflogin| ${workpath}/${distname}/etc/etcscreenrc
      }

      # These patches are based on http://www.opensource.apple.com/darwinsource/10.5.6/screen-12/patches/
      # The vproc_priv.h is the private header from launchd, used in Apple's 10.5 screen patches
      # We copied the header file from http://launchd.macosforge.org/trac/browser/trunk/launchd/src/vproc_priv.h, r23776
      master_sites-append http://www.cis.nctu.edu.tw/~is85005/dports/screen/r23776/:launchd_priv_header
      distfiles-append vproc_priv.h:launchd_priv_header
      checksums-append vproc_priv.h md5 50800817fa688e7e6ae379cd599f15ca
      post-extract { file copy ${distpath}/vproc_priv.h ${workpath}/${distname} }
      patchfiles-append patch-Makefile.in patch-config.h.in patch-configure patch-pty.c patch-window.c patch-screen.c
      }

      post-install {
      ui_msg "===============================================================================\n"
      ui_msg "Any screens running before upgrading, will not be available, post-install.\n"
      ui_msg "===============================================================================\n"
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/screen
      % sudo port install screen
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching screen
      ---> Verifying checksum for screen
      ---> Extracting screen
      ---> Configuring screen
      ---> Building screen with target all
      ---> Staging screen into destroot
      ---> Installing screen
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using screen with these commands:
      %  man screen
      % apropos screen
      % which screen
      % locate screen

     Where to find more information:

    Darwin Ports



    Lightbox this page.