35 static void catch_ctrlz(
int);
 
   36 static void catch_int(
int);
 
   42     RETSIGTYPE(*sigtstp) ();
 
   50     if ((tty = isatty(0))) {
 
   51         sigtstp = 
signal(SIGTSTP, catch_ctrlz);
 
   52         if (sigtstp != (RETSIGTYPE(*)())SIG_DFL)
 
   56     eof = fgets(p, 100, stdin);
 
   58     if (strlen(p) > 1 && p[strlen(p) - 1] == 
'\n' && p[strlen(p) - 2] == 
'\r')
 
   59         p[strlen(p) - 2] = 
'\0';        
 
   61         p[strlen(p) - 1] = 
'\0';        
 
   77 static void catch_ctrlz(
int n)
 
   83     RETSIGTYPE(*sigint) ();
 
   91     sigint = 
signal(SIGINT, catch_int);
 
   92     kill(getpid(), SIGINT);
 
   97 static void catch_int(
int n)
 
char buf[GNAME_MAX+sizeof(G3D_DIRECTORY)+2]
G_warning("category support for [%s] in mapset [%s] %s", name, mapset, type)