-#define SRSCAN 1
- {"SRSCAN", SRSCAN},
-#define STATUS 2
- {"STATUS", STATUS},
-#define REQUEST 3
- {"REQUEST", REQUEST},
-#define LRSCAN 4
- {"LRSCAN", LRSCAN},
-#define PHASERS 5
- {"PHASERS", PHASERS},
-#define TORPEDO 6
- {"TORPEDO", TORPEDO},
- {"PHOTONS", TORPEDO},
-#define MOVE 7
- {"MOVE", MOVE},
-#define SHIELDS 8
- {"SHIELDS", SHIELDS},
-#define DOCK 9
- {"DOCK", DOCK},
-#define DAMAGES 10
- {"DAMAGES", DAMAGES},
-#define CHART 11
- {"CHART", CHART},
-#define IMPULSE 12
- {"IMPULSE", IMPULSE},
-#define REST 13
- {"REST", REST},
-#define WARP 14
- {"WARP", WARP},
-#define SCORE 15
- {"SCORE", SCORE},
-#define SENSORS 16
- {"SENSORS", SENSORS},
-#define ORBIT 17
- {"ORBIT", ORBIT},
-#define TRANSPORT 18
- {"TRANSPORT", TRANSPORT},
-#define MINE 19
- {"MINE", MINE},
-#define CRYSTALS 20
- {"CRYSTALS", CRYSTALS},
-#define SHUTTLE 21
- {"SHUTTLE", SHUTTLE},
-#define PLANETS 22
- {"PLANETS", PLANETS},
-#define REPORT 23
- {"REPORT", REPORT},
-#define COMPUTER 24
- {"COMPUTER", COMPUTER},
-#define COMMANDS 25
- {"COMMANDS", COMMANDS},
-#define EMEXIT 26
- {"EMEXIT", EMEXIT},
-#define PROBE 27
- {"PROBE", PROBE},
-#define SAVE 28
- {"SAVE", SAVE},
- {"FREEZE", SAVE},
-#define ABANDON 29
- {"ABANDON", ABANDON},
-#define DESTRUCT 30
- {"DESTRUCT", DESTRUCT},
-#define DEATHRAY 31
- {"DEATHRAY", DEATHRAY},
-#define DEBUGCMD 32
- {"DEBUG", DEBUGCMD},
-#define MAYDAY 33
- {"MAYDAY", MAYDAY},
- {"SOS", MAYDAY},
- {"CALL", MAYDAY},
-#define QUIT 34
- {"QUIT", QUIT},
-#define HELP 35
- {"HELP", HELP},
+#define SRSCAN 0
+ {"SRSCAN", SRSCAN, OPTION_TTY},
+#define STATUS 1
+ {"STATUS", STATUS, OPTION_TTY},
+#define REQUEST 2
+ {"REQUEST", REQUEST, OPTION_TTY},
+#define LRSCAN 3
+ {"LRSCAN", LRSCAN, OPTION_TTY},
+#define PHASERS 4
+ {"PHASERS", PHASERS, 0},
+#define TORPEDO 5
+ {"TORPEDO", TORPEDO, 0},
+ {"PHOTONS", TORPEDO, 0},
+#define MOVE 6
+ {"MOVE", MOVE, 0},
+#define SHIELDS 7
+ {"SHIELDS", SHIELDS, 0},
+#define DOCK 8
+ {"DOCK", DOCK, 0},
+#define DAMAGES 9
+ {"DAMAGES", DAMAGES, 0},
+#define CHART 10
+ {"CHART", CHART, 0},
+#define IMPULSE 11
+ {"IMPULSE", IMPULSE, 0},
+#define REST 12
+ {"REST", REST, 0},
+#define WARP 13
+ {"WARP", WARP, 0},
+#define SCORE 14
+ {"SCORE", SCORE, 0},
+#define SENSORS 15
+ {"SENSORS", SENSORS, OPTION_PLANETS},
+#define ORBIT 16
+ {"ORBIT", ORBIT, OPTION_PLANETS},
+#define TRANSPORT 17
+ {"TRANSPORT", TRANSPORT, OPTION_PLANETS},
+#define MINE 18
+ {"MINE", MINE, OPTION_PLANETS},
+#define CRYSTALS 19
+ {"CRYSTALS", CRYSTALS, OPTION_PLANETS},
+#define SHUTTLE 20
+ {"SHUTTLE", SHUTTLE, OPTION_PLANETS},
+#define PLANETS 21
+ {"PLANETS", PLANETS, OPTION_PLANETS},
+#define REPORT 22
+ {"REPORT", REPORT, 0},
+#define COMPUTER 23
+ {"COMPUTER", COMPUTER, 0},
+#define COMMANDS 24
+ {"COMMANDS", COMMANDS, 0},
+#define EMEXIT 25
+ {"EMEXIT", EMEXIT, 0},
+#define PROBE 26
+ {"PROBE", PROBE, OPTION_PROBE},
+#define SAVE 27
+ {"SAVE", SAVE, 0},
+ {"FREEZE", SAVE, 0},
+#define ABANDON 28
+ {"ABANDON", ABANDON, 0},
+#define DESTRUCT 29
+ {"DESTRUCT", DESTRUCT, 0},
+#define DEATHRAY 30
+ {"DEATHRAY", DEATHRAY, 0},
+#define DEBUGCMD 31
+ {"DEBUG", DEBUGCMD, 0},
+#define MAYDAY 32
+ {"MAYDAY", MAYDAY, 0},
+ {"SOS", MAYDAY, 0},
+ {"CALL", MAYDAY, 0},
+#define QUIT 33
+ {"QUIT", QUIT, 0},
+#define HELP 34
+ {"HELP", HELP, 0},