The problems posed by the design and implementation of a command-language interpreter for a subset of the UNIX shell on the PULSE distributed operating system are described. The design of a command processor is addressed as the problem of transferring a user-perceived model of system behaviour from one physical system to another. The major differences between PULSE and UNIX are considered, and next how the shell language may be implemented in terms of the facilities of each system. An important discussion concerns the use of Ada tasks in PULSE and how this affects both the structure and the readability of the resulting program, in this case the shell. It is concluded that the overall structure is not greatly different, but that the use of tasks nevertheless requires careful appreciation of their allocation and termination.
[1]
Ken Thompson,et al.
The UNIX time-sharing system
,
1974,
CACM.
[2]
Andrew Singer,et al.
The natural language of interactive systems
,
1980,
CACM.
[3]
C. Gram,et al.
Command Languages: Design Considerations and Basic Concepts
,
1975
.
[4]
A. J. Wellings,et al.
A problem with Ada and resource allocation
,
1984,
ALET.
[5]
S. R. Bourne,et al.
The UNIX shell
,
1986
.