Add a few comments.

This commit is contained in:
John "Elwin" Edwards 2012-05-06 09:04:14 -07:00
parent 8dec6dff87
commit 508b41b488
3 changed files with 13 additions and 0 deletions

View file

@ -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 <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>

View file

@ -1,3 +1,6 @@
/*
* quickrypt: a quick and dirty crypt(3) utility for use with node.js.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View file

@ -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. // A state machine that keeps track of polling the server.
var ajaxstate = { var ajaxstate = {
state: 0, state: 0,