2 chomp($nodename= `uname -n`); $? and die 'uname $?';
3 ($hostname)=(gethostbyname $nodename) or die "hostname $nodename ?";
6 $xbindir= '/usr/bin/X11';
8 chomp($uname= `uname`); $? and die "platform $?";
9 if ($uname =~ m/^Linux$/) {
10 chomp($_= `uname -m`); $? and die "platform $?";
12 $platform= 'linux-i386';
16 } elsif ($uname =~ m/^SunOS$/) {
17 chomp($_= `uname -r`); $? and die "platform $?";
18 m/^\d+\.\d+/ or die "$_ ?";
20 $xbindir= '/usr/openwin/bin';
21 } elsif ($uname =~ m/^HP\-UX/) {
22 chomp($_= `uname -r`); $? and die "platform $?";
23 m/^B\.(\d+\.\d+)$/ or die "$_ ?";
29 $ncipher= $hostname =~ m/\.(ncipher\.com$)/ ? 'cam' :
30 $hostname =~ m/\.(ncipherusa\.com$)/ ? 'bos' :
33 %ncipherdom= ('cam' => 'ncipher.com',
34 'bos' => 'ncipherusa.com');