home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume26 / utree / part01 / sys / conf.h.SUN < prev    next >
Encoding:
Text File  |  1992-09-06  |  2.3 KB  |  56 lines

  1. /*
  2.  *      CONF.H
  3.  *      UTREE system dependent configurable definitions.
  4.  *      3.03-um klin, Sat Feb 15 19:23:58 1992
  5.  *
  6.  *      Copyright (c) 1991/92 by Peter Klingebiel & UNIX Magazin Muenchen.
  7.  *      For copying and distribution information see the file COPYRIGHT.
  8.  *
  9.  *      Version:        SUN4 (SPARC) SunOs 4.1.x
  10.  */
  11. #if     defined(_MAIN_) && !defined(lint)
  12. static char sccsid_conf[] = "@(#) utree 3.03-um (klin) Feb 15 1992 conf.h";
  13. #endif  /* _MAIN_ && !lint */
  14.  
  15. /*
  16.  *      This file contains definitions you can change for your needs.
  17.  */
  18.  
  19. /*
  20.  *      SOME UTREE DEPENDENT DEFINITIONS.
  21.  */
  22.  
  23. /* BSD: define HASVSPRINTF if your system supports vsprintf(3)          */
  24. #define HASVSPRINTF             /* Not needed for SYSV!                 */
  25.  
  26. /* SYSV: define HASFIONREAD if your system supports the FIONREAD        */
  27. /*       ioctl(2) system call to check how many chars are typed ahead   */
  28. /*#define HASFIONREAD             /* Not needed for BSD!                  */
  29.  
  30. /* SYSV: define HASVFORK if your system supports vfork(2)               */
  31. /*#define HASVFORK                /* Not needed for BSD!                  */
  32.  
  33. /* SYSV: define NODIRENT if your system not supports the directory type */
  34. /*       struct dirent with opendir(3), closedir(3) and readdir(3)      */
  35. /*#define NODIRENT                /* Needed only for older SYSVs          */
  36.  
  37. /* ALL: define NOWINCHG to ignore sreen resizing on window systems. The */
  38. /*      handling of screen resizing is intended as a little bit support */
  39. /*      for window systems like X, but it may not run on your system.   */
  40. /*      ATTENTION: Resizing may be confusing for utree anyway!          */
  41. /*#define NOWINCHG                /* No screen resizing allowed           */
  42.  
  43. /* ALL: define STRUCTCOPY if your compiler doesn't support assignment   */
  44. /*      of struct variables, i.e. t[o] = f[rom].                        */
  45. /*#define STRUCTCOPY(f, t) memcpy(t, f, sizeof(f))        /* For SYSV     */
  46. /*#define STRUCTCOPY(f, t) bcopy(f, t, sizeof(f))         /* For BSD      */
  47.  
  48. /* ALL: define UTCLOCK for a clock updated in echo line every second    */
  49. #define UTCLOCK                 /* Show/update clock                    */
  50.  
  51. /* ALL: directory for utree startup file and help pages                 */
  52. #ifndef UTLIB
  53. # define UTLIB "/usr/local/lib"
  54. #endif  /* !UTLIB */
  55.  
  56.