blob: 835c67f36df14b1fedb04a0ec12a2e806c155418 [file] [log] [blame]
Alistair Delvabeaee832021-02-24 11:27:23 -08001'\" t
Yi Kong39bbd962022-01-09 19:41:38 +08002.TH mtype 1 "08Jan22" mtools-4.0.37
Alistair Delvabeaee832021-02-24 11:27:23 -08003.SH Name
4mtype - display contents of an MSDOS file
5'\" t
6.de TQ
7.br
8.ns
9.TP \\$1
10..
11
12.tr \(is'
13.tr \(if`
14.tr \(pd"
15
16.SH Note\ of\ warning
17This manpage has been automatically generated from mtools's texinfo
18documentation, and may not be entirely accurate or complete. See the
19end of this man page for details.
20.PP
21.SH Description
22.PP
23The \fR\&\f(CWmtype\fR command is used to display contents of an MS-DOS
24file. Its syntax is:
25.PP
26.ft I
27.nf
28\&\fR\&\f(CWmtype\fR [\fR\&\f(CW-ts\fR] \fImsdosfile\fR [ \fImsdosfiles\fR\&... ]
29.fi
30.ft R
31
32.PP
33\&\fR\&\f(CWMtype\fR displays the specified MS-DOS file on the screen.
34.PP
35In addition to the standard options, \fR\&\f(CWMtype\fR allows the following
36command line options:
37.TP
38\&\fR\&\f(CWt\fR\
39Text file viewing. \fR\&\f(CWMtype\fR translates incoming carriage
40return/line feeds to line feeds.
41.TP
42\&\fR\&\f(CWs\fR\
43\&\fR\&\f(CWMtype\fR strips the high bit from the data.
44.PP
45The \fR\&\f(CWmcd\fR command may be used to establish the device and the
46current working directory (relative to MS-DOS), otherwise the default is
47\&\fR\&\f(CWA:/\fR.
48.PP
49\&\fR\&\f(CWMtype\fR returns 0 on success, 1 on utter failure, or 2 on partial
50failure.
51.PP
52Unlike the MS-DOS version of \fR\&\f(CWTYPE\fR, \fR\&\f(CWmtype\fR allows multiple
53arguments.
54.PP
55.SH See\ Also
56Mtools' texinfo doc
57.SH Viewing\ the\ texi\ doc
58This manpage has been automatically generated from mtools's texinfo
59documentation. However, this process is only approximative, and some
60items, such as crossreferences, footnotes and indices are lost in this
61translation process. Indeed, these items have no appropriate
62representation in the manpage format. Moreover, not all information has
63been translated into the manpage version. Thus I strongly advise you to
64use the original texinfo doc. See the end of this manpage for
65instructions how to view the texinfo doc.
66.TP
67* \ \
68To generate a printable copy from the texinfo doc, run the following
69commands:
70
71.nf
72.ft 3
73.in +0.3i
74 ./configure; make dvi; dvips mtools.dvi
75.fi
76.in -0.3i
77.ft R
78.PP
79
80\&\fR
81.TP
82* \ \
83To generate a html copy, run:
84
85.nf
86.ft 3
87.in +0.3i
88 ./configure; make html
89.fi
90.in -0.3i
91.ft R
92.PP
93
94\&\fRA premade html can be found at
95\&\fR\&\f(CW\(ifhttp://www.gnu.org/software/mtools/manual/mtools.html\(is\fR
96.TP
97* \ \
98To generate an info copy (browsable using emacs' info mode), run:
99
100.nf
101.ft 3
102.in +0.3i
103 ./configure; make info
104.fi
105.in -0.3i
106.ft R
107.PP
108
109\&\fR
110.PP
111The texinfo doc looks most pretty when printed or as html. Indeed, in
112the info version certain examples are difficult to read due to the
113quoting conventions used in info.
114.PP