aboutsummaryrefslogtreecommitdiff
path: root/std.c
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
commit7e57d1fbbaaac1b008f31ae311fab40a6022da40 (patch)
tree96a379bd86d529ed11ae08045f88c30531fdf47c /std.c
parent841d2339e3cbba00cb28cf545b660f981ebc0314 (diff)
downloadst-7e57d1fbbaaac1b008f31ae311fab40a6022da40.tar.gz
st-7e57d1fbbaaac1b008f31ae311fab40a6022da40.tar.bz2
add description of std
Diffstat (limited to 'std.c')
-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 @@
-/* See LICENSE file for copyright and license details. */
+/* See LICENSE file for copyright and license details.
+ *
+ * Simple terminal daemon is a terminal emulator. It can be used in
+ * combination with simple terminal to emulate a mostly VT100-compatible
+ * terminal.
+ *
+ * In this process std works like a filter. It reads data from a
+ * pseudo-terminal and parses the escape sequences and transforms
+ * them into an ed(1)-like. The resulting data is buffered and written
+ * to stdout.
+ * Parallely it reads data from stdin and parses and executes the
+ * commands. The resulting data is written to the pseudo-terminal.
+ */
#include <sys/types.h>
#include <sys/wait.h>
#include <ctype.h>