PCRCmdDoc.tioga
Copyright Ó 1990 by Xerox Corporation. All rights reserved.
Demers, July 26, 1990 10:34 am PDT
CEDAR INTERFACE TO PCR COMMAND INTERPRETER
CEDAR INTERFACE TO PCR COMMAND INTERPRETER
PCEDAR 2.0 — FOR INTERNAL XEROX USE ONLY
PCEDAR 2.0 — FOR INTERNAL XEROX USE ONLY
CEDAR INTERFACE TO PCR COMMAND INTERPRETER
© Copyright 1990 Xerox Corporation. All rights reserved.
Abstract: This document describes the PCedar 2.0 interface to the PCR command interpreter.
XEROX Xerox Corporation
Palo Alto Research Center
3333 Coyote Hill Road
Palo Alto, California 94304
For Internal Xerox Use Only
Synopsis
Type to a PCedar Commander:
PCRCmd <command>
Type to a PCR command loop:
load𡤏iles /pseudo/pcedar2.0/pcrcmd/sun4-o3/PCRCmdGlueImpl.o
loadandrun /pseudo/pcedar2.0/pcrcmd/sun4-o3/PCRCmdImpl.c2c.o
-- the above two lines are done implicitly by running PCRCmd in some Commander
PCedarCmd <command>
Description
This hack allows you to execute all the PCR commands from a PCedar command tool, and all PCedar Commander commands from a PCR prompt. It's completely recursive -- e.g.
Commander % PCRCmd PCedarCmd PCRCmd help load𡤏iles
load𡤏iles filename ... -- load object files (with library search)
Commander %
The PCedar Interp command should now go away, since it's easily simulated:
Commander % pcrcmd unixload /pseudo/xrhome/INSTALLED/LIB/Threads-sparc/Interp.o
Commander % alias interp pcrcmd eval
Commander % interp 17
&1: 17 (0x11)
Commander % interp &1
&2: 17 (0x11)
Commander % interp + &1 3
&3: 20 (0x14)
Commander %