my solution to this problem was to have a line in my screenrc like the
following
source ${HOME}/.screenrc-${TERM}

and just create a few files like .screenrc-xterm and
.screenrc-xterm-256color etc that have all my terminal specific settings in
them, including 256 color support.  just my $0.02

On Sat, Mar 14, 2009 at 9:08 AM, Christian Ebert <blacktr...@gmx.net> wrote:

> * Chris Jones on Saturday, March 14, 2009 at 05:21:46 -0400
> > On second thoughts .. the above doesn't make sense..
> >
> > :-(
>
> ;-)
>
> If I don't hear any more I might go for something like:
>
>
> if echo $TERM | grep -E -e "-[0-9]+color$" > /dev/null 2>&1
> then
>    screen -T "screen-${TERM##*-}"
> else
>    screen
> fi
>
>
> c
> --
> \black\trash movie    _C O W B O Y_  _C A N O E_  _C O M A_
> Ein deutscher Western/A German Western
> -->> http://www.blacktrash.org/underdogma/ccc.html
> -->> http://www.blacktrash.org/underdogma/ccc-en.html
>
>
> _______________________________________________
> screen-users mailing list
> screen-users@gnu.org
> http://lists.gnu.org/mailman/listinfo/screen-users
>



-- 
-N
AKA:Tom Scogland
I am enough of an artist to draw freely upon my imagination. Imagination is
more important than knowledge. Knowledge is limited. Imagination encircles
the world.
-Albert Einstein
_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to