      ķ
        Path Miser Shell  V 2.03    by Jerry Rebold and Howard Flank  
      Ľ

rebold@internetMCI.com			PO Box 9747 Baltimore, MD 21284-9747

This DOS shell and editor was inspired by an early and now public-domain
program.  Written in assembler, it's short and quick.  Source code is included.

PMS Versions 2+ require a '386+.  Keep an old version on your service floppy!

It is for techies who can't type and want a familiar shell and editor when
working on a strange machine and also for the novice who needs an easy way to
look at directories and edit .BAT files.  It replaces many utilities, DOS
commands, and Win 95 Start menu items.

It requires no installation, just keep the files in the same directory.
You can make it the last line in your AUTOEXEC to boot to it, even in Win 95.
You can run any Windows version from PMS, and then run PMS in Windows.

You can use it from programs that can call other programs or "shell" to DOS,
such as Telix, AutoCAD and (yes) in Windows.  It has been in daily use by its
writers since 1987, so it probably has no really serious bugs.

Just run PMS to see what it does.  The Lotus-style menus show shortcut keys and
hints on the prompt line.  No command line options are required, but see below.

If you save changes to its setup, they are written into the PMS.COM file.  No
other files are needed - you can just run PMS from a floppy on any PC.  And, you
can then remove the floppy if you need to use the drive, though you'll get some
error messages.

It runs faster if you make a temporary directory for it and perhaps the .MNU
file and your other debugging utilities.  Some PC dealers put PMS in a hidden
directory on every machine they sell, using <Directory><Hide>.

Under Windows 3+ or 95:
PMS.ICO is a Windows icon.
PMS runs as an application or in a DOS window and the Application-Menu works.
"Memory Status" becomes "Memory Status Under Windows", and under System you
will see, for example, Windows Version 4.00 under Win 95.

Under Windows 95:
It replaces most Explorer file browsing and the Run function.
It will show Long File Names up to 78 characters, unless you turn the "numeric
tails" (the ~1 at the end of file names) off.
It will run Windows programs.  Some old Win 3.1 programs will not run under '95,
but will run under PMS in its DOS window.
For nerds with two monitors, you can put PMS on your mono screen with our
SWMO-VGA program. 'Post-It' programs like our POSTSVGA will pop a PMS screen on
your SVGA monitor onto your Mono screen (but not vice-versa).

Caution: when PMS erases a file, it is really erased, not in the Recycle Bin;
you can use an old DOS undelete program after running LOCK, but long file names
will be lost.  PMS will lose long file names when you copy/move/rename files
and cannot create long file/folder names.

To set it up in Win 95 (the squirrilliest software we ever saw):
Create a Shortcut to PMS on your Desktop or just run PMS.
Right-click the shortcut or the Title Bar of PMS and click the Properties tab.
Then click Advanced; check only the "Suggest MS-DOS" line, or nothing.
On the Fonts tab, pick a font that produces a window size you like, e.g.,
 8 X 12 for 800 X 600 resolution.
IMPORTANT: On the Memory tab, set "Initial Env" to 768 or 1024 bytes or it
 won't run programs.
On the Screen tab, put the dot at "Window", Initial Size Default or 25 lines,
 all four lower boxes checked.
On the Misc tab, uncheck "Warn if Still Active".
If it crashes, make sure under Memory that EMS is set to NONE or AUTO.

To boot to DOS 7: In MSDOS.SYS in your root dir, put BootGUI=0.
You must unhide and unprotect MSDOS.SYS first with OHSN, FAR, and FAD.
Then put PMS at the end of your AUTOEXEC.BAT to boot to PMS.
In the latest OEM version, you need merely put C:\path\PMS.COM as the last
line in AUTOEXEC.BAT and it will boot to DOS and run PMS.

Win 95 runs fine under PMS as an Application on the Ap menu, but if you:
		boot to PMS, then
		run Windows from PMS, then
		run PMS under Windows, then
		run a DOS program from PMS, then
		exit the DOS program, then
		exit PMS, then
		exit Windows, then
instead of PMS you will be at a DOS prompt (with Win 3.x) or at the "Safe to
turn off your computer" screen (with Win 95) and we recommend you then reboot
since we have only a vague idea why this happens.

To set it up in AutoCAD, any DOS version from R10 thru R13c4:
Add to your ACAD.PGP file the line   PMS,C:\mypath\PMS,256000,,4
Now you can just enter PMS at the Command Prompt (or add it to your menu).
It's the practical way to edit your menus and .LSP routines without waiting to
reload ACAD to try them.


Other files included:

TAB.COM fixes text files from BBSs that will not work with the Editor because
they do not have CR, LF characters at the end of each line, and/or the lines
are longer than 80 characters.  It converts spaces to tabs to shorten the file.

PM_FIND is a very fast file finder, far faster than the Win 95 Find item.

DIAL-RES is a pop-up dialer that uses your modem to dial voice calls from
any phone number showing on a text-mode screen.  If it won't dial, try Alt-R.

PMS_SMPL.MNU shows how to set these up as menu items.

Your menu file, PMS.MNU, must be in the same directory as PMS.COM.
It is ASCII text.  The sample menus PMS_SMPL.MNU and PMS_MIN.MNU contain
instructions.


FEATURES
--------
 The Editor will not stick odd control characters in the file.
 You can create a custom Application Menu by using the Editor to create a
   PMS.MNU file, for point-&-shoot operation, even in Win 95.
 In the Editor, you can point to a file and have its full D:\PATH\NAME.EXT
   inserted in your text, for writing your AUTOEXEC.BAT or menu file.
 File Print takes a 'Number of Copies', for labels, etc., and <Esc> or the
   right mouse button will stop the printer immediately.  Honest.
 Command-to-DOS retains three lines of DOS commands.
 You are always in the directory that the hilight is on or in, so you can point
   to a program and run it with a command line without entering the \path to the
   file.
 Displays and edits hidden files without un-hiding them.
 Remembers the last File position when you change back to a drive, and when
   you have just copied a file to a drive.
 File Bak copies a file to <filename>.BAK, or an optional new d:\path\name.
 You can escape from most "hung" programs using <Ctrl-Alt-Ins> / <Ctrl-Alt-End>,
   which also instantly stops a printer on LPT 1 - 3.  This also dumps all
   resident programs (even those loaded high) by resetting all Interrupt Vectors
   as they were when PMS was first run.
 Can pre-position to a file or directory specified on the command line.
 Takes mouse input.
 Can erase a directory and all its contents in one operation.
 Keys work the same with NumLock on.

When it runs a program, PMS releases the memory for its Editor, files list, and
.MNU file, but its code (PMS.COM) stays in base memory.
This is not much of a problem for a program this short (with a memory mangler
to load your TSR's above 640K).
PMS cannot be loaded 'high' however, so a few games that use most of base
memory may require you to exit PMS first.


NOTATION IN THIS FILE
---------------------
<Ctrl-PgUp> means hold <Ctrl> down and press <PgUp>.
Menu items are in square brackets; [Option] [User] [Novice] means
 select [Option] from the main menu, then [User] from the Option menu, and
 finally [Novice] from the User menu.
You can also press just the first letter: <O><U><N>, or click the left mouse
 button on the item.


RUNNING PMS
-----------
    PMS [d:][\path][\filename.ext]

If the optional drive, path, and/or filename.ext are included, PMS will
initially position its highligh bar there.
If the file does not exist, the highligh bar will be on the root directory
(or the last directory in the specified path that does exist).

Examples:
    PMS
    PMS C:\TOOLS\TO-DO.DOC
    PMS .	(a single period, symbol for the current directory)
		Starts PMS with the highlight bar on the current directory,
		useful to shell out and be in the current dir.

HOW TO USE MENUS
----------------
The prompt line (just under the menu line) describes the highlighted item and
shows shortcuts and hints.  Highlight an item with the Left and Right
arrow keys, then hit <Enter>.  Or, hit the first capital letter (actually the
first non-lower case character) in its name.  Or, click the left mouse button
on the item.  <Esc> returns to a previous menu.

Input Window Keys (for file names, etc.)
----------------------------------------
  <Left>,<Right> arrow keys move the cursor one character.
  <Home>/<End> move the cursor to the Beginning/End of the line.
  <Backspace> Erases the character to the left of the cursor.
  <Del> Erases the character under the cursor.
  <Ctrl-Bksp> Deletes the entire line.
  <Enter> Executes the input.
  <Esc> Cancels text input and returns to a previous menu, saving your input.
  <Up>/<Down> moves up or down one line in [Cmd-to-DOS].

Directory List Movement Keys
----------------------------
  <Up>/<Down> moves the list up or down one line.
  <Home> returns the hightlight bar to the root directory.
  <End> moves the highlight bar to last line.
  <PgUp>/<PgDn> moves up or down nine lines.
  <Ins> opens the highlighted directory and displays the files in it.
  <Del> closes the directory the highlight bar is on, or in.
  <+>,<-> (on the numeric keypad or the top row) move the highlight bar
     to the next or previous directory, moving past long open directories.
  <Ctrl-letter> changes to drive <letter>.  When returning to a previous
     drive, the highlight bar will be where you left it.
  <F4> displays on the right side of the screen the date, time and attributes
     for each file.
  <F3> returns the Status display to the right side of the screen.

  Clicking the mouse on the upper border line is the same as Up Arrow; on the
  lower border, the same as Down Arrow.  The slider bar works as in Windows.
  You can click on the functions listed at the bottom, too.

SELECTING FILES
---------------
Select the file to operate on by placing the highlight bar on that file,
then select the menu item to do to it.

Clicking on a file or directory moves it and the mouse cursor to the highlight
bar.  Double-clicking on a Directory will open it; on a file will Edit it.

Some operations work on multiple files, such as copying, moving, and erasing.
To mark the desired files, click on them or highlight them and then
press the space bar.  This toggles a mark to the left of that file.
<Ins> will open directories while marking.

You can mark or unmark all files in an open directory by putting the highlight
bar on the directory and hitting the space bar.


TO CHANGE DRIVES:
-----------------
 use [Option] [Drive] <letter>, or
 hit <O><D><letter>, or
 hold <Ctrl> and press the drive letter, or
 click the middle mouse button, then click on the drive letter.
Yes, Ctrl-C goes to drive C:.
When you return to a previously accessed disk, the highlight bar will be where
you left it (thru drive G:) or on the last Directory you were in (other drives
through Z:).


THE MOUSE
---------
If you have a mouse and a Microsoft-compatible driver installed, PMS will
display a scroll bar and a mouse cursor which can select most functions.
The mouse is usually disabled when run in a window under Windows 3.x.
In Windows 95 sometimes the mouse works, but don't ask me how to make it do so.
.  Pick a Menu item by clicking the Left Button (LB) with the mouse cursor
     on it.
.  Click on a .COM, .EXE or .BAT file to run it.
.  Clicking on the top or bottom border is the same as <Up> or <Dn> arrow.
.  Clicking on items on the bottom Help line is the same as pressing that key.
.  Clicking on a file or directory puts that item under the highlight
     bar and moves the mouse cursor with it.  In file marking mode, clicking on
     a file will mark or unmark it without moving it.
.  If you click on a directory that is already highlighted (or double click on
     any other directory), it will toggle open or closed.
.  If you click on a file that is already highlighted (or double click on
     any other file), it will be run if it is a .BAT, .COM or .EXE; otherwise
     it will be edited.
.  The Right Button is the same as pressing <Esc>.
.  The Middle Button is Option Drive (takes you to the drive letter menu).
.  On the Scroll Bar, clicking on the arrows moves up or down 1 line;
     there is a typematic repeat.  Clicking on the bar above or below the slider
     is the same as PgUp or PgDn.  Hold the mouse LB down when on the slider to
     drag the list up or down.


                 DESCRIPTION OF MENU ITEMS
[Run]
-----
Runs the .COM, .EXE, or .BAT file under the highlight bar (except COMMAND.COM
or AUTOEXEC.BAT).

PMS can exit from most "hung" programs, or an unfamiliar program you don't know
how to get out of: hit <Ctrl-Alt-Ins> or <Ctrl-Alt-End> to exit back to PMS.
(pressing <Ins> before rebooting on some '386 AMI BIOSs causes the XCMOS memory
to reset to the default).
It will exit most programs (except Windows, of course) as long as the keyboard
interrupt is still enabled, saving the contents of your RAM disk.
If you program in Assembler, this will exit from many crashes.  If you have a
printer on LPT1-3, it will also reset the printer port, stopping the printer
instantly.  All TSR's (Resident programs) installed since you ran PMS will be
removed, so you can use it to free up memory.

Note: NEVER press <Ctrl-Alt-Ins/End> during a disk access, or when shelled out.
Also it's a good idea to reboot as soon as convenient after using it, since
there is no telling what the program was doing at the time and in exactly what
state the computer was left.  Caveat emptor.


[File]
------
[Copy]
   <Esc> will stop copying after a short delay.
   Copies selected file(s) to:
   [Subdirectory]
      Another subdirectory on the same drive.
      After selecting, place the highlight bar on the destination directory
      and press <Enter>.
   [Drive]
      Another drive.  After selecting, press <Enter>, then select the
      destination drive.  The Directory list will then show the destination
      drive.  Put the highlight bar on the desired directory and press <Enter>.
      Use <Ins> to open directories to get to subdirectories.
   [Root]
      The root directory of another drive.  This is faster then [Drive].
[Print]
   Sends the highlighted file to the printer (PRN:).
   Hit <Enter> to print one copy, or enter a number up to 99 copies.
   [Option][PrintBefore] and [AfterPrint] set strings to be sent to the printer
   before/after printing.  <Esc> or the right mouse button aborts immediately.
[Rename]
   Asks for a new name for the highlighted file.  It will accept only valid
   characters.  <Right Arrow> picks up characters from the old name.
[Move]
   Moves files from any directory or group of directories to another directory.
   This is very fast since only the directory entry is changed, the data itself
   remains in place.
[Erase]
   Deletes files from any directory or group of directories.
   Note: if you have set User level to Expert, no confirmation will be
   requested before deleting files.
[Attrib]
   Changes file attributes:
   [Hide]
      Makes marked files hidden.
      Most programs and the DOS "DIR" command will not find hidden files.
      PMS will display hidden files (with  before the name) if [Option]
      [Hidden] [Show] has been selected.
   [Reveal]
      Unhides marked files.  You must first display them using
      [Option] [Hidden] [Show].
   [Protect]
      Sets the "read-only" bit.  These files can not be deleted without first
      being "deprotected".
   [Deprotect]
      Clears the "read-only" and "system" bits so you can modify DOS files.
      There seems to be no need to ever use the "system" attribute.
   [Archive]
      Resets the "archive" bit, indicating a file has been backed up.
      This bit is set by DOS any time the file is updated.  Backup programs
      will now think these files have not been changed and will not back them
      up again in incremental or differential backup modes.
      Some programs (like Central Point Backup) show this attribute backwards
      from PMS.
   [Unarchive]
      Sets the "archive" (it should be called 'changed' or 'un-archived') bit.
[Bak]
   Makes a copy of the highlighted file with a default extension of .BAK, or
   you can supply a new filename and path.


[Directory]
-----------
[Open]
   Opens the highlighted directory and displays the files and subdirectories in
   it.  The shortcut key is <Ins>.
[Close]
   Closes the directory that the highlight bar is on or in.  All
   subdirectories are also closed.  The shortcut key is <Del>.
[Make]
   Creates a new directory in the highlighted directory.  To create a
   directory at the highest level, put the highlight bar on "Root Dir".  You
   will be prompted for the directory name.
[Erase]
   Removes the highlighted directory and all of its contents.
[Rename]
   Prompts for a new name for the highlighted directory.
   <Right Arrow> picks up characters from the old name.
[Sort]
   Selects the sort sequence for displayed files and directories:
   [Name]
      Alphabetically by filename, the default.
   [Extension]
      Alphabetically by extension.
   [Date]
      In ascending order by date.
   [Unsorted]
      In the reverse of the order they occur in the DOS directories.
[Hide]
   Hides the directory under the hilight bar so it and all its contents do
   not show.
[Unhide]
   Unhides the highlighted directory.  Use [Option] [Hidden] [Show] to see it
   first.



[Edit] - VIEW OR EDIT ASCII FILES
---------------------------------
[Edit] will run the internal Editor and load the highlighted file or create a
new file in the highlighted directory.  The PMS full screen editor is more than
a dumb editor but much less than a word processor.  It is an excellent tool
to edit or view .BAT, .TXT, and other ASCII files.
It uses '386 code but the file must fit in low DOS (640K) memory.
To edit a file, put the highlight bar on the file name and press <E> or <Ins> or
click on it.
To exit the Editor use <Esc> to bring up the Edit Menu and <Q> to quit, or
Alt-F then X.

Editor Keys
-----------
  <Left>,<Right>,<Up>,<Down> arrows move the cursor one character or line.
  <Backspace> Erases the character to the left of the cursor.
  <Del> Erases the character under the cursor.
  <Ins> Toggles Insert/Overwrite mode.
  <Home>/<End> Moves cursor to the Beginning/End of the current line.
  <Ctrl-Bksp> Deletes the entire line and places it in the Copy Buffer.
        Like F6 End F3, deletes the line AND the cr, lf at the end.
  <Ctrl-E> Deletes from cursor to end-of-line and places that in the Copy Buffer
        UNlike F6 End F3, does NOT delete the cr, lf at the end.
  <Ctrl-Left>/<Ctrl-Right> Moves cursor right/left one word.
  <Ctrl-Home>/<Ctrl-End> Moves cursor to the First/Last line on the screen.
  <Ctrl-PgUp>/<Ctrl-PgDn> Moves cursor to the First/Last line of the file.
  <Ctrl-S> Searches for a text string.
  <Ctrl-Shift-S> Searches for a text string, case-sensitive.
  <Ctrl-R> Replaces a text string.
  <Ctrl-Shift-R> Replaces a text string, searching case-sensitive.
  <Alt-number pad> (in decimal) inserts any character except 00.
   Do not insert 26 (EOF) or the display will think this is the end of the file.
  <Alt-2> Inserts superscript "2" ( decimal 253)
  <Alt-3> Inserts pi ( decimal 227)
  <Alt-4> Inserts cents ( decimal 155)
  <Alt-f> is the same as <Esc>, like Windows.  Hit Alt-F, X to exit the Editor.
  <Alt-d> Inserts degrees ( decimal 248)
  <Alt-p> Inserts plus/minus ( decimal 248)
  <Alt-Minus> Inserts the solid horizontal bar ( decimal 196)
  <Alt-=> Inserts "approximate" ( decimal 247)
  <F3> Deletes a marked block and puts it in the Copy Buffer.
  <F4> Inserts the contents of the Copy Buffer at the cursor.
  <F5> Just copies the marked block to the Copy Buffer.
  <F6> Toggles text marking on or off.
  <F7> Replaces the next occurrance.
  <Shift-F7> Replaces next occurrance, case-sensitive.
  <F8> Finds the next occurance.
  <Shift-F8> Finds next occurrance, case-sensitive.
  <F9> Saves the current edited text back into the original file.
  <F10> Inserts an <Esc> char ( decimal 27) in the text.
  <Esc> Brings up the Editor Menu

The Editor Menu, activated by <Esc>
-----------------------------------
[Put]
   Exports a marked block to a [File] or the [Printer].
[Get]
   Brings up the file list, then allows you to highlight a file to insert at
   the cursor location when you press <Enter>.
  Put and Get allow you to Cut & Paste and concatenate text files.
[Search]
   [Find]
      Prompts for a string to find.  Same as <Ctrl-S>.
   [Replace]
      Prompts for a string to find, then a string to replace it with.  <Ctrl-R>.
   [CaseFind]
      Like Find, but case-sensitive.  Same as <Ctrl-Shift-S>
   [caSeReplace]
      Like Replace, but case-sensitive.  Same as <Ctrl-Shift-R>.
   Once a search or replace string is entered, a subsequent Find or Replace can
   be case-sensitive or not; if you enter 'Xy', F8 will find 'xY', too, but
   Shift-F8 will only find 'Xy'.
[Options]
   [Update] toggles the update-on-exit switch.  When ON, <Esc> [Quit] will
      update the file (if any changes were made) and exit.  There is NO way
      to avoid saving if you made mistakes.
      When OFF, if changes were made you will asked to [Update] or [Exit].
   [Auto-Indent] When ON, pressing <Enter> will cause the cursor to auto-indent
      to the same place as the preceding line.
   [Status] reports the state of the auto-indent and update-on-exit switches,
      free memory available to the Editor, and the (unchangable) tab setting.
[Quit] Exits the Editor back to the main PMS screen.
[eXit] Same as Quit, for Windows users.
[InsertPath]
   Brings up the file directory screen, then lets you highlight a
   d:\path\filename or directory to insert at the cursor location by pressing
   <Enter>.  This is handy for writing your PMS.MNU file, or for just looking
   at the current directory.
[Alt-chars]
   Just shows the special characters ( and ) typed with Alt held down.
   ALT-Numeric Keypad works, too (hold ALT & hit the decimal ASCII code).
   Do NOT type Alt-0 or Alt-26; 26d=1Ah marks the end of the file.

[Options] - CUSTOMIZE PMS FEATURES
----------------------------------
After many items on the [Options] menu, you will be asked if you want to
"Save changes".
For changes to be in effect only for the current session of PMS, press <N> or
<Esc>.  Permanent changes are rewritten to the PMS.COM file.  If you use PKLITE
to compress PMS.COM, remember to make changes on an uncompressed version and
then PKLITE it again to save your changes.
[Drive]
   Changes to another drive.  The shortcut is <Ctrl-drive letter>, or click
   the middle mouse button then click the LB on the drive letter.
[Beep]
   Turns the error beep off or on.  If you hear a beep after making this
   selection the beep is on.
[Colors]
   Customizes screen colors.  Select the item to recolor, use <up> and
   <down> or the Left mouse button to scroll through the foreground colors,
   and <left> and <right> or the Middle mouse button to scroll through
   background colors.  The color indicator at the right of the top line and
   all applicable parts of the screen will change to the new color.
   Press <Enter> when you have the desired color and you will return to the
   Color Menu to continue changing colors.
   Press <Esc> to exit from the Color Menu and have the option of saving the
   new colors.
   [Reset] Restores all colors to either of two original defaults, if you get
   totally frustrated (as when fore- and background are the same, making the
   menu unreadable).  The first Reset sets colors for an LCD screen; the
   second time, for most CRT color screens.
   On a monochrome monitor, PMS uses a separate color set.  If you change
   colors while on a mono screen, they become the new default colors.
   If you then run on a color screen and feel the Mono color set is yucky,
   <O><C><R> will reset the color screen colors.
   If you change colors on a color screen, it will not affect the mono colors.
   So, you can use PMS on dual-screen systems and still have custom colors.

   The items to recolor are described in the prompt line of the menu.

When setting colors, <Ins> toggles the blink attribute.

[User]
   [Novice]
      You will be asked to confirm many operations (such as [File] [Erase])
      with "Yes"/"No".
   [Expert]
      There will be no prompts for most operations, including [File] [Erase].
[Hidden]
   Selects whether hidden files will be displayed.
   When removing some programs from your hard disk, you may find you can't erase
   the directory; hidden files may be left behind.  Use [O][H][S] to see them
   (you might need to Deprotect them, too), then erase them.
   [Show]
      Hidden files will be displayed, with  before the name.  They are not
      un-hidden.
      Use this to Edit, Erase, or just find hidden files.  Then <F4> will show
      the file's attributes.
   [Hide]
      Hidden files will not be displayed.
[Status]
   Shows the status of the "Hidden", "Sound" and "User" switches, whether the
   options have been Saved, and the PrintBefore and AfterPrint strings.
[PrintBefore]
   A setup string to be sent to the printer before a file is printed with
   [File][Print] and <Esc>[Put][Printer] in the Editor.
   <F10> types the <Esc> character.
   You can enter any character code by typing a '\' followed by the 3-digit
   decimal code (e.g., \012  for Form Feed).  You must type all 3 digits.
[AfterPrint]
   A string to send after printing (handy for laser printers).
[RunCmdLine]
   [Immediate]
      Runs the highlighted program with no command line.  You must use
      Command-To-DOS to run with a command line.
   [CommandLine]
      Always prompts for a command line before running the highlighted program.


[Application-Menu]
------------------
You can design your own multi-level menu by creating a PMS.MNU file,
to run your programs by simply pressing a few keys.  You can set command line
parameters to pass to a program, including part or all of the currently
highlighted filename.  You may also specify the drive and directory to be in
while the program runs, and request user input to the command line.

For example, your word processor takes a command line for a file to edit (you
usually enter, say, "WP myfile").  You can set up a menu entry to run
your word processor and have it load a file just by highlighting the file and
pressing <A><W> (for [Application-Menu] [Word]).
You can use the same keys to run the word processor with no file loaded (to
begin a new file) by highlighting a directory when you press <A><W>.

See the two sample menus PMS_SMPL.MNU (a complex menu file with instructions),
and PMS_MIN.MNU (a minimum example that just runs programs).
You can copy one of them with File Bak, Edit it to your specifications and then
rename it PMS.MNU so PMS can use it.

If you change PMS.MNU, PMS must reload your new version.  Do this by pressing
<Ctrl-Alt-Ins/End>, or just run any program or command to DOS.
The new PMS.MNU will be loaded when returning to PMS.

The PMS.MNU file is located by checking the Environment for PMS's \path\name,
so it must be in the same directory.


[Cmd-to-DOS] - EXECUTE A DOS COMMAND
------------------------------------
Executes DOS commands directly.  PMS has a three line buffer for saving
previous commands.  Use the <Up> and <Down> cursor keys to select a line.
Enter a new command, edit the existing command, or use the command on that line
as is.  <Enter> executes the command on the current line.
DOS commands are executed by running a secondary copy of COMMAND.COM and
passing it the command line.  In some cases there may not be enough memory to
run COMMAND.COM or for COMMAND.COM to execute the command.  It is more
efficient of memory to run programs by using [Run].


[eXit] - EXIT PMS, RETURN TO DOS
--------------------------------
Press <Y> to exit, or <N>, <Enter>, or <Esc> to return to PMS.



NOTES
-----
Instead of DOS function 4Bh, PMS uses undocumented INT 2Eh to run programs.
This allows the DOS "SET" command to modify the Master Environment, and
<Ctrl-Alt-Ins/End> to exit Microsoft programs like QuickBasic.  This scheme
won't work under versions of 4DOS prior to 3.02 unless you run the INT 2Eh
fixup TSR available for 4DOS.

The code to get size of extended memory uses Int 15h if no XMS driver is
loaded, else tries CMOS.

When you exit to some versions of DOS from PMS:
   <F3> may not recall the last command line.
   The DOS prompt may be on a strange line.

When you exit Windows 95 after using PMS to run a program under Windows, the
"Safe to reboot" screen will show instead of returning to DOS, and you must
reboot.

With DOS 3+, there is no need to CD \TOOLS, Just run C:\TOOLS\PMS.

On some old machines, if PMS is run from a .BAT file, e.g. from AUTOEXEC.BAT,
it gives 'Bad command or file name' the first time you try to run a program.

PMS has been meticulously tested by teams of white-smocked scientists on
386, 386SX, 486 and Pentium clones with PC-DOS 3.3, Compaq DOS 3.31, and MS-DOS
3.3, 5.0, 6.0, 6.2, 7.0 and 7.1 (Win 95).
PMS 2.00 is the first to require a '386.


THIS PROGRAM IS BEGWARE. WE BEG YOU TO SEND MONEY.  DISTRIBUTE FREELY.
THE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO
QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE PROGRAM PROVE
DEFECTIVE, YOU ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR OR
CORRECTION, SO DON'T TRY TO SUE US OR WE WILL DEFENESTRATE YOUR LAWYER.
