AminetAminet
Search:
82053 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/shell/CD-dot-dot.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Allows to type cd.. in Shell
Author:Marko K. Seppänen
Uploader:anonymous aminet net
Type:util/shell
Version:2.2
Replaces:util/shell/CD-dot-dot-v1.1.lha
Architecture:generic
Date:2011-01-02
Download:http://aminet.net/util/shell/CD-dot-dot.lha - View contents
Readme:http://aminet.net/util/shell/CD-dot-dot.readme
Downloads:1007
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


Contents of util/shell/CD-dot-dot.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[unknown]                 9572   11420  83.8% -lh5- 8906 Jan  2 23:19 CD-dot-dot.info
[unknown]                 1264    2652  47.7% -lh5- 3d6c Jan  2 23:37 CD-dot-dot/CD-dot-dot.readme
[unknown]                 3127    5092  61.4% -lh5- 604a Jan  2 23:37 CD-dot-dot/CD-dot-dot.readme.info
[unknown]                  218     368  59.2% -lh5- bacd Jan  2 23:37 CD-dot-dot/Clean
[unknown]                 2507    4485  55.9% -lh5- ab7b Jan  2 23:37 CD-dot-dot/Clean.info
[unknown]                  420     896  46.9% -lh5- a600 Jan  2 23:37 CD-dot-dot/Install
[unknown]                 2779   10629  26.1% -lh5- a4df Jan  2 23:37 CD-dot-dot/Install.info
[unknown]                  168     200  84.0% -lh5- 593d Jan  2 23:37 CD-dot-dot/S/CD-Startup
[unknown]                   70      70 100.0% -lh0- e3e4 Jan  2 23:37 CD-dot-dot/S/cd..
[unknown]                  121     131  92.4% -lh5- be6c Jan  2 23:37 CD-dot-dot/S/cd_..
[unknown]                  321     722  44.5% -lh5- 92cd Jan  2 23:37 CD-dot-dot/Uninstall
[unknown]                 2779   10629  26.1% -lh5- a70e Jan  2 23:37 CD-dot-dot/Uninstall.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        12 files   23346   47294  49.4%            Jan  2 17:51

Aminet © 1992-2017 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>