aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias-Christian Ott <ott@enolink.de>2008-08-25 16:29:37 +0200
committerMatthias-Christian Ott <ott@enolink.de>2008-08-25 16:29:37 +0200
commit07d1edcd76cf8ec3f6e72e79bbc1481da77e30f7 (patch)
tree96a379bd86d529ed11ae08045f88c30531fdf47c
parentd61a2a8fce2638594644feb664ce04398825b0f3 (diff)
downloadst-07d1edcd76cf8ec3f6e72e79bbc1481da77e30f7.tar.gz
st-07d1edcd76cf8ec3f6e72e79bbc1481da77e30f7.zip
add description of std
-rw-r--r--std.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/std.c b/std.c
index a9a4f8c..84a4b49 100644
--- a/std.c
+++ b/std.c
@@ -1,4 +1,16 @@
1/* See LICENSE file for copyright and license details. */ 1/* See LICENSE file for copyright and license details.
2 *
3 * Simple terminal daemon is a terminal emulator. It can be used in
4 * combination with simple terminal to emulate a mostly VT100-compatible
5 * terminal.
6 *
7 * In this process std works like a filter. It reads data from a
8 * pseudo-terminal and parses the escape sequences and transforms
9 * them into an ed(1)-like. The resulting data is buffered and written
10 * to stdout.
11 * Parallely it reads data from stdin and parses and executes the
12 * commands. The resulting data is written to the pseudo-terminal.
13 */
2#include <sys/types.h> 14#include <sys/types.h>
3#include <sys/wait.h> 15#include <sys/wait.h>
4#include <ctype.h> 16#include <ctype.h>