Newsbeuter 2.1 will contain support for 256-color terminals

Recently, I found and fixed a bug that prevented the awesome STFL to function correctly on 256-color terminals such as xterm with TERM=xterm-256color. In addition, I added support to both STFL and newsbeuter to specify colors from the whole 256-color palette. Currently, if you want to try out this feature, you need the latest SVN version of STFL (can be found here) and the latest git master branch version (can be found here). To specify one of the “extended” colors, simply use “color<n>” (e.g. “color123″) instead of using the color name (“blue”, “black, “green”, etc.) in the color-related configuration. A chart of color numbers and how they look like can be found here. Finally, here’s a screenshot of the whole thing:

nb21-256color

As you can probably recognize, these are not the usual colors from the usual 16-color palette. But, since I’m really bad at designing colorful themes, I ask everyone who has an interesting newsbeuter color configuration to submit it to me so that I can include it to newsbeuter’s contrib directory that already contains a few theme examples.

4 Responses to “Newsbeuter 2.1 will contain support for 256-color terminals”

  1. Morgan Goose Says:

    One note for fedora, is that to get stfl to pick up for pkg-config one will need to make a hardlink (or move):

    sudo ln -f /usr/local/lib/pkgconfig/stfl.pc /usr/share/pkgconfig/stfl.pc

  2. ak Says:

    Almost… the best solution is to properly set the PKG_CONFIG_PATH environment variable.

  3. Morgan Goose Says:

    I actually after making that change had to do more, but my way may not be the best: http://morgangoose.com/blog/

    Also does changing that var work, because I don’t see it referenced in the stfl makefiles.

    • Morgan Goose Says:

      sorry for the comment spam. this is the permalink to the steps I had to take:http://morgangoose.com/blog/2009/07/getting-stfl-working-on-fedora-11-x64/

Leave a Reply