Browse Prior Art Database

Command Execution Mechanism

IP.com Disclosure Number: IPCOM000040731D
Original Publication Date: 1987-Dec-01
Included in the Prior Art Database: 2005-Feb-02
Document File: 1 page(s) / 11K

Publishing Venue

IBM

Related People

Kuo, W: AUTHOR

Abstract

A command execution mechanism is described for use with the Tools Application in the IBM RT-PC (Personal Computer) Usability system, so that each command in the Tools window can be invoked in the most effective way. In the AIX* Usability Service environment of the RT-PC, a program may use the pop-up dialog mechanism to collect criteria from the end user and use a parameter-oriented interface provided by the Tools Application to pass these criteria through Tools to the AIX command(s) for invocation. Two types of parameters, data strings and parsing indicators, are involved in this mechanism. Upon receiving the AIX command(s) invocation request, Tools will parse the data string parameters based upon the parsing indicators.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 100% of the total text.

Page 1 of 1

Command Execution Mechanism

A command execution mechanism is described for use with the Tools Application in the IBM RT-PC (Personal Computer) Usability system, so that each command in the Tools window can be invoked in the most effective way. In the AIX* Usability Service environment of the RT-PC, a program may use the pop-up dialog mechanism to collect criteria from the end user and use a parameter-oriented interface provided by the Tools Application to pass these criteria through Tools to the AIX command(s) for invocation. Two types of parameters, data strings and parsing indicators, are involved in this mechanism. Upon receiving the AIX command(s) invocation request, Tools will parse the data string parameters based upon the parsing indicators. After all of the data strings are parsed into the AIX command invocation argv format, the Tools Application will search the parsed strings for metacharacters. If none of the metacharacters are found, then the AIX command(s) will be invoked as is without invoking the shell command interpreter. Otherwise, the AIX command(s) will be invoked through the shell command interpreter. This mechanism maximizes the efficiency of the AIX command invocation by at times eliminating the shell command interpreter, thereby reducing the number of processes created during the AIX command execution. * Trademark of IBM Corporation

1