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.

9 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.

  4. I enjoyed your blog, come check out mine sometime.

  5. Gunnar says:

    Zenburn:

    # Generic Background
    # First value is not used.
    color background magenta color237

    #Text/background when reading an article
    color article color188 color237

    #Color the listview items
    color listnormal color188 color237

    #Selected listveiew item.
    color listfocus color108 color236

    # info
    color info color144 color234

  6. […] a nice theme here in the comments: Newsbeuter 2.1 will contain support for 256-color terminals « Newsbeuter Development Blog. # Generic Background # First value is not used. color background magenta […]

  7. revitol says:

    I enjoy what you guys are usually up too. This kind of clever work and reporting!

    Keep up the fantastic works guys I’ve included you guys to our blogroll.

  8. […] Found a nice theme here in the comments: Newsbeuter 2.1 will contain support for 256-color terminals « Newsbeuter Development Blog. […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: