home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume21 / mced / part01 / config.h next >
C/C++ Source or Header  |  1991-08-09  |  1KB  |  56 lines

  1. /*
  2.  *    configuration file for mced
  3.  */
  4.  
  5. #define MIN_CMD_LEN 5   /* Min number of
  6.                            characters in command
  7.                            line to be considered
  8.                            worthy */
  9.  
  10. #define MAX_CH 300      /* Max number of
  11.                            characters in command
  12.                            line */
  13.  
  14. #define MAX_H_READ 250  /* Max number of history
  15.                            lines possible to
  16.                            read */
  17.  
  18.  
  19. /*
  20.  * the following is from config.h for scan by Patrick J. Wolfe:
  21.  */
  22.  
  23. /*
  24.  *      Define "SIGTYPE" to the type of the value returned by the "signal"
  25.  *      system call.  On BSD 4.2 systems, it's "void".  On BSD 4.3 and SVR3
  26.  *      systems, it's "int".
  27.  *
  28.  *    Define "SYSVcurses" if your system has System V curses.
  29.  */
  30.  
  31. #define SIGTYPE int
  32.  
  33. #define beep()  fprintf (stderr, "\007");
  34.  
  35. #define YES 1
  36. #define NO  0
  37.  
  38. #define EMACS_MODE 1    /* dont edit these, see the Makefile */
  39. #define VI_MODE 0    /* to select emacs mode or vi mode     */
  40.  
  41.  
  42. #include "getch.h"
  43.  
  44. #include <stdio.h>
  45. #include <string.h>
  46. #include <ctype.h>
  47. #include <signal.h>
  48. #include <curses.h>
  49. #include <errno.h>
  50.  
  51. #ifdef SYSVcurses
  52. #include <termio.h>
  53. #else
  54. #include <sys/ioctl.h>
  55. #endif
  56.