home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
misc
/
volume32
/
shlm
/
part01
/
config.h
< prev
next >
Wrap
Text File
|
1992-09-20
|
4KB
|
103 lines
/*
**
** config.h for shm and condump/restore
**
*/
/* tabs = 4 */
/*---------------------------------------------------------------------
Comment this out if you don't have curses/terminfo, and want to use
termcap */
#define TERMINFO
/*---------------------------------------------------------------------
Uncomment either line if you don't have void. */
/*#define void int /**/
/*typedef int void /**/
/*---------------------------------------------------------------------
Comment this out if you don't want .profile executed at each
shell startup. If uncommented, your profile should check for $LAYER
and set an appropriate prompt. */
#define SHELL_STARTUP
/*----------------------------------------------------------------------
Used to change the utmp entry to the proper tty name for use by 'who',
etc. */
#define USE_GETUT
/*---------------------------------------------------------------------
Define this to be more layer groups than your kernel supports,
which should equal (Number_of_sxt_devices / MAXPCHAN) + 1 */
#define MAX_SXT_GROUPS 10
/*---------------------------------------------------------------------
Where are your sxt devices? If your sxt devices are not in the /dev
directory, but only in the /dev/sxt/ directory, you need to add a slash
at the end of this string, and you may need add the slash to the scripts
contained in the shm.doc file */
#define SXT_DEVICE "/dev/sxt"
/*---------------------------------------------------------------------
Uncomment this and enter a value if your sxt devices are not continuous.
If so, define this to equal the step increment needed to get from the
first member of one sxt grouping to the next. */
/*#define SXT_STEP 10 */
/*---------------------------------------------------------------------
Comment this if you don't want console screens saved during
layer switches */
#define USE_CONDUMP
/*---------------------------------------------------------------------*/
/* THESE ARE ALL CONSOLE SCREEN PARAMETERS, USED BY CONDUMP/RESTORE
IF YOU ARE NOT USING THESE OR USE_CONDUMP, YOU MAY STOP HERE */
/*---------------------------------------------------------------------*/
#define SCREEN_LINES 25 /* console screen rows */
#define SCREEN_COLS 80 /* console screen columns */
/*---------------------------------------------------------------------
On PC text screens, for each console screen character, there is
one ASCII byte followed by one attribute byes, hence a value of 2 */
#define SCREEN_CHAR_SPACING 2
/*---------------------------------------------------------------------
if you're not on a PC, try looking in /usr/include/sys/kd.h for
MONO_BASE or COLOR_BASE */
#define SCREEN_START 0xB0000 /* Mono - MDA,Mono VGA */
/*#define SCREEN_START 0xB8000 /* Color - CGA,EGA,VGA,SVGA */
/*---------------------------------------------------------------------
This should be a visable character that you rarely see on the screen.
On my screen, it is a trianglular character */
#define CURSOR_MARK '\177'
/*---------------------------------------------------------------------*/
#define CONSOLE_TERM_TYPE "AT386-M"
#define CONSOLE_DEVICE "/dev/console"
#define MEMORY_DEVICE "/dev/mem" /* real, not virtual memory */
/*---------------------------------------------------------------------*/
/* DO NOT EDIT PAST THIS LINE */
/*---------------------------------------------------------------------*/
/* computed */
#define SCREEN_SIZE (SCREEN_LINES * SCREEN_COLS * SCREEN_CHAR_SPACING)