--- /dev/null
+--- screen-4.0.3/configure.in~ 2011-02-14 10:17:32.341272254 +0100
++++ screen-4.0.3/configure.in 2011-02-15 18:50:46.405665123 +0100
+@@ -644,6 +644,8 @@
+ tgetent((char *)0, (char *)0);
+ #endif
+ ],,
++LIBS="-ltinfow $olibs"
++AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+ LIBS="-ltinfo $olibs"
+ AC_CHECKING(libtinfo)
+ AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+@@ -656,7 +658,7 @@
+ LIBS="-ltermlib $olibs"
+ AC_CHECKING(libtermlib)
+ AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+-AC_MSG_ERROR(!!! no tgetent - no screen)))))))
++AC_MSG_ERROR(!!! no tgetent - no screen))))))))
+
+ AC_TRY_RUN([
+
--- /dev/null
+# user's .screenrc file
+
+# This is how one can set a reattach password:
+# password ODSJQf.4IJN7E # "1234"
+
+# no annoying audible bell, please
+vbell on
+
+# detach on hangup
+autodetach on
+
+# don't display the copyright page
+startup_message off
+
+# emulate .logout message
+pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
+
+# make the shell in every window a login shell
+shell -$SHELL
+
+defscrollback 5000
+
+# don't kill window after the process died
+zombie "^Mr"
+
+# enable support for the "alternate screen" capability in all windows
+# altscreen on
+
+# utf8 by default
+defutf8 on
+
+# 256 colors terminal
+# term screen-256color
+
+# use terminal scrollback buffer
+termcapinfo xterm|xterm-color|xterms|xs|konsole|konsole-256color|rxvt|gnome-terminal ti@:te@