[Gambas-user] Colors and other Console amenities.

Ru Vuott vuott at ...325...
Sun May 22 17:57:20 CEST 2016


Hello,

I tried to combine the text, to be printed in the console, the commands (terminfo capabilities useful for prompt customization) needed to get some effects in the Terminal.

I pointed out some problems.

For exemple:

1) I asked other developers to do the testing, but it seems that only those, who update the Gambas version via SVN, get those results.  Why only via SVN ?
I installed Gambas and I update it via SVN, and in fact I get the effects provided by the commands.
A simple "blinking text" exemplum:

Public Sub Main()

  Print "\n\e[5m   Gambas\n"

End


2) Some problem on color commands.

With this escape sequence:
    \e[38;5;11
I should get foreground text color in yellow. Instead I get the background in yellow.

So, with this escape sequence:  \e[48;5;11 I should get background text color. Instead I get the foreground.

Why ?

Regards




More information about the User mailing list