Dec 302017
 
A full-screen editor for inspecting and modifying the directives contained in an OS/2 CONFIG.SYS file, includes C source code.
File OS2CNFIG.ZIP from The Programmer’s Corner in
Category OS/2 Files
A full-screen editor for inspecting and modifying the directives contained in an OS/2 CONFIG.SYS file, includes C source code.
File Name File Size Zip Size Zip Type
CONFIG.C 37594 8350 deflated
CONFIG.DOC 2419 1181 deflated
CONFIG.EXE 16705 10086 deflated

Download File OS2CNFIG.ZIP Here

Contents of the CONFIG.DOC file



CONFIG
OS/2 Command

Ray Duncan
September 12, 1989 (Utilities)


Purpose:A full-screen editor for inspecting and modifying the
directives contained in an OS/2 CONFIG.SYS file.

Format:CONFIG [pathname]

Remarks:The optional pathname parameter may be specified if the OS/2
CONFIG.SYS file is located other than in the root directory of the boot drive.
CONFIG.EXE will exit if the file is not found or if its read-only attribute is
set.

Entry into and exit from CONFIG.EXE are always made from its browse
mode. When exiting, pressing Esc discards any changes made during the session;
pressing X (eXit) saves a modified CONFIG.SYS file and renames the previous
CONFIG.SYS with a .BAK extension. Confirming prompts are used with all crucial
actions.

In browse mode, the entire line is highlighted in reverse video, and
movement through the CONFIG.SYS file is made with the Uparrow, DownArrow, PgUp,
PgDn, Home, and End keys. Pressing D will delete an entire line and pressing R
will restore it in this mode.

Edit mode is entered by pressing either A (Add line at end of file), C
(Change current line), or I (Insert line before current line). In edit mode,
either the name field or the value field is highlighted and available for
modification. In the directive PRIORITY=DYNAMIC, for example, PRIORITY is the
name and DYNAMIC is the value. The Tab and Shift-Tab keys toggle between the
two fields.

When editing the name field, the UpArrow and DownArrow keys cycle
through an alphabetical listing of all valid directives. No other entries can
be made in this field. In the value field, however, CONFIG.EXE becomes a normal
editor, with insert and overstrike modes toggled by the Ins key. Character
deletions are made with the Del key, and Ctrl-End deletes to the end of the
line. The Backspace key deletes the character under the cursor in insert mode
and replaces it with a blank in overstrike mode. Cursor motion within a line is
made with the Left and Right Arrow keys, Home, and End. Press Enter to accept,
or Escape to discard changes made to a line and return to browse mode.

Note: CONFIG.EXE and CONFIG.C, its source code file (written in
Microsoft C, Version 5.1), may be downloaded from PC MagNet. The CONFIG.C
source file printed with the article is a shortened form that omits on-line help
and syntax checking for each directive.



 December 30, 2017  Add comments

Leave a Reply