changeset 1:9bef0941c6dd

Add a few comments.
author John "Elwin" Edwards <elwin@sdf.org>
date Sun, 06 May 2012 09:04:14 -0700
parents bd412f63ce0d
children 98bf7c94c954
files ptyhelper.c quickrypt.c shterm.js
diffstat 3 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
--- 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 <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--- 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,