home *** CD-ROM | disk | FTP | other *** search
- | 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
- |
- | ┌──────────────────┐
- | │ Load Other files │
- | └──────────────────┘
- |
- true berk! | change if you don't own the Berkeley Utilities
- true delta! | change if you don't own Delta
- true berk_cpmvrm! | change if you don't want MSH to use the Berkeley's
- | cp,rm,mv (given in the "goodies") for deleting,
- | copying and moving but want to use the MSDOS commands
-
- | 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.
- "zip.msh"loaddefs | Actions defined when you are inside a zip archive
- |
- |
- | ┌──────────────────┐
- | │ Video Attributes │
- | └──────────────────┘
- |
- | in the line below, replace "c_blue.msh" by the name
- | of one of the available files describing attributes:
- | c_mda.msh for monochrome displays
- | c_pcga.msh for plasma cga displays
- | c_blue.msh, c_blue1.msh,
- | c_blue2.msh, c_white.msh various possibilities
- | for color displays
- |
- "c_blue.msh"loaddefs | load blue color
- | set attributes
- e_att alert_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
- |
- |
- | ┌────────────────┐
- | │ Initial actions│
- | └────────────────┘
- |
- "menu_line"isdefined | detects if this file executed for 1st time
- | (you don't want to create additional panels
- | when you hit F9)
- (
- |
- |1 menu_line! | start with the 2 line top menu
- 0 menu_line! | start with the 1 line top menu
- |
- |
- | display directory panels & main menu
- | there is some complicated arithmetic in order to start with
- | 3 panels when you have 132 columns!
- |
- linescols 40 / nb_panels! drop | nb_panels gets 2 if 80 cols, 3 if 132 cols
- cwd "*.*" makename dup panel.pattern! | start with pattern:
- | current_directory/*.*
- 1 cnt! | loop from 1 to nb_panels-1 (one panel already exists)
- (cnt nb_panels <)
- (cnt 1+ cnt! dup panel.install cur_pn!)
- while
- drop
- cur_pn 1+ nb_panels- cur_pn! next_panel | we were on last panel, goback to 1st
- side_by_side wide_narrow | position & size, and make first panel wide
- |
- | turn the drive menu on
- |
- drive_menu | if you get rid of this line, please modify hide_all
- | in stddefs.msh to not refer to it.
- )ifnot
- |
- false cmdlist! | clear the command line
- |
- show_menu magic_menu | show the main menu and the 'magic' indicator
- |
- | 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
- grasprt
- vp
- "magic_list!
- |
- tmp_dir "spaa.aaa" makename unlink | delete a previous swap file in case some
- | program crashed when swapping to disk was enabled
- |
- clock | put up the time in the upper right corner
- |
- | we recommend that you put in the 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 it then if your changes have been cleanly isolated
- "personal.msh"loaddefs
- |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-