home *** CD-ROM | disk | FTP | other *** search
- *********************************************************************
- THIS ARTICLE IS BEING PRESENTED THROUGH THE PIP ONLINE CP/M MAGAZINE
- OF CP/M SIG (SPECIAL INTEREST GROUP) ON THE GENIE TELECOMMUNICATION
- NETWORKS. PERMISSION IS HEREBY GRANTED TO NON-PROFIT ORGANIZATIONS
- ONLY TO REPRINT THIS ARTICLE OR PASS IT ALONG ELECTRONICALLY AS LONG
- AS PROPER CREDIT IS GIVEN TO BOTH THE AUTHOR AND GENIE.
- *********************************************************************
-
- ***********************************
- * *
- * COMPRESSION FILES *
- * *
- * BY: RICHARD SCHREINER *
- * GENIE ADDRESS - RICHY *
- * *
- ***********************************
-
-
-
- "Archive" files are always signified by having the extension tail of:
-
- .ark
-
- The following are some examples of filenames of Archived files:
-
- PIP.ARK
- HELLO.ARK
- READ-ME.ARK
-
- Here is a look at the syntax for the Archive utility:
-
- A>ark Archive filename
- ^ ^ ^
- 1 2 3
- | | |
- | | This is the file which you want to add to the Archive.
- | |
- | This is the Archive to which your file is to be added.
- |
- This is the command to call the Archive utility.
-
-
- (2) It is not necessary to put the .ark tail, just the name of the
- Archive.
- (3) Wildcard syntax can be used when specifying which files to add to the
- Archive.
-
- (note) If the Archive you specify (2) does not exist it will be created,
- if it does exist it will be added to.
-
- Here is what it would look like to use ark.com to put PIP.COM into an
- "Archive" called pip.ark.
-
- (note the command line syntax)
-
- ******************************************************
- *
- A>ark pip pip.com *
- ARK version 0.2 *
- Brian E. Moore *
- Creating new archive: PIP.ARK *
- Adding file: PIP.COM analyzing, crunching, done. *
- A> *
- *
- ******************************************************
-
- Here is an example of using wildcards to select the files to be added,
- (3).
-
- ******************************************************
- *
- A>ark pip p*.com *
- ARK version 0.2 *
- Brian E. Moore *
- Creating new archive: PIP.ARK *
- Adding file: PIP.COM analyzing, crunching, done. *
- Adding file: PUT.COM analyzing, crunching, done. *
- A> *
- *
- ******************************************************
-
- )=--==> * PIP * <==--=(
-
-
-
- B29 has become a mainstay in my computing. It offers many features
- including file copy, rename, and extracting files from Libraries. Here is a
- look at its menu, which can be called at any time by typing "?".
-
- ************************************************************
- *
- < Welcome from Infinity Design Concepts > *
- *
- - - Louisville, Kentucky - - *
- By Gary Conway *
- Universal B29 Vers. 3.04 (c) 1985,86 *
- *
- A + Retag Files Q + Unsqueeze Tagged *
- B - Back One File H - Hex Dump to Screen *
- C - Copy Single File R + Rename File *
- D - Delete Current File S - Space on Disk *
- E + Erase Tagged Files T + Tag Files *
- F - Find File U + Untag Files *
- L - Log New Drive/User V - View ASCII File on Screen *
- M + Mass File Copy W + Wildcard Tag Files *
- N + Move Tagged Files Y + Set File Attributes *
- P + Print Tagged w/pg. ? - THIS MENU *
- X - Exit Outta Here cr,sp - Forward One File *
- *
- ************************************************************
-
- When we enter the program, B29 sorts the directory alphabetically and
- lists the first file on the screen. We can scroll forward by pressing the
- space bar and backward by pressing "B". When the cursor is beside a text file,
- pressing "V" will type it to screen. When the cursor is beside a library file,
- pressing "V" will enter the Library Sweep mode.
-
- Once in the Library Sweep Mode, we are given a 2nd menu. It will allow us
- to view a text file since B29 can write it to screen, or it or any other type
- file can be extracted to disk.
-
- Now we will enter the program, I will show the "V" command on both a text
- file "hello.doc" and also use the "V" command to enter Library Sweep mode on
- the file PIP.LBR and extract its files to A drive. In the future we will have
- a write up on all the B29 features, but for now we will cover mainly the
- Library Sweep mode.
-
-
- Here we go..........
-
- ******************************************************************************
-
- < Welcome from Infinity Design Concepts >
-
- - - Louisville, Kentucky - -
- By Gary Conway
- Universal B29 Vers. 3.04 (c) 1985,86
-
- A + Retag Files Q + Unsqueeze Tagged
- B - Back One File H - Hex Dump to Screen
- C - Copy Single File R + Rename File
- D - Delete Current File S - Space on Disk
- E + Erase Tagged Files T + Tag Files
- F - Find File U + Untag Files
- L - Log New Drive/User V - View ASCII File on Screen
- M + Mass File Copy W + Wildcard Tag Files
- N + Move Tagged Files Y + Set File Attributes
- P + Print Tagged w/pg. ? - THIS MENU
- X - Exit Outta Here cr,sp - Forward One File
- 013 Files (Current Selected User)
- Drive A0:????????.??? Tagged Files= K
- 1. A 0: ARK .COM : :20 K
- 2. A 0: B29 .COM : :16 K
- 3. A 0: CRCKLIST.CRC : :2 K
- 4. A 0: CRUNCH .COM : :6 K
- 5. A 0: ERASE .COM : :4 K
- 6. A 0: HELLO .DOC : :2 K <== V
-
- Hello there!
-
- This is an example of reading a text file with "B29".com. It is a super
- utility with the capability to copy, rename, set file attributes, and a whole
- bunch of other helpful things.... as well as read or extract .lbr files to any
- drive!
-
- Hi everybody!
-
- Well now back to the tutorial!
-
- ...........Richy
- End of File . .Hit <RETURN>.
-
- 6. A 0: HELLO .DOC : :2 K
- 7. A 0: LU .COM : :20 K
- 8. A 0: PIP .LBR : :16 K <== V
- [- Library Sweep Mode -] File : A:PIP.LBR
- V - View File.
- H - Hex Dump File.
- P - Print File.
- E - Extract File.
- A - Extract ALL Files.
- S - Space on Disk.
- X - Exit to NORMAL Mode.
- ? - This Menu.
- CR - Forward One File.
- B - Back One File.
-
- PIP .COM 9 K
- PUT .COM 7 K
-
- PIP .COM 9 K <== A
- Extract ALL Files. (y/n) ? <== Y
- Extract to dr/usr -> a Verify ? [Y]
- Extracting PIP .COM 9 K to A0: with CRC.
- Verifying ..File ok.
- Extracting PUT .COM 7 K to A0: with CRC.
- Verifying ..File ok.
-
- PIP .COM 9 K <== X
-
- 9. A 0: PUT .COM : :7 K <== X
-
- ******************************************************************************
-
- And that is all there is to it! Although B29 can't create Libraries, I
- prefer it over lu.com for extracting files. This is because of B29's ease of
- use. Try it, and look for future issues of "PIP" for further information on
- the usage of B29!
-
- )=--==> * PIP * <==--=(
-
-
- "Crunched" files are always signified by having the extension tail of:
-
- .?Z?
-
- The following are some examples of filenames of Crunched files:
-
-
- PIP.CZM = Crunched PIP.COM
- PUT.CZM = Crunched PUT.COM
- HELLO.DZC = Crunched HELLO.DOC
- READ-ME.TZT = Crunched READ-ME.TXT
-
-
- Here is what it would look like to use crunch.com to "Crunch" PIP.COM:
-
- (note the command line syntax)
-
- ****************************************************
- *
- A>crunch pip.com *
- GEL Cruncher v2.3 *
- *
- A0:PIP.COM ===> A0:PIP.CZM *
- in out rat ca cr *
- ==== ==== ==== ==== ==== *
- 68 / 54 79% 4096 781 ( 9k ---> 7k) *
- A> *
- *
- ****************************************************
-
-
- And that is all there is too it! crunch.com takes pip.com and makes a
- crunched file named pip.czm which is smaller.
-
- We can also use normal wild card syntax and crunch multiple files at the
- same time. Here is an example:
-
- ***********************************************************************
- *
- A>crunch p*.* *
- GEL Cruncher v2.3 *
- *
- A0:PIP.COM ===> A0:PIP.CZM Overwrite existing file? y *
- in out rat ca cr *
- ==== ==== ==== ==== ==== *
- *
- 68 / 54 79% 4096 781 ( 9k ---> 7k) *
- *
- A0:PUT.COM ===> A0:PUT.CZM *
- in out rat ca cr *
- ==== ==== ==== ==== ==== *
- *
- 55 / 43 78% 4096 45 ( 7k ---> 6k) *
- *
- A> *
- *
- ***********************************************************************
-
- Notice the overwrite prompt, its a nice safety feature to keep from
- losing an important file because of being overwritten.
-
-
-
- )=--==> * PIP * <==--=(
-
-
- "Library" files are always signified by having the extension tail of:
-
- .lbr
-
- The following are some examples of filenames of Library files:
-
-
- PIP.LBR
- PUT.LBR
- HELLO.LBR
- READ-ME.LBR
-
-
- I'm using LU310 for the tutorial, it is a utility which will create
- libraries, add to them, and extract from them. It operates from a prompt, but
- a handy help list is shown by entering "-h" and pressing return.
-
- (note the command line syntax)
-
- *********************************************************
- *
- A>lu *
- Library Utility Ver:3.10 85-01-01 *
- *
- Copyright (c) 1983, 1985 by Gary P. Novosielski *
- *
- Enter -H for help. *
- *
- -? 0/A:>-h *
- Operator Operand(s) expected *
- -A Add u/d:file *
- -B Buffer size sectors *
- -C Close library *
- -D Delete member *
- -E Extract u/d:member *
- -L List directory *
- -N Name change newname=oldmember *
- -O Open u/d:library *
- -R Reorganize *
- -U User/Drive default u/d: *
- -X eXit *
- *
- [User number (u/) and drive letter (d:) are optional] *
- *
- -H 0/A:>-x *
- Highest memory used: 5965 *
- A> *
- *
- *********************************************************
-
- Here is what it would look like to use lu.com to put PIP.COM into a
- "Library" called pip.lbr.
-
- The commands I will be using will be:
-
- -o = open (or create a new) library
- -a = add to library
- -c = close library
- -x = exit lu310 (note: you can use -x with a library presently open, lu310
- will close the library before exiting.)
-
-
-
- *********************************************************
- *
- A>lu *
- Library Utility Ver:3.10 85-01-01 *
- *
- Copyright (c) 1983, 1985 by Gary P. Novosielski *
- *
- Enter -H for help. *
- *
- -? 0/A:>-o A:pip *
- New library: A:PIP.LBR. Allow how many entries? 1 *
- Created A:PIP.LBR with 4 entries, 3 free. *
- -O 0/A:>-a A:pip.com *
- Adding: A:PIP.COM *
- -A 0/A:>-c *
- *
- Old library: A:PIP.LBR closed. *
- *
- -C 0/A:>-x *
- Highest memory used: 79E6 *
- A> *
- *
- *********************************************************
-
- Now I will use lu310 to extract pip.com from pip.lbr:
- I will be using the -e (extract) command.
-
- *********************************************************
- *
- A>lu *
- Library Utility Ver:3.10 85-01-01 *
- *
- Copyright (c) 1983, 1985 by Gary P. Novosielski *
- *
- Enter -H for help. *
- *
- -? 0/A:>-o pip *
- Old library: PIP.LBR has 4 entries, 2 free. *
- -O 0/A:>-e pip.com *
- Extracting: PIP.COM *
- -E 0/A:>-x *
- *
- Old library: PIP.LBR closed. *
- *
- Highest memory used: 79E6 *
- A> *
- *
- *********************************************************
-
- Here I will use lu to create Pip.lbr, and add both pip.com and put.com. I
- will do it 3 ways to show some of the flexibility of wild card syntax and to
- give you the feel of how lu310 works. This would be a good time to go back and
- study the "-h" list and learn the commands.
-
- *********************************************************
- * 1 * *
- ***** *
- A>lu *
- Library Utility Ver:3.10 85-01-01 *
- *
- Copyright (c) 1983, 1985 by Gary P. Novosielski *
- *
- Enter -H for help. *
- *
- -? 0/A:>-o PIP *
- New library: PIP.LBR. Allow how many entries? 2 *
- Created PIP.LBR with 4 entries, 3 free. *
- -O 0/A:>-a *
- -A 0/A:>p*.com *
- Adding: 0/A:PIP.COM *
- Adding: 0/A:PUT.COM *
- -A 0/A:>-x *
- *
- Old library: PIP.LBR closed. *
- *
- Highest memory used: 79E6 *
- A> *
- *
- *********************************************************
- * 2 * *
- ***** *
- A>lu *
- Library Utility Ver:3.10 85-01-01 *
- *
- Copyright (c) 1983, 1985 by Gary P. Novosielski *
- *
- Enter -H for help. *
- *
- -? 0/A:>-o PIP *
- New library: PIP.LBR. Allow how many entries? 2 *
- Created PIP.LBR with 4 entries, 3 free. *
- -O 0/A:>-a p*.com *
- Adding: 0/A:PIP.COM *
- Adding: 0/A:PUT.COM *
- -A 0/A:>-x *
- *
- Old library: PIP.LBR closed. *
- *
- Highest memory used: 79E6 *
- A> *
- *
- *********************************************************
- * 3 * *
- ***** *
- A>lu *
- Library Utility Ver:3.10 85-01-01 *
- *
- Copyright (c) 1983, 1985 by Gary P. Novosielski *
- *
- Enter -H for help. *
- *
- -? 0/A:>-o PIP *
- New library: PIP.LBR. Allow how many entries? 2 *
- Created PIP.LBR with 4 entries, 3 free. *
- -O 0/A:>-a *
- -A 0/A:>pip.com *
- Adding: PIP.COM *
- -A 0/A:>put.com *
- Adding: PUT.COM *
- -A 0/A:>-x *
- *
- Old library: PIP.LBR closed. *
- *
- Highest memory used: 79E6 *
- A> *
- *
- *********************************************************
-
- This shows the flexibility, you can either use wild card syntax, or use
- the -a command and add files individually.
-
- Now here are 3 ways to extract multiple files using the -e command.
-
- *********************************************************
- * 1 * *
- ***** *
- A>lu *
- Library Utility Ver:3.10 85-01-01 *
- *
- Copyright (c) 1983, 1985 by Gary P. Novosielski *
- *
- Enter -H for help. *
- *
- -? 0/A:>-o PIP *
- Old library: PIP.LBR has 4 entries, 1 free. *
- -O 0/A:>-e *
- -E 0/A:>pip.com *
- Extracting: PIP.COM *
- -E 0/A:>put.com *
- Extracting: PUT.COM *
- -E 0/A:>-x *
- *
- Old library: PIP.LBR closed. *
- *
- Highest memory used: 79E6 *
- A> *
- *
- *********************************************************
- * 2 * *
- ***** *
- A>lu *
- Library Utility Ver:3.10 85-01-01 *
- *
- Copyright (c) 1983, 1985 by Gary P. Novosielski *
- *
- Enter -H for help. *
- *
- -? 0/A:>-o PIP *
- Old library: PIP.LBR has 4 entries, 1 free. *
- -O 0/A:>-e p*.com *
- Extracting: 0/A:PIP.COM *
- Extracting: 0/A:PUT.COM *
- -E 0/A:>-x *
- *
- Old library: PIP.LBR closed. *
- *
- Highest memory used: 79E6 *
- A> *
- *
- *********************************************************
- * 3 * *
- ***** *
- A>lu *
- Library Utility Ver:3.10 85-01-01 *
- *
- Copyright (c) 1983, 1985 by Gary P. Novosielski *
- *
- Enter -H for help. *
- *
- -? 0/A:>-o PIP *
- Old library: PIP.LBR has 4 entries, 1 free. *
- -O 0/A:>-e *.* *
- Extracting: 0/A:PIP.COM *
- Extracting: 0/A:PUT.COM *
- -E 0/A:>-x *
- *
- Old library: PIP.LBR closed. *
- *
- Highest memory used: 79E6 *
- A> *
- *
- *********************************************************
-
- )=--==> * PIP * <==--=(
-
-
- Since I think its a nifty little utility and I used it through out to
- make these tutorials, I'm also doing one on Put.com
-
- Put.com is a transient command which can divert out put such as console
- output to a disk file or to printer. It is really handy when you want to
- import the actual running of a program into a word processor because it copies
- everything (once activated) into a disk file. I haven't used it to printer so
- I won't attempt to cover that aspect, but for outputting to disk here is all
- you do. At the drive prompt type:
-
- A>put con out to file (filename)
-
- like this:
-
- A>put con out to file b29.doc<return>
-
- This would, upon running B29.com, copy everything to the file B29.doc
- until the computer returns to the "A>" prompt. NEAT!
-
- It can be used to report bugs you may find in a piece of software, or you
- can use it to ask your friendly SYSOP what you are doing wrong. You can also
- use it to even catalog your disks. Once you have gone through this, all you
- have left to do is to run your word processor and load the file. In the above
- case you would load B29.doc and see this:
-
- ******************************************************************************
-
- < Welcome from Infinity Design Concepts >
-
- - - Louisville, Kentucky - -
- By Gary Conway
- Universal B29 Vers. 3.04 (c) 1985,86
-
- A + Retag Files Q + Unsqueeze Tagged
- B - Back One File H - Hex Dump to Screen
- C - Copy Single File R + Rename File
- D - Delete Current File S - Space on Disk
- E + Erase Tagged Files T + Tag Files
- F - Find File U + Untag Files
- L - Log New Drive/User V - View ASCII File on Screen
- M + Mass File Copy W + Wildcard Tag Files
- N + Move Tagged Files Y + Set File Attributes
- P + Print Tagged w/pg. ? - THIS MENU
- X - Exit Outta Here cr,sp - Forward One File
- 014 Files (Current Selected User)
- Drive A0:????????.??? Tagged Files= K
- 1. A 0: ARK .COM : :20 K
- 2. A 0: B29 .COM : :16 K
- 3. A 0: CR .COM : :6 K
- 4. A 0: CRCKLIST.CRC : :2 K
- 5. A 0: ERASE .COM : :4 K
- 6. A 0: HELLO .DOC : :2 K
- 7. A 0: LU .COM : :20 K
- 8. A 0: PIP .COM : :10 K
- 9. A 0: PIP .LBR : :16 K
- 10. A 0: PUT .COM : :7 K
- 11. A 0: SQUEEZE .COM : :8 K
- 12. A 0: UNARC .COM : :6 K
- 13. A 0: UNCRUNCH.COM : :6 K
- 14. A 0: UNSQUEZE.COM : :4 K x
-
- ******************************************************************************
-
- I've used B29 as an example here. You can use this for many purposes as
- described above. I hope it helps you as much as it has helped me!
-
-
-
- In the next issue of PIP The On-line CP/M Magazine I will continue with:
- SQUEEZE, UNARK, and UNCRUNCH!!!
-
- ------------------------------------------------------------------------------
-
- )=--==> * PIP * <==--=(
-
-