home *** CD-ROM | disk | FTP | other *** search
- JCD, an improved change directory for OS/2
-
-
-
- License
- -------
-
- This program is a freeware product. You can freely copy
- and distribute it as long as you don't make any changes
- to the original package. If you find this program useful,
- you can send everything you want to me, but I don't
- believe in miracles...:-)
-
- Author
- ------
-
- Joel Armengaud E-Mail:
- Le Grand Lot <joe@fc1rph.gna.tfd.com>
- 13720 Belcodene <ARMENGAU@FRECP12.BITNET>
- FRANCE (please send to both)
-
-
- Description
- -----------
-
- JCD is an improved change directory utility for OS/2. It
- allows you to change both the directory and current drive
- in an OS/2 session, full screen or windowed.
-
- Imagine your are in C:\OS2\INSTALL and want to go to
- D:\PRODUCTS\UTILIT, just type "jcd utilit" :
-
- C:\OS2\INSTALL> jcd utilit
-
- D:\PRODUCTS\UTILIT>
-
- Another feature of jcd is that it changes to the
- directory that best matches the name you typed. For
- instance you can type "jcd util", or "jcd til", or even
- "jcd utlit". If you have several directories that matches
- the name, you just have to retype the previous jcd
- command to switch to the next directory, in a round-robin
- fashion.
-
- From version 2.0, JCD now has an NCD-like full screen
- mode. To start it, just type:
-
- jcd
-
- without parameters. In this mode, use the arrow keys to
- move the current directory. You can also use PageUp/PageDown
- to move faster. There is also a "speed
- search" field where you can edit a directory name. The
- cursor then goes to the best matching directory. You exit
- this mode by pressing either ENTER (to accept the current
- directory) or ESCAPE to cancel.
-
- Jcd 2.0 now accepts HPFS long names.
-
- Jcd won't allow you to change the directory on drives A:
- and B:
-
-
- How JCD works.
- --------------
-
- The problem with OS/2 is that each process has its own
- environment. A .exe program cannot change the current
- drive/directory of a parent process.
- The only way I know to change the directory (without
- rewriting CMD.EXE!) is using a .CMD with the call
- statement. That's why Jcd makes a temporary file.
-
- However unlike Norton's NCD utility, JCD doesn't use a
- file to store the complete directory structure of all
- disks. Instead Jcd uses a background task as a server.
- The server, jcd2.exe, stores the directory trees in
- memory. Usually it won't consume more than 10Kb.
-
- How does the jcd server update changes in directory
- structures? Jcd2 periodically rescans the disks. During
- jcd2 rescanning, the jcd command *will* still work (because
- Jcd2 server is completely multi-threaded). The delay
- between rescans is a parameter of the jcd2 command line.
- If you want to force a rescan, just type:
-
- jcd /r
-
- You can also use Control-R while in full screen mode, without
- loosing control.
-
-
- Installation
- ------------
-
- The jcd package comes with 4 files:
-
- jcd.cmd
- jcd1.exe
- jcd2.exe
- jcd.doc
-
- just copy the .cmd and .exe files in a directory in your
- path statement.
-
- The jcd2 server should be run only once, as a background
- task. You can for instance put it in your startup.cmd
- file with a detach= statement, or even at the end of your
- config.sys file, with a RUN= statement.
-
- Jcd2 accepts 2 options in the command line :
-
- /R n rescan every n minutes (default: 60)
- /D x put temporary file in root directory of
- logical drive x (default: /D C)
-
- If you use the /D switch, you also have to edit the file
- jcd.cmd, and change the 8th line:
- call C:\jcd-file.cmd
- to:
- call x:\jcd-file.cmd
-
- where x is the drive letter you have used with /D.
-
- If you find Jcd too slow, there are two ways to
- accelerate it:
- 1) Modify your path statement so that the directory where
- the jcd files are appears in first position.
- 2) Use the /D switch with an HPFS or a virtual disk.
-
-
- History
- -------
-
- 1.0 First version
-
- 2.0 Added full-screen mode.
- Jcd is HPFS aware.
-
- 2.1 Jcd2 server has now 3 threads instead of 2: it can
- serves several jcd commands at the same time, even while
- rescanning disks.
- Added PageUp/PageDown handling in full-screen mode.
- In full-sreen mode jcd shows the drive being rescanned.
- Jcd2 server prints warning and fatal errors using VioPopUp.