Building Screen GNU in Solaris 10

A slightly cleaner patch would be the following, although I am not sure whether the default for setenv() shouldn't be the version with three arguments.

--- misc.c Fri April 28 18:37:29 2010
***************

      • 613,619 ****

*/
# endif /* NEEDSETENV */
#else /* USESETENV */
! # if defined(linux) || defined(_convex_) || (BSD >= 199103)
setenv(var, value, 1);
# else
setenv(var, value);
--- 613,619 ----
*/
# endif /* NEEDSETENV */
#else /* USESETENV */
! # if defined(linux) || defined(_convex_) || (BSD >= 199103) || defined(_sun_)
setenv(var, value, 1);
# else
setenv(var, value);

screen lets you keep multiple (virtual) terminals open in one terminal window, and keeps them open in local session, even if you log out from your remote-session. (Yes, this sounds incomprehensible, but it is really handy!)

  wget ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/screen-4.0.2.tar.gz
tar zxvf screen-4.0.2.tar.gz
cd screen-4.0.2
./configure --prefix=$PKGROOT/screen/4.0.2 \
--enable-colors256 \
--with-sys-screenrc=$ETCROOT/screenrc
make
make install
cp etc/etcscreenrc $ETCROOT/screenrc
cd $PKGROOT/screen
ln -s 4.0.2/ current
I ignored the final note that make install gave: 'termcap entry (./terminfo/screencap) should be installed manually.'


top