home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / ils / README < prev    next >
Encoding:
Text File  |  1992-02-28  |  3.0 KB  |  84 lines

  1. AUTHOR: Jack Alexander
  2. DATE OF LAST MODS: 1/11/91
  3. ANY COMMENTS OR REQUESTS FOR CHANGES WILL BE GREATFULLY ACCEPTED.
  4. ----------------------------------------------------------------------
  5. (c) 1991 by Jack Alexander
  6. NO WARRANTY OF ANY KIND IS GIVEN WITH THIS PROGRAM, EVEN FOR
  7. FITNESS OF PURPOSE
  8. ----------------------------------------------------------------------
  9.  
  10. ILS - Interactive "ls" and browser for UNIX systems.
  11.  
  12. This has been tested on BSD-ish and System V machines from several
  13. vendors including Sun, NCR, AT&T, and NeXT (previous version).
  14.  
  15. ils is "interactive ls", a utility to users to easily move around
  16. a directory tree and perform operations on objects in the directories.
  17. Each user can define their own actions based on key-sequences.
  18.  
  19. The number of built-in commands has been kept to a minimum intentionally.
  20. The idea is to allow total flexibility by allowing people to
  21. use the same tools they've used for years (little shell scripts, etc),
  22. and to just offer them a more efficient, user-friendly way to do it.
  23. I know that this has been done before, but I didn't like the
  24. others ones that much because they were to specific and limiting.
  25. With ils, you can have as powerful or as "safe" a tool as you like,
  26. varying by user.
  27.  
  28. The operations available are defined by the user in $HOME/.ils
  29. in a manner as described in the file ils.1 file which is part
  30. of this release.
  31.  
  32. ils can really replace the use of the shell almost entirely
  33. for many users (I use it myself quite a bit -- I guess that's why
  34. I wrote it).
  35.  
  36. NOTE:
  37. I recommend that you always use the -F option, as it certainly makes
  38. identification of directories easy (puts '/' after each directory).
  39. This can be automatically done by linking ilf to ils, then just using
  40. the name ilf instead of ils.
  41.  
  42. INPUT:
  43. string input is done using a getstring I wrote a few years back.  It's
  44. a little odd, as it was written for people that don't have any vi
  45. experience, as each key has a specific function, and you are always
  46. in insert mode.  Editing instructions can be found in ils.1.
  47.  
  48. OVERVIEW:
  49.  
  50. The user (or administrator) has a file called .ils in their $HOME
  51. directory.  A sample file might be:
  52.  
  53. # This is a sampel .ils file
  54. help:    man ils
  55.  
  56. m:    more $file
  57.  
  58. V:    vi $file
  59.  
  60. M:    make $input(Make what (RETURN for default)? )
  61.  
  62. mv:    mv $file $input(Rename '$file' to: )
  63.  
  64. F:    file $file
  65.  
  66. L:    if(latex $prefix);then if(dvijep $prefix);then lpr -B $prefix.jep;fi;fi
  67.  
  68. rm:    rm $file
  69.  
  70. ---------------------- end of example file ------------------
  71.  
  72. In the above file, key sequences "help", "m", "M", "mv", "F", "L", "rm",
  73. and "V" are given actions.
  74.  
  75. $file is a built-in ils variable (see ils.1) that always contains the
  76. currently selected file (the one pointed at by the cursor).  $prefix,
  77. and $input are also special variables, and there are others.
  78.  
  79. Anyway, if any of the key sequences are eneterd through the keyboard,
  80. and then ENTER or RETURN is pressed, the action defined for
  81. the key sequences in executed, a line at a time, via system(3) calls.
  82. You can multiple action lines for each key sequence, but the example
  83. doesn't contain any.
  84.