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
<address@hidden> 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
--
-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