home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Graphics
/
WOGRAPH.BIN
/
687.SDV12.DOC
< prev
next >
Wrap
Text File
|
1992-11-22
|
11KB
|
280 lines
Program: S3 Doc View Utility
Version: 1.2
Author: George Spafford
Date: 05/26/92
Purpose:
To provide a simple ASCII file browsing utility at a low price to
users and program developers.
SDV will only operate on DOS versions 3.3 and above.
OutLine:
I. Starting the Program
A. Single File
B. Using the File Menu
II. File Menu System
A. How to get Help
B. Command Summary
C. Changing File Attributes
D. Copying a File
E. Deleting a File
F. Editing a File
G. Information on a File
H. Moving a File
I. Printing a File
J. Renaming a File
K. System Information
L. Shelling to DOS
III. Viewing a File
A. How to get Help
B. Command Summary
C. How to print a screen
D. How to search for text
E. Repeating the last search
F. Shelling to DOS
IV. How to Register this Program
I. Starting the Program
SDV can be invoked either with a filename to view a single file or
it can be invoked without a filename to bring up all files that are
in the current subdirectory. With this in mind, SDV should either
be in the current directory or in directory that is contained in your
PATH statement.
A. Single File
SDV myfile.txt <- this will only read myfile.txt
myfile.txt is the name of the single file that you want to read.
B. Using the File Menu
SDV <- this will start SDV and use the menu
Use the arrow, home or end keys to move around in the menu.
While in this menu, a number of options are available to you.
ESC will back you up one menu each time that you press it.
II. File Menu System
A. A help screen that summarizes the command keys can be pulled
up at any time by pressing the F1 key,
B. Command Summary
F1 Help
F10 Shell to DOS
A Change File Attributes
C Copy a File
D Delete a File
E Edit a File
I File Information
M Move a File
P Print a File
R Rename a File
S System Information
C. Change File Attributes
While you have the desired file highlighted, press the
letter "A" and then select the attribute that you wish
to add to the file or "C" from the attribute menu to clear
all attributes.
D. Copying a File
While you have the desired file highlighted, press the
letter "C" and then designate the target directory that
you want the file to go to. Attributes will not be copied.
E. Deleting a File
While you have the desired file highlighted, press the
letter "D" and then confirm the request. Note, this will
delete any file regardless of its attribute.
F. Editing a File
While you have the desired file highlighted, press the
letter "E" to edit it. By default, the DOS EDIT program
is used. You can specify your own editor by making a .BAT
file called MYEDIT.BAT containing the name of your editor,
the environment variable %1 which will be passed the name of
the file to edit and then any command line options that you need.
For example:
QEDIT %1
SDV will look for MYEDIT.BAT in the current directory or it will
search the PATH.
F. Information on a File
While you have the desired file highlighted, press the
letter "I" to get the file date, time, size and attributes.
G. Moving a File
While you have the desired file highlighted, press the
letter "M" and designate the target directory. Note,
attributes do not transfer and the original file will be
deleted regardless of its attribute.
H. Printing a File
While you have the desired file highlighted, press the
letter "P." The file will print to LPT1 using the file's
formatting. At this time, SDV will not affect any changes
to the pagination, box codes, etc.
I. Renaming a File
While you have the desired file highlighted, press the
letter "R" and designate the new file name. Note, the
original file's attribute WILL be carried to the new file.
J. System Information
From anywhere in the file menu, press the letter "S" to bring
up a summary of the system. This summary includes:
CPU class
If there is a math coprocessor
Number of Floppies
Number of Com ports
Number of parallel ports
The DOS version
If SHARE is loaded
The active drive
Size of the active drive
Remaining space on the active drive
If it is a network drive
Type of video subsystem
K. From anywhere in the file menu, press F10 to shell to DOS.
To return from the SHELL, type EXIT on the command line and
then press <ENTER> to return.
III. Viewing a File
If you are using the file menu to move around, select the name of
the file that you want to browse and press <ENTER>. If you are
using a single file name, you are already here!
Use the arrow, page up, page down, tab, shift-tab, home and end
keys to move around. ESC will return to the file menu if you used
it or to DOS if you speicifed only a single file.
A. How to get Help
Press F1 at any time to get a summary of the commands
available while in the viewing module.
B. P Print Screen
S Initial Search
F1 Help
F3 Search Again
F10 Shell to DOS
C. How to print a screen
While you are viewing the desired information, press the
letter "P". This will print all of the text, but avoid the
header and footer lines that SDV displays.
NOTE: The search function does not operate correctly yet, please avoid
| using it and associated functions.
|
---------------------------------------------|
D. How to search for text <-----------|
To perform the initial search, press the letter "S" and then
enter your search text. The search process itself is case
insensitive. The search will start from the beginning of the
file and will end at the end of the file.
E. Search Again
Push F3 if you want to continue searching for items specified
using "S". F3 will pick up where "S" left off. "S" forces the
search to begin at the start of the file.
F. Shelling to DOS
At any time while in the view module, you may push F10 to shell
to DOS. To return, enter EXIT at the command line.
============================
IV. Please Register This Program
============================
"SDV" and "S3 DOC VIEWER" are CopyRights of George Spafford All Rights Reserved.
SDV is distributed as SHAREWARE. It is not Public Domain.
If you find that this program aids you in your work, it should be
registered within 30 days of your first usage of it. If you are an
end user, and want to use this for your personal use, it is $5 for
each concurrently used copy meaning that for $5 you can only use it on
one (1) PC at a time.
If you are a program developer and wish to distribute SDV with your
program to aid your users in reading your ASCII files, SDV can be
licensed for you to distribute an unlimited number of copies for
a one-time fee of $20 per each application that you intend to release SDV with.
With this, you are entitled to use new versions as they are released to the
public on BBS systems. Once SDV reaches your end-users, this distribution
license terminates. In other words, when they get the program, your
distribution rights do not transfer with it. If they are going to bundle it
with a program of their own, they must register SDV with me in order to
distribute the program.
History:
v1.2 05/26/92
Whew....
- File menu system
- Text searches
- Line Numbers
- Printing
v1.1 03/26/92
Increased the internal buffering & added the line number display
as well as the EOF indicator. <Never Released Due to Bugs>
v1.0 03/25/92
Initial Release.
Registration of this product will allow me to continue developing
specialized software for you, the consumer, at shareware prices.
Payments (please do not send cash) can be sent to:
George Spafford
3001 Lakeshore Drive, #329
St. Joseph, MI 49085
Queued Access BBS 19200-8-N-1 ANSI (616) 468-5026 FIDOnet 1:2340/0
Sysop: Tim Akright NEC/NC
SHAREWARE DISTRIBUTORS:
You may distribute this program as long as it is made clear that you are
only a distributor and that the program is not registered until they make
payment to me. Please do not charge more than $5 per disk to distribute
SDV to your customers.
::::: Legal :::::
SDV IS DISTRIBUTED AS IS. THE AUTHOR (GEORGE SPAFFORD) MAKES
NO WARRANTIES OF APPROPRIATENESS, MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE. THE AUTHOR ASSUMES NO LIABILITY FOR ANY DAMAGES
(INCLUDING LOST PROFITS, WAGES OR ANY OTHER CONSEQUENTIAL OR INCIDENTAL
DAMAGES) ARISING OUT OF THE MISUSE OR INABILITY TO USE THIS PRODUCT.