--- /dev/null
+/*
+ * usage:
+ * subseg2display encoding.ppm [status-info ...]
+ *
+ * status-info args are:
+ * <subseg> <alpha> <red> <green> <blue>
+ *
+ * <subseg> is
+ * <segnum> for fixed track
+ * <segnum>.<movfeatpos> for part of a moveable feature
+ * where numbers are in strtoul format, movfeatpos is the
+ * moveable feature and position as in segcmapassign and
+ * if <subseg> is `.', spec is for unspecified segments.
+ *
+ * Resulting pixel is
+ * [ red ]
+ * (alpha * DIRECTION_COLOUR) + ((1-alpha) * [ green ] )
+ * [ blue ]
+ *
+ * status.bin has the following format:
+ * 16 bits number of segments
+ * 2
+ */
+
+int main(int argc, const char *const *argv) {
+}