<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>libcaca documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- $Id$ --> <!-- Generated by Doxygen 1.5.9 --> <div class="contents"> <h1><a class="anchor" name="libcaca-env">Libcaca environment variables </a></h1>Some environment variables can be used to change the behaviour of <em>libcaca</em> without having to modify the program which uses them. These variables are:<p> <ul> <li><b>CACA_DRIVER:</b> set the backend video driver. In order of preference:<ul> <li><code>conio</code> uses the DOS conio.h interface.</li><li><code>ncurses</code> uses the ncurses library.</li><li><code>slang</code> uses the S-Lang library.</li><li><code>x11</code> uses the native X11 driver.</li><li><code>gl</code> uses freeglut and opengl libraries.</li><li><code>raw</code> outputs to the standard output instead of rendering the canvas. This is can be used together with cacaserver.</li></ul> </li> </ul> <ul> <li><b>CACA_GEOMETRY:</b> set the video display size. The format of this variable must be <code>XxY</code>, with <code>X</code> and <code>Y</code> being integer values. This option currently works with the raw, X11 and GL drivers.</li> </ul> <ul> <li><b>CACA_FONT:</b> 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 <code>fixed</code> or <code>5x7</code> is expected. </li> </ul> </div> <!-- $Id$ --> </body> </html>