home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / JCD21.ZIP / JCD.DOC < prev    next >
Text File  |  1991-08-11  |  4KB  |  146 lines

  1.        JCD, an improved change directory for OS/2
  2.  
  3.  
  4.  
  5.        License
  6.        -------
  7.  
  8. This program is a freeware product. You can freely copy
  9. and distribute it as long as you don't make any changes
  10. to the original package. If you find this program useful,
  11. you can send everything you want to me, but I don't
  12. believe in miracles...:-)
  13.  
  14.        Author
  15.        ------
  16.  
  17.        Joel Armengaud           E-Mail:
  18.        Le Grand Lot             <joe@fc1rph.gna.tfd.com>
  19.        13720 Belcodene          <ARMENGAU@FRECP12.BITNET>
  20.        FRANCE                   (please send to both)
  21.  
  22.  
  23.        Description
  24.        -----------
  25.  
  26. JCD is an improved change directory utility for OS/2. It
  27. allows you to change both the directory and current drive
  28. in an OS/2 session, full screen or windowed.
  29.  
  30. Imagine your are in C:\OS2\INSTALL and want to go to
  31. D:\PRODUCTS\UTILIT, just type "jcd utilit" :
  32.  
  33. C:\OS2\INSTALL> jcd utilit
  34.  
  35. D:\PRODUCTS\UTILIT>
  36.  
  37. Another feature of jcd is that it changes to the
  38. directory that best matches the name you typed. For
  39. instance you can type "jcd util", or "jcd til", or even
  40. "jcd utlit". If you have several directories that matches
  41. the name, you just have to retype the previous jcd
  42. command to switch to the next directory, in a round-robin
  43. fashion.
  44.  
  45. From version 2.0, JCD now has an NCD-like full screen
  46. mode. To start it, just type:
  47.  
  48.    jcd
  49.  
  50. without parameters. In this mode, use the arrow keys to
  51. move the current directory. You can also use PageUp/PageDown
  52. to move faster. There is also a "speed
  53. search" field where you can edit a directory name. The
  54. cursor then goes to the best matching directory. You exit
  55. this mode by pressing either ENTER (to accept the current
  56. directory) or ESCAPE to cancel.
  57.  
  58. Jcd 2.0 now accepts HPFS long names.
  59.  
  60. Jcd won't allow you to change the directory on drives A:
  61. and B:
  62.  
  63.  
  64.        How JCD works.
  65.        --------------
  66.  
  67. The problem with OS/2 is that each process has its own
  68. environment. A .exe program cannot change the current
  69. drive/directory of a parent process.
  70. The only way I know to change the directory (without
  71. rewriting CMD.EXE!) is using a .CMD with the call
  72. statement. That's why Jcd makes a temporary file.
  73.  
  74. However unlike Norton's NCD utility, JCD doesn't use a
  75. file to store the complete directory structure of all
  76. disks. Instead Jcd uses a background task as a server.
  77. The server, jcd2.exe, stores the directory trees in
  78. memory. Usually it won't consume more than 10Kb.
  79.  
  80. How does the jcd server update changes in directory
  81. structures? Jcd2 periodically rescans the disks. During
  82. jcd2 rescanning, the jcd command *will* still work (because
  83. Jcd2 server is completely multi-threaded). The delay
  84. between rescans is a parameter of the jcd2 command line.
  85. If you want to force a rescan, just type:
  86.  
  87.    jcd /r
  88.  
  89. You can also use Control-R while in full screen mode, without
  90. loosing control.
  91.  
  92.  
  93.        Installation
  94.        ------------
  95.  
  96. The jcd package comes with 4 files:
  97.  
  98.   jcd.cmd
  99.   jcd1.exe
  100.   jcd2.exe
  101.   jcd.doc
  102.  
  103. just copy the .cmd and .exe files in a directory in your
  104. path statement.
  105.  
  106. The jcd2 server should be run only once, as a background
  107. task. You can for instance put it in your startup.cmd
  108. file with a detach= statement, or even at the end of your
  109. config.sys file, with a RUN= statement.
  110.  
  111. Jcd2 accepts 2 options in the command line :
  112.  
  113. /R n       rescan every n minutes (default: 60)
  114. /D x       put temporary file in root directory of
  115.            logical drive x (default: /D C)
  116.  
  117. If you use the /D switch, you also have to edit the file
  118. jcd.cmd, and change the 8th line:
  119.     call C:\jcd-file.cmd
  120. to:
  121.     call x:\jcd-file.cmd
  122.  
  123. where x is the drive letter you have used with /D.
  124.  
  125. If you find Jcd too slow, there are two ways to
  126. accelerate it:
  127. 1) Modify your path statement so that the directory where
  128.    the jcd files are appears in first position.
  129. 2) Use the /D switch with an HPFS or a virtual disk.
  130.  
  131.  
  132.        History
  133.        -------
  134.  
  135. 1.0     First version
  136.  
  137. 2.0     Added full-screen mode.
  138.         Jcd is HPFS aware.
  139.  
  140. 2.1     Jcd2 server has now 3 threads instead of 2: it can
  141.          serves several jcd commands at the same time, even while
  142.          rescanning disks.
  143.         Added PageUp/PageDown handling in full-screen mode.
  144.         In full-sreen mode jcd shows the drive being rescanned.
  145.         Jcd2 server prints warning and fatal errors using VioPopUp.
  146.