
| Current Path : /usr/share/doc/libcaca-dev/html/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //usr/share/doc/libcaca-dev/html/libcaca-env.html |
<!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>
<!-- Generated by Doxygen 1.8.17 -->
</div><!-- top -->
<div class="PageDoc"><div class="header">
<div class="headertitle">
<div class="title">Libcaca environment variables </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>Some environment variables can be used to change the behaviour of <em>libcaca</em> without having to modify the program which uses it. 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></div><!-- contents -->
</div><!-- PageDoc -->
</body>
</html>