Installation guide
32 DC 900-1325I
Freeway Server-Resident Application (SRA) Programmer Guide
scp, or any other method to copy the files. If you choose to edit the files on a Windows
machine, be sure that your editor maintains the text file type as UNIX (text lines end
with a single line-feed) rather than DOS (text lines end with a carriage-return and a
line-feed). If you can't prevent your editor from converting the files to DOS format, be
sure to convert them back to UNIX format when you transfer them to the Freeway
server (refer to Section 4.2.4 on page 62 for more information on text file formats and
file conversion). To edit the source files, follow these steps:
Step 1: Edit the SRA C source file to reflect the new DLI configuration file name:
pwd
/usr/local/freeway/client/test/mysra
vi mysra.c
[change all occurrences of “awsaldcfg” to “mysradcfg”]
Step 2: Edit the DLI configuration source file to reflect the new TSI configuration file
name, as well as the new DLI log and trace file names:
pwd
/usr/local/freeway/client/test/mysra
vi mysradcfg
[change all occurrences of “awsaltcfg” to “mysratcfg”]
[change all occurrences of “awsalpdli” to “mysradli”]
Step 3: Edit the TSI configuration source file to reflect the new TSI log and trace file
names:
pwd
/usr/local/freeway/client/test/mysra
vi mysratcfg
[change all occurrences of “awsalptsi” to “mysratsi”]
Step 4: Edit the make file to reflect the new SRA and configuration file names:
pwd
/usr/local/freeway/client/test/mysra
vi makefile.bsd
[change all occurrences of “awsalp” to “mysra”]
[change all occurrences of “awsaldcfg” to “mysradcfg”]
[change all occurrences of “awsaltcfg” to “mysratcfg”]