Leon,
Assuming you are running HP Pascal 3.22 in a BD Consort 32 config-
uration, the issue is in the file Owner/Group specification after ftp'ing
back to the HP from another system. For example, take the STARCOMP.CODE
in its installation directory:
-type- --code-- ---Last Change--- -----Status------ --size-- ------name------
Code -5582 10-09-91 16:24:44 666m 17u 9g 156160 STARCOMP.CODE
Data -5622 06-07-94 17:54:26 666m 17u 9g 42 ACF_IDS
Data -5622 10-09-91 16:24:50 666m 17u 9g 212 ACF_CV
Data -5622 10-09-91 16:24:53 666m 17u 9g 160 CALIBC_F1
Data -5622 10-29-93 16:41:18 666m 17u 9g 160 CALIBS_F1
Data -5622 10-09-91 16:24:59 666m 17u 9g 3072 ADDAPLCNFG
Note the Owner/Group specification (an integer 0 - 65535) is -5582 for the
CODE file, and -5622 for the others. After emulating a "restore" over
ethernet via ftp (binary - FACSNet transfer):
-type- --code-- ---Last Change--- -----Status------ --size-- ------name------
Hp-ux -5813 11-08-94 16:09:02 666m 17u 9g 3072 ADDAPLCNFG
Hp-ux -5813 11-08-94 16:09:20 666m 17u 9g 42 ACF_IDS
Hp-ux -5813 11-08-94 16:09:36 666m 17u 9g 212 ACF_CV
Hp-ux -5813 11-08-94 16:10:08 666m 17u 9g 156160 STARCOMP.CODE
Note the Owner/Group specification gets laid down as -5813 by the Fusion
product (FACSNet). Now, you'd think that you could easily use the (horrid)
little Filer utility and the Hfs command to hack this number back to -5582
somehow (Consort System 32 User's Guide, 5-41 -> 5-43), but I can't see how
this number can be modified with Hfs. What we need to know is: Under Pascal,
how do we do the Unix equivalent of 'chmod a+x <filename>' to restore
execute permissions on a file. Maybe one of BD's Pascal guys could help?
Joe
![]() |
![]() |
![]() |
![]() |