mtype(1)
π mtype β bestie's guide to peeking inside an MS-DOS file π
okay so this is the mtype page from section 1 of the General Commands Manual, and yes it's mtools, and yes it's giving very much "let me show you what's in this DOS file, no cap." π
β οΈ Note of warning β οΈ
ngl this manpage was automatically generated from mtools's texinfo documentation, so it may not be entirely accurate or complete. π Like, the vibes are immaculate but the precision is questionable. See the end of this man page for the details, bestie. π«Ά
β¨ Description β¨
The mtype command is used to display the contents of an MS-DOS file. Its syntax is:
mtype [-ts] msdosfile [ msdosfiles... ]
Mtype displays the specified MS-DOS file on the screen. That's it. That's the whole job. π
On top of the standard options, Mtype also allows the following command line options:
tβ Text file viewing. Mtype translates incoming carriage return/line feeds to line feeds. Typing stops at the Control-Z character. π So it's the "pretend this DOS file is a normal text file" mode, fr fr.sβ Mtype strips the high bit from the data. βοΈ Just... takes it right off.
The mcd command may be used to establish the device and the current working directory (relative to MS-DOS). If you don't do that, the default is A:/. So yeah, if you haven't set anything up, it's gonna go looking on the A: drive. π
Mtype returns 0 on success, 1 on utter failure, or 2 on partial failure. Like, three whole tiers of "how did it go." π
Unlike the MS-DOS version of TYPE, mtype allows multiple arguments. So you can throw a whole pile of files at it at once and it will not complain. Main character energy honestly. π
πΈ See Also πΈ
- Mtools' texinfo doc π
π¦ 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. π«Ά
- To generate a printable copy from the texinfo doc, run the following commands:
./configure; make dvi; dvips mtools.dvi
- To generate a html copy, run:
./configure; make html
A premade html can be found at http://www.gnu.org/software/mtools/manual/mtools.html
- To generate an info copy (browsable using emacs' info mode), run:
./configure; make info
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. π
so that's the whole page bestie, every flag, every exit code, every build command, nothing skipped, periodt. π
and the cute lil sign-off at the bottom? that's mtools-4.0.49, dated 14Jun25. iconic. π
π¦ where this page comes from
- alpine 3.23: mtools-doc 4.0.49-r0 Β· GPL-3.0-or-later
- alpine 3.24: mtools-doc 4.0.49-r0 Β· GPL-3.0-or-later
- fedora 43: mtools 4.0.49-2.fc43 Β· GPL-3.0-or-later
- fedora 44: mtools 4.0.49-3.fc44 Β· GPL-3.0-or-later
- nixos 26.05: mtools 4.0.49
- nixpkgs unstable: mtools 4.0.49
- ubuntu resolute: mtools 4.0.49-1 Β· GPL-3.0-only
- ubuntu stonking: mtools 4.0.49-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms