home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 3 / CD_Magazyn_EXEC_nr_3.iso / Recent / util / cli / TitleCD.readme < prev   
Text File  |  2000-07-03  |  3KB  |  70 lines

  1. Short:     CD replacement (wildcards, window title)
  2. Author:    soenke@kino-fahrplan.de (Sönke Tesch)
  3. Uploader:  soenke@kino-fahrplan.de
  4. Type:      util/cli
  5. Replaces:  util/dir/TitleCD.lha
  6. Keywords:  CD Modula-2
  7. Interface: Shell CLI
  8.  
  9. Overview
  10. ========
  11.  
  12. TitleCD is a replacement for the original CD shell command. I wasn`t that
  13. happy with the way the Shell usually displays the current directory because
  14. it usually  resulted in annoying long prompts of 1/2 to 2/3 times of the
  15. total width of the shell window. The window title however remained unused..
  16.  
  17. The whole thing has been extended with wildcard support, an argument that
  18. speeds up changing between the current and the last directory ("cd lastdir"
  19. instead of "cd sys:bla/blo/ble/bli") and writing/reading the directory to
  20. or from a file.
  21.  
  22. In this release, apart from two exterminated bugs, TitleCD has been extended
  23. with history functions.
  24.  
  25. Here's TitleCDs argument list:
  26.  TitleCD DIR,TO/K,FROM/K,LASTDIR/S,NEXT/S,PREV/S,FIRST/S,LAST/S,NOTITLE/S
  27.  
  28.  
  29. Due to several requests, a version without the title-setting-feature is
  30. also available. It's available as HistoryCD, also from Aminet:util/cli.
  31.  
  32.  
  33. Last modifications
  34. ==================
  35.  
  36.   The first version was born sometime back in 1993, written using the
  37.   DevPac assembler. After M2Amiga Modula-2 had been massively improved
  38.   I used that language again.
  39.   Version 3 was completely re-written using Cyclone Modula-2.
  40.  
  41.   Changes from 4.00 to 4.1:
  42.   + Moving in the history buffer did not work correctly. First time
  43.     was ok, but the next move removed all entries newer than the
  44.     current one. This means you could actually just move backwards.
  45.     Is this a case for Emmett Brown?
  46.   + TitleCD now tries to get the real Shell window, instead of using
  47.     the one that Intuition reports to be currently active. Cost me
  48.     another ~180 bytes (which is the reason why I didn't implement
  49.     this routine earlier).
  50.   + The "broken contents" of the history variable DirHistory was not
  51.     the fault of TitleCD but of set. See "Environment variables"
  52.     above.
  53.     Included fixed get command to solve this problem.
  54.  
  55.   Changes from 3 to 4:
  56.   + History.
  57.   + The routine that calculates the width of the shell window title
  58.     now really does calculate.
  59.     Earlier versions just did some "well, this might be something
  60.     from here minus something from there", not taking into account
  61.     the windows' gadgets and probably also using the wrong font.
  62.   + If the FROM-file contained newlines this option would not work
  63.     since the length calculation was somehow broken.
  64.     Unfortunatly even if fixed FROM would not work with files that
  65.     contain more than one line. Completely re-written that part.
  66.  
  67.  
  68. Have fun,
  69.   soenke (20-Jun-2000, 12-Jun-2000, 6-Aug-97)
  70.