home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume8
/
unidraw
/
part01
/
help.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-12-19
|
2KB
|
53 lines
#ifndef LINT
static char COPYRIGHT[]="\
COPYRIGHT --- COPYRIGHT --- COPYRIGHT --- COPYRIGHT \n\
This program is copyright 1989 Nils McCarthy. This \
program may be distributed if it is impossible for \
the distributor to get a more up-to-date-version of \
it. \n\
COPYRIGHT --- COPYRIGHT --- COPYRIGHT --- COPYRIGHT \n\
";
static char AUTHOR[]="Copyright 1989 Nils McCarthy";
#endif /* LINT */
#include "unidraw.h"
help()
{
clear();
move(0,0);
printw(" /\n");
printw(" / /\n");
printw(" \\ /\n");
printw(" \\/NIDRAW\n");
printw(" copyright 1989 Nils McCarthy\n");
printw("\n");
printw(" WELCOME TO UNIDRAW! here is a summary of the commands:\n");
printw(" 1-4,6-9 : movement\n");
printw(" ? : help\n");
printw(" ^L : redraw the screen\n");
printw(" p : pen on/off\n");
printw(" \\char : set penchar to char\n");
printw(" ^C : quit\n");
printw("\n\npress any key to continue\n");
refresh();
getchar();
clear();
move(0,0);
printw(" > : special commands:\n");
printw(" read : read a file in to page\n");
printw(" write : write picture to page\n");
printw(" fill : fill region with current char\n");
printw(" clear : clear pad\n");
printw(" quit : quit\n");
printw(" suspend : suspend the program to do something else\n");
printw(" copy : display copyright notice\n");
printw(" also, if you want to redifine the keys, you do:\n");
printw(" setenv UNIDRAW name=key,name=key,...\n");
printw(" or if you just want vi keys, use:\n");
printw(" unidraw -v [file]\n\n\n");
printw("press any key to continue\n");
refresh();
getchar();
clear();
}