home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / dosutils / cfg.arj / README.DOC < prev   
Encoding:
Text File  |  1991-04-29  |  7.4 KB  |  229 lines

  1. RECONFIGURE
  2.  
  3.  
  4. If you find this program useful, please send £10 (or equivalent) 
  5. to:
  6.  
  7. Steve Davies
  8. Vraidex
  9. 18, Pell Street
  10. Reading
  11. Berks.
  12. RG1 2NZ
  13. U.K.
  14.  
  15.  
  16.  
  17.  
  18. ABOUT THE PROGRAM
  19.  
  20. Reconfigure allows you have up to 22 alternate configurations 
  21. (sets of CONFIG.SYS and AUTOEXEC.BAT) and to switch between them. 
  22. Each of these has an info file associated with it for you to 
  23. record information about that configuration and what it does for 
  24. you. The current configuration's info file is always copied to 
  25. the root directory as INFO.CFG. I suggest that you put a line
  26.  
  27.     TYPE INFO.CFG
  28.  
  29. at the end of each AUTOEXEC file so that you have a check on 
  30. which configuration has been loaded. The configurations are 
  31. distinguished by a 3-character suffix so that for instance your 
  32. standard configuration will comprise CONFIG.STD, AUTOEXEC.STD and 
  33. INFO.STD.
  34.  
  35.  
  36. FILES
  37.  
  38. Reconfigure includes the following files in the installation set:
  39.  
  40.     CFG.EXE        - The Reconfigure program
  41.     CFG1.BAT    - A batch file run by Reconfigure
  42.     CFGINST.BAT    - A batch file which copies your existing 
  43.                   CONFIG and AUTOEXEC.BAT files into 
  44.               Reconfigure's .STD files
  45.         README.DOC    - This file
  46.  
  47. On installation, your current CONFIG.SYS and AUTOEXEC.BAT will be 
  48. copied to CONFIG.STD and AUTOEXEC.STD. Furthermore, each time you 
  49. run Reconfigure, it will copy your current CONFIG and AUTOEXEC to 
  50. CONFIG.NOW and AUTOEXEC.NOW. Reconfigure will create appropriate 
  51. INFO files for both of these.
  52.  
  53. After your first session, Reconfigure will create a configuration 
  54. file, CFG.DAT, that includes details on your preferred text 
  55. editor, colour scheme, etc.
  56.  
  57.  
  58.  
  59. FUNCTIONS
  60.  
  61. The main menu includes the following options:
  62.  
  63.  
  64.     List Configurations
  65.  
  66.     This just lists all your current configurations. Press 
  67.         <ESC> to return to the main menu. Note that since most 
  68.         editors create backup files with the extension .BAK, 
  69.         Reconfigure does not list files with that extension.
  70.  
  71.  
  72.     View Configurations
  73.  
  74.     Allows you to select one of your configurations, and then 
  75.         displays its INFO, CONFIG and AUTOEXEC files. Press any 
  76.         key to get rid of the INFO file. You can then scroll up 
  77.         and down the CONFIG file using the cursor keys. Scroll up 
  78.         and down the AUTOEXEC file using <Pg Up> and <Pg Down>. 
  79.         You can also use <HOME> and <END> for CONFIG, <CTRL+HOME> 
  80.         and <CTRL+END> for AUTOEXEC. Press <ESC> to return to the 
  81.         main menu.
  82.  
  83.  
  84.     Edit Configuration
  85.  
  86.     Select a configuration, then select whether you want to 
  87.         edit the CONFIG file, AUTOEXEC file or the INFO file. 
  88.         Reconfigure calls the editor defined in the setup screen 
  89.         giving the file name as a parameter. Do not specify a 
  90.         word processor that inserts control-characters into your 
  91.         files as the editor. The default editor is EDLIN since 
  92.         that is found on the majority of PCs.
  93.  
  94.  
  95.     Copy Configuration
  96.  
  97.     This is the best way to create a new configuration. 
  98.         Select one of your existing configurations, Reconfigure 
  99.         will ask you for a new 3-character extension and will 
  100.         then create a new configuration using that extension.
  101.  
  102.  
  103.     Delete Configuration
  104.  
  105.     Select a configuration from the list. Reconfigure will 
  106.         ask if you are sure and will then delete the three files 
  107.         that make up the configuration.
  108.  
  109.  
  110.     Copy to System
  111.  
  112.     Select a configuration from the list. Reconfigure will 
  113.         ask if you are sure and will then copy that configuration 
  114.         to the system files (CONFIG to CONFIG.SYS, AUTOEXEC to 
  115.         AUTOEXEC.BAT and INFO to INFO.CFG).
  116.     
  117.  
  118.         Exit
  119.  
  120.     Exits back to DOS. Saves any changes made to the setup.
  121.  
  122.  
  123.     Exit and reboot
  124.  
  125.     Closes down all the files and then reboots your PC. The 
  126.         standard option for this is to use interrupt 19H. A 
  127.         number of PCs and some programs, especially disc caches, 
  128.         disable this interrupt in case data is still in the cache 
  129.         and has not been written to disc. I'm afraid that if your 
  130.         setup is one of these, you'll have to use the traditional 
  131.         Ctrl-Alt-Del to reboot. Reconfigure does flush the 
  132.         buffers to disc before it reboots, so there shouldn't be 
  133.         a problem.
  134.  
  135.  
  136.      Change Setup
  137.  
  138.     Allows you to define the editor to be used when editing 
  139.         configurations. The default for this is EDLIN, so I 
  140.         suggest you change it ASAP. Also lets you set the screen 
  141.         colours. Use cursor up and cursor down to move from one 
  142.         line to another. Use cursor left and cursor right to 
  143.         change the foreground and background colours 
  144.         respectively. 
  145.  
  146.  
  147. USING THE PROGRAM
  148.  
  149. As a rule, there are two main ways of setting up an alternate 
  150. configuration, depending on whether you are editing the files 
  151. yourself, or if a new piece of software has done it for you.
  152.  
  153. 1. If you want to change your existing configuration, use the 
  154. Copy command to copy the .STD configuration to a new one. Then 
  155. edit the new configuration using the Edit command.
  156.  
  157. 2. If you have installed a new piece of software, and it has 
  158. changed your files, use the Copy command to copy the .NOW 
  159. configuration. For instance, if you have installed Windows you 
  160. might want to copy the .NOW configuration to .WIN so that the 
  161. changes made by installing Windows are not lost the next time you 
  162. copy another configuration to the system files.
  163.  
  164. Having copied/edited the configuration, select the Copy to System 
  165. option and Reconfigure will replace CONFIG.SYS and AUTOEXEC.BAT 
  166. with the configuration of your choice.
  167.  
  168. You can now decide whether you want to load the new configuration 
  169. right away, in which case select Exit and Reboot, or if you want 
  170. to wait, in which case just select Exit.
  171.  
  172.  
  173.  
  174.  
  175.  
  176. KNOWN PROBLEMS
  177.  
  178. 1. Reconfigure assumes that your boot drive is C and that that is 
  179. where your CONFIG.SYS and AUTOEXEC.BAT files are to be found.
  180.  
  181. 2. Problems have been reported loading Reconfigure on an ICL DRS 
  182. M40 (80286 with Award BIOS) with the Acer disk cache program 
  183. (ACACHE.SYS). Removal of the disk cache allows the program to 
  184. load, but it will not reboot.
  185.  
  186. 3. 4DOS apparently traps the reboot interrupt, you you can't use 
  187. the reboot facility if you use 4DOS.
  188.  
  189.  
  190.  
  191.  
  192. PLANNED ENHANCEMENTS
  193.  
  194. If there is any interest in this program, I have a number of 
  195. possible enhancements in mind including:
  196.  
  197. - Allow more configuration files
  198.  
  199. - Allow View to display more than 250 lines of file
  200.  
  201. - Allow alternate boot drives
  202.  
  203. - Allow reboots on machines which have disabled the interrupt
  204.  
  205. - Include Windows system files (WIN.INI and SYSTEM.INI) as well 
  206. as the standard DOS ones.
  207.  
  208. - Directly query the names of files instead of doing it via batch 
  209. files as at present
  210.  
  211. - Add a help system
  212.  
  213.  
  214. Any suggestions for further improvements, bug reports, etc. will 
  215. be gratefully received. I have tested on a number of different 
  216. systems with only one so far causing problems (see above). If you 
  217. can provide me with information as to the program's behaviour on 
  218. other systems it will be useful in future. Please send to the 
  219. address above or e-mail to sdavies@cix.compulink.co.uk
  220.  
  221.  
  222. This product was written using Borland's Turbo BASIC and utilises 
  223. the public domain windowing program supplied with it. My 
  224. heartfelt thanks to Rick Fothergill for saving me several weeks 
  225. messing around in assembler.
  226.  
  227. Steve Davies
  228.  
  229. April 1991