<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #2884: 256 color support



On Wed, 25 Apr 2007, Moritz Barsnick wrote:

it should have returned "8".
You sed expression is too greedy.

So make it:
-> source $HOME/.muttrc-color-`infocmp | grep 'colors#' | \
  sed 's/.*colors#\([0-9]\+\).*/\1/'
:-)

or use the "-1" (dash-one) option of infocmp to put one capability per line.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net