+#define CTDLDIR "/appl/citadel"
+
+
+
+int com_quit(char *cmdbuf) {
+ abort();
+}
+
+
+
+
+/*
+ * Commands understood by ctdlsh
+ */
+typedef struct {
+ char *name;
+ rl_icpfunc_t *func;
+ char *doc;
+} COMMAND;
+
+COMMAND commands[] = {
+ { "quit", com_quit, "Quit using ctdlsh" },
+ { "exit", com_quit, "Quit using ctdlsh" },
+ { NULL, NULL, NULL }
+};
+