home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
206.lha
/
Flist_v1.2
/
Flist.doc
< prev
next >
Wrap
Text File
|
1988-12-28
|
10KB
|
222 lines
NAME
flist - file lister and sorting utility
SYNOPSIS
flist [directory] [FROM file] [?]
DESCRIPTION
Flist will display files as given on the command line, or if there
are no arguments the current directory. Flist allows commands to
be executed as if they were typed at a CLI. The list of files may
be sorted by name, time, size or by a pattern. Most of flist's commands
are control sequences as defined below.
You may also specify the name of a file that contains file names to
be displayed by flist.
Control sequences are indicated by the '^' character preceding an
uppercase letter. To invoke the command from flist it is not necessary
to capitilize the letter. You may also use the Menu shortcuts, which
for the most part follow the same lettering scheme as the control
sequences (but check first).
^A - Invoke the ARP filerequestor. The ARP filerequestor will appear on
the flist screen starting at the RAM: directory. All that is required
is for the user to select a directory for flist to display. By clicking
on the right mouse button, you can get a list of devices in the system.
When the directory that is desired is displayed by the requestor, then
select the OK button. If you want to abort the operation then select
the CANCEL button.
^C - Abort flist. If you want to terminate flist from the keyboard,
typing control-c will bring up a requestor to make sure that this is
what you want to do. (HINT: hitting A-v will select the OK button)
^D - Change directory. (Refer to the diagram below) To change directory
place the cursor opposite a 'Dir' entry in flist using the cursor keys
(input area 6). Typing control-d at this time will change directory
to the left (Directory1) of the input area.
---------------------------------------------------------------------
| Current directory Files = 10 |
---------------------------------------------------------------------
| filename1 | | date time filesize |
| filename2 | | date time filesize |
| filename3 | | date time filesize |
| filename4 | | date time filesize |
| filename5 | | date time filesize |
| Directory1 | ^D | date time Dir |
| filename7 | | date time filesize |
| filename8 | | date time filesize |
| filename9 | | date time filesize |
| filename10 | | date time filesize |
^^input area
and so on...
^K - Kill (delete) file. By placing the cursor to the right of the filename
that is to be deleted (also directories) and typing control-k, the
filename will be deleted from the media.
^L - Restore screen. This command redraws the entire screen. It also
resets all the internal pointers to the top of the list.
^N - Make new directory. A string requestor will appear, prompting
you to enter the name of the new directory. Hitting return with
no entry in the requestor will do nothing.
^P - Get parent directory. Typing the sequence control-p will force
flist to go up the file structure one level.
^R - Rename file/directory. A string requestor will prompt you to enter
the new file. The cursor will continue to be displayed to indicate the
file that is to be changed. Hitting return with no entry in the requestor
will do nothing.
^S - Sort the filenames and directories alphabetically.
^Z - Sort the filenames by size. Directories will be listed first.
^Y - Sort the filenames by the day created.
^T - Sort the filenames and directories by creation TIME.
^O - Sort the filenames by pattern. A string requestor will promt you
to enter the pattern to sort the current list by. Hitting return with
no entry in the requestor will do nothing. Entering a pattern will
exclude all entries in the list except those that match the pattern.
Patterns may be standard AmigaDOS or ARP wildcards.
^G - Re-get the current directory. Useful if you move or sort the
files, and you want Flist to be operating on current information.
^U - Erase the contents of the current line and place the cursor at
the beginning of the input area.
^X - Invoke an Flist AREXX macro. A string requestor will prompt you
to enter the macro name. Hitting return with no entry in the requestor
will do nothing.
Help key - Hitting the help key will give you a synopsis of the
keyboard control commands. Type any key on the main keyboard (make
sure the help window is activated) to get rid of the help window.
SHIFT-UP - Holding the shift key down and pressing the up arrow key
will move the list up by 10 lines (if possible).
SHIFT-DOWN - Holding the shift key down and pressing the down arrow key
will move the list down by 10 lines (if possible).
SHIFT-LEFT - Holding the shift key down and pressing the left arrow key
will move the cursor to the first character on the typed line.
SHIFT-RIGHT - Holding the shift key down and pressing the right arrow key
will move the cursor to the last character on the typed line.
INPUT AREA:
The input area provides a powerful tool for the lazy typist (me).
As an example, say you want to copy two files to another directory.
First type the command 'copy ' on any line, then place the cursor
opposite the first file to copy (using the up and down arrow keys)
and then press the Esc key. The file name will be inserted into the
input area. Then to get the second file name, move the cursor again
to the line opposite the second file name and press the Esc key again.
Then type the volume or directory path for the files destination and
hit return to execute the command. Flist will update the line/screen
as the cursor moves up or down the display.
If the command is larger than the input area, then Flist will scroll
up to 90 characters to fit the input into the display.
AmigaDOS SUPPORT:
Flist will execute any command that is typed in the input area
and in the current search path. To execute a command, type it in
with the correct path information, and hit return. Flist will open
a window for I/O (for those commands that require output or an inter-
active stream) and ask for you to hit return when the command has
finished execution.
Many of the most usefull operations that can be performed on a directory
are included as standard functions in Flist. It is adviseable to use
these features instead of bypassing Flist and executing the command
directly. In this way you can always be sure that list of files that are
displayed represent the true state of the directory. If you perform an
operation that does change the state of the directory, such as moving
a file to another directory, typing ^G (re-get directory) will re-initial-
ize the directory list.
AREXX SUPPORT:
To initiate an Flist/AREXX macro program, select 'Execute REXX' from
the menu. Or 'Ae' (left or right amiga and 'e') or even ^X (control-x)
to invoke the string requestor. The string requestor will prompt you
to enter the macro name. If you are in the directory containing the
supplied 'fl.flex' example, all you need type in the requestor is:
'fl' and the return key (don't type the single quotes).
You NEVER have to type the extension '.flex' when invoking a macro.
Flist supports the following commands from the AREXX port. They are:
'sort s' - sort alphabetically.
'sort z' - sort by size.
'sort t' - sort by creation TIME.
'sort o' - sort by pattern.
'sort y' - sort by day.
'iconify' - iconify Flist.
'end' - tell Flist to stop listening to AREXX.
'parent' - get the parent directory.
'redraw' - redraw the screen.
'reget' - reget the current directory.
'request' - Bring up the ARP filerequestor.
'makedir' - make a new directory.
'changedir "dirname"' - change to "dirname" directory.
A more extensive command set is planned for the future.
An Flist/AREXX macro must have the extension '.flex'.
An Flist/AREXX macro must reside either in the current directory
or the REXX: logical directory.
The line 'address "flport"' must preface any flist commands.
If for some reason Flist is stuck waiting for a command from REXX
you can type this line (exactly) in another CLI to break the deadlock:
rx "address 'flport' 'end'"
See the supplied 'fl.flex' program for an example.
AUTHOR
A lot of the code in Flist came from the public domain. That is the
primary reason Flist is PD, it's my way of saying thanks! The various
authors whose code fragments I borrowed are:
Leo Schwab - iconify routines.
W.G.J. Langeveld - PathName routines.
Carolyn Schnepper - code stolen from timerwin.c
My name is: Steve (Raz) Berry.
I can be reached at:
The Checkered Ball
A-7 Sinai Circle
Chelmsford, Ma. 01824
c/o Steve (Raz) Berry
BIX: razberry
UUCP: ...alliant!mistress!amiga
This is not a Shareware product. But don't let that stop you from sending
cash!