2 chomp($nodename= `uname -n`); $? and die 'uname $?';
3 ($hostname)=(gethostbyname $nodename) or die "hostname $nodename ?";
6 $xbindir= '/usr/bin/X11';
8 chomp($s= `uname`); $? and die "platform $?";
9 if ($s =~ m/^Linux$/) {
10 chomp($_= `uname -m`); $? and die "platform $?";
12 $platform= 'linux-i386';
16 } elsif ($s =~ m/^SunOS$/) {
17 chomp($_= `uname -r`); $? and die "platform $?";
18 m/^\d+\.\d+/ or die "$_ ?";
20 $xbindir= '/usr/openwin/bin';
25 $ncipher= $hostname =~ m/\.ncipher\.com$/ ? 'cam' :
26 $hostname =~ m/\.ncipherusa\.com$/ ? 'bos' :