bjk's blog

screenshots

3 Comments »

  1. I didn’t know these characters existed. Thanks! Unicode characters are multi-byte so this means that I would have to link with libncursesw. I messed around with it some, just updating the the board, and couldn’t get it to display correctly: after calling settchar(), an empty string was set when calling wadd_wch().

    I haven’t updated or even used cboard in a long time but if your really interested I could make another release.

    Comment by Ben Kibbey — January 29, 2011 @ 4:21 pm

  2. There are Unicode symbols for all chess pieces.
    ♔♕♖♗♘♙♚♛♜♝♞♟
    Maybe your board program should have the option to use them.

    If you don’t want to fight around with encodings, then just use UTF-8. Every sane OS uses that and for the others you still have your current pieces (just plain letters) as a fallback.

    Comment by enormator — January 29, 2011 @ 12:43 pm

    • The cboard git repository now has wide character support and supports these unicode chess pieces although I have yet to get them working on a non-X11 terminal since I cannot find a console font that has theses characters (or maybe I’m doing something wrong).

      A new release is coming up so if you could test things that would be cool. By default, the UTF-8 chess pieces are disabled but can be enabled via the configuration file or the -u command line option.

      Comment by bjk — June 16, 2013 @ 4:44 pm


RSS feed for comments on this post.

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

The Silver is the New Black Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: