9e40fc5e5dd46594668044cd02ed94ab38417cd6
[platform/upstream/mtools.git] / mtype.1
1 '\" t
2 .TH mtype 1 "09Jan13" mtools-4.0.18
3 .SH Name
4 mtype - 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
17 This manpage has been automatically generated from mtools's texinfo
18 documentation, and may not be entirely accurate or complete.  See the
19 end of this man page for details.
20 .PP
21 .SH Description
22 .PP
23 The \fR\&\f(CWmtype\fR command is used to display contents of an MS-DOS
24 file. 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
35 In addition to the standard options, \fR\&\f(CWMtype\fR allows the following
36 command line options:
37 .TP
38 \&\fR\&\f(CWt\fR\ 
39 Text file viewing.  \fR\&\f(CWMtype\fR translates incoming carriage
40 return/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
45 The \fR\&\f(CWmcd\fR command may be used to establish the device and the
46 current 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
50 failure.
51 .PP
52 Unlike the MS-DOS version of \fR\&\f(CWTYPE\fR, \fR\&\f(CWmtype\fR allows multiple
53 arguments.
54 .PP
55 .SH See\ Also
56 Mtools' texinfo doc
57 .SH Viewing\ the\ texi\ doc
58 This manpage has been automatically generated from mtools's texinfo
59 documentation. However, this process is only approximative, and some
60 items, such as crossreferences, footnotes and indices are lost in this
61 translation process.  Indeed, these items have no appropriate
62 representation in the manpage format.  Moreover, not all information has
63 been translated into the manpage version.  Thus I strongly advise you to
64 use the original texinfo doc.  See the end of this manpage for
65 instructions how to view the texinfo doc.
66 .TP
67 * \ \ 
68 To generate a printable copy from the texinfo doc, run the following
69 commands:
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 * \ \ 
83 To 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 * \ \ 
98 To 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
111 The texinfo doc looks most pretty when printed or as html.  Indeed, in
112 the info version certain examples are difficult to read due to the
113 quoting conventions used in info.
114 .PP