[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can 256color be recognized automatically?

From: Tom Scogland
Subject: Re: can 256color be recognized automatically?
Date: Sat, 14 Mar 2009 10:03:07 -0400

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 <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
   screen -T "screen-${TERM##*-}"

\black\trash movie    _C O W B O Y_  _C A N O E_  _C O M A_
Ein deutscher Western/A German Western


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]