67 lines
4.3 KiB
HTML
67 lines
4.3 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<title>CLiki: cl-ansi-term</title>
|
||
|
<link rel="alternate" type="application/atom+xml" title="ATOM feed of edits to current article"
|
||
|
href="https://www.cliki.net/site/feed/article.atom?title=cl-ansi-term">
|
||
|
<link rel="stylesheet" href="static/css/style.css">
|
||
|
<link rel="stylesheet" href="static/css/colorize.css">
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<span class="hidden">CLiki - cl-ansi-term</span>
|
||
|
<div id="content"><div id="content-area"><div id="article-title">cl-ansi-term</div><div id="article">cl-ansi-term allows to print various primitives on <a href="ANSI.html" class="internal">ANSI</a>-complaint terminals.
|
||
|
It also supports coloration and effects. cl-ansi-term is not like ncurses, it works
|
||
|
with primitives that you can output on your terminal, as well as redirect to a file
|
||
|
without any loss.<p><a href="https://vindarel.github.io/cl-ansi-term/">cl-ansi-term</a> can print the following things:<p><ul>
|
||
|
<li>colorized text;</li>
|
||
|
<li>horizontal lines;</li>
|
||
|
<li>progress bars;</li>
|
||
|
<li>unordered lists;</li>
|
||
|
<li>ordered lists;</li>
|
||
|
<li>tables.</li>
|
||
|
</ul>
|
||
|
cl-ansi-term uses concept of style sheet to manage coloration of
|
||
|
output. Define styles, give them names, specify foreground colors,
|
||
|
background colors, and effects for every style.<p>cl-ansi-term provides hooks to give more control over the library.<p>cl-ansi-term is able to detect whether output goes to a terminal or
|
||
|
to a file. If the latter case takes place, no escape sequences will get
|
||
|
into the file. It's also possible to disable all effects and coloration.<p>GitHub repository: <a href="https://github.com/vindarel/cl-ansi-term">https://github.com/vindarel/cl-ansi-term</a><p>You can install it via <a href="Quicklisp.html" class="internal">Quicklisp</a>:<p><div class="code"><span class="nonparen"><span class="paren1">(<span class="nonparen">ql:quickload <span class="string">"cl-ansi-term"</span></span>)</span></span></div><p>It's distributed under <a href="GNU.html" class="internal">GNU</a> <a href="GPL.html" class="category">GPL</a>.<p><hr>
|
||
|
Relevant topics: <a href="text.html" class="category">text</a>, <a href="console.html" class="category">console</a></div></div>
|
||
|
<div id="footer" class="buttonbar"><ul><li><a href="cl-ansi-term.html">Current version</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/history?article=cl-ansi-term">History</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/backlinks?article=cl-ansi-term">Backlinks</a></li><li><a href="https://www.cliki.net/site/edit-article?title=cl-ansi-term&from-revision=3799636362">Edit</a></li><li><a href="https://www.cliki.net/site/edit-article?create=t">Create</a></li></ul></div>
|
||
|
</div>
|
||
|
<div id="header-buttons" class="buttonbar">
|
||
|
<ul>
|
||
|
<li><a href="https://www.cliki.net/">Home</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/recent-changes">Recent Changes</a></li>
|
||
|
<li><a href="CLiki.html">About</a></li>
|
||
|
<li><a href="Text Formatting.html">Text Formatting</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/tools">Tools</a></li>
|
||
|
</ul>
|
||
|
<div id="search">
|
||
|
<form action="https://www.cliki.net/site/search">
|
||
|
<label for="search_query" class="hidden">Search CLiki</label>
|
||
|
<input type="text" name="query" id="search_query" value="" />
|
||
|
<input type="submit" value="search" />
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="pageheader">
|
||
|
<div id="header">
|
||
|
<span id="logo">CLiki</span>
|
||
|
<span id="slogan">the common lisp wiki</span>
|
||
|
<div id="login"><form method="post" action="https://www.cliki.net/site/login">
|
||
|
<label for="login_name" class="hidden">Account name</label>
|
||
|
<input type="text" name="name" id="login_name" class="login_input" />
|
||
|
<label for= "login_password" class="hidden">Password</label>
|
||
|
<input type="password" name="password" id="login_password" class="login_input" />
|
||
|
<input type="submit" name="login" value="login" id="login_submit" /><br />
|
||
|
<div id="register"><a href="https://www.cliki.net/site/register">register</a></div>
|
||
|
<input type="submit" name="reset-pw" value="reset password" id="reset_pw" />
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body></html>
|