home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / applicat / 10246 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  1.9 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!ncar!noao!amethyst!organpipe.uug.arizona.edu!news
  2. From: jtillema@hindmost.lpl.arizona.edu (John Tillema)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: "Better" CD command
  5. Keywords: unix,cd
  6. Message-ID: <1993Jan22.055033.10899@organpipe.uug.arizona.edu>
  7. Date: 22 Jan 93 05:50:33 GMT
  8. Sender: news@organpipe.uug.arizona.edu
  9. Organization: Lunar & Planetary Laboratory, Tucson AZ.
  10. Lines: 32
  11.  
  12.  
  13. With the talk of better CD's for the amiga and ways of getting
  14. cd to do . and .., I thought I'd clean up the program I'd been 
  15. using and release it to ya.  I tried the unixdirs program that
  16. was mentioned as it'd be nice to use that with all the normal
  17. amigados commands, but it didn't seem to work on mine, looks like
  18. it might not run on 2.1.  This command does require amigados 2.0 or
  19. better to run (it should quit nicely if you try running it on less
  20. than 2.0).  The program is called JCD and is on amiga.physik.unizh.ch
  21. in /amiga/new.  It is about 8K in size, written in SAS/C v6.1, don't
  22. know how efficient it is, but don't see any time difference between 
  23. running it and the normal cd on my 68k amiga....
  24.  
  25. What it does...  It will convert a unix path into a standard amiga
  26. path, and then change you to there.  I tried to stick to as close to
  27. true unix actions as possible.  Here is a brief summary of the differences.
  28.                      JCD         AmigaDOS
  29.                      cd            cd $HOME
  30.                      cd .          cd
  31.                      cd ..         cd /
  32.                      cd /work      cd work:
  33. (It even handles those really nasty paths like cd .././././tst/.././.././var
  34.  correctly)
  35.  
  36. I have used versions of this program for over a year now with no troubles
  37. so far, but if any are noticed, let me know...
  38.  
  39. Hope this helps some poor soul like me whose fingers would
  40. automatically type "cd ../tst" instead of "cd /tst"!
  41.  
  42. John
  43. jtillema@panda.lpl.arizona.edu
  44.