+Resulting file names will then be processed according to
+.I ntrans
+and
+.I nmap
+settings.
+.TP
+\fBnmap\fP [ \fIinpattern\fP \fIoutpattern\fP ]
+Set or unset the filename mapping mechanism.
+If no arguments are specified, the filename mapping mechanism is unset.
+If arguments are specified, remote filenames are mapped during
+.B mput
+commands and
+.B put
+commands issued without a specified remote target filename.
+If arguments are specified, local filenames are mapped during
+.B mget
+commands and
+.B get
+commands issued without a specified local target filename.
+This command is useful when connecting to a non-UNIX remote computer
+with different file naming conventions or practices.
+The mapping follows the pattern set by
+.I inpattern
+and
+.IR outpattern .
+.I Inpattern
+is a template for incoming filenames (which may have already been
+processed according to the
+.B ntrans
+and
+.B case
+settings).
+Variable templating is accomplished by including the sequences '$1', '$2', ..., '$9' in
+.IR inpattern .
+Use '\\' to prevent this special treatment of the '$' character.
+All other characters are treated literally, and are used to determine the
+.B nmap
+.I inpattern
+variable values.
+For exmaple, given
+.I inpattern
+$1.$2 and the remote file name "mydata.data", $1 would have the value
+"mydata", and $2 would have the value "data".
+The
+.I outpattern
+determines the resulting mapped filename.
+The sequences '$1', '$2', ...., '$9' are replaced by any value resulting
+from the
+.I inpattern
+template.
+The sequence '$0' is replace by the original filename.
+Additionally, the sequence '[\fIseq1\fP,\fIseq2\f\P]' is replaced by
+.I seq1
+if
+.I seq1
+is not a null string; otherwise it is replaced by
+.IR seq2 .
+For example, the command "nmap $1.$2.$3 [$1,$2].[$2,file]" would yield
+the output filename "myfile.data" for input filenames "myfile.data" and
+"myfile.data.old", "myfile.file" for the input filename "myfile", and
+"myfile.myfile" for the input filename ".myfile".
+Spaces may be included in
+.IR outpattern ,
+as in the example: nmap $1 |sed "s/ *$//" > $1 .
+Use the '\\' character to prevent special treatment
+of the '$', '[', ']', and ',' characters.
+.TP
+\fBntrans\fP [ \fIinchars\fP [ \fIoutchars\fP ] ]
+Set or unset the filename character translation mechanism.
+If no arguments are specified, the filename character
+translation mechanism is unset.
+If arguments are specified, characters in
+remote filenames are translated during
+.B mput
+commands and
+.B put
+commands issued without a specified remote target filename.
+If arguments are specified, characters in
+local filenames are translated during
+.B mget
+commands and
+.B get
+commands issued without a specified local target filename.
+This command is useful when connecting to a non-UNIX remote computer
+with different file naming conventions or practices.
+Characters in a filename matching a character in
+.I inchars
+are replaced with the corresponding character in
+.IR outchars .
+If the character's position in
+.I inchars
+is longer than the length of
+.IR outchars ,
+the character is deleted from the file name.