char XR←packageVersion[] = "October 18, 1993 11:08:07 am PDT";
 char *defaultArgs = " -msgs 0 -vp 2 -slaveiop 1 -striop 1 -stdiop 2 -thread 85 -mem 524288 -stack 90000 -tmp /tmp -nodbxscript -shmtype sv -- -install←and←run←package -- ";
void XR←SetupPackage() {}
void XR←InstallAndRunPackage () {
  XR←install←CedarCore();
  XR←CommitInstallation();
  XR←run←CedarCore();
  XR←install←BasicCedar();
  XR←CommitInstallation();
  XR←run←BasicCedar();
  XR←install←UnixDirectoryImpl();
  XR←CommitInstallation();
  XR←run←UnixDirectoryImpl();
  XR←install←DatagramSocketImpl();
  XR←CommitInstallation();
  XR←run←DatagramSocketImpl();
  XR←install←MiscRegistryImpl();
  XR←CommitInstallation();
  XR←run←MiscRegistryImpl();
  XR←install←SystemNamesImpl();
  XR←CommitInstallation();
  XR←run←SystemNamesImpl();
  XR←install←ArpaImpl();
  XR←CommitInstallation();
  XR←run←ArpaImpl();
  XR←install←PFSPackage();
  XR←CommitInstallation();
  XR←run←PFSPackage();
  XR←install←PFSPrefixMapInit();
  XR←CommitInstallation();
  XR←run←PFSPrefixMapInit();
  XR←install←CommanderSysPImpl();
  XR←CommitInstallation();
  XR←run←CommanderSysPImpl();
  XR←install←PFSCommandsImpl();
  XR←CommitInstallation();
  XR←run←PFSCommandsImpl();
  XR←install←SunRPCRuntime();
  XR←CommitInstallation();
  XR←run←SunRPCRuntime();
  XR←install←SunPMapClientStub();
  XR←CommitInstallation();
  XR←run←SunPMapClientStub();
  XR←install←LocalRegistryClientStubs();
  XR←CommitInstallation();
  XR←run←LocalRegistryClientStubs();
  XR←install←FeedbackImpl();
  XR←CommitInstallation();
  XR←run←FeedbackImpl();
  XR←install←SimpleFeedbackImpl();
  XR←CommitInstallation();
  XR←run←SimpleFeedbackImpl();
  XR←install←FeedbackInitialCedarImpl();
  XR←CommitInstallation();
  XR←run←FeedbackInitialCedarImpl();
  XR←install←LocalRegistryAgentImpl();
  XR←CommitInstallation();
  XR←run←LocalRegistryAgentImpl();
  XR←install←DebugNubCedarParts();
  XR←CommitInstallation();
  XR←run←DebugNubCedarParts();
  XR←install←CommanderPackage();
  XR←CommitInstallation();
  XR←run←CommanderPackage();
  XR←install←LRUCacheImpl();
  XR←CommitInstallation();
  XR←DoCommanderCommands(
   "pma -t /XeroxCedar $XeroxCedar ; pma -t /release /XeroxCedar/release ; pma -t /imagerfonts /XeroxCedar/imagerfonts ; pma  -t /cedar10.1 /XeroxCedar/release ; pma -t /cedar /cedar10.1 ; pma -t /cedar/styles /Cedar/Styles ; pma -t /cedar10.1/styles /Cedar10.1/Styles "
   );
  {extern void XR←run←LRUCacheImpl(); XR←CallWithPFSWorkingDirectory(XR←run←LRUCacheImpl, "/Cedar/LRUCache/");}
  XR←install←UserProfileImpl();
  XR←CommitInstallation();
  {extern void XR←run←UserProfileImpl(); XR←CallWithPFSWorkingDirectory(XR←run←UserProfileImpl, "/Cedar/UserProfile/");}
  XR←install←ImagerPackage();
  XR←CommitInstallation();
  {extern void XR←run←ImagerPackage(); XR←CallWithPFSWorkingDirectory(XR←run←ImagerPackage, "/Cedar/Imager/");}
  XR←install←CMYKCompatibilityImpl();
  XR←CommitInstallation();
  {extern void XR←run←CMYKCompatibilityImpl(); XR←CallWithPFSWorkingDirectory(XR←run←CMYKCompatibilityImpl, "/Cedar/Imager/");}
  XR←install←ColorRegistryImpl();
  XR←CommitInstallation();
  {extern void XR←run←ColorRegistryImpl(); XR←CallWithPFSWorkingDirectory(XR←run←ColorRegistryImpl, "/Cedar/ColorRegistry/");}
  XR←install←ImagerDitherImpl();
  XR←CommitInstallation();
  {extern void XR←run←ImagerDitherImpl(); XR←CallWithPFSWorkingDirectory(XR←run←ImagerDitherImpl, "/Cedar/ImagerColorDisplay/");}
  XR←install←ImagerDitherContextImpl();
  XR←CommitInstallation();
  {extern void XR←run←ImagerDitherContextImpl(); XR←CallWithPFSWorkingDirectory(XR←run←ImagerDitherContextImpl, "/Cedar/ImagerColorDisplay/");}
  XR←install←FSOnPFSImpl();
  XR←CommitInstallation();
  {extern void XR←run←FSOnPFSImpl(); XR←CallWithPFSWorkingDirectory(XR←run←FSOnPFSImpl, "/Cedar/PFS/");}
  XR←install←IntToIntTabImpl();
  XR←CommitInstallation();
  {extern void XR←run←IntToIntTabImpl(); XR←CallWithPFSWorkingDirectory(XR←run←IntToIntTabImpl, "/Cedar/IntToIntTab/");}
  XR←install←KeyboardsPackage();
  XR←CommitInstallation();
  {extern void XR←run←KeyboardsPackage(); XR←CallWithPFSWorkingDirectory(XR←run←KeyboardsPackage, "/Cedar/Keyboards/");}
  XR←install←DevicesImpl();
  XR←CommitInstallation();
  {extern void XR←run←DevicesImpl(); XR←CallWithPFSWorkingDirectory(XR←run←DevicesImpl, "/Cedar/Devices/");}
  XR←install←FastTRAPDeviceImpl();
  XR←CommitInstallation();
  {extern void XR←run←FastTRAPDeviceImpl(); XR←CallWithPFSWorkingDirectory(XR←run←FastTRAPDeviceImpl, "/Cedar/Devices/");}
  XR←install←TIPPackage();
  XR←CommitInstallation();
  {extern void XR←run←TIPPackage(); XR←CallWithPFSWorkingDirectory(XR←run←TIPPackage, "/Cedar/TIP/");}
  XR←install←CedarProcessImpl();
  XR←CommitInstallation();
  {extern void XR←run←CedarProcessImpl(); XR←CallWithPFSWorkingDirectory(XR←run←CedarProcessImpl, "/Cedar/CedarProcess/");}
  XR←install←ViewersPackage();
  XR←CommitInstallation();
  {extern void XR←run←ViewersPackage(); XR←CallWithPFSWorkingDirectory(XR←run←ViewersPackage, "/Cedar/Viewers/");}
  XR←install←ForkOpsImpl();
  XR←CommitInstallation();
  {extern void XR←run←ForkOpsImpl(); XR←CallWithPFSWorkingDirectory(XR←run←ForkOpsImpl, "/Cedar/ForkOps/");}
  XR←install←CustomizeImpl();
  XR←CommitInstallation();
  {extern void XR←run←CustomizeImpl(); XR←CallWithPFSWorkingDirectory(XR←run←CustomizeImpl, "/Cedar/Customize/");}
  XR←install←CommTimerImpl();
  XR←CommitInstallation();
  {extern void XR←run←CommTimerImpl(); XR←CallWithPFSWorkingDirectory(XR←run←CommTimerImpl, "/Cedar/CommTimer/");}
  XR←install←NetworkStreamImpl();
  XR←CommitInstallation();
  {extern void XR←run←NetworkStreamImpl(); XR←CallWithPFSWorkingDirectory(XR←run←NetworkStreamImpl, "/Cedar/NetworkStream/");}
  XR←install←NetworkStreamSupportTCPImpl();
  XR←CommitInstallation();
  {extern void XR←run←NetworkStreamSupportTCPImpl(); XR←CallWithPFSWorkingDirectory(XR←run←NetworkStreamSupportTCPImpl, "/Cedar/NetworkStream/");}
  XR←install←NetworkStreamTCPImpl();
  XR←CommitInstallation();
  {extern void XR←run←NetworkStreamTCPImpl(); XR←CallWithPFSWorkingDirectory(XR←run←NetworkStreamTCPImpl, "/Cedar/NetworkStream/");}
  XR←install←NetworkStreamSPPOnBasicStreamImpl();
  XR←CommitInstallation();
  {extern void XR←run←NetworkStreamSPPOnBasicStreamImpl(); XR←CallWithPFSWorkingDirectory(XR←run←NetworkStreamSPPOnBasicStreamImpl, "/Cedar/NetworkStream/");}
  XR←install←NetworkNameImpl();
  XR←CommitInstallation();
  {extern void XR←run←NetworkNameImpl(); XR←CallWithPFSWorkingDirectory(XR←run←NetworkNameImpl, "/Cedar/NetworkName/");}
  XR←install←SunYPBindClientStub();
  XR←CommitInstallation();
  {extern void XR←run←SunYPBindClientStub(); XR←CallWithPFSWorkingDirectory(XR←run←SunYPBindClientStub, "/Cedar/SunYP/");}
  XR←install←SunYPClientStub();
  XR←CommitInstallation();
  {extern void XR←run←SunYPClientStub(); XR←CallWithPFSWorkingDirectory(XR←run←SunYPClientStub, "/Cedar/SunYP/");}
  XR←install←SunYPFindImplP();
  XR←CommitInstallation();
  {extern void XR←run←SunYPFindImplP(); XR←CallWithPFSWorkingDirectory(XR←run←SunYPFindImplP, "/Cedar/SunYP/");}
  XR←install←SunYPAgentImpl();
  XR←CommitInstallation();
  {extern void XR←run←SunYPAgentImpl(); XR←CallWithPFSWorkingDirectory(XR←run←SunYPAgentImpl, "/Cedar/SunYP/");}
  XR←install←NetworkNameSunYPImpl();
  XR←CommitInstallation();
  {extern void XR←run←NetworkNameSunYPImpl(); XR←CallWithPFSWorkingDirectory(XR←run←NetworkNameSunYPImpl, "/Cedar/NetworkName/");}
  XR←install←NetworkNameEtcHostsImpl();
  XR←CommitInstallation();
  {extern void XR←run←NetworkNameEtcHostsImpl(); XR←CallWithPFSWorkingDirectory(XR←run←NetworkNameEtcHostsImpl, "/Cedar/NetworkName/");}
  XR←install←UnsafePropListImpl();
  XR←CommitInstallation();
  {extern void XR←run←UnsafePropListImpl(); XR←CallWithPFSWorkingDirectory(XR←run←UnsafePropListImpl, "/Cedar/Properties/");}
  XR←install←PropListImpl();
  XR←CommitInstallation();
  {extern void XR←run←PropListImpl(); XR←CallWithPFSWorkingDirectory(XR←run←PropListImpl, "/Cedar/Properties/");}
  XR←install←XlPackage();
  XR←CommitInstallation();
  {extern void XR←run←XlPackage(); XR←CallWithPFSWorkingDirectory(XR←run←XlPackage, "/Cedar/X11/");}
  XR←install←XlAuthImpl();
  XR←CommitInstallation();
  {extern void XR←run←XlAuthImpl(); XR←CallWithPFSWorkingDirectory(XR←run←XlAuthImpl, "/Cedar/X11/");}
XR←install←XTkPackage();
  XR←CommitInstallation();
  {extern void XR←run←XTkPackage(); XR←CallWithPFSWorkingDirectory(XR←run←XTkPackage, "/Cedar/X11/");}
  XR←install←XTkBitmapPackage();
  XR←CommitInstallation();
  {extern void XR←run←XTkBitmapPackage(); XR←CallWithPFSWorkingDirectory(XR←run←XTkBitmapPackage, "/Cedar/X11/");}
  XR←install←GCCallBackImpl();
  XR←CommitInstallation();
  {extern void XR←run←GCCallBackImpl(); XR←CallWithPFSWorkingDirectory(XR←run←GCCallBackImpl, "/Cedar/GCOps/");}
  XR←install←XTkTIPPackage();
  XR←CommitInstallation();
  {extern void XR←run←XTkTIPPackage(); XR←CallWithPFSWorkingDirectory(XR←run←XTkTIPPackage, "/Cedar/X11TIP/");}
  XR←install←X11SelectionsPackage();
  XR←CommitInstallation();
  {extern void XR←run←X11SelectionsPackage(); XR←CallWithPFSWorkingDirectory(XR←run←X11SelectionsPackage, "/Cedar/X11Selections/");}
  XR←install←X11MorePackage();
  XR←CommitInstallation();
  {extern void XR←run←X11MorePackage(); XR←CallWithPFSWorkingDirectory(XR←run←X11MorePackage, "/Cedar/X11/");}
  XR←install←X11ViewersPackage();
  XR←CommitInstallation();
  {extern void XR←run←X11ViewersPackage(); XR←CallWithPFSWorkingDirectory(XR←run←X11ViewersPackage, "/Cedar/X11Viewers/");}
  XR←install←RosaryImpl();
  XR←CommitInstallation();
  {extern void XR←run←RosaryImpl(); XR←CallWithPFSWorkingDirectory(XR←run←RosaryImpl, "/Cedar/Rosary/");}
  XR←install←CharOpsImpl();
  XR←CommitInstallation();
  {extern void XR←run←CharOpsImpl(); XR←CallWithPFSWorkingDirectory(XR←run←CharOpsImpl, "/Cedar/TRope/");}
  XR←install←TextFindImpl();
  XR←CommitInstallation();
  {extern void XR←run←TextFindImpl(); XR←CallWithPFSWorkingDirectory(XR←run←TextFindImpl, "/Cedar/TRope/");}
  XR←install←TBasePackage();
  XR←CommitInstallation();
  {extern void XR←run←TBasePackage(); XR←CallWithPFSWorkingDirectory(XR←run←TBasePackage, "/Cedar/TBase/");}
  XR←install←CodeTimerImpl();
  XR←CommitInstallation();
  {extern void XR←run←CodeTimerImpl(); XR←CallWithPFSWorkingDirectory(XR←run←CodeTimerImpl, "/Cedar/CodeTimer/");}
  XR←install←TJaMPackage();
  XR←CommitInstallation();
  {extern void XR←run←TJaMPackage(); XR←CallWithPFSWorkingDirectory(XR←run←TJaMPackage, "/Cedar/TJaM/");}
  XR←install←PixelArrayCCITTG4Impl();
  XR←CommitInstallation();
  {extern void XR←run←PixelArrayCCITTG4Impl(); XR←CallWithPFSWorkingDirectory(XR←run←PixelArrayCCITTG4Impl, "/Cedar/CommonG4/");}
  XR←install←InterpressPackage();
  XR←CommitInstallation();
  {extern void XR←run←InterpressPackage(); XR←CallWithPFSWorkingDirectory(XR←run←InterpressPackage, "/Cedar/Interpress/");}
  XR←install←IPCCITTG4Stub();
  XR←CommitInstallation();
  {extern void XR←run←IPCCITTG4Stub(); XR←CallWithPFSWorkingDirectory(XR←run←IPCCITTG4Stub, "/Cedar/Interpress/");}
  XR←install←CFontSolutionPackage();
  XR←CommitInstallation();
  {extern void XR←run←CFontSolutionPackage(); XR←CallWithPFSWorkingDirectory(XR←run←CFontSolutionPackage, "/Cedar/CFontSolution/");}
  XR←install←TFormatPackage();
  XR←CommitInstallation();
  {extern void XR←run←TFormatPackage(); XR←CallWithPFSWorkingDirectory(XR←run←TFormatPackage, "/Cedar/TFormat/");}
  XR←install←IOTiogaImpl();
  XR←CommitInstallation();
  {extern void XR←run←IOTiogaImpl(); XR←CallWithPFSWorkingDirectory(XR←run←IOTiogaImpl, "/Cedar/IOTioga/");}
  XR←install←RopeReaderImpl();
  XR←CommitInstallation();
  {extern void XR←run←RopeReaderImpl(); XR←CallWithPFSWorkingDirectory(XR←run←RopeReaderImpl, "/Cedar/TRope/");}
  XR←install←FileNamesOnPFSImpl();
  XR←CommitInstallation();
  {extern void XR←run←FileNamesOnPFSImpl(); XR←CallWithPFSWorkingDirectory(XR←run←FileNamesOnPFSImpl, "/Cedar/PFS/");}
  XR←install←VersionMapImpl();
  XR←CommitInstallation();
  {extern void XR←run←VersionMapImpl(); XR←CallWithPFSWorkingDirectory(XR←run←VersionMapImpl, "/Cedar/VersionMap/");}
  XR←install←VersionMapViewsImpl();
  XR←CommitInstallation();
  {extern void XR←run←VersionMapViewsImpl(); XR←CallWithPFSWorkingDirectory(XR←run←VersionMapViewsImpl, "/Cedar/MapViews/");}
  XR←install←TEditPackage();
  XR←CommitInstallation();
  {extern void XR←run←TEditPackage(); XR←CallWithPFSWorkingDirectory(XR←run←TEditPackage, "/Cedar/TEdit/");}
  XR←install←ViewerIOImpl();
  XR←CommitInstallation();
  {extern void XR←run←ViewerIOImpl(); XR←CallWithPFSWorkingDirectory(XR←run←ViewerIOImpl, "/Cedar/ViewerIO/");}
  XR←install←MBQueueImpl();
  XR←CommitInstallation();
  {extern void XR←run←MBQueueImpl(); XR←CallWithPFSWorkingDirectory(XR←run←MBQueueImpl, "/Cedar/MBQueue/");}
  XR←install←CommanderViewerImpl();
  XR←CommitInstallation();
  {extern void XR←run←CommanderViewerImpl(); XR←CallWithPFSWorkingDirectory(XR←run←CommanderViewerImpl, "/Cedar/CommanderViewer/");}
  XR←install←XTkFeedbackImpl();
  XR←CommitInstallation();
  {extern void XR←run←XTkFeedbackImpl(); XR←CallWithPFSWorkingDirectory(XR←run←XTkFeedbackImpl, "/Cedar/XTkFeedback/");}
  XR←install←XlErrorHandlingWithFeedback();
  XR←CommitInstallation();
  {extern void XR←run←XlErrorHandlingWithFeedback(); XR←CallWithPFSWorkingDirectory(XR←run←XlErrorHandlingWithFeedback, "/Cedar/X11/");}
  XR←install←StartXAnyImpl();
  XR←CommitInstallation();
  {extern void XR←run←StartXAnyImpl(); XR←CallWithPFSWorkingDirectory(XR←run←StartXAnyImpl, "/Cedar/X11Viewers/");}
  XR←install←FeedbackOpsImpl();
  XR←CommitInstallation();
  {extern void XR←run←FeedbackOpsImpl(); XR←CallWithPFSWorkingDirectory(XR←run←FeedbackOpsImpl, "/Cedar/FeedbackOps/");}
  XR←install←FeedbackInitialViewersImpl();
  XR←CommitInstallation();
  {extern void XR←run←FeedbackInitialViewersImpl(); XR←CallWithPFSWorkingDirectory(XR←run←FeedbackInitialViewersImpl, "/Cedar/FeedbackOps/");}
  XR←install←UserProfileCommandsImpl();
  XR←CommitInstallation();
  {extern void XR←run←UserProfileCommandsImpl(); XR←CallWithPFSWorkingDirectory(XR←run←UserProfileCommandsImpl, "/Cedar/UserProfile/");}
  XR←DoCommanderCommands("Installed  BasicCedar CedarCore CedarProcess CFontSolution CharOps CodeTimer ColorRegistry Commander CommanderViewer CommonG4 CommTimer Customize DebugNubCedarParts Devices FastTRAPDevice Feedback FeedbackOps FileNames FinalizeOps ForkOps FS GCCallBack Imager ImagerDither ImagerDitherContext Interpress IntToIntTab IOTioga Keyboards LocalRegistryAgent LocalRegistryClient LRUCache MapViews MBQueue NetworkName NetworkStream PFS PropList RopeReader Rosary SunPMapClient SunRPCRuntime SunYPAgent SystemNames TBase TEdit TextFind TFormat Tioga TIP TJaM UnsafePropList UserProfile UserProfileCommands VersionMap ViewerIO Viewers X11More X11Selections X11Viewers X11ViewersDontStart Xl XlFeedbackErrors XTk XTkFeedback XTkTIP ");
  XR←DoCommanderCommands(
   "pma /xrhome ; pma /SchemeXerox ; pma /pcedar2.0 ; pma /px/ ; pma /p/ ; pma /dx/ ; pma /d/ ; pma /cedarcommon2.0 ; pma /cedarchest7.0 ; pma /cedar7.0 ; pma /XeroxCedar ; X11Viewers"
   );
  XR←install←CommanderOnStandardStreamsImpl();
  XR←CommitInstallation();
  XR←run←CommanderOnStandardStreamsImpl();
}
#include <string.h>
static char *argvec[25];
static char **defaultArgv = &argvec[0];
static int firstTime = 1;
static int defaultArgc = 0;
void XR←GetPackageDefaultArgs(argc←ptr, argv←ptr)
	int *argc←ptr; char ***argv←ptr; {
	/* extern char defaultArgs[]; */
	char *nextArg;
	if( (argc←ptr == 0) || (argv←ptr == 0) ) return;
	if(!firstTime) {
		*argv←ptr = defaultArgv;
		*argc←ptr = defaultArgc;
		return;}
	for (;;) {
		if (firstTime) {
			nextArg = strtok(defaultArgs, " ");
			firstTime = 0;}
		else nextArg = strtok(0, " ");
		if (nextArg == 0) break;
		defaultArgv[defaultArgc] = nextArg;
		defaultArgc++;};
	*argv←ptr = defaultArgv;
	*argc←ptr = defaultArgc;
}