Columbia MM
MM Manual

CUSTOMIZING MM BY SETTING VARIABLES

You can change some MM features by changing (setting) the variables that control them.

Information on the variables is available in the online help screens. Type just show or set to see a list of all the variables and their current settings. Type help set and the name of a variable to see information about what the variable does, its normal (default) setting, and what other settings it can have.


SETTING THE VARIABLE

To change a variable, type set, the variable's name, and a new value.

The following shows some sample changes that you might want to make. This example shows the variety of values that different variables will accept. See the help screens for an explanation of each of these.



MM>set crt-filter /usr/ucb/more -d
MM>set display-outgoing-message yes
MM>set dont-type-headers received, return-path, message-ID, resent-messa
ge-ID, status, x-status
MM>set expunge-on-bye never
MM>set personal-name John Doe
MM>set print-filter pcprint
MM>set read-prompt "R>"
MM>set send-prompt "S>"
MM>set use-crt-filter-always no
MM>set user-level expert
MM>


Use the built-in help. For example, rather than type expunge-on-bye, type exp and press the tab key, to let MM complete the variable name. Typing a question mark after the variable name will confirm whether the variable takes a limited range of values (like yes-no).

Some variables can have the value null (nothing). If you want to set a variable to null, just type set, the variable name, and press the return key; that is, type nothing after the variable name.


SAVING THE NEW VALUE

The set command changes the value of the variable only for the current MM session. You have to use the save-init command to save the change.

It may at times be desirable not to save new settings. For one thing, you might change several variables to test what happens, and if you don't like result, you can simply end the session (with the bye command) and put it all behind you. In another case, you might want to use an unusual setting just for one session.

Giving the save-init command at any point saves all variable settings that are currently in effect. If you are making only one change, you can give the save-init command immediately after the set command, although even then you may prefer to test the new setting before you save it. If you make a long list of changes with set, one use of save-init will save them all.



MM>save-init
MM>


What the save-init command does is create or update a file in your directory named .mminit (note the dot in the name).


THE .mminit FILE

When MM starts up, it looks for an .mminit file, and executes any define and set commands that are in it (no other commands are allowed in it). You can look at .mminit by typing more .mminit at the UNIX shell prompt.



$ more .mminit
set crt-filter /usr/ucb/more -d
set display-outgoing-message yes
set dont-print-headers
set dont-type-headers receiv