commit 07d1edcd76cf8ec3f6e72e79bbc1481da77e30f7 (patch) parent d61a2a8fce2638594644feb664ce04398825b0f3 Author: Matthias-Christian Ott <ott@enolink.de> Date: Mon, 25 Aug 2008 16:29:37 +0200 add description of std Diffstat:
M | std.c | | | 14 | +++++++++++++- |
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git 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>