# HG changeset patch # User John "Elwin" Edwards # Date 1336320254 25200 # Node ID 9bef0941c6ddfaebd06c0831f93f732059d60e6b # Parent bd412f63ce0de0d06c209d072841e2be7cfc4fbd Add a few comments. diff -r bd412f63ce0d -r 9bef0941c6dd ptyhelper.c --- a/ptyhelper.c Sun May 06 08:45:40 2012 -0700 +++ b/ptyhelper.c Sun May 06 09:04:14 2012 -0700 @@ -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 -r bd412f63ce0d -r 9bef0941c6dd quickrypt.c --- a/quickrypt.c Sun May 06 08:45:40 2012 -0700 +++ b/quickrypt.c Sun May 06 09:04:14 2012 -0700 @@ -1,3 +1,6 @@ +/* + * quickrypt: a quick and dirty crypt(3) utility for use with node.js. + */ #include #include #include diff -r bd412f63ce0d -r 9bef0941c6dd shterm.js --- a/shterm.js Sun May 06 08:45:40 2012 -0700 +++ b/shterm.js Sun May 06 09:04:14 2012 -0700 @@ -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,