> Shell expansion happens in HDS (the HDS_SHELL environment variable controls
> that and I assume it defaults to 0 == sh).
Hello,
Searching the repository for HDS_SHELL, I found that
libraries/pcs/dtask/dtask_main.f sets HDS tune SHELL to CSH if HDS_SHELL
isn't defined:
122 * If environment variable HDS_SHELL is not set, Select C-shell option for
123 * HDS file name translation
124 CALL EMS_MARK
125 CALL PSX_GETENV( 'HDS_SHELL', ICLID, STATUS )
126 IF ( STATUS .NE. SAI__OK ) THEN
127 CALL EMS_ANNUL( STATUS )
128 CALL HDS_TUNE( 'SHELL', 1, STATUS )
129 ENDIF
130 CALL EMS_RLSE
(where HDS__CSHSHELL is 1)
I was able to trigger the error without uninstalling (t)csh by changing
the _csh #define in hds1.h to something that didn't exist.
$ makemap in=^files.lis config=^/stardev/share/smurf/dimmconfig.lis
Broken pipe
Then changing line 128 above and rebuilding pcs and smurf allowed makemap
to run again.
Best regards,
Graham
|