SELECT.LIT		1.0(100)

OVERVIEW
========
	SELECT is a progam that will allow the user to select from  a
group of files to feed a specific command.

	Suppose that you wanted to VUE a file but  couldn't  remember
the full name of the  file.  you  could  do  something  like  the
following:

	.SELECT VUE *.TXT

Select would then run through the directory and  find  the  files
matching the wildcard spec and create a pop-up box on screen with
a list of all matching files. The user could then use  the  arrow
keys (or ^T, ^R, Home and End) to  highlight  the  desired  file.
Upon pressing Enter or Space, select would build and execute  the
command. Press ESCape to cancel the selection process.

	Since typing out the full command line stuff can get somewhat
tedious, this would be better put into a command or do file along
the following lines.

WVUE.DO
=======
	$D *.TXT
	:R
	SELECT /R5/C34/S VUE $0
[EOF]

This would give a wildcard front end to the VUE command.
We use something similar to this for our less experienced  users,
where we insert this into a menu system  when  someone  wants  to
edit or look at an existing file.

SWITCHES AND OPTIONS
====================
	/R	Select the starting row. Follow with a numeric value.
	/C	Select the starting column. Follow with numeric value.
	/P	Pause before executing the command. This basically  just
		feeds the command into the input  buffer,  allowing  the
		user to edit the command once it's built.
	/S	Skip on single  file  selection.  When  this  switch  is
		selected and the program only finds  a  single  matching
		file, the selection box is skipped.

All  switches  MUST  preceed  the  command   and   the   wildcard
specification. In addition, if the command is to be longer than a
single word, then it must be enclosed in quotes. For example:

	.SELECT "PRINT PRT1=" *.LST

Again this would work better in a .DO file as follows:

WPRINT.DO
=========
	$D	*.LST
	:R
	SELECT /S "PRINT PRT1=" $0
	[EOF]

The /S is used to  immediatly  execute  in  the  event  the  user
entered a full file specification, resulting in a single match in
the selection set.


LIMITATIONS:
============
	Currently, SELECT will only select files within a single account
and will not allow multiple selections per set.

SELECT was written in AlphaC 1.1

Any Questions please contact me, Michael Mc Murdie, via EMAIL  at
WENG/AM or by calling 916/927-2400

Copyright (c) 1992 - Morton & Pitalo, Inc.
All Rights Reserved.