From 17e0cc7fda633c21991405ed7ce08f49d9618d0a Mon Sep 17 00:00:00 2001 From: "William F. Jolitz" Date: Sat, 27 Jun 1992 13:11:44 -0800 Subject: [PATCH] 386BSD 0.1 development Work on file usr/othersrc/public/mtools-2.0.5/man/catman Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mattrib.0 Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mcd.0 Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mcopy.0 Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mdel.0 Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mdir.0 Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mformat.0 Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mkmanifest.0 Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mlabel.0 Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mmd.0 Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mrd.0 Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mread.0 Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mren.0 Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mtools.0 Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mtype.0 Work on file usr/othersrc/public/mtools-2.0.5/man/cat1/mwrite.0 Co-Authored-By: Lynne Greer Jolitz Synthesized-from: 386BSD-0.1 --- .../public/mtools-2.0.5/man/cat1/mattrib.0 | 66 +++++++++ .../public/mtools-2.0.5/man/cat1/mcd.0 | 66 +++++++++ .../public/mtools-2.0.5/man/cat1/mcopy.0 | 132 ++++++++++++++++++ .../public/mtools-2.0.5/man/cat1/mdel.0 | 66 +++++++++ .../public/mtools-2.0.5/man/cat1/mdir.0 | 66 +++++++++ .../public/mtools-2.0.5/man/cat1/mformat.0 | 66 +++++++++ .../public/mtools-2.0.5/man/cat1/mkmanifest.0 | 132 ++++++++++++++++++ .../public/mtools-2.0.5/man/cat1/mlabel.0 | 66 +++++++++ .../public/mtools-2.0.5/man/cat1/mmd.0 | 66 +++++++++ .../public/mtools-2.0.5/man/cat1/mrd.0 | 66 +++++++++ .../public/mtools-2.0.5/man/cat1/mread.0 | 66 +++++++++ .../public/mtools-2.0.5/man/cat1/mren.0 | 66 +++++++++ .../public/mtools-2.0.5/man/cat1/mtools.0 | 132 ++++++++++++++++++ .../public/mtools-2.0.5/man/cat1/mtype.0 | 66 +++++++++ .../public/mtools-2.0.5/man/cat1/mwrite.0 | 66 +++++++++ usr/othersrc/public/mtools-2.0.5/man/catman | 12 ++ 16 files changed, 1200 insertions(+) create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mattrib.0 create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mcd.0 create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mcopy.0 create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mdel.0 create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mdir.0 create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mformat.0 create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mkmanifest.0 create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mlabel.0 create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mmd.0 create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mrd.0 create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mread.0 create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mren.0 create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mtools.0 create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mtype.0 create mode 100644 usr/othersrc/public/mtools-2.0.5/man/cat1/mwrite.0 create mode 100755 usr/othersrc/public/mtools-2.0.5/man/catman diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mattrib.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mattrib.0 new file mode 100644 index 0000000000..a5fa740367 --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mattrib.0 @@ -0,0 +1,66 @@ + + + +MATTRIB(1) MATTRIB(1) + + +NNAAMMEE + mattrib - change MSDOS file attribute flags + +SSYYNNOOPPSSIISS + mmaattttrriibb [ --aa||++aa ] [ --hh||++hh ] [ --rr||++rr ] [ --ss||++ss ] msdosfile + [ msdosfiles... ] + +DDEESSCCRRIIPPTTIIOONN + _M_a_t_t_r_i_b will add attribute flags to an MSDOS file (with + the '+' operator) or remove attribute flags (with the '-' + operator). + + _M_a_t_t_r_i_b will allow the following command line options: + + aa Archive bit. Used by some backup programs to indi- + cate a new file. + + rr Read-only bit. Used to indicate a read-only file. + Files with this bit set cannot be erased by DEL. + However, _m_d_e_l is more cunning. + + ss System bit. Used by MSDOS to indicate a operating + system file. + + hh Hidden bit. Used to make files hidden from DIR. + However, _m_d_i_r is more cunning. + + MSDOS subdirectory names are supported with either the '/' + or '\' separator. The use of the '\' separator or wild- + cards will require the names to be enclosed in quotes to + protect them from the shell. + + The _m_c_d command may be used to establish the device and + the current working directory (relative to MSDOS), other- + wise the default is A:/. + +SSEEEE AALLSSOO + mcd(1) + +BBUUGGSS + Most versions of ATTRIB don't allow this many options. + + + + + + + + + + + + + + + + + local 1 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mcd.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mcd.0 new file mode 100644 index 0000000000..9e3a357210 --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mcd.0 @@ -0,0 +1,66 @@ + + + +MCD(1) MCD(1) + + +NNAAMMEE + mcd - change MSDOS directory + +SSYYNNOOPPSSIISS + mmccdd [ msdosdirectory ] + +DDEESSCCRRIIPPTTIIOONN + Without arguments, _m_c_d will report the current device and + working directory. Otherwise, _m_c_d changes the current + device and current working directory relative to an MSDOS + filesystem. + + The environmental variable MCWD may be used to locate the + file where the device and current working directory infor- + mation is stored. The default is '$HOME/.mcwd'. Informa- + tion in this file is ignored if the file is more than 6 + hours old. + + MSDOS subdirectory names are supported with either the '/' + or '\' separator. The use of the '\' separator or wild- + cards will require the directory name to be enclosed in + quotes to protect it from the shell. + +SSEEEE AALLSSOO + mdir(1) + +BBUUGGSS + MSDOS doesn't use CD to change to another device. + + It may be wise to remove old .mcwd files at logout. + + + + + + + + + + + + + + + + + + + + + + + + + + + + local 1 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mcopy.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mcopy.0 new file mode 100644 index 0000000000..ec35840b7d --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mcopy.0 @@ -0,0 +1,132 @@ + + + +MCOPY(1) MCOPY(1) + + +NNAAMMEE + mcopy - copy MSDOS files to/from Unix + +SSYYNNOOPPSSIISS + mmccooppyy [ --ttnnvvmm ] sourcefile targetfile + + mmccooppyy [ --ttnnvvmm ] sourcefile [ sourcefiles... ] targetdirec- + tory + +DDEESSCCRRIIPPTTIIOONN + _M_c_o_p_y copies the specified file to the named file, or + copies multiple files to the named directory. The source + and target can be either MSDOS or Unix files. + + The use of a drive letter designation on the MSDOS files, + 'a:' for example, determines the direction of the trans- + fer. A missing drive designation implies a Unix file + whose path starts in the current directory + + _M_c_o_p_y will allow the following command line options: + + tt Text file transfer. _M_c_o_p_y will translate incoming + carriage return/line feeds to line feeds. + + nn No warning. _M_c_o_p_y will not warn the user when + overwriting an existing file. + + vv Verbose mode. + + mm Preserve the file modification time. + + If the target file already exists, and the -_n option is + not in effect, _m_c_o_p_y asks whether or not to overwrite the + file. + + MSDOS subdirectory names are supported with either the '/' + or '\' separator. The use of the '\' separator or wild- + cards will require the names to be enclosed in quotes to + protect them from the shell. + + The _m_c_d command may be used to establish the device and + the current working directory (relative to MSDOS), other- + wise the default is A:/. + +SSEEEE AALLSSOO + mcd(1), mread(1), mwrite(1) + +BBUUGGSS + Unlike MSDOS, the destination directory may nnoott be omit- + ted. + + The '+' operator (append) from MSDOS is not supported. + + No other _M_t_o_o_l_s command rreeqquuiirreess the use of a drive letter + + + + local 1 + + + + + +MCOPY(1) MCOPY(1) + + + designation on MSDOS files. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + local 2 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mdel.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mdel.0 new file mode 100644 index 0000000000..1b26b29a74 --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mdel.0 @@ -0,0 +1,66 @@ + + + +MDEL(1) MDEL(1) + + +NNAAMMEE + mdel - delete an MSDOS file + +SSYYNNOOPPSSIISS + mmddeell [ --vv ] msdosfile [ msdosfiles... ] + +DDEESSCCRRIIPPTTIIOONN + _M_d_e_l deletes a file on an MSDOS filesystem. + + _M_d_e_l will allow the following command line option: + + vv Verbose mode. Echo the filenames as they are pro- + cessed. + + _M_d_e_l will ask for verification prior to removing a + read-only file. + + MSDOS subdirectory names are supported with either the '/' + or '\' separator. The use of the '\' separator or wild- + cards will require the names to be enclosed in quotes to + protect them from the shell. + + The _m_c_d command may be used to establish the device and + the current working directory (relative to MSDOS), other- + wise the default is A:/. + +SSEEEE AALLSSOO + mcd(1) + +BBUUGGSS + Allows multiple arguments, which does not follow the MSDOS + convention. + + + + + + + + + + + + + + + + + + + + + + + + + + local 1 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mdir.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mdir.0 new file mode 100644 index 0000000000..3fc3219751 --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mdir.0 @@ -0,0 +1,66 @@ + + + +MDIR(1) MDIR(1) + + +NNAAMMEE + mdir - display an MSDOS directory + +SSYYNNOOPPSSIISS + mmddiirr [ --ww ] msdosdirectory + + mmddiirr [ --ww ] msdosfile [ msdosfiles... ] + +DDEESSCCRRIIPPTTIIOONN + _M_d_i_r displays the contents of an MSDOS directory. + + _M_d_i_r will allow the following command line option: + + ww Wide output. This option will print the filenames + across the page without displaying the file size or + creation date. + + An error occurs if a component of the path is not a direc- + tory. + + MSDOS subdirectory names are supported with either the '/' + or '\' separator. The use of the '\' separator or wild- + cards will require the names to be enclosed in quotes to + protect them from the shell. + + The _m_c_d command may be used to establish the device and + the current working directory (relative to MSDOS), other- + wise the default is A:/. + +SSEEEE AALLSSOO + mcd(1) + +BBUUGGSS + Allows multiple arguments, which does not follow the MSDOS + convention. + + There is no /P (pause) option. + + + + + + + + + + + + + + + + + + + + + local 1 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mformat.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mformat.0 new file mode 100644 index 0000000000..223bfab4c9 --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mformat.0 @@ -0,0 +1,66 @@ + + + +MFORMAT(1) MFORMAT(1) + + +NNAAMMEE + mformat - add an MSDOS filesystem to a low-level formatted + diskette. + +SSYYNNOOPPSSIISS + mmffoorrmmaatt [ --tt tracks ] [ --hh heads ] [ --ss sectors ] [ --ll + volume label ] drive: + +DDEESSCCRRIIPPTTIIOONN + _M_f_o_r_m_a_t adds a minimal MSDOS filesystem (boot sector, FAT, + and root directory) to a diskette that has already been + formatted by a Unix low-level format. + + The follow options are supported: + + tt The number of tracks (not cylinders). + + hh The number of heads (sides). + + ss The number of sectors per track. + + ll An optional volume label. + + To format a diskette at a density other than the default, + you must supply (at least) those command line parameters + that are different from the default. + +SSEEEE AALLSSOO + mlabel(1) + +BBUUGGSS + Requires a low-level format utility from Unix. + + Doesn't detect (or record) bad block information. + + + + + + + + + + + + + + + + + + + + + + + + local 1 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mkmanifest.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mkmanifest.0 new file mode 100644 index 0000000000..5b3bf7aaa4 --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mkmanifest.0 @@ -0,0 +1,132 @@ + + + +MKMANIFEST(1) MKMANIFEST(1) + + +NNAAMMEE + mkmanifest - create a shell script to restore Unix file- + names + +SSYYNNOOPPSSIISS + mmkkmmaanniiffeesstt [ files ] + +DDEESSCCRRIIPPTTIIOONN + _M_k_m_a_n_i_f_e_s_t creates a shell script that will aid in the + restoration of Unix filenames that got clobbered by the + MSDOS filename restrictions. MSDOS filenames are + restricted to 8 character names, 3 character extensions, + upper case only, no device names, and no illegal charac- + ters. + + The mkmanifest program is compatible with the methods used + in _p_c_o_m_m, _a_r_c, and _m_t_o_o_l_s to change perfectly good Unix + filenames to fit the MSDOS restrictions. + +EEXXAAMMPPLLEE + I want to copy the following Unix files to a MSDOS + diskette (using the _m_c_o_p_y command). + + very_long_name + 2.many.dots + illegal: + good.c + prn.dev + Capital + + _M_c_o_p_y will convert the names to: + + very_lon + 2xmany.dot + illegalx + good.c + xprn.dev + capital + + The command: + + mkmanifest very_long_name 2.many.dots illegal: good.c + prn.dev Capital > manifest + + would produce the following: + + mv very_lon very_long_name + mv 2xmany.dot 2.many.dots + mv illegalx illegal: + mv xprn.dev prn.dev + mv capital Capital + + Notice that "good.c" did not require any conversion, so it + did not appear in the output. + + + + local 1 + + + + + +MKMANIFEST(1) MKMANIFEST(1) + + + Suppose I've copied these files from the diskette to + another Unix system, and I now want the files back to + their original names. If the file "manifest" (the output + captured above) was sent along with those files, it could + be used to convert the filenames. + +SSEEEE AALLSSOO + arc(1), pcomm(1), mtools(1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + local 2 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mlabel.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mlabel.0 new file mode 100644 index 0000000000..969a7d637d --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mlabel.0 @@ -0,0 +1,66 @@ + + + +MLABEL(1) MLABEL(1) + + +NNAAMMEE + mlabel - make an MSDOS volume label + +SSYYNNOOPPSSIISS + mmllaabbeell [ --vv ] drive: + +DDEESSCCRRIIPPTTIIOONN + _M_l_a_b_e_l displays the current volume label, if present, and + prompts the user for a new volume label. To delete an + existing volume label, press return at the prompt. + + _M_l_a_b_e_l will allow the following command line option: + + vv Verbose mode. Display the new volume label if the + label supplied is invalid. + + Reasonable care is taken to create a valid MSDOS volume + label. If an invalid label is specified, _m_l_a_b_e_l will + change the label (and display the new label if the verbose + mode is set). + +SSEEEE AALLSSOO + mformat(1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + local 1 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mmd.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mmd.0 new file mode 100644 index 0000000000..1ba1529a22 --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mmd.0 @@ -0,0 +1,66 @@ + + + +MMD(1) MMD(1) + + +NNAAMMEE + mmd - make an MSDOS subdirectory + +SSYYNNOOPPSSIISS + mmmmdd [ --vv ] msdosdirectory [ msdosdirectories... ] + +DDEESSCCRRIIPPTTIIOONN + _M_m_d makes a new directory on an MSDOS filesystem. + + _M_m_d will allow the following command line option: + + vv Verbose mode. Display the new directory name if + the name supplied is invalid. + + Reasonable care is taken to create a valid MSDOS directory + name. If an invalid name is specified, _m_m_d will change + the name (and display the new name if the verbose mode is + set). + + An error occurs if the directory already exists. + + MSDOS subdirectory names are supported with either the '/' + or '\' separator. The use of the '\' separator or wild- + cards will require the directory name to be enclosed in + quotes to protect it from the shell. + + The _m_c_d command may be used to establish the device and + the current working directory (relative to MSDOS), other- + wise the default is A:/. + +SSEEEE AALLSSOO + mcd(1), mrd(1) + +BBUUGGSS + Allows multiple arguments, which does not follow the MSDOS + convention. + + + + + + + + + + + + + + + + + + + + + + local 1 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mrd.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mrd.0 new file mode 100644 index 0000000000..9822c32d2c --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mrd.0 @@ -0,0 +1,66 @@ + + + +MRD(1) MRD(1) + + +NNAAMMEE + mrd - remove an MSDOS subdirectory + +SSYYNNOOPPSSIISS + mmrrdd msdosdirectory [ msdosdirectories... ] + +DDEESSCCRRIIPPTTIIOONN + _M_r_d removes a directory from an MSDOS filesystem. + + An error occurs if the directory is not empty. + + MSDOS subdirectory names are supported with either the '/' + or '\' separator. The use of the '\' separator or wild- + cards will require the directory name to be enclosed in + quotes to protect it from the shell. + + The _m_c_d command may be used to establish the device and + the current working directory (relative to MSDOS), other- + wise the default is A:/. + +SSEEEE AALLSSOO + mcd(1), mmd(1) + +BBUUGGSS + Allows multiple arguments, which does not follow the MSDOS + convention. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + local 1 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mread.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mread.0 new file mode 100644 index 0000000000..5da7ccd781 --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mread.0 @@ -0,0 +1,66 @@ + + + +MREAD(1) MREAD(1) + + +NNAAMMEE + mread - low level read (copy) an MSDOS file to Unix + +SSYYNNOOPPSSIISS + mmrreeaadd [ --ttnnmm ] msdosfile unixfile + + mmrreeaadd [ --ttnnmm ] msdosfile [ msdosfiles... ] unixdirectory + +DDEESSCCRRIIPPTTIIOONN + In the first form, _m_r_e_a_d copies the specified MSDOS file + to the named Unix file. The second form of the command + copies multiple MSDOS files to the named Unix directory. + + _M_r_e_a_d will allow the following command line options: + + tt Text file transfer. _M_r_e_a_d will translate incoming + carriage return/line feeds to line feeds. + + nn No warning. _M_r_e_a_d will not warn the user when + overwriting an existing file. + + mm Preserve the file modification times. + + If the target file already exists, and the -_n option is + not in effect, _m_r_e_a_d asks whether or not to overwrite the + file. + + MSDOS subdirectory names are supported with either the '/' + or '\' separator. The use of the '\' separator or wild- + cards will require the names to be enclosed in quotes to + protect them from the shell. + + The _m_c_d command may be used to establish the device and + the current working directory (relative to MSDOS), other- + wise the default is A:/. + +SSEEEE AALLSSOO + mcd(1), mcopy(1), mtype(1), mwrite(1) + +BBUUGGSS + Unlike MSDOS, the destination directory may nnoott be omit- + ted. + + + + + + + + + + + + + + + + local 1 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mren.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mren.0 new file mode 100644 index 0000000000..632df001d2 --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mren.0 @@ -0,0 +1,66 @@ + + + +MREN(1) MREN(1) + + +NNAAMMEE + mren - rename an existing MSDOS file + +SSYYNNOOPPSSIISS + mmrreenn [ --vv ] sourcefile targetfile + +DDEESSCCRRIIPPTTIIOONN + _M_r_e_n renames an existing file on an MSDOS filesystem. + + _M_r_e_n will allow the following command line option: + + vv Verbose mode. Display the new filename if the name + supplied is invalid. + + Reasonable care is taken to create a valid MSDOS filename. + If an invalid MSDOS target name is specified, _m_r_e_n will + change the name (and prompt the user to accept or reject + the new name if the verbose mode is set). + + The path component of the target filename (if supplied) is + ignored. In other words, you may not use _m_r_e_n to move a + file from one subdirectory to another. + + _M_r_e_n may be used to rename directories. + + MSDOS subdirectory names are supported with either the '/' + or '\' separator. The use of the '\' separator or wild- + cards will require the names to be enclosed in quotes to + protect them from the shell. + + The _m_c_d command may be used to establish the device and + the current working directory (relative to MSDOS), other- + wise the default is A:/. + +SSEEEE AALLSSOO + mcd(1) + +BBUUGGSS + MSDOS can't use REN to rename directories. + + + + + + + + + + + + + + + + + + + local 1 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mtools.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mtools.0 new file mode 100644 index 0000000000..b694e2d482 --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mtools.0 @@ -0,0 +1,132 @@ + + + +MTOOLS(1) MTOOLS(1) + + +NNAAMMEE + Mtools - a collection of tools for manipulating MSDOS + files + +SSYYNNOOPPSSIISS + mmaattttrriibb - change MSDOS file attribute flags + mmccdd - change MSDOS directory + mmccooppyy - copy MSDOS files to/from Unix + mmddeell - delete an MSDOS file + mmddiirr - display an MSDOS directory + mmffoorrmmaatt - add an MSDOS filesystem to a low-level formatted diskette + mmllaabbeell - make an MSDOS volume label + mmmmdd - make an MSDOS subdirectory + mmrrdd - remove an MSDOS subdirectory + mmrreeaadd - low level read (copy) an MSDOS file to Unix + mmrreenn - rename an existing MSDOS file + mmttyyppee - display contents of an MSDOS file + mmwwrriittee - low level write (copy) a Unix file to MSDOS + +DDEESSCCRRIIPPTTIIOONN + Mtools is a public domain collection of programs to allow + Unix systems to read, write, and manipulate files on an + MSDOS filesystem (typically a diskette). Each program + attempts to emulate the MSDOS equivalent command as + closely as practical. + + MSDOS filenames are optionally composed of a drive letter + followed by a colon, a subdirectory, and a filename. Sub- + directory names can use either the '/' or '\' separator. + The use of the '\' separator or wildcards will require the + names to be enclosed in quotes to protect them from the + shell. + + The regular expression "pattern matching" routines follow + the Unix-style rules. For example, '*' matches all MSDOS + files in lieu of '*.*'. The archive, hidden, read-only + and system attribute bits are ignored during pattern + matching. + + All options use the '-' (minus) flag, not '/' as you'd + expect in MSDOS. + + The _m_c_d command is used to establish the device and the + current working directory (relative to the MSDOS filesys- + tem), otherwise the default is assumed to be A:/. + +SSEEEE AALLSSOO + mattrib(1), mcd(1), mdel(1), mformat(1), mrd(1), mren(1), + mtype(1), mcopy(1), mdir(1), mlabel(1), mmd(1), mread(1), + mwrite(1) + +BBUUGGSS + An unfortunate side effect of not guessing the proper + device (when multiple disk capacities are supported) is an + + + + local 1 + + + + + +MTOOLS(1) MTOOLS(1) + + + occasional error message from the device driver. These + can be safely ignored. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + local 2 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mtype.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mtype.0 new file mode 100644 index 0000000000..ab50f44740 --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mtype.0 @@ -0,0 +1,66 @@ + + + +MTYPE(1) MTYPE(1) + + +NNAAMMEE + mtype - display contents of an MSDOS file + +SSYYNNOOPPSSIISS + mmttyyppee [ --ttss ] msdosfile [ msdosfiles... ] + +DDEESSCCRRIIPPTTIIOONN + _M_t_y_p_e displays the specified MSDOS file on the screen. + + _M_t_y_p_e will allow the following command line options: + + tt Text file viewing. _M_t_y_p_e will translate incoming + carriage return/line feeds to line feeds. + + ss Strip high bit. _M_t_y_p_e will strip the high bit from + the data. + + MSDOS subdirectory names are supported with either the '/' + or '\' separator. The use of the '\' separator or wild- + cards will require the names to be enclosed in quotes to + protect them from the shell. + + The _m_c_d command may be used to establish the device and + the current working directory (relative to MSDOS), other- + wise the default is A:/. + +SSEEEE AALLSSOO + mcd(1), mread(1) + +BBUUGGSS + Allows multiple arguments, which does not follow the MSDOS + convention. + + + + + + + + + + + + + + + + + + + + + + + + + + local 1 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/cat1/mwrite.0 b/usr/othersrc/public/mtools-2.0.5/man/cat1/mwrite.0 new file mode 100644 index 0000000000..d108e95f5e --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/cat1/mwrite.0 @@ -0,0 +1,66 @@ + + + +MWRITE(1) MWRITE(1) + + +NNAAMMEE + mwrite - low level write (copy) a Unix file to MSDOS + +SSYYNNOOPPSSIISS + mmwwrriittee [ --ttnnvvmm ] unixfile msdosfile + + mmwwrriittee [ --ttnnvvmm ] unixfile [ unixfiles... ] msdosdirectory + +DDEESSCCRRIIPPTTIIOONN + In the first form, _m_w_r_i_t_e copies the specified Unix file + to the named MSDOS file. The second form of the command + copies multiple Unix files to the named MSDOS directory. + + _M_w_r_i_t_e will allow the following command line options: + + tt Text file transfer. _M_w_r_i_t_e will translate incoming + line feeds to carriage return/line feeds. + + nn No warning. _M_w_r_i_t_e will not warn the user when + overwriting an existing file. + + vv Verbose mode. Display the new filename if the Unix + filename requires conversion. + + mm Preserve the file modification times. + + If the target file already exists, and the -_n option is + not in effect, _m_w_r_i_t_e asks whether or not to overwrite the + file. + + Reasonable care is taken to create a valid MSDOS filename. + If an invalid name is specified, _m_w_r_i_t_e will change the + name (and display the new name if the verbose mode is + set). + + MSDOS subdirectory names are are supported with either the + '/' or '\' separator. The use of the '\' separator or + wildcards will require the names to be enclosed in quotes + to protect them from the shell. + + The _m_c_d command may be used to establish the device and + the current working directory (relative to MSDOS), other- + wise the default is A:/. + +SSEEEE AALLSSOO + mcd(1), mcopy(1), mread(1) + +BBUUGGSS + Unlike MSDOS, the destination directory may nnoott be omit- + ted. + + + + + + + + local 1 + + diff --git a/usr/othersrc/public/mtools-2.0.5/man/catman b/usr/othersrc/public/mtools-2.0.5/man/catman new file mode 100755 index 0000000000..88cdccf311 --- /dev/null +++ b/usr/othersrc/public/mtools-2.0.5/man/catman @@ -0,0 +1,12 @@ +#!/bin/sh +# usage: sh catman +# put the section numbers here: +for section in 1 +do + echo formatting section $section... + for file in man$section/* + do + echo $file "->" cat$section/`basename $file .$section`.0 + nroff -man <$file >cat$section/`basename $file .$section`.0 + done +done -- 2.20.1