home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / games / volume8 / unidraw / part01 / help.c < prev    next >
C/C++ Source or Header  |  1989-12-19  |  2KB  |  53 lines

  1. #ifndef LINT
  2. static char COPYRIGHT[]="\
  3.   COPYRIGHT --- COPYRIGHT --- COPYRIGHT --- COPYRIGHT \n\
  4.   This program is copyright 1989 Nils McCarthy. This \
  5.   program may be distributed if it is impossible for \
  6.   the distributor to get a more up-to-date-version of \
  7.   it. \n\
  8.   COPYRIGHT --- COPYRIGHT --- COPYRIGHT --- COPYRIGHT \n\
  9.   ";
  10. static char AUTHOR[]="Copyright 1989 Nils McCarthy";
  11. #endif /* LINT */
  12.  
  13. #include "unidraw.h"
  14. help()
  15. {
  16.    clear();
  17.    move(0,0);
  18.    printw("          /\n");
  19.    printw("         /   /\n");
  20.    printw("         \\  /\n");
  21.    printw("          \\/NIDRAW\n");
  22.    printw("   copyright 1989 Nils McCarthy\n");
  23.    printw("\n");
  24.    printw("   WELCOME TO UNIDRAW! here is a summary of the commands:\n");
  25.    printw("  1-4,6-9 : movement\n");
  26.    printw("  ?       : help\n");
  27.    printw("  ^L      : redraw the screen\n");
  28.    printw("  p       : pen on/off\n");
  29.    printw("  \\char   : set penchar to char\n");
  30.    printw("  ^C      : quit\n");
  31.    printw("\n\npress any key to continue\n");
  32.    refresh();
  33.    getchar();
  34.    clear();
  35.    move(0,0);
  36.    printw("  >       : special commands:\n");
  37.    printw("          read    : read a file in to page\n");
  38.    printw("          write   : write picture to page\n");
  39.    printw("          fill    : fill region with current char\n");
  40.    printw("          clear   : clear pad\n");
  41.    printw("          quit    : quit\n");
  42.    printw("          suspend : suspend the program to do something else\n");
  43.    printw("          copy    : display copyright notice\n");
  44.    printw("   also, if you want to redifine the keys, you do:\n");
  45.    printw("    setenv UNIDRAW name=key,name=key,...\n");
  46.    printw("   or if you just want vi keys, use:\n");
  47.    printw("    unidraw -v [file]\n\n\n");
  48.    printw("press any key to continue\n");
  49.    refresh();
  50.    getchar();
  51.    clear();
  52. }
  53.