home *** CD-ROM | disk | FTP | other *** search
-
- Pip 2.0
- Written By Asher Feldman
-
- What's Been Changed Since 1.0? (and why is this version 2.0?)
- --------------------------------------------------------------
-
- I decided to make the big step to 2.0, as this is a complete re-write of
- 1.0, and not a single thing has been left alone. 2.0 now supports
- commands of unlimited length, and there is no longer the '-s' option,
- it's now standard. 1.0 had a major timing bug, which would cause it to bomb
- about 30% of the time. At first I planed just to fix it, but I ended up
- starting over from scratch. All bugs have been fixed (that I know of :-),
- and 2.0 runs perfectly under 1.3 and 2.04, on a 68000 to a 68040. 1.0
- would sometimes crash under an 030.
-
- So What Is It???
- ----------------
-
- Pip allows you to easily pipe commands through each other, just as in Unix.
- For example, you could type a program in hexidemal (with the type opt h
- function) and have the output appear in more, or your favorite text reader.
- The Amiga comes with a pipe facility, the pipe: device. But, to make use of
- it, the user is required to enter multiple command lines, which is time
- consuming. Pip is a "user friendly" pipe utility, that does all the hard work
- automaticly for you, making the process quick and easy, as it is in Unix.
-
- Note!
- -----
-
- Pip requires the pipe: device be mounted. It is automaticly mounted in the
- default startup-sequence, so if you haven't changed that, don't worry.
-
- Because of the nature of the pipe: Pip will NOT work with programs that
- attempt to load file non-sequentially. This is not a bug with Pip, its
- part of the Amiga OS.
-
- Usage
- -----
-
- Pip is relativly easy to use. The usage is
-
- Pip [command1] | [command2]
-
- [command1] can be as long as you want, as can [command2] (1.0 limited you to
- 5 words.) Note the '|' character is used to seperate the two commands. It is the
- character above the '\' on your keyboard. Also, please note the spaces.
-
- [command1] is the program to be run
- [command2] is the program [command1] will be piped to.
-
- For example, if I wanted to read Pip in hexidemal, but have the output appear
- in less, where I can move arround in two directions, and search for strings I
- would enter :
-
- Pip type opt h pip | less
-
- The output of type is then piped into less, instead of appearing in your
- shell.
-
- Maybe I want to read Pip in hex mode, and then read Pip.doc. This would
- be done using:
-
- Pip type opt h pip | less pip.doc
-
- This will give you pip.doc FIRST, and then Pip in hexademal in less.
-
- If I wanted to see the entire contents of DH0: in less, where you can search
- for files, or just browse, etc.. You would enter:
-
- Pip ls -lR dh0: | less
-
- If you wanted the output to be able to appear in a file editor you could enter
- the following (Ed shall be used for this example, as it's standard)
-
- Pip -s ls -lR dh0: | ed
-
- Note, that the -s option is required when <command2> expects the output in the
- form as a file (i.e. ram:file). If you are having trouble getting a program to
- recieve output, you should try using the -s option.
-
- Ls is an excelent 2.0 only directory lister. With different programs, the
- context will be diferent.
-
- Pip works well with egrep, a clone of the unix grep command from the
- GNU project. It's available on Portal. If I wanted to information on a
- task called test, I could do the following :
-
- Pip ps | egrep test
-
- The ps command is part of a pd package called JM, which is 2.0 only.
- It lists all currently running tasks (not just the ones run from a CLI,
- like the AmigaDos status command) and gives you some information on them,
- such as the task number, and cpu usage.
-
-
- * * *
-
-
- Limitations/Bugs
- ----------------
-
- All the limitations from 1.0 have been removed, and all known bugs have
- been fixed. If you have any trouble, please contact me at one of the
- adresses below.
-
- How To Contact Me
- -----------------
- Send bug reports/comments, etc.. to:
-
- PORTAL: Wizard0
- INTERNET: asher@netcom.netcom.com
- Wizard0@cup.portal.com
-
- US Snail:
-
- Asher Feldman
- 4791 Calle de Tosca Phone: (408) 266-7917
- San Jose, CA 95118
-
- This program is shareware, and is (C)1992 by Asher Feldman.
- If you find it useful, and would like to help out a poor high
- school student (as well as a die-hard Amiga user!) then I would greatly
- appreciate it if you sent a small amount of money, or maybe a nice euro
- demo to the address above. I would be even MORE grateful if you sent me a
- 1.2GIG hard drive or a v.32bis modem! :-)
-
- And Now For The Legal Claptrap
- -------------------------------
- If this program causes your computer to blow up, or your hard drive to
- implode, or anything else that isn't too nice, then it's your fault, not
- mine. This program is not "guaranteed" to do anything. (although if it
- doesn't, please send me (E)mail!)
-
- This program may be freely distributed on bbs', networks such as Portal,
- and by PD disk librarys, as long as they don't charge too much (more than
- $5US) or try to copyright the material they distribute.
-
-
- And remember:
-
-
-
- ONLY _ C_o m m o d o_r_e _
- /\\ l\\ /l ll // \ /\\
- / \\ l \\ /ll ll(< __ / \\ MAKES IT POSSIBLE!!!!
- /--- \\l \X ll ll \\_ll/--- \\
- /______________________________\\
-
-
- A.F.
-
-
-
-
-
-