home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / jove414s.zip / tune.h < prev    next >
C/C++ Source or Header  |  1991-06-22  |  2KB  |  77 lines

  1. /***************************************************************************
  2.  * This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne.  JOVE *
  3.  * is provided to you without charge, and with no warranty.  You may give  *
  4.  * away copies of JOVE, including sources, provided that this notice is    *
  5.  * included in all the files.                                              *
  6.  ***************************************************************************/
  7.  
  8. #define TUNED        /* don't touch this */
  9.  
  10. #include "sysdep.h"
  11.  
  12. #ifdef UNIX
  13. # define SUBPROCS    /* only on UNIX systems (NOT INCORPORATED YET) */
  14. # define IPROCS        /* interactive processes */
  15. #endif /* UNIX */
  16.  
  17. #define BACKUPFILES    /* enable the backup files code */
  18. #define F_COMPLETION    /* filename completion */
  19. #define ABBREV        /* word abbreviation mode */
  20. #if !(defined(IBMPC) || defined(MAC))
  21. # define ID_CHAR    /* include code to IDchar */
  22. # define WIRED_TERMS    /* include code for wired terminals */
  23. #endif
  24. #define LISP        /* include the code for Lisp Mode */
  25. #define CMT_FMT        /* include the comment formatting routines */
  26.  
  27. #ifdef UNIX
  28. # define LOAD_AV    /* Use the load average for various commands.
  29. #               Do not define this if you lack a load average
  30. #               system call and kmem is read protected. */
  31. #
  32. # define BIFF        /* if you have biff (or the equivalent) */
  33. # define SPELL        /* spell words and buffer commands */
  34. #endif
  35.  
  36. #define DFLT_MODE    0666    /* file will be created with this mode */
  37.  
  38. #ifdef MAC
  39. # undef F_COMPLETION
  40. # define F_COMPLETION 1
  41. # define byte_zero(s,n) setmem((s),(n),0)
  42. # define swritef sprintf
  43. # define USE_PROTOTYPES    1
  44. # define NBUF 64
  45. # define JBUFSIZ 1024
  46. # undef LISP
  47. # define LISP 1
  48. # undef ABBREV
  49. # define ABBREV 1
  50. # undef CMT_FMT
  51. # define CMT_FMT 1
  52. #endif
  53.  
  54. /* These are here since they define things in tune.c.  If you add things to
  55.    tune.c, add them here too, if necessary. */
  56.  
  57. extern char
  58.     *d_tempfile,
  59.     *p_tempfile,
  60.     *Recover,
  61.     *Joverc,
  62.  
  63. #if (defined(IPROCS) || defined (OS2IPROCS)) && defined(PIPEPROCS)
  64.     *Portsrv,
  65.     *Kbd_Proc,
  66. #endif
  67.  
  68. #ifdef MSDOS
  69.     CmdDb[],
  70. #else
  71.     *CmdDb,
  72. #endif
  73.  
  74.     TmpFilePath[],
  75.     Shell[],
  76.     ShFlags[];
  77.