home *** CD-ROM | disk | FTP | other *** search
- AUTHOR: Jack Alexander
- DATE OF LAST MODS: 1/11/91
- ANY COMMENTS OR REQUESTS FOR CHANGES WILL BE GREATFULLY ACCEPTED.
- ----------------------------------------------------------------------
- (c) 1991 by Jack Alexander
- NO WARRANTY OF ANY KIND IS GIVEN WITH THIS PROGRAM, EVEN FOR
- FITNESS OF PURPOSE
- ----------------------------------------------------------------------
-
- ILS - Interactive "ls" and browser for UNIX systems.
-
- This has been tested on BSD-ish and System V machines from several
- vendors including Sun, NCR, AT&T, and NeXT (previous version).
-
- ils is "interactive ls", a utility to users to easily move around
- a directory tree and perform operations on objects in the directories.
- Each user can define their own actions based on key-sequences.
-
- The number of built-in commands has been kept to a minimum intentionally.
- The idea is to allow total flexibility by allowing people to
- use the same tools they've used for years (little shell scripts, etc),
- and to just offer them a more efficient, user-friendly way to do it.
- I know that this has been done before, but I didn't like the
- others ones that much because they were to specific and limiting.
- With ils, you can have as powerful or as "safe" a tool as you like,
- varying by user.
-
- The operations available are defined by the user in $HOME/.ils
- in a manner as described in the file ils.1 file which is part
- of this release.
-
- ils can really replace the use of the shell almost entirely
- for many users (I use it myself quite a bit -- I guess that's why
- I wrote it).
-
- NOTE:
- I recommend that you always use the -F option, as it certainly makes
- identification of directories easy (puts '/' after each directory).
- This can be automatically done by linking ilf to ils, then just using
- the name ilf instead of ils.
-
- INPUT:
- string input is done using a getstring I wrote a few years back. It's
- a little odd, as it was written for people that don't have any vi
- experience, as each key has a specific function, and you are always
- in insert mode. Editing instructions can be found in ils.1.
-
- OVERVIEW:
-
- The user (or administrator) has a file called .ils in their $HOME
- directory. A sample file might be:
-
- # This is a sampel .ils file
- help: man ils
-
- m: more $file
-
- V: vi $file
-
- M: make $input(Make what (RETURN for default)? )
-
- mv: mv $file $input(Rename '$file' to: )
-
- F: file $file
-
- L: if(latex $prefix);then if(dvijep $prefix);then lpr -B $prefix.jep;fi;fi
-
- rm: rm $file
-
- ---------------------- end of example file ------------------
-
- In the above file, key sequences "help", "m", "M", "mv", "F", "L", "rm",
- and "V" are given actions.
-
- $file is a built-in ils variable (see ils.1) that always contains the
- currently selected file (the one pointed at by the cursor). $prefix,
- and $input are also special variables, and there are others.
-
- Anyway, if any of the key sequences are eneterd through the keyboard,
- and then ENTER or RETURN is pressed, the action defined for
- the key sequences in executed, a line at a time, via system(3) calls.
- You can multiple action lines for each key sequence, but the example
- doesn't contain any.
-