From 508b41b488093eb6a56cdcadf44d720be48a0185 Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Sun, 6 May 2012 09:04:14 -0700 Subject: [PATCH] Add a few comments. --- ptyhelper.c | 6 ++++++ quickrypt.c | 3 +++ shterm.js | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/ptyhelper.c b/ptyhelper.c index 0b8a8aa..7dae12d 100644 --- a/ptyhelper.c +++ b/ptyhelper.c @@ -1,3 +1,9 @@ +/* + * ptyhelper: a utility that runs a command in a pseudoterm and then streams + * stdio to/from it. Intended to get around the node.js loss of C/UNIX + * functionality. + * Remember to compile with -lutil. + */ #include #include #include diff --git a/quickrypt.c b/quickrypt.c index 4a88f2f..41011e9 100644 --- a/quickrypt.c +++ b/quickrypt.c @@ -1,3 +1,6 @@ +/* + * quickrypt: a quick and dirty crypt(3) utility for use with node.js. + */ #include #include #include diff --git a/shterm.js b/shterm.js index 9b99e26..9971097 100644 --- a/shterm.js +++ b/shterm.js @@ -1,3 +1,7 @@ +/* shterm.js: browser-side JavaScript to handle I/O for termemu.js when it + * is running a shell via the webtty.js server. + */ + // A state machine that keeps track of polling the server. var ajaxstate = { state: 0,