Dec 232017
 
Mouse menu for Turbo Pascal 4.0.
File TPRAT.ZIP from The Programmer’s Corner in
Category Pascal Source Code
Mouse menu for Turbo Pascal 4.0.
File Name File Size Zip Size Zip Type
MENU.COM 2540 1998 deflated
TPMONO.DEF 6332 1933 deflated
TPMONO.MNU 2187 1071 deflated
TPRAT.DEF 6294 1923 deflated
TPRAT.DOC 7508 2895 deflated
TPRAT.MNU 2191 1074 deflated

Download File TPRAT.ZIP Here

Contents of the TPRAT.DOC file


TP RAT -- TURBO PASCAL 4.0 MOUSE DRIVER (Ver 1.0)

I. I N T R O D U C T I O N:

TP Rat is a Microsoft-compatible mouse driver to provide mouse
support for Borland's Turbo Pascal 4.0. The new Turbo editor is nicer
than the one in Turbo Pascal 3.0 in that there are new pull-down menus,
however, you are still required to know the WordStar commands for such
tasks as moving blocks of text. If you can't rattle off the fifty or so
WordStar text editor commands off the top of your head, then this program
is for you.
Now your Microsoft mouse (or compatible) can have cursor support,
context sensitive interaction, and added pull-down menus so that
practically all your choices are a mouse click away.
This program is designed to be intuitive, so you may skip the
directions and figure out how the mouse works as you go along. If you are
the more patient type, follow the below directions to get the most out of
this mouse driver.

II. I N S T A L L A T I O N:

Before you begin, familiarize yourself with the below files:

FILE FUNCTION

tprat.mnu Turbo Pascal 4.0 mouse driver (color)
tpmono.mnu Turbo Pascal 4.0 mouse driver (mono)
tprat.doc This file
tprat.def Source codes for driver
tpmono.def Source codes for monochromatic driver
menu.com Runtime file necessary to load driver

At this point the installation will depend on your system:

a) CGA or EGA systems: At the DOS prompt type the command:

menu tprat

This should load the driver. So that you don't have to type this every
time you run Turbo Pascal, include this command in your batch file. To
unload the driver type "menu off" at the DOS prompt.

b) Monochromatic systems: At the DOS prompt type the command:

menu tpmono

This should load the monochromatic version of the driver. So that
you don't have to type this every time you run Turbo Pascal, include this
command in your batch file. To unload the driver type "menu off" at the
DOS prompt.

III. D I R E C T I O N S F O R U S E:

The logic of the mouse is dependent upon which button is pushed
(right, left or both), AND what the screen displays when you push a
button (context sensitivity).

LEFT BUTTON:

Edit mode: Clicking this button, while in the normal or "Edit" mode
of the Turbo editor, will invoke the Turbo command line at the top of the
screen. Then move the mouse to select the desired choice. Now click
EITHER mouse button to execute this choice. In some cases this will pull
down another menu from Turbo's editor. When in one of these pull down
menus, again just move the mouse to select your choice and click EITHER
mouse button. Again this may even take you into a second pull-down menu.
Again make your selection just like before. You may get out of any menu
by clicking BOTH mouse buttons (at the same time).

Turbo's opening screen: Clicking the left button when Turbo gives
its opening screen (copyright notice at the beginning) will cause an
"autoexecute" command to run. This will take you into full screen edit
mode with the default directory of files listed. Thus using this feature
you may save several keystrokes by running this mouse macro. You may
change the start-up macro by editing the source codes and recompiling.

RIGHT BUTTON:

Edit mode: Clicking this button, while in the normal or "Edit" mode
of the Turbo editor, will invoke a new command line across the top of the
screen. It should have the following choices:

Block Find and Replace Miscellaneous

Move the mouse to position the cursor over one of these choices. Click
EITHER mouse button to invoke your choice. If you get here by mistake,
just push BOTH mouse buttons to get out of this menu.
Each command will pull down a menu of choices that relates to the
choice you selected. Each is essentially self-explanatory, but refer to
the Turbo Pascal manual, p. 170, if you need further explanation. Some
commands require you to enter a number or symbol from the keyboard to
complete the command. Again, if you want out of any menu just push BOTH
mouse buttons to get out.

BOTH BUTTONS:

In "Edit" mode, pressing both buttons simultaneously will generate
the "Escape" code (27). This key can be used to abort many of the Turbo
editors functions. Pressing both buttons in any menu will cause you to
exit that menu.

RIGHT or LEFT BUTTON:

There are times when either right or left button generates the same
consequence.
During a "Find" or "Find and Replace" operation, when the "Options"
prompt appears on screen line #2, pressing EITHER button will invoke a
"Options" submenu to remind you of the possible options available.
Also during a "Find and Replace" operation, when you are prompted to
respond "Yes" or "No", pressing EITHER button will invoke a "Yes No"
submenu to allow you to enter your response from the mouse.

IV. S U M M A R Y:

Learning this mouse is very easy. In sum, pressing the left
button will call up Turbo's menu from which you may enter your choice.
Pressing the right button will call up Turbo editor commands that
previously you had to memorize. Pressing both buttons will exit any menu.

V. N O T E S:

I will try to anticipate some of your problems:
1) Leading Edge "D" has a hard time with these menus, maybe the mono
version will work.
2) This driver is RAM resident and is subject to all the problems that
go with that -- conflicts with other RAM residents.
3) Older Microsoft mice will have trouble with the color commands, you
need version 6 or later.
4) The color driver works by reading specific Turbo editor screen colors.
If you change these from the default values (by using Debug, etc) you
must recompile the mouse driver with the correct color definitions. As a
corollary, mono systems must use the TPMONO file, and color systems can
only use the TPRAT file.

VI. L I C E N S E & D I S C L A I M E R

This program is intended solely for private, noncomercial use. You are
encouraged to copy and share it as long as the archive file is always
distributed intact. While all reasonable effort has been made to correct
any defects in this mouse driver, you use it completely AT YOUR OWN RISK.
The author expressly refuses any guarantee as to the fitness of this
product. You are solely responsible for ANY and ALL damages that you or
others incur in the use or misuse of this program. If you have any
reservations to this, you are expressly forbidden from using this product.


I welcome any comments, suggestions, and questions about this mouse driver and
pointing out errors that invariably creep it.

J. A. Smart 1-12-88 CompuServe EMAIL 73307,2662

WordStar, Leading Edge, Borland, Microsoft, and so forth retain the trademarks
of their respective companies.


 December 23, 2017  Add comments

Leave a Reply