home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / m / msh21.zip / MSHFILES.ZIP / CONFIG.MSH < prev    next >
Text File  |  1992-08-19  |  9KB  |  226 lines

  1. |  CONFIG.MSH  is read first by MSH when it is invoked without a filename
  2. |  on the command line.
  3. |
  4. |      DEFAULT CONFIGURATION FILE FOR MI-SHELL
  5. |
  6. |
  7. |  We have tried to group in this file everything that you might need to
  8. |  change. When installing MSH you should first go through this file and change
  9. |  things appropriately for your setup.
  10. |
  11. |              ┌──────────────────────────┐
  12. |              │ editor, browser, drives  │
  13. |              └──────────────────────────┘
  14. |
  15. "mwe "  editor!        | define here your editor -- MWE is in the "goodies"
  16. "more " browser!       | define here your browser
  17. "CD"    fixed_drives!  | define your fixed drives
  18. "AB"    floppy_drives! | define your floppy drives
  19. |
  20. |
  21. false berk!            | change if you don't own the Berkeley Utilities
  22. false delta!           | change if you don't own Delta
  23. false berk_cpmvrm!     | change if you don't want MSH to use the Berkeley's
  24.                        | cp,rm,mv for deleting, copying and moving
  25. |--------------------------------------------------------------------------
  26. |    SECTION YOU DON'T WANT TO MODIFY
  27. |
  28. |  two definitions which allow to load script files from the place where
  29. |  MSH.EXE is, and then load all configuration scripts
  30. |
  31. (prog_pathname "\\" cutlast drop "\\" &)prog_dir!
  32. (prog_dir swap&read#)loaddefs!
  33. |
  34. |     END OF SECTION YOU DON'T WANT TO MODIFY
  35. |---------------------------------------------------------------------------
  36. |
  37. |              ┌────────┐
  38. |              │ Colors │
  39. |              └────────┘
  40. |
  41. | uncomment the appropriate set of lines
  42. |
  43. | you can choose your own colors -- browse with the built-in browser the
  44. | file att.ans to see how they are encoded
  45. |
  46. | the following pairs MUST be different for the display to be legible:
  47. |
  48. |  (normal,selected) (current,current_selected) (current_selected,alert)
  49. |
  50. |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  51. | attributes recommended for monochrome displays
  52. |"37;40"  normal_att!          |for normal entries
  53. |"30;47"  current_att!         |for current entry (marked)
  54. |"1;37;40"selected_att!        |for selected entries
  55. |"1;34"   current_selected_att!|for current entry if selected (marked)
  56. |"1;47;30"alert_att!           |for alerts
  57. |"30;47"  page_att!
  58. |"1;37;40"page_status_att!
  59. |"37;40"  page_empty_att!
  60. |"37;40"  page_tab_att!
  61. |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  62. | attributes recommended for plasma CGA displays
  63. |"37;40"  normal_att!          |for normal entries
  64. |"37;40"  current_att!         |for current entry (marked)
  65. |"30;47"  selected_att!        |for selected entries
  66. |"30;47"  current_selected_att!|for current entry if selected (marked)
  67. |"37;40"  alert_att!           |for alerts
  68. |"37;40"  page_att!
  69. |"30;47"  page_status_att!
  70. |"30;47"  page_empty_att!
  71. |"30;47"  page_tab_att!
  72. |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  73. | attributes recommended for color displays; blue color scheme
  74. "1;44;36"normal_att!          |for normal entries
  75. "0;46;30"current_att!         |for current entry (marked)
  76. "1;44;33"selected_att!        |for selected entries
  77. "1;46;33"current_selected_att!|for current entry if selected (marked)
  78. "1;41;37"alert_att!           |for alerts
  79. "0;30;47"page_att!
  80. "1;46;33"page_status_att!
  81. "43;36"  page_empty_att!
  82. "45;30"  page_tab_att!
  83. |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  84. | attributes recommended for color displays; variant blue color scheme
  85. |"1;44;36"normal_att!          |for normal entries
  86. |"1;44;33"current_att!         |for current entry (marked)
  87. |"44;35"  selected_att!        |for selected entries
  88. |"46;34"  current_selected_att!|for current entry if selected (marked)
  89. |"46;31"  alert_att!           |for alerts
  90. |"1;44;36"page_att!
  91. |"1;46;33"page_status_att!
  92. |"41;37;1"page_empty_att!
  93. |"45;30"  page_tab_att!
  94. |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  95. | attributes recommended for color displays; another variant blue color scheme
  96. |"1;44;36"normal_att!          |for normal entries
  97. |"1;44;37"current_att!         |for current entry (marked)
  98. |"1;44;33"selected_att!        |for selected entries
  99. |"44;31"  current_selected_att!|for current entry if selected (marked)
  100. |"41;37"  alert_att!           |for alerts
  101. |"0;30;47"page_att!
  102. |"1;46;33"page_status_att!
  103. |"43;36"  page_empty_att!
  104. |"45;30"  page_tab_att!
  105. |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  106. | attributes recommended for color displays; white color set
  107. |"30;47"  normal_att!          |for normal entries
  108. |"30;46"  current_att!         |for current entry (marked)
  109. |"30;42"  selected_att!        |for selected entries
  110. |"40;36"  current_selected_att!|for current entry if selected (marked)
  111. |"40;32"  alert_att!           |for alerts
  112. |"41;37;1"page_att!
  113. |"1;46;33"page_status_att!
  114. |"1;43;36"page_empty_att!
  115. |"45;30"  page_tab_att!
  116. |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  117. |
  118. |              ┌─────────┐
  119. |              │ "magic" │
  120. |              └─────────┘
  121. |
  122. |                    
  123. |  next line defines the place for "magic" swap files
  124. |  you need about 200K free in the swap directory or 200K of
  125. |  XMS (extended memory in 80286 and better computers) to use magic
  126. |
  127. (prog_dir)tmp_dir!     | put swap files in same directory as MSH.EXE
  128. |"G:\\"tmp_dir!        | this is better if G: is a RAM disk and you have no XMS
  129. |
  130. | put here list of commands to be always executed with swapping to disk
  131. | enabled (those which need lots of memory)
  132. |
  133. "
  134. tex
  135. delta
  136. make
  137. td386
  138. win
  139. vp
  140. "magic_list!
  141. |
  142. |              ┌────────────────────────────────────┐
  143. |              │ What kind of menu at top of screen │
  144. |              └────────────────────────────────────┘
  145. |
  146. 1 menu_line!          | start with 2 line top menu explaining function keys
  147. |0 menu_line!          | start with the 1 line top menu
  148. |
  149. |
  150. |--------------------------------------------------------------------------
  151. |    SECTION YOU DON'T NEED TO MODIFY
  152. |              ┌────────────┐
  153. |              │ Load files │
  154. |              └────────────┘
  155. |
  156. |  two definitions which allow to load script files from the place where
  157. |  MSH.EXE is, and then load all configuration scripts
  158. |
  159. (prog_pathname "\\" cutlast drop "\\" &)prog_dir!
  160. (prog_dir swap&read#)loaddefs!
  161. |
  162. "stddefs.msh"loaddefs | reads the standard definitions. Lot of code here if
  163.                       | you want to learn the MSH script language.
  164. "berk.msh"loaddefs    | load Berkeley defs (you should keep this even if you
  165.                       | don't have the Berkeley Utilities: this will give
  166.               | you some information about our products).
  167. "keybind.msh"loaddefs | load the key bindings. Look into this file if you want
  168.                       | to change key bindings.
  169. "ext.msh"loaddefs     | load extension definitions. You might want to change
  170.                       | some definitions or add some.
  171. "menu.msh"loaddefs    | load the menus. The place to look if you want to change
  172.                       | the menus.
  173. "arjzip.msh"loaddefs  | Actions defined when you are inside a zip or arj archive
  174. |
  175. |              ┌────────────────┐
  176. |              │ Initial actions│
  177. |              └────────────────┘
  178. |
  179. "nb_panels"isdefined(create_panels)ifnot
  180. | detects if executed for 1st time (you don't want to create additional panels)
  181. |
  182. "main_menu_no"isdefined(show_menu)ifnot   | show the main menu
  183. "magic_menu_no"isdefined(magic_menu)ifnot | show the 'magic' indicator
  184. "drive_menu_no"isdefined(drive_menu)ifnot | Turn the drive menu on
  185. | if you get rid of above line, please modify hide_all in stddefs.msh
  186. | to not refer to drive menu.
  187. |
  188. clock                 | put up the time in the upper right corner
  189. |
  190. | Recall old command stack
  191. |
  192. prog_dir "cmdlst"& dup testfile (drop read)(drop false)ifelse cmdlist!
  193. |
  194. |
  195. tmp_dir "spaa.aaa" makename unlink | delete a previous swap file in case some
  196.                           | program crashed when swapping to disk was enabled
  197. |
  198. |     END OF SECTION YOU DON'T NEED TO MODIFY
  199. |---------------------------------------------------------------------------
  200. |
  201. |              ┌──────────────────────────────┐
  202. |              │ Initial disposition of panels│
  203. |              └──────────────────────────────┘
  204. |
  205. |            disposition of panels: uncomment appropriate line
  206. |
  207. side_by_side       | side by side, half screen size
  208. |full_screen_panels | side by side, full screen size
  209. |top_bottom         | one above the other
  210. |
  211. |
  212.  wide_narrow  | make first panel wide (by default it is narrow)
  213. |(wide_narrow)in_next_panel | make second one wide too
  214. |
  215. |---------------------------------------------------------------------------
  216. |   YOUR PERSONAL DEFINITIONS
  217. |
  218. | we recommend that you group in file "personal.msh" the definitions that
  219. | you add to MSH standard definitions.
  220. | When you get a new release of MSH with changes in
  221. | the configuration files, it will be easier to
  222. | update to it then if your changes have been cleanly isolated
  223. |
  224. "personal.msh"loaddefs
  225. ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  226.