blob: 5ef1c227813c6a424f04e1d2e841c6ae7763c1be [file] [log] [blame]
'\" t
.TH mtype 1 "28Nov20" mtools-4.0.26
.SH Name
mtype - display contents of an MSDOS file
'\" t
.de TQ
.br
.ns
.TP \\$1
..
.tr \(is'
.tr \(if`
.tr \(pd"
.SH Note\ of\ warning
This manpage has been automatically generated from mtools's texinfo
documentation, and may not be entirely accurate or complete. See the
end of this man page for details.
.PP
.SH Description
.PP
The \fR\&\f(CWmtype\fR command is used to display contents of an MS-DOS
file. Its syntax is:
.PP
.ft I
.nf
\&\fR\&\f(CWmtype\fR [\fR\&\f(CW-ts\fR] \fImsdosfile\fR [ \fImsdosfiles\fR\&... ]
.fi
.ft R
.PP
\&\fR\&\f(CWMtype\fR displays the specified MS-DOS file on the screen.
.PP
In addition to the standard options, \fR\&\f(CWMtype\fR allows the following
command line options:
.TP
\&\fR\&\f(CWt\fR\
Text file viewing. \fR\&\f(CWMtype\fR translates incoming carriage
return/line feeds to line feeds.
.TP
\&\fR\&\f(CWs\fR\
\&\fR\&\f(CWMtype\fR strips the high bit from the data.
.PP
The \fR\&\f(CWmcd\fR command may be used to establish the device and the
current working directory (relative to MS-DOS), otherwise the default is
\&\fR\&\f(CWA:/\fR.
.PP
\&\fR\&\f(CWMtype\fR returns 0 on success, 1 on utter failure, or 2 on partial
failure.
.PP
Unlike the MS-DOS version of \fR\&\f(CWTYPE\fR, \fR\&\f(CWmtype\fR allows multiple
arguments.
.PP
.SH See\ Also
Mtools' texinfo doc
.SH Viewing\ the\ texi\ doc
This manpage has been automatically generated from mtools's texinfo
documentation. However, this process is only approximative, and some
items, such as crossreferences, footnotes and indices are lost in this
translation process. Indeed, these items have no appropriate
representation in the manpage format. Moreover, not all information has
been translated into the manpage version. Thus I strongly advise you to
use the original texinfo doc. See the end of this manpage for
instructions how to view the texinfo doc.
.TP
* \ \
To generate a printable copy from the texinfo doc, run the following
commands:
.nf
.ft 3
.in +0.3i
./configure; make dvi; dvips mtools.dvi
.fi
.in -0.3i
.ft R
.PP
\&\fR
.TP
* \ \
To generate a html copy, run:
.nf
.ft 3
.in +0.3i
./configure; make html
.fi
.in -0.3i
.ft R
.PP
\&\fRA premade html can be found at
\&\fR\&\f(CW\(ifhttp://www.gnu.org/software/mtools/manual/mtools.html\(is\fR
.TP
* \ \
To generate an info copy (browsable using emacs' info mode), run:
.nf
.ft 3
.in +0.3i
./configure; make info
.fi
.in -0.3i
.ft R
.PP
\&\fR
.PP
The texinfo doc looks most pretty when printed or as html. Indeed, in
the info version certain examples are difficult to read due to the
quoting conventions used in info.
.PP