Commented OS/2 2.0 CONFIS.SYS File

From OS2World.Com Wiki
Jump to navigation Jump to search
Article Info
Author 0
Date
OS Version OS/2 2.0
Companion File N/A
Source 0
REM          ********************************************************
REM          *                                                      *
REM          *    Commented OS/2 2.0 CONFIS.SYS File - August 1992  *
REM          *                                                      *
REM          *    IBM PS/2 Model 80 - 120 Mg HD - one partition     *
REM          *                                                      *
REM          *    Novell Requestor 2.0                              *
REM          *                                                      *
REM          *    Dual Boot                                         *
REM          *                                                      *
REM          *    This is the order that system created. I am not   *
REM          *    sure if the order is significant or random.       *
REM          *                                                      *
REM          *    The communications and database managers add      *
REM          *    many complications. Would love to see them        *
REM          *    in commented format!                              *
REM          *                                                      *
REM          *    This is my actual CONFIG.SYS file.                *
REM          *                                                      *
REM          ********************************************************
REM          *                                                      *
REM          *    reference: IBM OS/2 Command Reference             *
REM          *                                                      *
REM          ********************************************************
REM          ********************************************************
REM          ********************************************************
REM          *                                                      *
REM          *    IFS lines install an optional installable file    *
REM          *    system (see the Novell Requestor below.)          *
REM          *                                                      *
REM          *    I am not using High Performance File System,      *
REM          *    so it is REMed out. /CACHE is cache size in KB,   *
REM          *    CRECL is max record size to cache, number is      *
REM          *    a multiple of 2KB. Other possible parameter is    *
REM          *    AUTOCHECK, which forces a CHKDSK at startup.      *
REM          *                                                      *
REM          ********************************************************
REM
REM IFS=C:\OS2\HPFS.IFS  /CACHE:64 /CRECL:4
REM
REM          ********************************************************
REM          *                                                      *
REM          *    The PROTSHELL statement establishes the default   *
REM          *    operating environment, otherwise defaulting to    *
REM          *    CMD.EXE. I've added the /K parameter to OS2_SHELL *
REM          *    to set an autostart BATCH (CMD) file for OS/2     *
REM          *    command prompt sessions. Filenames must be        *
REM          *    quoted inside a second quoted string which can    *
REM          *    contain arguments: ""file.ext" arg1 "             *
REM          *                                                      *
REM          *    The AUTOSTART settting is for PM SHELL. It can be *
REM          *    modified if you do not want programs to restart,  *
REM          *    just eliminate 'programs' from the list. REM out  *
REM          *    AUTOSTART if not using PMSHELL.                   *
REM          *                                                      *
REM          ********************************************************
REM
PROTSHELL=C:\OS2\PMSHELL.EXE
SET USER_INI=C:\OS2\OS2.INI
SET SYSTEM_INI=C:\OS2\OS2SYS.INI
SET OS2_SHELL=C:\OS2\CMD.EXE /K""MYSTART.CMD""
SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
SET COMSPEC=C:\OS2\CMD.EXE
REM
REM          ********************************************************
REM          *                                                      *
REM          *    LIBPATH is for OS/2 DLL's. PATH is for programs,  *
REM          *    DPATH is for data. HELP and GLOSSARY are self-    *
REM          *    explanatory.                                      *
REM          *                                                      *
REM          ********************************************************
REM
LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;C:\NETWARE;h:\123G
SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\MDOS;C:\OS2\APPS;L:\OS2;C:\NETWARE;P:\OS2;
SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\BITMAP;C:\OS2\MDOS;C:\OS2\APPS;C:\NETWARE;C:\WINDOWS\SYSTEM;
SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
SET GLOSSARY=C:\OS2\HELP\GLOSS;
REM
REM
REM          ********************************************************
REM          *                                                      *
REM          *    This is the OS/2 Command Prompt Definition        *
REM          *                                                      *
REM          ********************************************************
REM
SET PROMPT=$I[$P]
REM
REM          ********************************************************
REM          *                                                      *
REM          *    This setting sets the foreground task priority    *
REM          *    for disk I/O. Other choice is NO. No parameters.  *
REM          *                                                      *
REM          ********************************************************
REM
PRIORITY_DISK_IO=YES
REM
REM          ********************************************************
REM          *                                                      *
REM          *    This is the DOS default value for FILES. Can      *
REM          *    be overridden on session-by-session basis.        *
REM          *                                                      *
REM          ********************************************************
REM
FILES=20
REM
REM          ********************************************************
REM          *                                                      *
REM          *    These DEVICE statements can take a full pathname. *
REM          *    Some are for OS/2, some are for DOS only.         *
REM          *                                                      *
REM          *    TESTCFG.SYS   - unknown, installed by default but *
REM          *                    apparently not required           *
REM          *                                                      *
REM          *    DOS.SYS       - unknown, but apparently required  *
REM          *                                                      *
REM          *    PMDD.SYS      - for PM mouse drawing, and the     *
REM          *                    SHELL will not start without it!  *
REM          *                                                      *
REM          *    MDOS\ANSI.SYS - ANSI support for DOS sessions     *
REM          *                  - not default, I added this line    *
REM          *                                                      *
REM          *    EXT5DD.SYS    - driver for PS/2 5¬" diskette      *
REM          *                    (also not default)                *
REM          *                                                      *
REM          *    I've also seen a ROCSDD.SYS here on other         *
REM          *    systems, but I can't identify it.                 *
REM          *                                                      *
REM          ********************************************************
REM
REM DEVICE=C:\OS2\TESTCFG.SYS
DEVICE=C:\OS2\DOS.SYS
DEVICE=C:\OS2\PMDD.SYS
DEVICE=C:\OS2\MDOS\ANSI.SYS /L /K
DEVICE=C:\EXT5DD.SYS
REM
REM          ********************************************************
REM          *                                                      *
REM          *    This is the OS/2 default value for BUFFERS.       *
REM          *    Usual warnings apply about too many or too few.   *
REM          *                                                      *
REM          ********************************************************
REM
BUFFERS=30
REM
REM
REM          ********************************************************
REM          *                                                      *
REM          *    IOPL grants or denys applications the possibility *
REM          *    of privileged processor access (level 2 vs.       *
REM          *    level 3). Other possible values are NO, or a      *
REM          *    list of specific applications which may have      *
REM          *    privileged processor access.                      *
REM          *                                                      *
REM          ********************************************************
REM
IOPL=YES
REM
REM          ********************************************************
REM          *                                                      *
REM          *    DISKCACHE specifies details about Cache           *
REM          *    operation. 'n' is the number of 1024K blocks,     *
REM          *    with 64 as default. LW is lazy write.             *
REM          *    You may also set other parameters. If you         *
REM          *    specify T, this is the threshold size for the     *
REM          *    number of sectors which will be cached. It        *
REM          *    defaults to 4.  You can also specify AX:x to      *
REM          *    autocheck drive x at system startup.              *
REM          *                                                      *
REM          *    These are settings which OS/2 install selected.   *
REM          *    IBM recommends 256 for 6Mg or greater RAM, and    *
REM          *    threshold size of 32!                             *
REM          *                                                      *
REM          ********************************************************
REM
DISKCACHE=512,LW
REM
REM          ********************************************************
REM          *                                                      *
REM          *    MAXWAIT spoecifies the number of seconds a        *
REM          *    regular process will wait before gaining access   *
REM          *    to processor, thus gaining a temporarily higher   *
REM          *    priority. No default; 3 seems normal, but ideal   *
REM          *    is dependent on your usual number of concurrent   *
REM          *    processes. See PRIORITY, THREADS, TIMESLICE.      *
REM          *                                                      *
REM          *    I added the TIMESLICE line per recommendation     *
REM          *    for comm programs.                                *
REM          *                                                      *
REM          ********************************************************
REM
MAXWAIT=3
TIMESLICE=40,125
REM
REM
REM          ********************************************************
REM          *                                                      *
REM          *    MEMMAN is a memory swap management switch.        *
REM          *    settings are SWAP/NOSWAP, MOVE/MOVE, and/or       *
REM          *    PROTECT. Default is SWAP. This permits the system *
REM          *    to swap and compact memory segments as required.  *
REM          *                                                      *
REM          *    NOSWAP prevents swapping but permits compaction;  *
REM          *    MOVE permits compaction but not swapping;         *
REM          *    NOMOVE prevents everything.                       *
REM          *    PROTECT allows 'certain APIs to allocate and      *
REM          *    use protected memory.'                            *
REM          *                                                      *
REM          *    My system installed SWAP,PROTECT.                 *
REM          *                                                      *
REM          *    SWAPPATH sets the path and size of the file       *
REM          *    managed according to the MEMMAN settings.         *
REM          *    The parameter specifies the minimum free          *
REM          *    space that must remain on the disk.               *
REM          *                                                      *
REM          ********************************************************
REM
MEMMAN=SWAP,PROTECT
SWAPPATH=C:\OS2\SYSTEM  2048
REM
REM          ********************************************************
REM          *                                                      *
REM          *    This is the DOS setting for BREAK.                *
REM          *                                                      *
REM          ********************************************************
REM
BREAK=OFF
REM
REM          ********************************************************
REM          *                                                      *
REM          *    THREADS is the number of threads allowed in OS/2  *
REM          *    and can be from 42 to 4096. Default is 64. See    *
REM          *    MAXWAIT, PRIORITY and TIMESLICE.                  *
REM          *                                                      *
REM          ********************************************************
REM
THREADS=256
REM
REM          ********************************************************
REM          *                                                      *
REM          *    Printer Port Buffer sizes, one each for LPT1,     *
REM          *    LPT2 and LPT3. All must be set. 134 is minimum    *
REM          *    and default. Max is 2048.                         *
REM          *                                                      *
REM          ********************************************************
REM
PRINTMONBUFSIZE=134,134,134
REM
REM          ********************************************************
REM          *                                                      *
REM          *    COUNTRY Identifies country information and        *
REM          *    points to appropriate country file.               *
REM          *                                                      *
REM          ********************************************************
REM
COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
REM
REM
REM          ********************************************************
REM          *                                                      *
REM          *    SET KEYS ON allows OS/2 to have a retrievable     *
REM          *    command buffer.                                   *
REM          *                                                      *
REM          ********************************************************
REM
SET KEYS=ON
REM
REM          ********************************************************
REM          *                                                      *
REM          *    If DELDIR is defined, then OS/2 can UNDELETE      *
REM          *    deleted files. Number is maximum number of        *
REM          *    files, not space.                                 *
REM          *                                                      *
REM          ********************************************************
REM
REM SET DELDIR=C:\DELETE,512;
REM
REM          ********************************************************
REM          *                                                      *
REM          *    BASEDEV statements are the device drivers         *
REM          *    required for OS/2 to start. No drive or path      *
REM          *    references are allowed. Files must be in root     *
REM          *    or in \OS2.                                       *
REM          *                                                      *
REM          *    XXX01 devices for for ISA, XXX02 for Micro        *
REM          *    channel devices.                                  *
REM          *                                                      *
REM          *    PRINT02.SYS         - supports local printers     *
REM          *    IBM2FLPY.ADD        - supports diskette drives    *
REM          *    IBM2SCSI.ADD /LED   - supports SCSI adaptors      *
REM          *                                                      *
REM          *    OS2SCSI.DMD         - gen non-disk SCSI devices   *
REM          *    OS2DASD.DMD         - general disk drives         *
REM          *                                                      *
REM          *    BASEDEV files are loaded in order of their        *
REM          *    extension, not their order in CONFIG.SYS:         *
REM          *    SYS, BOD, VSD, TSD, ADD, I13, FLT and DMD.        *
REM          *                                                      *
REM          *    Other possible devices include PRINT01.SYS        *
REM          *    IBM1FLPY.ADD, IBM1S506.ADD for non MC printer     *
REM          *    floppy and hard disk, IBM2ADSK.ADD for non-       *
REM          *    SCSI micro-channel hard disks, IBMINT13.I13       *
REM          *    for non micro-channel SCSI.                       *
REM          *                                                      *
REM          ********************************************************
REM
BASEDEV=PRINT02.SYS
BASEDEV=IBM2FLPY.ADD
BASEDEV=IBM2SCSI.ADD /LED
BASEDEV=OS2SCSI.DMD
BASEDEV=OS2DASD.DMD
REM
REM
REM          ********************************************************
REM          *                                                      *
REM          *    BOOKSHELF is for Help files, maybe. EPATH is      *
REM          *    not documented but seems to be the default        *
REM          *    location for executables?                         *
REM          *                                                      *
REM          ********************************************************
REM
SET BOOKSHELF=C:\OS2\BOOK;
SET EPATH=C:\OS2\APPS
REM
REM          ********************************************************
REM          *                                                      *
REM          *    I cannot identify the following device driver     *
REM          *    which is usually installed but apparently not     *
REM          *    actually required.                                *
REM          *                                                      *
REM          ********************************************************
REM
REM DEVICE=C:\OS2\APPS\SASYNCDB.SYS
REM
REM          ********************************************************
REM          *                                                      *
REM          *    If PROTECTONLY=YES then DOS sessions cannot run.  *
REM          *                                                      *
REM          ********************************************************
REM
PROTECTONLY=NO
REM
REM          ********************************************************
REM          *                                                      *
REM          *    These are both DOS settings. The SHELL statement  *
REM          *    can be configured with standard COMMAND.COM       *
REM          *    arguments I added the /E to mine, for example.    *
REM          *                                                      *
REM          ********************************************************
REM
SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /E:1024 /P
FCBS=16,8
REM
REM          ********************************************************
REM          *                                                      *
REM          *    RMSIZE sprecifies the default RAM size for DOS    *
REM          *    sessions. Seems to be no reason to set it higher  *
REM          *    than 640, and it can be overridden in particular  *
REM          *    DOS sessions anyway.                              *
REM          *                                                      *
REM          ********************************************************
REM
RMSIZE=640
REM
REM          ********************************************************
REM          *                                                      *
REM          *    These two devices provide virtual LIM  Expanded   *
REM          *    Memory support and mouse support to DOS sessions. *
REM          *                                                      *
REM          *    You can also use \MDOS\VXMS.SYS (see below) for   *
REM          *    virtual XMS Memory support, but it must           *
REM          *    always follow VEMM.SYS, and no other driver can   *
REM          *    use high (between 640 and 1024) memory.           *
REM          *                                                      *
REM          ********************************************************
REM
DEVICE=C:\OS2\MDOS\VEMM.SYS
DEVICE=C:\OS2\MDOS\VMOUSE.SYS  
REM
REM
REM          ********************************************************
REM          *                                                      *
REM          *    This DOS HIGH/LOW, UMB/NOUMB statement is the     *
REM          *    same as DOS 5.0and mouse support to DOS sessions. *
REM          *                                                      *
REM          *    If DOS=UMB then you can use DEVICEHIGH and        *
REM          *    LOADHIGH statements for DOS device drivers.       *
REM          *                                                      *
REM          ********************************************************
REM
DOS=LOW,NOUMB
REM
REM          ********************************************************
REM          *                                                      *
REM          *    Here is another mixed bag of device drivers,      *
REM          *    all for DOS sessions:                             *
REM          *                                                      *
REM          *    MDOS\VDPX.SYS         - unknown                   *
REM          *    MDOS\VXMS.SYS /UMB    - the XMS driver,           *
REM          *                            set to create UMBs        *
REM          *                                                      *
REM          *    MDOS\VDPMI.SYS        - DPMI interface support?   *
REM          *    MDOS\VWIN.SYS         - WIN hi memory support?    *
REM          *    MDOS\VCDROM.SYS       - CD ROM if you got it      *
REM          *                                                      *
REM          ********************************************************
REM
DEVICE=C:\OS2\MDOS\VDPX.SYS  
DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
DEVICE=C:\OS2\MDOS\VDPMI.SYS  
DEVICE=C:\OS2\MDOS\VWIN.SYS    
DEVICE=C:\OS2\MDOS\VCDROM.SYS  
REM
REM          ********************************************************
REM          *                                                      *
REM          *    This DEVINFO is for video code page switching     *
REM          *    and seems not to be display-type specific. The    *
REM          *    The other statements also support specific video  *
REM          *    types. The VIDEO_DEVICES specifies display type   *
REM          *    as VIO_VGA and the VIO_VGA sets (apparently) a    *
REM          *    list of possible display modes?                   *
REM          *                                                      *
REM          *    An XGA system, for example, sets VIDEO_DEVICES    *
REM          *    to VIO_XGA and then sents VIO_XGA to              *
REM          *    DEVICE(BVHVGA,BVHXGA).                            *
REM          *                                                      *
REM          *    The last device is for DOS sessions. Again, an    *
REM          *    XGA system adds \MDOS\VXGA.SYS                    *
REM          *                                                      *
REM          *    Apparently, these are required only if you are    *
REM          *    using PMSHELL or some other graphical environment.*
REM          *                                                      *
REM          ********************************************************
REM
DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
SET VIDEO_DEVICES=VIO_VGA
SET VIO_VGA=DEVICE(BVHVGA)
DEVICE=C:\OS2\MDOS\VVGA.SYS  
REM
REM
REM          ********************************************************
REM          *                                                      *
REM          *    Ah, mouses! You can have one DEVICE DEPENDENT     *
REM          *    and one DEVICE INDEPENDENT mouse device driver,   *
REM          *    in that order, following POINTDD.SYS.             *
REM          *                                                      *
REM          *    The reference manual says that you must           *
REM          *    have a POINTDD.SYS driver 'to effectively use     *
REM          *    a mouse,' (for 'pointer draw' support) but        *
REM          *    that's assuming you are using a graphical shell.  *
REM          *                                                      *
REM          *    The device specific driver (if you have one)      *
REM          *    identifies the mouse and comm port (if it         *
REM          *    uses one) and the device independent driver       *
REM          *    identifies the mouse to MOUSE.SYS. (Don't forget  *
REM          *    PMDD.SYS (above) or the shell won't run.)         *
REM          *                                                      *
REM          ********************************************************
REM
DEVICE=C:\OS2\POINTDD.SYS 
DEVICE=C:\OS2\MOUSE.SYS 
REM
REM          ********************************************************                                                      *
REM          *                                                      *
REM          *    Load any DEVICE=COM.SYS drivers after a mouse     *
REM          *    which uses a comm port. PS/2 90 and 95's also     *
REM          *    need DEVICE=C:\OS2\COMDMA.SYS, since their comm   *
REM          *    ports are specialized.                            *
REM          *                                                      *
REM          *    The MDOS\VCOM.SYS just lets the DOS sessions      *
REM          *    access the comm ports.                            *
REM          *                                                      *
REM          ********************************************************
REM
DEVICE=C:\OS2\COM.SYS 
DEVICE=C:\OS2\MDOS\VCOM.SYS 
REM
REM          ********************************************************
REM          *                                                      *
REM          *    The CODEPAGE and DEVINFO for more code page       *
REM          *    support, the latter for keyboard page switching.  *
REM          *                                                      *
REM          ********************************************************
REM
CODEPAGE=437,850
DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
REM
REM
REM          ********************************************************
REM          *                                                      *
REM          *    These are the Novell Requestor statements, some   *
REM          *    REMed out by the install program since I don't    *
REM          *    use NETBIOS or NAMED PIPES.                       *
REM          *                                                      *
REM          *    Notice the mix of 'daemons' and device drivers,   *
REM          *    and the installable file system. This config      *
REM          *    directly controls the token-ring board. Swap      *
REM          *    LANSUP.SYS for TOKEN.SYS and add Lan Support      *
REM          *    device drivers above, and you can achieve mixed   *
REM          *    protocol environment support.                     *
REM          *                                                      *
REM          ********************************************************
REM
REM --- NetWare Requester statements BEGIN ---
DEVICE=C:\NETWARE\LSL.SYS
RUN=C:\NETWARE\DDAEMON.EXE
DEVICE=C:\NETWARE\TOKEN.SYS
DEVICE=C:\NETWARE\ROUTE.SYS
DEVICE=C:\NETWARE\IPX.SYS
DEVICE=C:\NETWARE\SPX.SYS
RUN=C:\NETWARE\SPDAEMON.EXE
rem DEVICE=C:\NETWARE\NMPIPE.SYS
rem DEVICE=C:\NETWARE\NPSERVER.SYS
rem RUN=C:\NETWARE\NPDAEMON.EXE NP_COMPUTERNAME
DEVICE=C:\NETWARE\NWREQ.SYS
IFS=C:\NETWARE\NWIFS.IFS
RUN=C:\NETWARE\NWDAEMON.EXE
rem DEVICE=C:\NETWARE\NETBIOS.SYS
rem RUN=C:\NETWARE\NBDAEMON.EXE
DEVICE=C:\NETWARE\VIPX.SYS
DEVICE=C:\NETWARE\VSHELL.SYS
REM --- NetWare Requester statements END ---