Libcaca environment variables some environment variables can be used to change the behaviour of libcaca without having to modify the program which uses it. these variables are: caca_driver: set the backend video driver. in order of preference: conio uses the dos conio.h interface. ncurses uses the ncurses library. slang uses the s-lang library. x11 uses the native x11 driver. gl uses freeglut and opengl libraries. raw outputs to the standard output instead of rendering the canvas. this is can be used together with cacaserver. caca_geometry: set the video display size. the format of this variable must be xxy, with x and y being integer values. this option currently works with the raw, x11 and gl drivers. caca_font: set the rendered font. the format of this variable is implementation dependent, but since it currently only works with the x11 driver, an x11 font name such as fixed or 5x7 is expected.
Libcaca ruby bindings there is no real documentation yet for the ruby binding but methods on any object should help you :) i tried to follow ruby spirit meaning that : most of the methods return self the methods set_foo with only an argument are also available as foo= (returning the value instead of self) the methods originally named get_foo are available only as foo for the list of methods and some sample code, read: libcaca ruby api