home *** CD-ROM | disk | FTP | other *** search
- usage() { fprintf(stderr,"stars [-AMXruw][-B[0123]][-
- a#][-b#][-c#][-d#][-x xmid][-y ymid][-H#][-W#]0);
- fprintf(stderr,"Where: -M indicates use monochrome0);
- fprintf(stderr," -S indicates show midpt0);
- fprintf(stderr," -X indicates randomly walk the
- midpt0); fprintf(stderr," -r indicates put the ship
- in reverse0); fprintf(stderr," -u displays this
- message0); fprintf(stderr," -w indicates put the
- ship in warp0); fprintf(stderr," -B# specifies the
- initial star size0); fprintf(stderr," -H# specifies
- the initial window height0); fprintf(stderr," -W#
- specifies the initial window width0); fprintf(stderr,"
- -a# specifies the inital 'x' velocity0); fprintf(stderr,"
- -b# specifies the inital 'y' velocity0); fprintf(stderr,"
- -c# specifies the star color0); fprintf(stderr," -
- d# specifies the duration of display0);
- fprintf(stderr,"During display :0);
- fprintf(stderr," [hjklHJKL] rogue-like control of midpt
- movement0); fprintf(stderr," '.' stops the motion
- of the midpt0); fprintf(stderr," '+' resets the
- midpt to screen center0); fprintf(stderr," '>'or '<'
- increases/decreases the delay (text mode)0);
- fprintf(stderr," b or B selects star size0);
- fprintf(stderr," c or C toggles all/one color
- (graphics mode only)"); fprintf(stderr,"0 t or T
- toggles random walk of midpt0); fprintf(stderr," x or
- X clears the screen0); fprintf(stderr," r or R
- toggles reverse/forward0); fprintf(stderr," s or S
- toggles midpt display0); fprintf(stderr," w or W
- toggles warp/normal0); fprintf(stderr," q or Q
- exits0); exit(1); }
-