The ri tool of Ruby for the documentation offers the possibility to output ANSI escape sequences, but the terminal has to support it.
How is it possible to activate support for ANSI escape sequences in the Gnome terminal of Ubuntu? In a way that the command
$ri Symbol --formant=ansi
is correctly rendered.