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 >
Wrap
Text File
|
1992-08-19
|
9KB
|
226 lines
| CONFIG.MSH is read first by MSH when it is invoked without a filename
| on the command line.
|
| DEFAULT CONFIGURATION FILE FOR MI-SHELL
|
|
| We have tried to group in this file everything that you might need to
| change. When installing MSH you should first go through this file and change
| things appropriately for your setup.
|
| ┌──────────────────────────┐
| │ editor, browser, drives │
| └──────────────────────────┘
|
"mwe " editor! | define here your editor -- MWE is in the "goodies"
"more " browser! | define here your browser
"CD" fixed_drives! | define your fixed drives
"AB" floppy_drives! | define your floppy drives
|
|
false berk! | change if you don't own the Berkeley Utilities
false delta! | change if you don't own Delta
false berk_cpmvrm! | change if you don't want MSH to use the Berkeley's
| cp,rm,mv for deleting, copying and moving
|--------------------------------------------------------------------------
| SECTION YOU DON'T WANT TO MODIFY
|
| two definitions which allow to load script files from the place where
| MSH.EXE is, and then load all configuration scripts
|
(prog_pathname "\\" cutlast drop "\\" &)prog_dir!
(prog_dir swap&read#)loaddefs!
|
| END OF SECTION YOU DON'T WANT TO MODIFY
|---------------------------------------------------------------------------
|
| ┌────────┐
| │ Colors │
| └────────┘
|
| uncomment the appropriate set of lines
|
| you can choose your own colors -- browse with the built-in browser the
| file att.ans to see how they are encoded
|
| the following pairs MUST be different for the display to be legible:
|
| (normal,selected) (current,current_selected) (current_selected,alert)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| attributes recommended for monochrome displays
|"37;40" normal_att! |for normal entries
|"30;47" current_att! |for current entry (marked)
|"1;37;40"selected_att! |for selected entries
|"1;34" current_selected_att!|for current entry if selected (marked)
|"1;47;30"alert_att! |for alerts
|"30;47" page_att!
|"1;37;40"page_status_att!
|"37;40" page_empty_att!
|"37;40" page_tab_att!
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| attributes recommended for plasma CGA displays
|"37;40" normal_att! |for normal entries
|"37;40" current_att! |for current entry (marked)
|"30;47" selected_att! |for selected entries
|"30;47" current_selected_att!|for current entry if selected (marked)
|"37;40" alert_att! |for alerts
|"37;40" page_att!
|"30;47" page_status_att!
|"30;47" page_empty_att!
|"30;47" page_tab_att!
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| attributes recommended for color displays; blue color scheme
"1;44;36"normal_att! |for normal entries
"0;46;30"current_att! |for current entry (marked)
"1;44;33"selected_att! |for selected entries
"1;46;33"current_selected_att!|for current entry if selected (marked)
"1;41;37"alert_att! |for alerts
"0;30;47"page_att!
"1;46;33"page_status_att!
"43;36" page_empty_att!
"45;30" page_tab_att!
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| attributes recommended for color displays; variant blue color scheme
|"1;44;36"normal_att! |for normal entries
|"1;44;33"current_att! |for current entry (marked)
|"44;35" selected_att! |for selected entries
|"46;34" current_selected_att!|for current entry if selected (marked)
|"46;31" alert_att! |for alerts
|"1;44;36"page_att!
|"1;46;33"page_status_att!
|"41;37;1"page_empty_att!
|"45;30" page_tab_att!
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| attributes recommended for color displays; another variant blue color scheme
|"1;44;36"normal_att! |for normal entries
|"1;44;37"current_att! |for current entry (marked)
|"1;44;33"selected_att! |for selected entries
|"44;31" current_selected_att!|for current entry if selected (marked)
|"41;37" alert_att! |for alerts
|"0;30;47"page_att!
|"1;46;33"page_status_att!
|"43;36" page_empty_att!
|"45;30" page_tab_att!
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| attributes recommended for color displays; white color set
|"30;47" normal_att! |for normal entries
|"30;46" current_att! |for current entry (marked)
|"30;42" selected_att! |for selected entries
|"40;36" current_selected_att!|for current entry if selected (marked)
|"40;32" alert_att! |for alerts
|"41;37;1"page_att!
|"1;46;33"page_status_att!
|"1;43;36"page_empty_att!
|"45;30" page_tab_att!
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ┌─────────┐
| │ "magic" │
| └─────────┘
|
|
| next line defines the place for "magic" swap files
| you need about 200K free in the swap directory or 200K of
| XMS (extended memory in 80286 and better computers) to use magic
|
(prog_dir)tmp_dir! | put swap files in same directory as MSH.EXE
|"G:\\"tmp_dir! | this is better if G: is a RAM disk and you have no XMS
|
| put here list of commands to be always executed with swapping to disk
| enabled (those which need lots of memory)
|
"
tex
delta
make
td386
win
vp
"magic_list!
|
| ┌────────────────────────────────────┐
| │ What kind of menu at top of screen │
| └────────────────────────────────────┘
|
1 menu_line! | start with 2 line top menu explaining function keys
|0 menu_line! | start with the 1 line top menu
|
|
|--------------------------------------------------------------------------
| SECTION YOU DON'T NEED TO MODIFY
| ┌────────────┐
| │ Load files │
| └────────────┘
|
| two definitions which allow to load script files from the place where
| MSH.EXE is, and then load all configuration scripts
|
(prog_pathname "\\" cutlast drop "\\" &)prog_dir!
(prog_dir swap&read#)loaddefs!
|
"stddefs.msh"loaddefs | reads the standard definitions. Lot of code here if
| you want to learn the MSH script language.
"berk.msh"loaddefs | load Berkeley defs (you should keep this even if you
| don't have the Berkeley Utilities: this will give
| you some information about our products).
"keybind.msh"loaddefs | load the key bindings. Look into this file if you want
| to change key bindings.
"ext.msh"loaddefs | load extension definitions. You might want to change
| some definitions or add some.
"menu.msh"loaddefs | load the menus. The place to look if you want to change
| the menus.
"arjzip.msh"loaddefs | Actions defined when you are inside a zip or arj archive
|
| ┌────────────────┐
| │ Initial actions│
| └────────────────┘
|
"nb_panels"isdefined(create_panels)ifnot
| detects if executed for 1st time (you don't want to create additional panels)
|
"main_menu_no"isdefined(show_menu)ifnot | show the main menu
"magic_menu_no"isdefined(magic_menu)ifnot | show the 'magic' indicator
"drive_menu_no"isdefined(drive_menu)ifnot | Turn the drive menu on
| if you get rid of above line, please modify hide_all in stddefs.msh
| to not refer to drive menu.
|
clock | put up the time in the upper right corner
|
| Recall old command stack
|
prog_dir "cmdlst"& dup testfile (drop read)(drop false)ifelse cmdlist!
|
|
tmp_dir "spaa.aaa" makename unlink | delete a previous swap file in case some
| program crashed when swapping to disk was enabled
|
| END OF SECTION YOU DON'T NEED TO MODIFY
|---------------------------------------------------------------------------
|
| ┌──────────────────────────────┐
| │ Initial disposition of panels│
| └──────────────────────────────┘
|
| disposition of panels: uncomment appropriate line
|
side_by_side | side by side, half screen size
|full_screen_panels | side by side, full screen size
|top_bottom | one above the other
|
|
wide_narrow | make first panel wide (by default it is narrow)
|(wide_narrow)in_next_panel | make second one wide too
|
|---------------------------------------------------------------------------
| YOUR PERSONAL DEFINITIONS
|
| we recommend that you group in file "personal.msh" the definitions that
| you add to MSH standard definitions.
| When you get a new release of MSH with changes in
| the configuration files, it will be easier to
| update to it then if your changes have been cleanly isolated
|
"personal.msh"loaddefs
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||