+static void noargs_proc(Widget w, XtPointer client_data, XtPointer call_data)
+/* use this for commands that take no arguments */
+{
+ /* currently a stub */
+}
+
+static struct cmd_t commands[] = {
+ {"Phasers", NULL, 0},
+ {"Torpedo", NULL, 0},
+ {"Move", NULL, 0},
+ {"Shields", NULL, 0},
+ {"Dock", noargs_proc, 0},
+ {"Damages", noargs_proc, 0},
+ {"Chart", noargs_proc, 0},
+ {"Impulse", NULL, 0},
+ {"Rest", NULL, 0},
+ {"Warp", NULL, 0},
+ {"Score", noargs_proc, 0},
+ {"Sensors", noargs_proc, OPTION_PLANETS},
+ {"Orbit", noargs_proc, OPTION_PLANETS},
+ {"Transport", noargs_proc, OPTION_PLANETS},
+ {"Mine", noargs_proc, OPTION_PLANETS},
+ {"Crystals", noargs_proc, OPTION_PLANETS},
+ {"Shuttle", noargs_proc, OPTION_PLANETS},
+ {"Planets", noargs_proc, OPTION_PLANETS},
+ {"Report", noargs_proc, 0},
+ {"Computer", noargs_proc, 0},
+ {"Emexit", noargs_proc, 0},
+ {"Probe", NULL, OPTION_PROBE},
+ {"Save", NULL, 0},
+ {"Abandon", noargs_proc, 0},
+ {"Destruct", noargs_proc, 0},
+ {"Deathray", noargs_proc, 0},
+ {"Mayday", noargs_proc, 0},
+ {"Quit", quit_proc, 0},
+ {"Help", noargs_proc, 0},
+};
+
+int main(int argc, char **argv)