Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Directory History Caching

IP.com Disclosure Number: IPCOM000110699D
Original Publication Date: 1992-Dec-01
Included in the Prior Art Database: 2005-Mar-25
Document File: 1 page(s) / 45K

Publishing Venue

IBM

Related People

Cheney, DJ: AUTHOR

Abstract

Disclosed is a three program set that caches and restores working directory location. Integrated within a command line interpreter, the history caching mechanism automatically maintains a record of user directory changes. The caching mechanism establishes user visible nicknames for the directories, making future reference to those directories and their contained objects more convenient. This service is especially useful when working in large filesystems with long pathnames.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 89% of the total text.

Directory History Caching

      Disclosed is a three program set that caches and restores
working directory location.  Integrated within a command line
interpreter, the history caching mechanism automatically maintains a
record of user directory changes.  The caching mechanism establishes
user visible nicknames for the directories, making future reference
to those directories and their contained objects more convenient.
This service is especially useful when working in large filesystems
with long pathnames.

      The shell change directory function is enhanced with
cdcache_update (to record successful directory changes)
cdcache_lookup (for attempted resolution of failed directory changes)
and cdcache_load (for shell initialization) functions.

      The cdcache_update function shortens the directory name to a
nickname and caches the nickname/full_directory_pathname pair in the
shell environment (and in a private user file) for later lookup (and
loading).

      The cdcache_lookup function changes the target directory name
into a nickname and performs a lookup on the history cache.  If an
entry is found, the shell changes directory to the associated full
pathname.

      The cdcache_load function initializes new shells with the
contents of the user's directory history cache file.

      Finally, directory nickname/full_path pairs can be made visible
in the user environment, allowing users to use nickname dereferences
in references to filesystem ob...