Browse Prior Art Database

Method for Attaching Processes to User Specified File Groups

IP.com Disclosure Number: IPCOM000107328D
Original Publication Date: 1992-Feb-01
Included in the Prior Art Database: 2005-Mar-21
Document File: 2 page(s) / 49K

Publishing Venue

IBM

Related People

Hays, DE: AUTHOR

Abstract

Disclosed is a program that allow users to associate existing programs to any file specification (group). This enables the user to create unlimited applications and customizations by reusing existing single file processes.

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

Method for Attaching Processes to User Specified File Groups

       Disclosed is a program that allow users to associate
existing programs to any file specification (group).  This enables
the user to create unlimited applications and customizations by
reusing existing single file processes.

      The user installs the association manager resident into memory
with the following command:
  fileprog (triggers) (filegroup) (process) (cmdline)
The process can be any executable and can, in turn, invoke other
processes if desired.  The file group can be anything from one
specific file to all files (*).  The triggers are the file actions
that will cause the process to be executed. Current supported actions
are:
  -i : invoke after a file is written
  -o : invoke before a file is read
  -c : invoke after a file is read
  -r : pseudo-trigger to terminate fileprog

      Upon invocation, fileprog traps the system calls for open,
create, and close and then returns control to the user.  When the
user subsequently accesses a file that matches one of the file groups
and the type of access matches a corresponding trigger, the specified
process is invoked with the indicated command line and an enhanced
environment.  This environment includes variables for the following:
  D : volume ID of the accessed file (for multi-volume/drive systems)
  P : full pathname of the file
  N : name of the file before last '.'
  T : type of file after last '.'
  F : trigger
The in...