From: sl31+@andrew.cmu.edu (Stephen M. Lacy)
Newsgroups: comp.os.os2.misc
Subject: Organized config.sys
Date: 12 Nov 92 21:31:11 GMT
Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA


Hi all,
I remember hearing some talk about how to get your config.sys to be a
little more organized than the random jumble that comes with the
install.  Well, here's what I've gotten working, and it looks pretty
nice:

SET VIO_XGA=DEVICE(BVHVGA,BVHXGA)
IFS=C:\OS2\HPFS.IFS  /CACHE:768 /CRECL:4 /AUTOCHECK:C
PROTSHELL=C:\OS2\PMSHELL.EXE
LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;C:\TCPIP\DLL;C:\EMX\DLL;
PRIORITY_DISK_IO=YES
PROTECTONLY=NO
MAXWAIT=1
MEMMAN=SWAP,PROTECT
SWAPPATH=C:\OS2\SYSTEM 2048 3072
BREAK=OFF
THREADS=256
PRINTMONBUFSIZE=134,134,134
COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
CODEPAGE=437,850
REM SET DELDIR=C:\DELETE,512;
SET USER_INI=C:\OS2\OS2.INI
SET SYSTEM_INI=C:\OS2\OS2SYS.INI
SET OS2_SHELL=C:\OS2\CMD.EXE
SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
SET COMSPEC=C:\OS2\CMD.EXE
SET
PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\CMD;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C
:\OS2\MDOS;C:\OS2\APPS;C:\TCPIP\BIN;C:\UTILS\COMPRESS;C:\EMX\BIN;C:\LANG\
GCC\BIN;
SET
DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\BITM
AP;C:\OS2\MDOS;C:\OS2\APPS;C:\TCPIP\IBMCOM;
SET PROMPT=[$p]
SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;C:\TCPIP\HELP;
SET GLOSSARY=C:\OS2\HELP\GLOSS;
SET BOOKSHELF=C:\OS2\BOOK
SET EPATH=C:\OS2\APPS
SET VIDEO_DEVICES=VIO_XGA
SET VIO_VGA=DEVICE(BVHVGA)
SET KEYS=ON
BASEDEV=PRINT02.SYS
BASEDEV=IBM2FLPY.ADD
BASEDEV=IBM2ADSK.ADD
BASEDEV=OS2DASD.DMD
BASEDEV=XGA.SYS
DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
DEVICE=C:\OS2\TESTCFG.SYS
DEVICE=C:\OS2\DOS.SYS
DEVICE=C:\OS2\PMDD.SYS
DEVICE=C:\OS2\APPS\SASYNCDB.SYS 
DEVICE=C:\OS2\XGARING0.SYS
DEVICE=C:\OS2\POINTDD.SYS 
DEVICE=C:\OS2\MOUSE.SYS
DEVICE=C:\OS2\COM.SYS 
DEVICE=C:\OS2\VDISK.SYS 1024,,

REM ==============================================================
REM ========THE FOLLOWING THINGS ARE FOR DOS ONLY ===================
REM ==============================================================

FCBS=16,8
RMSIZE=640
DOS=LOW,NOUMB
FILES=20
BUFFERS=30
IOPL=YES
DISKCACHE=64,LW
SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
DEVICE=C:\OS2\MDOS\VDPX.SYS 
DEVICE=C:\OS2\MDOS\VCDROM.SYS 
DEVICE=C:\OS2\MDOS\VCOM.SYS 
DEVICE=C:\OS2\MDOS\VMOUSE.SYS
DEVICE=C:\OS2\MDOS\VVGA.SYS
DEVICE=C:\OS2\MDOS\VXGA.SYS    

REM ====================================================================
REM ===== THE FOLLOWING THINGS ARE FOR TCP/IP ===========================
REM ====================================================================

REM DEVICE=C:\TCPIP\IBMCOM\LANMSGDD.OS2 /I:C:\TCPIP\IBMCOM
REM RUN=C:\IBMCOM\LANMSGEX.EXE
DEVICE=C:\TCPIP\IBMCOM\PROTMAN.OS2 /I:C:\TCPIP\IBMCOM
DEVICE=C:\TCPIP\IBMCOM\MACS\IBMTOK.OS2
DEVICE=C:\TCPIP\BIN\INET.SYS
DEVICE=C:\TCPIP\BIN\IFNDIS.SYS
RUN=C:\TCPIP\IBMCOM\NETBIND.EXE

SET ETC=C:\TCPIP\ETC
SET TMP=D:\TEMP
TIMESLICE=100,100
RUN=C:\TCPIP\BIN\CNTRL.EXE
SET XFILES=C:\TCPIP\X11

REM ===================================================================
REM ============THE FOLLOWING THINGS ARE FOR EMACS ===================
REM ===================================================================

SET TERM=ansi-color-2
SET SHELL=c:\os2\cmd.exe
SET HOME=c:\emacs\home

REM ====================================================================
REM =================THE FOLLOWING THINGS ARE FOR GCC ==================
REM ====================================================================

REM SET
CPLUS_INCLUDE_PATH=C:/LANG/GCC/G++-INCLUDE/;C:/LANG/GCC/GCC-INCLUDE;C:/LA
NG/GCC/OS2-INCLUDE
SET C_INCLUDE_PATH=D:/INCLUDE;C:/LANG/GCC/GCC-INCLUDE;C:/LANG/GCC/OS2-INCLUDE
SET INCLUDE=C:\LANG\GCC\OS2-INCLUDE
SET LIB=C:\LANG\GCC\LIB
SET TMPDIR=D:\TEMP

Have fun.

Steve


"Emma, please stop chewing on my purple love seat."
Newsgroups: comp.os.os2.misc