I modded my BaCon Cairo Messenger to compile properly with Bacon 3.3.1, so it now works OK with my Mint 17. Try clicking on vovmeteo and the other test scripts after unpacking (if you are using 32-bit binaries). Otherwise first compile bcm.bac and then do the clicking). Please let me know whether it works for you.
Thanks for testing. I am glad that it worked. I assume you compiled for 64 bits. Alex is using Raspberry PI, and I have no idea how X functions there, but it would be nice if it also worked on that platform, too.
Thanks. I am glad it compiled and ran as expected. Here is another variation, but it uses GTK/GDK and, optionally, an internal svg for creating the frame and background. I hope it works for you. For proper effect you should install the two fonts in the ttf folder first.
Thanks for pointing that out. In the latest version of cairo, which I now have on my computer, the cairo bit interprets a lot of punctuation symbols as "accelerators" (e.g. & and !), although I do not call the cairo routine with the "_markup_with_acels" bit switched on. I think this is a real cairo bug, and there must be a workaround or patch; I have not (yet) found a way to turn acels off simply or elegantly. I will have a think, but extra parsing and escaping is a real PITA. If you get an idea or solution, please post it.
Thanks. The "!" problem is also "&" problem. And it surfaced with the new cairo, where it assumes that those things are accelerators. In the cairo markup functions there are two variations _markup and _markup_with_acels. Since I specify the former, I do not know why it is coughing when it encounters those bloody chars. I wonder whether there is a flag ato set somewhere to tell cairo to behave itself.
This Bash ..Terminal problem . Not Cairo..or any other bug
Upto now only cure on the Raspberry for the "!" is to pass the backslash "\" before it
Then in opt parse function text section
Can then use the replace.
Suppose this can be mentioned in the help
the bit CASE "t" msg_text$ = CHOP$(ARGUMENT$) msg_text$ = REPLACE$(msg_text$, "&", "&") msg_text$ = REPLACE$(msg_text$, CHR$(92), "")
and the code to test ./bcm -c "#fafafafa" -b "#0f0f0ffa" -g r:t -t "<span font='Sans Bold 45' color='white'>Hello\!</span>" -d 5
forgot to mention . now looking to see what terminal emulators are available for the Raspberry .. have check the GTK vte . as demo'd in hug add on the results are the same. hence that one be out .. BR Alex
Last Edit: Jul 16, 2016 12:52:32 GMT 1 by alexfish