Viewer, File Pick and Search Program

The viewer program reads text files.  It is called by typing
the command "v.exe Filename" where "Filename" is the name of the file
you wish viewed.  You should type the full path name unless the file
is in the current directory.  You can type "v.exe" alone and then the
program will prompt you for a file to view (you can then type "f" and
be sent to the File Pick program).

The File Pick program will allow you to pick a file or directory.  It 
is called by typing the command "f.exe F#" or "f.exe D1".  If you are
looking to pick one file then # is 1, for two # is 2, etc.  You can 
only pick one directory.  You must tag a file(s) and then quit the 
program.  The files picked are saved in the startup directory where 
f.exe is located.  That temp file is called "temp123.xxx" and has 
as its first item the number of items picked, then the file(s) or
directory picked.

The search program allows you to search for any file by name, size, 
date, or attribute.  Also words in a file can be searched for.  The 
program is called by typing "s.exe".

v.exe, f.exe, s.exe  and this helpv.txt file should all be in the 
same directory!  Recommend that you place them in a directory which 
is in your PATH statement.  If under windows, then place in the 
Windows directory.

All these files are run in text mode only and are not graphic except
for one of the screen savers.  They are designed for VGA color screens.

Here is an index of commands/functions in the viewer:
These are available from the keyboard by just typing the letter
or if using the mouse, click with the left mouse button in the
command word (example to go to the End of the file, click anywhere
in the word E/nd)
	L --Line numbering on or off 
	E --End of file (END key)     
	B --Beginning of file (HOME)
	D --Down one video page (PG DN)
	U --UP one video page (PG UP)
	H --Help file (brings up this file)
	S --Search for a word(s) in the file
	I --Change Drive
	F - Parameters (Screen saver, printer, Colors) 
	V --View another file
	Q --Quits Program
	P --Print (to printer or file)
	ESC will stop the current command/function if in a 
	command/function.

Information on moving among directories:

	ESC goes up one directory.

	ENTER moves you into Highlighted Directory or tags files

	You may also use the Up Down keys and PgUp PgDown

	If you press I or click in the word I/drives, you go to where
	information about the drives you have available are shown.
	
	Drive A, B are always shown even if one or both are missing.

	Information on the size of the drive, free space and volume 
	name is also displayed.

	You can also use the mouse key to navigate or move among 
	directories or the files displayed. (See Mouse)

Highlighting:
	
	The file or directory you are on is highlighted.  You can use 
	the up down cursor keys to move around.  You can also use the 
	mouse and simply click on a file or directory to highlight it.


Information about the viewer program

	<-- key (right cursor key) and --> key (left cursor key) are available in Viewer only (when
	line is longer than can be shown) - the line above is longer than can be shown
	You can also use the mouse on the line that displays the file name -
	clicking on left side is same as <-- key and clicking on the right
	side is same as --> key.

	The viewer will display .exe, .com or binary files, but they
	will not be recognizable

	The viewer is not limited, it will view any size file

	Line numbering can be turned on/off by typing L

	Q or ESC exits the viewer

Use of Mouse:

You may use Right Mouse button to:
	If click on right side of screen then same as D/own (PG DN) 
	If on left side of screen then same as ESC (move you up one 
	directory)
	If in a command/function, right click acts same as "yes"
        If on the display line (line 22, show file name) acts as -> key
	
You may use Left Mouse button to:
	On a command line, click in any word that has a "/" in it to
	execute that command (example clicking on "V/iew" will bring up
	the viewer commands.
	When inputting a number and "1234567890" is displayed, then just
	click on the number you want to input.
	If click on right side then same as U/p (PG UP)
	If click on left side of screen then same as T/ag or U/ntag
	If in a command/function left click acts same as "no"	
	If on the display line (line 22, show file name) acts as <- key
	If in the F/prms menu, you can use left click to select a menu choice.
	
Screen Saver:

	The program comes with two screen savers:

	Circles which just draws different sized circles.  This is a graphic
	screen, and if it doesn't work use the moving words.  Default is
	Circles set to go on at 1 minute.

	Moving word(s) which allow you to have words of your choice
	move across the screen.  The screen and text colors will change
	randomly.
	
	The screen saver is automatically set at 1 minute and on.

	To change the screen saver type, time, or to turn it off go to
	F/prms screen by pressing F.

	The screen savers for the File Pick and Search program use the
	same screen saver that the viewer program uses.

Parameters (F/prms Function):

	Pressing F/prms will get you to the Parameters screen where
	you can change the following:

	Screen Saver
	
	Colors (the background screen color, the text color and bolding)

	Sound On or Sound Off will turn on or off the beep sound.  
	Default is Sound On.  You can also choose the type of sound.

	Parameters Menu will show the current date and time as well
	as the current directory.

	The delay (how fast the program scrolls when in the viewer).

	The printer - since all the programs are text based, the program
	sends to the printer only a text stream so any printer should
	work.  What you need to do is tell the program what the command
	is for ejecting a page.

	When you exit the F/prms menu, your parameters are automatically
	saved to a file where the File Program is located, and will be
	read by the program upon restarting.  The file is called: 
	"vsystem.dat"

File Pick program:

Tagging files and directories (T/ag command)
Un tag files and directories (U/ntag command)
Unmark all files (U/nMark command)
Mark all files (J/all command):

	You can tag or mark files you wish to move or copy.
	
	Pressing the "T" key or clicking in the word "T/ag" will 
	automatically tag the currently highlighted file (<--) 
	and move you down one line.  If you have a mouse, simply 
	click on any file showing to tag it.  You can only tag the
	number of files requested from the command line.  If the program
	is called without a command line the program assumes you
	want to choose only one file (f.exe F1).

	J/all (Press "J" or click in the word "J/all") is used to tag 
	all files in the current directory.
	
	U/nMark Press "U" or click in the word "U/nMark") will untag 
	a file and move you up one line.  If you have a mouse, simply 
	click on any tagged file and it will untag it.

	K/all (Press "K" or click in the word "K/all") will untag 
	all files in the current directory.

	If you move up or down a directory, your tag files will
	disappear.  Tagged directories will not.

	You can Tag directories by using the T/ag key.  Simply 
	highlight the directory and press "T". If you have a mouse,
	click in area marked by 4 dashes ---- to Tag a directory.

	To Tag a root directory:
	Go to I/drives, highlight the drive and then either press T
	or click in the area marked by 4 dashes ----

	You can view a file (calls the viewer program).

Search program:

	You can search for any file by using the wild card (*) feature.
	Searching for *.bat means find any files that end in .bat
	Searching for *.ext means find any files that end in .exe
	Searching for Norton*.* means find any files that start with
	Norton (example Norton.ovl, Norton.bat, Norton5)
	Searching for *5.pld means find any file ending in 5.pld

	You may search all drives (hard drives searched only no floppies)
	or the current drive or select a drive to search.
	You may search the current directory or type in a directory to
	search - you can also call the File Pick program to select a
	directory to search.

	You can also search by date (on, before or after), size (equal to
	less than or greater than), and by attributes of R -read only,
	S - System or H-Hidden or any combo.  If you search for only one
	attribute, it will display any file that has that attribute even
	if it has other attributes.

	The Search function will show what directory is being looking into,
	display any found files, and when complete will display all the
	found files (it calls the viewer program).

	Pressing ESC key will stop the search.

Quit or exit a program (Q/uit Command):

	Pressing Q will exit the program.
	Only the viewer program will prompt you to enter "y" to exit for real.
	You may use the right mouse button as a "yes" answer or use
	the left mouse button for a "no" answer.

	Pressing "Exit the Program" while in the F/prms menu will
	exit the program (with no prompt!)

Line numbering (L/ines):

	Pressing L or clicking in the word "L/ines" will turn
	line numbering on and off.
	
	The program will automatically default to line number on.


G/o-2 Go to Tagged Directory:
	
	Function will take you to the tagged directory if a tagged
	directory exists.

Up one video page (U/p command)
Down one video page (D/own command)
Go to the Beginning (B/eg command)
Go to the End (E/nd):

	Pressing U or D will move you up or down one video page.
	This is same as pressing Page Down key (Pg Dn) or pressing
	Page Up (Pg Up) key.

	Pressing B or E will move you to the beginning of the directory
	(or beginning of the file if you are in the viewer)
	or to the end of the directory listing
	(or end of the file if you are in the viewer)

	If you have a mouse, you can also use the left or right
	mouse buttons to move up or down the directory (or file)
	if you click on the right half of the video page.

	You can also left click on the far right column and the click will
	take you to a percent of the file.

Display:

	The bottom three lines are reserved for Command/Functions as
	well as information.
	
	If a directory is "Tagged", it will be shown with a <---
	In the example above, "A:\" is the tagged directory.

	If any files are "tagged", then the number of tagged files
	are shown and how much disk space the occupy.

	Directories are listed first followed by the files in the
	directory you are currently in.
	
	The viewer Program displays the following information about
	a file:

	Name (usually 8 letters a "." and a 3 letter extension)
	Size in bytes
	Date of file (normally last date modified)
	Time of file (normally last time modified)


Help.txt:

	This file is called Help.txt and must be placed in the same
	directory as the File Program, because when you press the
	Help key, it looks for this file in the same directory where
	the viewer program is located.


All programs:

Copyright 1996, 1997, 1998 by William S. Christian

You may use this software freely and distribute it freely.

You may not charge for this software.

You may modify MY code for your own use or use it in other apps.

No warranty is made for this software.  USE AT OWN RISK.

If you need help or want customization, please call
505-455-2522 or Rt 5 Box 306 Santa Fe NM  87501.

email: wsxian2@aol.com

********************************************************
Some code from:

 GPS (General Purpose Subroutines) Library  <v256> 
 (c) Garry Spencer / Spencer Technologies          
 P.O. Box 34OO9  Memphis, TN  38184-OOO9           

And they stated: 

Warranty: None expressed or implied.
The routines in this library have been thoroughly tested with
Quick-BASIC version 4.5, HOWEVER Spencer Technologies and/or any employees
of the company are not liable for the use or misuse of this software.

********************************************************
Some code from:

Disk version of "PC Magazine BASIC Techniques and Utilities",
COPYRIGHT (C) 1994 ETHAN WINER  Who states:
All of this software and the accompanying text are provided "as is", 
with no warranty expressed or implied.  The author is not liable 
for any damages whatsoever, including incidental or consequential.  
Use this information at your own risk.  If you wipe out your 
hard disk or CMOS memory, I am not responsible!

Crescent Software, Inc.
11 Bailey Avenue
Ridgefield, CT  06877

Office hours are 9:00 to 5:30 Eastern Time.

Orders only: 800-35-BASIC (800-352-2742)
Technical information: 203-438-5300
FAX: 203-431-4626
CompuServe: 70662,2605
**********************************
