Definition of a Unixlink
The keyword for a link definition on Unix systems is Unixlink. A global ID of a unixlink should begin with gid_Unixlink . Unixlinks have to be assigned to modules in the definition block of the module. A typical definition of a procedure in the scp projects looks like:
#ifdef
UNX
Unixlink gid_Unixlink_Zip
BIN_FILE_BODY;
Styles =
();
Dir = gid_Dir_Program;
Name = „ziplink“;
Target
= „/usr/bin/zip“;
End
#endif
#ifdef
UNX
Unixlink gid_Unixlink_Unzip
BIN_FILE_BODY;
Styles =
();
Dir = gid_Dir_Program;
Name = „unziplink“;
Target
= „/usr/bin/unzip“;
End
#endif
Assignment at a Module:
Unixlinks = (gid_Unixlink_Zip, gid_Unixlink_Unzip);
The definition of a Unixlink is simple. The link has a name, some privileges (555 in the case of BIN_FILE_BODY), a directory, in which the link is created, and a target. In the first example above, a link named „ziplink“ is created in the program directory in the Office installation, that points to the file „/usr/bin/zip“.