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 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; }