OS4Depot.net 20130227_1013
  Home Search Mirrors Contact Info Credits

 Readme data for Root » Utility » Shell » cd-dot-dot.lha

Description: Makes it possible to type CD.. or CD .. in shell
Install: cd-dot-dot.lha
Size: 23kb 5
Version: 2.2
Date: 10 Jan 11
Author: Marko Seppänen
Submitter: Marko Seppänen
Homepage: http://m4rko.com/amiga/software/cd-dot-dot
Category: utility/shell
License: Other
Distribute: yes
Min OS Version: 4.0
CD-dot-dot - 2.2
================

This archive consists of a few scripts which makes it possible to
type both "cd.." and "cd .." in the shell to get to the parent drawer.

After successfully installing this package all 4 combinations below should
be possible:

cd..		; Windows style
cd ..		; Linux style
cd /		; AmigaOS style
/		; AmigaOS "short" style

And:

cd ../		; go into the ".." drawer

Notes
-----

1. If you have an existing ".." directory that you want to CD into,
   then you must use "cd ../" in order to traverse into it (since "cd .."
   will take you to the parent directory).
2. If you are updating CD-dot-dot, please don't forget to uninstall the old
   version before installing this new update.
3. Minor warning, if you run the Install and Uninstall scipts disorganized,
   install this version over an old version, or some other error then it
   may happen that the CD will completely stop working. In that case use
   WB, Dopus, Filer or some other File Manager to run the script Clean
   and reboot, this should get CD to its default state. Then try
   installing again.

Installation
------------

0. If you have previous version of CD-dot-dot already installed, please
   uninstall that version first before installing this new version.
   --
1. Extract the archive (preferably with Unarc) and make sure that all
   protection bits are preserved.
2. Run the "Install" script.
3. Add the following lines:
       If Exists S:cd_..
         Alias cd S:cd_..
       EndIf
   to your Shell-Startup in the SYS:S drawer.
4. Reboot in order for all changes to take effect.
5. Done.
   --
6. If you run into trouble, run the "Clean" script in the archive and reboot.

Uninstallation
--------------

1. Run the "Uninstall" (or "Clean" script).
2. If you've added the above (3 lines of code) to your Shell-Startup, remove it.
3. Reboot in order for all changes to take effect.
4. Done.

Changes
-------

2.2:
 - Fixed bug "doesn't work for paths with a space in the name".
2.1:
 - Changed back the "/" to "cd /" in all scripts, in order to show the more
   accurate "CD: object not found" message than "/: Unknown command" when
   trying to go to parent from the top (root) drawer.
 - Expanded/clarified instructions in readme.
2.0:
 - Added a *hack* which makes it possible to type "cd .." (including the space).
 - Complete rewrite of "Install" and "Uninstall" scripts.
 - Changed "cd /" to just "/" in the cd.. script.
 - Added a "Clear" script which tries to whipe out all files created
   by CD-dot-dot.
1.1:
 - Fixed minor typos in some scripts.
1.0:
 - Initial release.

Author:
Marko Seppänen

Home Page:
http://m4rko.com/amiga






Copyright (c) 2004-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment