home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / CONFIG.ZIP / CONFIG.DOC < prev    next >
Text File  |  1989-07-27  |  2KB  |  52 lines

  1.  
  2. CONFIG
  3. OS/2 Command
  4.  
  5. Ray Duncan
  6. September 12, 1989 (Utilities)
  7.  
  8.  
  9. Purpose:    A full-screen editor for inspecting and modifying the 
  10. directives contained in an OS/2 CONFIG.SYS file.
  11.  
  12. Format:    CONFIG [pathname]
  13.     
  14. Remarks:    The optional pathname parameter may be specified if the OS/2
  15. CONFIG.SYS file is located other than in the root directory of the boot drive. 
  16. CONFIG.EXE will exit if the file is not found or if its read-only attribute is
  17. set.
  18.  
  19.     Entry into and exit from CONFIG.EXE are always made from its browse
  20. mode.  When exiting, pressing Esc discards any changes made during the session;
  21. pressing X (eXit) saves a modified CONFIG.SYS file and renames the previous
  22. CONFIG.SYS with a .BAK extension.  Confirming prompts are used with all crucial
  23. actions.
  24.  
  25.     In browse mode, the entire line is highlighted in reverse video, and
  26. movement through the CONFIG.SYS file is made with the Uparrow, DownArrow, PgUp,
  27. PgDn, Home, and End keys.  Pressing D will delete an entire line and pressing R
  28. will restore it in this mode.
  29.  
  30.     Edit mode is entered by pressing either A (Add line at end of file), C
  31. (Change current line), or I (Insert line before current line).  In edit mode,
  32. either the name field or the value field is highlighted and available for
  33. modification.  In the directive PRIORITY=DYNAMIC, for example, PRIORITY is the
  34. name and DYNAMIC is the value.  The Tab and Shift-Tab keys toggle between the
  35. two fields.
  36.  
  37.     When editing the name field, the UpArrow and DownArrow keys cycle
  38. through an alphabetical listing of all valid directives.  No other entries can
  39. be made in this field.  In the value field, however, CONFIG.EXE becomes a normal
  40. editor, with insert and overstrike modes toggled by the Ins key.  Character
  41. deletions are made with the Del key, and Ctrl-End deletes to the end of the
  42. line.  The Backspace key deletes the character under the cursor in insert mode
  43. and replaces it with a blank in overstrike mode.  Cursor motion within a line is
  44. made with the Left and Right Arrow keys, Home, and End.  Press Enter to accept,
  45. or Escape to discard changes made to a line and return to browse mode.
  46.  
  47.     Note: CONFIG.EXE and CONFIG.C, its source code file (written in
  48. Microsoft C, Version 5.1), may be downloaded from PC MagNet.  The CONFIG.C
  49. source file printed with the article is a shortened form that omits on-line help
  50. and syntax checking for each directive. 
  51.  
  52.