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

util/cli/TitleCD.lha

Mirror:Random
Showing: i386-aros icongeneric icon
No screenshot available
Short:CD replacement (wildcards, window title)
Author: soenke at kino-fahrplan.de (Sönke Tesch)
Uploader:soenke kino-fahrplan de
Type:util/cli
Architecture:m68k-amigaos
Date:2000-07-03
Replaces:util/dir/TitleCD.lha
Download:util/cli/TitleCD.lha - View contents
Readme:util/cli/TitleCD.readme
Downloads:470

Overview
========

TitleCD is a replacement for the original CD shell command. I wasn`t that
happy with the way the Shell usually displays the current directory because
it usually  resulted in annoying long prompts of 1/2 to 2/3 times of the
total width of the shell window. The window title however remained unused..

The whole thing has been extended with wildcard support, an argument that
speeds up changing between the current and the last directory ("cd lastdir"
instead of "cd sys:bla/blo/ble/bli") and writing/reading the directory to
or from a file.

In this release, apart from two exterminated bugs, TitleCD has been extended
with history functions.

Here's TitleCDs argument list:
 TitleCD DIR,TO/K,FROM/K,LASTDIR/S,NEXT/S,PREV/S,FIRST/S,LAST/S,NOTITLE/S


Due to several requests, a version without the title-setting-feature is
also available. It's available as HistoryCD, also from Aminet:util/cli.


Last modifications
==================

  The first version was born sometime back in 1993, written using the
  DevPac assembler. After M2Amiga Modula-2 had been massively improved
  I used that language again.
  Version 3 was completely re-written using Cyclone Modula-2.

  Changes from 4.00 to 4.1:
  + Moving in the history buffer did not work correctly. First time
    was ok, but the next move removed all entries newer than the
    current one. This means you could actually just move backwards.
    Is this a case for Emmett Brown?
  + TitleCD now tries to get the real Shell window, instead of using
    the one that Intuition reports to be currently active. Cost me
    another ~180 bytes (which is the reason why I didn't implement
    this routine earlier).
  + The "broken contents" of the history variable DirHistory was not
    the fault of TitleCD but of set. See "Environment variables"
    above.
    Included fixed get command to solve this problem.

  Changes from 3 to 4:
  + History.
  + The routine that calculates the width of the shell window title
    now really does calculate.
    Earlier versions just did some "well, this might be something
    from here minus something from there", not taking into account
    the windows' gadgets and probably also using the wrong font.
  + If the FROM-file contained newlines this option would not work
    since the length calculation was somehow broken.
    Unfortunatly even if fixed FROM would not work with files that
    contain more than one line. Completely re-written that part.


Have fun,
  soenke (20-Jun-2000, 12-Jun-2000, 6-Aug-97)


Contents of util/cli/TitleCD.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 2761    4716  58.5% -lh5- 39b8 Jul  1  2000 TitleCD
[generic]                 3987    9819  40.6% -lh5- f7ae Jul  1  2000 TitleCD.doc
[generic]                  686     912  75.2% -lh5- b4c3 Jul  1  2000 get
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files    7434   15447  48.1%            Jul  3  2000
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>