[hackers] [st] add description of std || Matthias-Christian Ott

From: <hg_AT_suckless.org>
Date: Mon, 25 Aug 2008 14:29:51 +0000 (UTC)

changeset: 41:5b93836536fd
tag: tip
user: Matthias-Christian Ott <ott_AT_enolink.de>
date: Mon Aug 25 16:29:37 2008 +0200
files: std.c
description:
add description of std

diff -r c37d2227eea0 -r 5b93836536fd std.c
--- a/std.c Thu Aug 07 10:38:54 2008 +0200
+++ b/std.c Mon Aug 25 16:29:37 2008 +0200
@@ -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>
Received on Mon Aug 25 2008 - 14:29:51 UTC

This archive was generated by hypermail 2.2.0 : Mon Aug 25 2008 - 14:36:03 UTC