home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
m
/
msh_ut11.zip
/
MSH_UTIL.DOC
< prev
next >
Wrap
Text File
|
1992-05-10
|
7KB
|
127 lines
---------------------------------------------------------------
This is version 1.1 of msh_util (last update 9.5.1992)
---------------------------------------------------------------
This archive (msh_util.arj/zip/lzh or whatsoever) contains:
- some little programs for the use with Mi-Shell (of course
you could use them standalone)
- some bugfixes for the original scripts
- a whole set of scripts to make MiShell even more NC-alike.
---------------------------------------------------------------
It should contain these files:
MAKEFILE a Makefile for the package
MSH_UTIL.DOC this file
CP.PAS pascal-source for the Copy-program
RM.PAS pascal-source for the Remove-program
MV.PAS pascal-source for the Move-program
DSKFREE.PAS pascal-source for the Disk-Free-program
MYMKDIR.PAS pascal-source for the MkDir-program
CPMV.INC pascal-source for common code of mv/cp
(bases on sdfc114 by <nemossan>)
FORMUNIT.PAS pascal-source for formatting-routines
(from the german magazine c't 02/92)
MINIWIND.PAS pascal-source for alert-boxes (quick'n dirty)
MSHSUPPO.PAS pascal-source for support of MSH-LOOOOOOONG-
commandlines (a lot more than DOS's 127 chars)
MYDEFS.ZIP My definitions for MSH to make it more NC-alike
(if you don't like them and want just to add the
possiblities of the utilities, then take just the
following msh-files and adapt them).
BUT: at least try them once, I think they should
make life a lot easier and there are a lot
of bugs removed!
ARCHIVER.MSH enhanced possibilities for archive-handling
BERK.MSH a replacement for the same file of the Mi-Shell
to adapt the slightly different paramaters for
cp, rm, mv
CONFIG.MSH loads the necessary scripts
PANEL.MSH an enhanced panel_stats-feature (CtrlL)
WILD.MSH an enhanced wildrun feature of a command over
all selected files
(maybe as well the ready compiled sources with .TPU and .EXE
extensions)
Mi-Shell is a VERY-GOOD-COMPLETELY-PROGRAMMABLE-HIGHLY-RECOMMENDED-
NORTON-COMMANDER-LIKE-SHAREWARE-DOS-SHELL (wow, what a word!).
You can get it via ftp (msh20.zip) or directly from OPENetwork
(adress see below; registration fee $49).
(By the way: I don't have any connections with OPENetwork whatso-
ever; this praise of Mi-Shell is a very personal but valid one).
In the distribution package of the MiShell there are some utilities
from OPENetwork's Berkeley-Utilities: rm, cp, ls and mv.
These utilities have two disadvantages:
- They are only demonstration copies valid to a certain date. The
complete package of Unix-like utilities costs another $200.
(Well in the meantime I learned that with your registration
you get registered versions of these utilities; still for such
a shell they aren't "friendly" enough)
- I am now very familiar with the Norton Commander and liked and
disliked some features, so I tried to emulate them (especially
their userfriendliness)
These are my replacements (all complete with source-code for Turbo-
Pascal (6.0 but should run on >4.0 if you adapt some compiler-flags).
CP Copies a lot of files (bases on sdfc114.pas of <nemossan>, so
all praise to him) by reading as many files as possible in
standard-memory and writing them "en bloc" to the destination
directory. May copy recursively, only newer files and without
any questions wahatsoever (by default it asks for confirmation
before overwriting existing files (and it's possible to switch
at this point to overwriting all files or overwriting only older
files and so on).
MV Very similar to CP (well, almost identical). Moves files
RM Deletes a whole bunch of files (as well as recursively through
a whole directory-tree if you allow it).
By the way, by pressing ESC you can cancel the whole process at
(nearly) any time in each program.
There are also two little utilities, which don't make much sense outside
MiShell, but decide yourself:
MYMKDIR A MkDir-Clone that is capable to create all necessary parent-
directories if they don't exist yet.
Example: You have directory "c:\tmp" and want to create
"C:\tmp\tst\1\2". Via DOS you had to give three commands:
"md c:\tmp\tst"
"md c:\tmp\tst\1"
"md c:\tmp\tst\1\2"
OR JUST SAY:
"mymkdir c:\tmp\tst\1\2"
DSKFREE takes first param and gets free and total space on this drive.
Then it writes these results in an external file which could
be specified by a second command-line-parameter.
E.G. "dskfree a: drivea.dat" would create a file called
"drivea.dat". This file could contain something like this
--- START OF FILE
730.112 bytes in A:
132.096 bytes free
--- END OF FILE
-- LEGAL STUFF FOLLOWS HERE, SKIP IF YOU CAN'T READ THEM ANY MORE ! --
NO WARRANTY. ANY USE BY YOU OF THE SOFTWARE IS AT YOUR OWN
RISK. I DISCLAIM ALL WARRANTIES OF ANY KIND, EITHER EXPRESS
OR IMPLIED, INCLUDING, WITHOUT LIMITATION, IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
NO LIABILITY FOR CONSEQUENTIAL DAMAGES. In no event shall
I be liable for any damages whatsoever (including, without
limitation, damages for loss of business profits, business
interruption, loss of business information, or other pecuniary
loss) arising out of the use or inability to use this product,
even if I have been advised of the possibility of such damages.
Because some states do not allow the exclusion or limitation of
liability for consequential or incidental damages, the above
limitation may not apply to you.
-----------------------------------------------------------------------
Here is my address: Here the address of OPENetwork:
Jens Pirnay OPENetwork
Wuermstrasse 1 215 Berkeley Place
D-8400 Regensburg Brooklyn, New York 11217
Germany Voice: 718-398-3838 Fax: 718-638-2240
BBS: 718-638-2239