Columbia MM
MM> Top Level Mode
directory
DIRECTORY
If you are a new user, you probably have only a few files and keep them in
your home directory (the one you are in at login), and you may possibly
never change to another directory. However, once you begin to use other
directories, you need to be aware of what directory MM is using if you
don't specify a directory when you use a filename.
In Unix, each process has its own current working directory (cwd). When
you start an MM process from the shell, the MM process starts out with the
same cwd as the shell. While you are running MM, you can check MM's cwd
with the PWD command and change it with the CD command. If you suspend MM
(with EXIT, QUIT or SUSPEND), and change the cwd of the shell, the cwd of
the suspended MM process does not change. In either case then, the cwd of
your MM process may then be different from that of the shell. This
situation is not a problem, unless you are unaware of it.
You can name a directory path every time you use a filename. In practice,
this is tedious to do. Instead, you can use just the filename, and MM will
default either to its current working directory, or to the one specified
by the variable MAIL-DIRECTORY (which defaults to your home directory).
The following default to MM's current working directory. You can determine
what directory that is with the command PWD. To use a different directory,
either use the CD command to change directory, or give a directory path
with the filename.
commands: list take fcc
variables: default-fcc-list
addresses: fcc *filename @filename @@filename
text-mode: control-b [to insert a file]
The following default to the variable MAIL-DIRECTORY, which is your home
directory, indicated by tilde (~), unless you have changed it; verify with
SHOW MAIL-DIRECTORY if you are uncertain. Again, to use a different
directory, you can give a directory path with the filename.
commands: copy move get examine write insert
save-draft restore-draft
variables: header-options-file saved-messages-file
If you are giving a directory path with the filename, usually the best way
is to give a path from your home directory (~/). For example, the file
"exams" in your subdirectory "schoolwork" can be named as ~/schoolwork/exams.
The following refer to programs (commands) rather than text files. Like
the shell, MM uses the PATH environment variable to search for the program,
and similarly you can specify a path with the command name to make it use
a program from a place not in the PATH.
variables: crt-filter editor finger incoming-mail mmail-path
movemail-path print-filter speller
text-mode: control-e control-f control-p
To see your PATH, type "!echo $PATH" at any MM prompt, or "echo $PATH" at
the shell prompt.
For more help type "help" and one of these topics:
cd pwd
For more information on the use of directories,
type "!man" and any of the following (from any MM prompt),
or type "man"and any of the following (from the shell prompt):
cd pwd ksh
cd |
pwd |
MM Home