diff --git a/exec/load/dorkit.js b/exec/load/dorkit.js
index feec34a9c228ff1a2e36334beee93612f51edc69..7b693a0f52bc64c4cecaa2ad7f281b6004d0cb2f 100644
--- a/exec/load/dorkit.js
+++ b/exec/load/dorkit.js
@@ -917,3 +917,25 @@ switch(dk.system.mode) {
 		load("socket_console.js", dk.connection.socket, dk.connection.telnet);
 		break;
 }
+
+// Fun stuff from sbbsdef.js...
+log.EMERG       =0;			/* system is unusable                       */   
+log.ALERT       =1;			/* action must be taken immediately         */   
+log.CRIT        =2;			/* critical conditions                      */   
+log.CRITICAL    =log.CRIT;	/* critical conditions                      */   
+log.ERR         =3;			/* error conditions                         */   
+log.ERROR       =log.ERR;	/* error conditions                         */   
+log.WARNING     =4;			/* warning conditions                       */   
+log.WARN        =log.WARNING;/* warning conditions                       */   
+log.NOTICE      =5;			/* normal but significant condition         */   
+log.INFO        =6;			/* informational                            */   
+log.DEBUG       =7;			/* debug-level messages                     */   
+
+directory.MARK		=(1<<1);	/* Append a slash to each name.  */
+directory.NOSORT	=(1<<2);	/* Don't sort the names.  */
+directory.APPEND	=(1<<5);	/* Append to results of a previous call.  */
+directory.NOESCAPE  =(1<<6);	/* Backslashes don't quote metacharacters.  */
+directory.PERIOD    =(1<<7); 	/* Leading `.' can be matched by metachars.  */
+directory.ONLYDIR   =(1<<13);	/* Match only directories.  */
+
+