[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can 256color be recognized automatically?
From: |
Christian Ebert |
Subject: |
Re: can 256color be recognized automatically? |
Date: |
Sat, 14 Mar 2009 14:08:54 +0100 |
User-agent: |
Mutt/1.5.19 (2009-03-09) |
* 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
Re: can 256color be recognized automatically?, Christian Ebert, 2009/03/14