Add a few comments.
This commit is contained in:
parent
8dec6dff87
commit
508b41b488
3 changed files with 13 additions and 0 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue