Contents of the VIEW2.DOC file
a Shareware Product by Steve Leonard
( Version 1.2 JUNE 1989 )
This program may be copied, shared, and given away. It may be distributed
by the socalled "Shareware Distributors" who typically charge a small fee to
cover their own distribution costs. They deserve their fee.
Users should realize, however, that the author does not receive any money
from these shareware distributors, and relies upon donations from you, the
Be it known that donations in any amount are gladly received by
P. O. Box 913
Hilton, NY 14468
What is it ?
View-Two is a utility program that lets you view (browse) two text
files simultaneously. Both files are visible together, each in its
own "window" (the screen is split vertically) so you can easily do an
I-E-B-EYEBALL on the two files.
For example, to view 2 files, say, MYFILE.DOC and MYFILE.BAK, just type
"VIEW2 MYFILE.DOC MYFILE.BAK".
Hitting the ENTER key will let you alternate between the two windows. The
"active" window will be marked with the word "ACTIVE" on the top line.
The windows can be resized vertically by using the left and right arrow
keys. Additionally, text within each window can be scrolled left and
right (using F5 and F6) as well as up and down (using the arrow keys).
While in browse, there is a "find" function (the TAB key) which will search
either (or both) windows for a text string.
There is also a compare function (F3) that will start with the top line in
each window and compare the two files line by line.
Though not an editor, View-Two does have the capability to mark text in
one window (F7 marks top line), then insert the marked block into the
other window (INS key).
The "Active" file can be written to disk with the F10 key. The output file
will always be named "VIEW2.OUT".
And also a Directory Master...
Just type "View2" without entering any file names, and you get a
half decent Directory Display.
If the names of the files to be viewed are not supplied on the command
line, then View-Two will present a scrolling window of files in the
current directory. The directory list may be sorted by Name, Date, Size,
or Extension at the press of a function key. To select a file for
viewing, just high light the desired file by using the arrow keys, and
hit Enter. By hitting Escape without selecting a file, you will be
prompted to enter the filename directly.
It is worth knowing that on the IBM XT, the smallest file possible still
requires 4096 bytes. So even if a file (like a small batch file) only
shows that it takes up 24 bytes, DOS allocates file space in 4096 byte
"chunks". Since running short of room on hard disks seems to be a
universal problem, View-Two shows the total amount of space required by
all files in the listed directory as two totals : the sum of the number
of bytes required by all the files, as well as the true number of bytes
required because of the way DOS allocates space in 4K chunks. (For AT &
386 machines, as well as DOS versions 3 and above, the 2nd total may not
There is no warranty, period.
Steve Leonard specifically diclaims all warranties, expressed or implied.
Use this product at your own risk.
If you are viewing a file or files and hit the Shift and Tab keys
simultaneously, the file in the active window will be written out to disk
to a file called "View2.out". If there already is a file on disk called
VIEW2.OUT, it will be overwritten (Gone - forever !).
As mentioned in the next paragraph, the VIEW2.OUT file may not be an exact
copy of the file you were viewing.
In no event shall Steve Leonard be liable for any loss of profit, or any other
damages or loss incurred because of this product.
- runs on MONOCHROME or CGA adapter (should work OK with EGA or VGA,
but not tested with these adapters.
- developed & tested under IBM DOS 2.1 on an IBM XT - should run
on all compatibles.
- requires at least 290K RAM
New in Version 1.1 :
Now you can browse files as large as 64K each.
Files larger than 64k can still be read, but only the first 64k of the
file can be viewed.
However, there is a catch: THIS VERSION OF VIEW2 CANNOT READ FILES THAT
ARE READ ONLY. Sorry, but this appears to be a limitation of the
Turbo Pascal BLOCKREAD command I am using. I considered having the
program reset the attributes, but decided against it, as I decided it's better
that this program does nothing to YOUR files, except read them.
The simple way around this is to copy the read only file using the dos
COPY command, and then have VIEW2 read the copy.
Or else, keep a copy of version 1.0 on hand, which, though limited to
reading only 776 lines of a text file, it CAN read read only files.
Files with line records greater than 80 characters long will no longer
be wrapped around. Instead, you must use the F5 key to shift the line
to the left. Characters beyond the 140th column will be lost.
New in version 1.2 :
1) Now each window can take a full 80 columns, making it equvalent to a
single screen browse, if desired.
2) A bug with changing directories has been fixed. Now, the F6 key
3) From the directory screen, the F5 key also toggles the sound
generated fom the compare function. So you can finally have a
4) NOTICE THIS !!!! On the directory screen, the F4 key and the ESC key
have swapped functionality. That is, the ESC key now does what it
always should have done - take you out of the program back to DOS.
If you know the name of the file you want to view and don't want to
have to point to it and shoot, then hit F4 for manual file name entry.
5) Once you sort a directory, it does not resort again each time you
return to the directory screen, unless you change to another directory
or hit one of the SORT function keys.
If a file is written to disk (Shift TAB), the VIEW2.OUT file will
contain only the first 64k of data.
Other Shareware products by Steve Leonard
RUSHHR - a game / simulation of traffic during a rush hour. You try to
manage the flow of traffic by controlling the traffic lights of 6 different
intersections as the traffic density varies (increases !) during the rush
hour. Starts off easy, but gets more difficult as the rush hour advances.
Available in the Compuserve Gamers Area - library # 13.
In case anyone is wondering, total donations after 1 year from Rushhr amount
to ... ... $55.00. Lets keep those donations coming !
Time-Keeper, also known as "LOG.EXE", is a program that tracks how and
when you use your PC.
It stamps the & time into a file each time a user defined "task" is started
or completed, along with the task description and the command line parameter
used for that task, if applicable.
As this "history" of usage is accumulated, it may be searched
("when did I start writing the XYZ program?"), summarized ("how many
hours did I spend last month on the XYZ project"), and this information
may be displayed in the form of graphs or reports.
Once you install this program, this is nothing more to do - it works when
you do, automatically tracking those tasks you instructed it to. And there
are no messy TSR's to worry about, so you won't be wasting memory space or
trying to get all your TSR's to cooexist peacefully.
If you use your PC much in work, then this program is a "must have", as
it lets you reconstruct your day (or month, or year, etc).
Software Library Information:
This disk copy provided as a service of
The Public (Software) Library
We are not the authors of this program, nor are we associated
with the author in any way other than as a distributor of the
program in accordance with the author's terms of distribution.
Please direct shareware payments and specific questions about
this program to the author of the program, whose name appears
elsewhere in this documentation. If you have trouble getting
in touch with the author, we will do whatever we can to help
you with your questions. All programs have been tested and do
run. To report problems, please use the form that is in the
file PROBLEM.DOC on many of our disks or in other written for-
mat with screen printouts, if possible. The P(s)L cannot de-
bug programs over the telephone.
Disks in the P(s)L are updated monthly, so if you did not get
this disk directly from the P(s)L, you should be aware that
the files in this set may no longer be the current versions.
For a copy of the latest monthly software library newsletter
and a list of the 1,800+ disks in the library, call or write
The Public (Software) Library
P.O.Box 35705 - F
Houston, TX 77235-5705