; +---------------------------------------+--------------------------+
; | 4DOS    .INI created by Urs Mellini,  |   C_Date: 07.11.1991     |
; | Im Weingarten 1, CH-5620 Bremgarten   |   M_Date: 17.10.1994     |
; +---------------------------------------+--------------------------+
; | 4DOS-Inits       [] = Default value   () = from this version on  |
; +------------------------------------------------------------------+

PauseOnError   = Yes         ; [Yes] Pause on each error in 4DOS.INI
INIQuery       = No          ; [No] (5.00) Query for each line in 4DOS.INI

; ͻ
;  PRIMARY SHELL ONLY                 
; ͼ

[Primary]                    ; Set primary shell directives

; Ŀ
;  Initialization Directives          
; 

; The directives in this section control how 4DOS starts and where it
; look for the 4START and 4EXIT batch files

4StartPath     = C:\4DOS\    ; Path for 4START and 4EXIT
AutoExecPath   = C:\         ; Path and optional file name for AUTOEXEC.BAT
AutoExecParms  =             ; (5.00) Parameters for AUTOEXEC.BAT
                             ; The parameters will be available in your
                             ; AUTOEXEC.BAT file as %1, %2, etc.
HelpPath       = C:\4DOS\    ; Path to 4HELP.EXE
LogName        = C:\4DOS\4DOS.LOG ; Log file name
HistLogName    = C:\4DOS\4HST.LOG ; (5.00) History log file name
                             ; Using HistLogName does not turn history
                             ; logging on; you must use a LOG /H ON
                             ; command to do so.
Alias          = 2048        ; [1024] Size of alias list  (256-32767)
Environment    = 0768        ; [0512] Size of environment (160-32767)
EnvFree        = 0128        ; [0128] Required free space in environment
                             ; (128-32767)
History        = 0640        ; [1024] Size of history list (512-8192)
DirHistory     = 0256        ; [256] (5.50) Size of directory history list
                             ; (128-2048)
UMBAlias       = No          ; [No] (5.00) Load global aliases in UMB
                             ; Yes | NO | 1 | 2 ... | 8: Yes attempts to
                             ; load GLOBAL alias list storage into a UMB
                             ; If you use a specific region number (1
                             ; through 8), 4DOS will attempt to reserve
                             ; room for the global alias list in that UMB
                             ; region.
UMBEnvironment = Yes         ; [No] Load master environment in UMB
                             ; Yes | NO | 1 | 2 ... | 8
                             ; UMP number at version 5.00 and above
                             ; Yes = ev. conflicts with utils who
                             ; access master environment directly
UMBHistory     = No          ; [No] (5.00) Load global history in UMB
                             ; Yes | NO | 1 | 2 ... | 8
UMBDirHistory  = No          ; [No] (5.50) Yes attempts to load global
                             ; directory history list storage into a UMB.
                             ; Yes | NO | 1 | 2 ... | 8
UMBLoad        = Yes         ; [No] Load resident part of 4DOS in UMB
                             ; Yes | NO | 1 | 2 ... | 8
                             ; UMP number at version 5.00 and above
LocalAliases   = Yes         ; [Yes] (5.00) Local vs. global aliases
                             ; Yes keeps the lists for each shell separate.
                             ; Any changes made to the aliases will
                             ; only affect the current copy of 4DOS.
                             ; They will not be visible in other
                             ; shells or other sessions.
                             ; No forces all copies of 4DOS to share the
                             ; same alias list. And any changes made
                             ; to the aliases in one copy will affect
                             ; all other copies.
LocalHistory   = Yes         ; [Yes] Local vs. global history
                             ; No forces all copies of 4DOS to share
                             ; the same history list.  Yes keeps the
                             ; lists for each shell separate.
                             ; Effect description see LocalAlias
LocalDirHistory = Yes        ; [Yes] (5.50) No: No forces all copies of
                             ; command processor to share the same directory
                             ; history. Yes keeps the directory histories for
                             ; each shell separate. See Directory History
                             ; Window for more details on local and global
                             ; directory histories.
HelpOptions    = /X /L       ; Options for help system
                             ; /S1 = Set MouseSpeed on Help to DefaultSpeed
                             ; /L  = Lock scrolling
                             ; /X  = Disable the mouse while Help is running
                             ; for more available options, see HELP
Swapping       = XMS, EMS, I:\, C:\TEMP\, None  ; Swapping type(s)
                             ; The swap area for the transient portion
                             ; normally requires about 128K bytes of
                             ; memory or disk space for the primary
                             ; shell, and 28 - 32K bytes for each
                             ; secondary shell.

; Ŀ
;  Configuration Directives           
; 

; These directives control the way that 4DOS operates. Some can be changed
; with the SETDOS command while 4DOS is running. Any corresponding SETDOS
; command is listed in the description of each directive

AmPm           = No          ; [No] Time display format
                             ; Yes: 12-hour format with a trailing 'a' or 'p'
                             ; No : 24-hour format
                             ; Auto= formats the time according to the country
                             ; code set for your system. (DIR and SELECT
                             ; displays, LOG files, the output of TIMER, +
                             ; the DATE + TIME commands. Not affect by
                             ; %_TIME, %@MAKETIME, or PROMPT $t and $T.)
ANSI           = Auto        ; [Auto] ANSI driver state
                             ; AUTO = 4DOS dedect itself of ANSI is installed
                             ; Also see SETDOS /A
BatchEcho      = Yes         ; [Yes] Default batch file echo state
                             ; Yes = BATCH's echoes until ECHO=OFF
                             ; No = disables batch file echoing unless ECHO
                             ; is explicitly set on.
                             ; Also see SETDOS /V
BeepFreq       = 440         ; [440] Default beep frequency (in Hz)
                             ; 0 = disable all error beeps
BeepLength     = 0002        ; [2] Default beep length (1/18sec)
                             ; 0 = disable all error beeps
CommandSep     = ^           ; [^] Multiple command separator character
                             ; (Execpt: |<> ,=,Tab,Space)
                             ; Also see SETDOS /C or the %+ internal var
CursorIns      = 010         ; [100] Cursor shape in insert mode (0-100)
                             ; Also see SETDOS /S
CursorOver     = 010         ; [015] Cursor shape in overstrike mode (0-100)
                             ; Also see SETDOS /S
DescriptionMax = 511         ; [40] (5.00) Maximum length of file descriptions
                             ; (20-511)
DescriptionName = DESCRIPT.ION
                ; ^^^^^^^^^^^^ (5.50) Name of file to hold file
                             ; descriptions. (Default = DESCRIPT.ION)
Descriptions   = Yes         ; [Yes] (5.00) Enable / disable description
                             ; processing
                             ; Affects the commands COPY, DEL, MOVE, and REN
EditMode       = Insert      ; [Overstrike] Editing mode for CommandLine
                             ; Insert | Overstrike
                             ; Also see SETDOS /M
EscapeChar     = Ctrl-X      ; [Ctrl-X (ASCII=[27])] 4DOS escape character
                             ; (Execpt: |<> ,=,Tab,Space)
                             ; Also see SETDOS /E or the %= internal var
EvalMax        = 8           ; [8] (5.50) Max digits after decimal point in
                             ; @EVAL (0-8)
EvalMin        = 0           ; [0] (5.50) Min digits after decimal point in
                             ; @EVAL (0-8)
HistCopy       = No          ; [No] (5.00) History copy mode
                             ; Yes = Appends a re-executed command (from
                             ; the command history) to the history list
HistMin        = 002         ; [0] Minimum command length to save
                             ; (0=save everthing, 256 disable all command-
                             ; saves)
HistWinHeight  = 25          ; [12] History window height (5 to ScreenHeight)
HistWinLeft    = 50          ; [40] History window left side position
                             ; (0 to ScreenWidth minus 10)
HistWinTop     = 00          ; [01] History window top position
                             ; (0 to ScreenHigh minus 5)
HistWinWidth   = 40          ; [36] History window width
                             ; including the Border (10 to Width of Screen)
LineInput      = No          ; [No] Enable / disable line input mode
                             ; Yes forces 4DOS to use its Input via DOS
                             ; Service INT 21H 0AH (GetLine)
                             ; Yes disable CMD-Line-Editing, History-Recall,
                             ; directory history window and FileName-Completion
                             ; If you have a particular program that requires
                             ; line input, you can use SETDOS /L to
                             ; temporarily change modes.
NoClobber      = NO          ; [No] Overwrite protection for output redirection
                             ; Yes will prevent standart output redirection
                             ; from overwriting an existing file, and will
                             ; require that the output file already exist for
                             ; append redirection
                             ; Also see SETDOS /N
ParameterChar  = &           ; [&] Alias / batch file parameter character
                             ; Character to specify all or all remaining
                             ; command line argument (OS/2='$')
                             ; Also see SETDOS /P
Printer        = PRN         ; [LPT1] (5.00) LIST print device
                             ; PRN, LPT1..3, COM1..4, NUL (will disable
                             ; printed output), or any other installed
                             ; character device
ScreenColumns  =             ; [nnnn] (5.00) Screen width
                             ; Sets the number of columns used by the video
                             ; display. (Normally autom. detect)
ScreenRows     =             ; [nnnn] Screen height
                             ; Sets the number of screen rows used by the
                             ; video display (Normally autom. detect)
                             ; Also see SETDOS /R
UpperCase      = Yes         ; [No] Force file names to upper case
                             ; Specified File-Names-Display for internal
                             ; commands like COPY and DIR
                             ; Also see SETDOS /U

; Ŀ
;  Color Directives                   
; 

; These directives control the colors that 4DOS uses for its displays
; This directives takes a color specification in the form:
; [BRIght] [BLInk] fg ON bg [BORder bc]
; The allowable color names are:
; Black    Blue    Green    Red    Magenta    Cyan    Yellow    White

BrightBG       = No          ; [NO] Bright background colors
                             ; Yes switches the video board to
                             ; display bright background colors rather than
                             ; blinking foreground colors within 4DOS. No
                             ; switches to blinking foreground mode and
                             ; disables bright backgrounds.
                             ; See also SETDOS /B
ColorDir       =             ; Directory colors
                             ; See examples

;Example1: DIRS:RED ON BLUE; RDONLY:YELLOW ON BLUE; HIDDEN:YELLOW ON BLUE
;Example1  SYSTEM:YELLOW ON BLUE; ARCHIVE:BRIGHT WHIT ON BLUE
;Example1  COM EXE:BLINK RED ON BLUE

;Example2: HIDDEN:BRI BLA;DIRS:RED;EXE COM OVL SYS DEV:BRI YEL;BAK BK?:
;Example2  BLU;DOC TXT:BRI CYA;BAT BTM:BRI MAG;ZIP ARJ LZH SDN ARC ZOO:GRE

HistWinColor   = Blue ON White ; DefaultColors for the CommandLineHistoryWindow
                               ; [BRIght] [BLInk] fg on bg [BORder bc]
                               ; (NotUse=Reversed  CurrentScreenColors)
InputColors    = Bright White ON Blue ; (5.00) Command-line input colors
ListColors     = Black ON White       ; Sets the colors of LIST and SELECT
                                      ; If ListColors not used then LIST and
                                      ; SELECT use the StdColors
ListStatBarColors   = Black ON Cyan   ; (5.00) LIST status bar colors
SelectColors        = Black ON White  ; (5.00) SELECT display colors
SelectStatBarColors = Black ON Cyan   ; (5.00) SELECT status bar colors
StdColors           = Bright White ON Blue ; Standard display colors

; Ŀ
;  Key Mapping Directives             
; 

; The directives in this group allow you to change the keys used for 4DOS
; command line editing and other internal functions. They take effect only
; inside 4DOS itself and do not affect other programs (including 4DOS's
; external help program 4HELP.EXE).

; This directives takes a key specification in the form:

; [Prefix-]Keyname

; NormalKey = Keyname gibt die Tastenbelegung wieder frei

; The key prefix can be left out, or it can be any one of the following;

; Alt   followed by A - Z, 0 - 9, F1 - F12. or Bksp
; Ctrl  followed by A - Z, F1 - F12, Bksp, Enter, Left, Right, Home, End
;                   PgUp, PgDn, Ins or Del
; Shift followed by F1 - F12 or Tab

; The possible key names are:

; A - Z        Esc      Enter     Left      PgDn     Ins
; 0 - 9        Bksp     Up        Right     Home     Del
; F1 - F12     Tab      Down      PgUp      End

; Ŀ
;  General Input Keys                 
; 

; This first set of Key Mapping Directives applies to all input. These
; directives are effective whenever 4DOS requests input from the keyboard,
; including command line editing and the DESCRIBE, ESET, INPUT, LIST, and
; SELECT commands.

Backspace      = Bksp        ; Deletes the character to the left of the cursor
BeginLine      = Home        ; Moves the cursor to the beginning of the line
Del            = Del         ; Deletes the character at the cursor
DelToBeginning = Ctrl-Home   ; Deletes from the cursor to the start of the line
DelToEnd       = Ctrl-End    ; Deletes from the cursor to the end of the line
DelWordLeft    = Ctrl-L      ; Deletes the word to the left of the cursor
DelWordRight   = Ctrl-R      ; Deletes the word to the right of the cursor
DelWordRight   = Ctrl-Bksp   ; Deletes the word to the right of the cursor
Down           = Down        ; Scroll the display down one line in LIST
                             ; Moves the cursor down one line in SELECT ans
                             ; in the command history window
EndLine        = End         ; Moves the cursor to the end of the line
EraseLine      = ESC         ; Deletes the entire line
ExecLine       = Enter       ; Executes or accepts a line
Ins            = Ins         ; Toggles insert / overstrike mode during line
                             ; editing
Left           = Left        ; Moves the cursor left one character
                             ; Moves the display left 8 columns in LIST
NormalKey      =             ; Deassigns a general input key in order to
                             ; disable the usual meaning of the key within
                             ; 4DOS and / or make it available for keystrokes
                             ; aliases
Right          = Right       ; Moves the cursor right on character
                             ; Scrooll the display right 8 columns in LIST
Up             = Up          ; Scrolls the display up one line in LIST
                             ; Moves the cursor up one line in SELECT and
                             ; in the command history window
WordLeft       = Ctrl-Left   ; Moves the cursor left one word
                             ; Scrolls the display left 40 columns in LIST
WordRight      = Ctrl-Right  ; Moves the cursor right one word
                             ; Scrolls the display right 40 columns in LIST

; Ŀ
;  Command Line Editing Keys          
; 

; The following directives apply only to command line editing. They are only
; effective at the 4DOS prompt.

AddFile        = F10         ; Keeps the current filename completion entry
                             ; and inserts the next matching name
CommandEscape  =            ; Allows direct entry of a keystroke that would
                             ; normally be interpreted as an editor command
DelHistory     = Ctrl-D      ; Deletes the displayed history list entry and
                             ; display the previous entry
EndHistory     = Ctrl-E      ; Displays the last entry in the history list
Help           = F1          ; Invokes the 4DOS HELP facility
NextFile       = F9          ; Gets the next matching filename
NextFile       = Tab         ; Gets the next matching filename
NextHistory    = Down        ; Recalls the next command from the command
                             ; history
NormalEditKey  =             ; Deassigns a command line editing key in order
                             ; to disable the usual meaning of the key while
                             ; editing a command line and / or make it
                             ; available for keystroke aliases
PopFile        = F7          ; (5.00) Opens the filename completion window
PopFile        = Ctrl-Tab    ; (5.00) Opens the filename completion window
PrevFile       = F8          ; Gets the previous matching filename
PrevFile       = Shift-Tab   ; Gets the previous matching filename
PrevHistory    = Up          ; Recalls the previous command from the command
                             ; History
SaveHistory    = Ctrl-Enter  ; [Ctrl-K] Saves the command line in the history
                             ; list without executing it

; Ŀ
;  History and @SELECT Window Keys    
; 

; The keys in this group of Key Mapping Directives are effective only inside
; the history window

DirWinOpen     = Ctrl-PgUp   ; (5.00) Opens the directory history window
HistWinBegin   = Ctrl-PgUp   ; Moves to the first line of the history when in
                             ; the history window
HistWinDel     = Ctrl-D      ; Deletes a line from within the history window
HistWinEdit    = Ctrl-Enter  ; Moves a line from the history window to the
                             ; prompt for editing
HistWinEnd     = Ctrl-PgDn   ; Moves to the last line of the history when in
                             ; the history window
HistWinExec    = Enter       ; Executes the selected line in the history window
HistWinOpen    = PgUp        ; Brings up the history window while at the
                             ; command line
NormalHWinKey  =             ; Deassigns a history window key in order to
                             ; disable the usual meaning of the key within
                             ; the history window

; Ŀ
;  LIST keys                          
; 

; The keys in the last group of Key Mapping Directives are effective only
; inside the LIST command.

ListFind       = F           ; Prompts and searches for a string
ListHex        = X           ; (5.00) Toggles hexadecimal display mode
ListHighBit    = H           ; Toggles LIST's 'strip high bit' option,
                             ; which can aid in displaying files from
                             ; certain word processors
ListInfo       = I           ; (5.00) Displays information about the current
                             ; file
ListNext       = N           ; Finds the next matching string
ListPrint      = P           ; Prints the File on LPT1
ListWrap       = W           ; Toggles LIST's wrap option on and off
NormalListKey  =             ; Deassigns a LIST key in order to disable
                             ; the usual meaning of the key within LIST

; Ŀ
;  Advanced Directives                
; 

; This directives are used for unusual circumstances or for diagnosting
; problems. They are not needed in normal use.

ChangeTitle    = No          ; [Yes] Determines wether 4DOS changes the
                             ; OS/2 session title when running an external
                             ; program from an OS/2 2.0 DOS session
; ClearKeyMap                ; Clear default key mappings
                             ; Clears all current key mappings. This is a
                             ; special directive which has no value or "="
                             ; after it. Use ClearKeyMap to make one of the
                             ; keys in 4DOS's default map (Tab, Shift-Tab, or
                             ; Ctrl-Bksp) available for a keystroke alias.
                             ; Better description will available in the DOC!
CopyEA         = No          ; [Yes] Determines whether the 4DOS COPY
                             ; and MOVE commands attempt to copy extended
                             ; attributes when running in an OS/2 DOS session
CritFail       = No          ; [No] Automatic fail on critical errors
                             ; This is the same as /F on the
                             ; SHELL-Line in CONFIG.SYS
DiskReset      = No          ; [No] Reset disk drives on file commands
                             ; after COPY,DEL/ERASE,DESCRIBE,MOVE,REN/RENAME
                             ; and before DIR.
DRSets         = No          ; [Yes] DR-DOS SET-Feature-Support
DVCleanup      = No          ; [Yes] Clean up on DESQview window close
FineSwap       = No          ; [No] Yes enables 'fine-grained' checksums
                             ; during disk swapping
FullINT2E      = No          ; [Yes] Full interrupt 2E support
                             ; Enables full support for the COMMAND
                             ; 'back door' (INT 2E). Yes adds about 100 bytes
                             ; to the resident size of the primary shell
Inherit        = Yes         ; [Yes] Inherit aliases and history
                             ; .INI file data, aliases and history list are
                             ; normally passed to secondary shells
                             ; automatically. No disables this feature
MessageServer  = Yes         ; [Yes] COMMAND.COM message server
NetwareNames   = No          ; [No] Novell Netware support
                             ; Set to Yes to include strings in the
                             ; resident portion of 4DOS which Novell Netware
                             ; searches for when it loads
NextINIFile    = C:\4DOS\4SHELL.INI  ; Set secondary shell .INI file name
Reduce         = Yes         ; 'No' disable the smaller swap size used
                             ; by 4DOS secondary shells
ReserveTPA     = Yes         ; This is necessary to avoid undeesirable
                             ; interactions between 4DOS and Windows
OutputBIOS     = No          ; [No] (5.00) Use BIOS instead of direct video
                             ; output
SDFlush        = No          ; [No] (5.50) Control SMARTDRV write-behind
                             ; buffers
StackSize      = 4096        ; [4096] Internal stack size (4096 to 8192)
SwapReopen     = No          ; [No] Reopen swap file if it is closed
                             ; Set to 'Yes' to enable reopening of the
                             ; 4DOS swap file if it is closed by another
                             ; program (Novell Netware drives)
UniqueSwapName = No          ; [No] Use unique swap file name
                             ; [Yes] in OS/2 DOS-Sessions
                             ; Yes changes the disk swap file name from
                             ; 4DOSSWAP.nnn to a unique name with an
                             ; extension of '4SW' (eg: a1gd6nnw.4sw)

; ͻ
;  SECONDARY SHELL ONLY               
; ͼ

[Secondary]                  ; Set secondaries shell directives

UMBEnvironment = Yes         ; Load Environment high (into a UMB)
UMBLoad        = Yes         ; Load 4DOS high (into a UMB)

Swapping       = XMS, EMS, I:\, C:\TEMP\, None  ; Swapping-Specifications
