home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume32 / shlm / part01 / config.h < prev    next >
Text File  |  1992-09-20  |  4KB  |  103 lines

  1. /*
  2. **
  3. **    config.h for shm and condump/restore
  4. **
  5. */
  6.  
  7. /* tabs = 4 */
  8.  
  9. /*---------------------------------------------------------------------
  10.       Comment this out if you don't have curses/terminfo, and want to use
  11.       termcap */
  12.  
  13. #define TERMINFO        
  14.  
  15. /*---------------------------------------------------------------------
  16.     Uncomment either line if you don't have void. */
  17.  
  18. /*#define void int        /**/
  19. /*typedef int void         /**/
  20.  
  21. /*---------------------------------------------------------------------
  22.       Comment this out if you don't want .profile executed at each
  23.     shell startup. If uncommented, your profile should check for $LAYER
  24.     and set an appropriate prompt. */
  25.  
  26. #define SHELL_STARTUP    
  27.                            
  28. /*----------------------------------------------------------------------
  29.     Used to change the utmp entry to the proper tty name for use by 'who',
  30.     etc. */
  31.  
  32. #define USE_GETUT
  33.  
  34. /*---------------------------------------------------------------------
  35.     Define this to be more layer groups than your kernel supports,
  36.     which should equal (Number_of_sxt_devices / MAXPCHAN) + 1 */
  37.  
  38. #define    MAX_SXT_GROUPS 10
  39.  
  40. /*---------------------------------------------------------------------
  41.     Where are your sxt devices?  If your sxt devices are not in the /dev
  42.     directory, but only in the /dev/sxt/ directory, you need to add a slash
  43.     at the end of this string, and you may need add the slash to the scripts
  44.     contained in the shm.doc file */
  45.     
  46. #define SXT_DEVICE "/dev/sxt"    
  47.  
  48. /*---------------------------------------------------------------------
  49.     Uncomment this and enter a value if your sxt devices are not continuous.
  50.     If so, define this to equal the step increment needed to get from the
  51.     first member of one sxt grouping to the next. */
  52.  
  53. /*#define SXT_STEP    10 */
  54.  
  55. /*---------------------------------------------------------------------
  56.     Comment this if you don't want console screens saved during
  57.     layer switches */
  58.  
  59. #define USE_CONDUMP            
  60.  
  61. /*---------------------------------------------------------------------*/
  62. /* THESE ARE ALL CONSOLE SCREEN PARAMETERS, USED BY CONDUMP/RESTORE
  63.    IF YOU ARE NOT USING THESE OR USE_CONDUMP, YOU MAY STOP HERE        */
  64.  
  65. /*---------------------------------------------------------------------*/
  66.  
  67.  
  68. #define SCREEN_LINES        25            /* console screen rows */
  69. #define SCREEN_COLS         80            /* console screen columns */
  70.  
  71. /*---------------------------------------------------------------------
  72.      On PC text screens, for each console screen character, there is
  73.      one ASCII byte followed by one attribute byes, hence a value of 2 */
  74.  
  75. #define SCREEN_CHAR_SPACING 2    
  76.  
  77. /*---------------------------------------------------------------------
  78.      if you're not on a PC, try looking in /usr/include/sys/kd.h for
  79.      MONO_BASE or COLOR_BASE */
  80.  
  81. #define SCREEN_START         0xB0000        /* Mono  - MDA,Mono VGA */
  82. /*#define SCREEN_START         0xB8000        /* Color - CGA,EGA,VGA,SVGA */
  83.  
  84. /*---------------------------------------------------------------------
  85.      This should be a visable character that you rarely see on the screen.
  86.     On my screen, it is a trianglular character */
  87.  
  88. #define CURSOR_MARK         '\177'    
  89.  
  90. /*---------------------------------------------------------------------*/
  91.  
  92. #define CONSOLE_TERM_TYPE    "AT386-M"    
  93. #define CONSOLE_DEVICE         "/dev/console"
  94. #define MEMORY_DEVICE        "/dev/mem"        /* real, not virtual memory */
  95.  
  96. /*---------------------------------------------------------------------*/
  97.                     /* DO NOT EDIT PAST THIS LINE */
  98. /*---------------------------------------------------------------------*/
  99. /* computed */
  100. #define SCREEN_SIZE (SCREEN_LINES * SCREEN_COLS * SCREEN_CHAR_SPACING)
  101.  
  102.  
  103.