--- screen-4.0.2/misc.c 2003-12-05 19:15:41.000000000 +0530 +++ screen-4.0.2-new/misc.c 2006-04-03 16:46:19.150133000 +0530 @@ -613,7 +613,7 @@ */ # endif /* NEEDSETENV */ #else /* USESETENV */ -# if defined(linux) || defined(__convex__) || (BSD >= 199103) +# if defined(linux) || defined(__convex__) || (BSD >= 199103) || (__sun) setenv(var, value, 1); # else setenv(var, value);