On Sat, Mar 14, 2009 at 04:50:09AM EDT, Chris Jones wrote:

> ncl=$(tput colors)
> 
> case "$ncl" in
>   '16')
>     TERM=screen /usr/local/bin/screen
>     ;;
>   '256')
>     TERM=screen-256color /usr/local/bin/screen
>     ;;
> esac

On second thoughts .. the above doesn't make sense..

:-(

If that were the case, screen would always inherit the contents of the
TERM variable from the underlying terminal.

Sorry for the noise.

CJ




_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to