chiark / gitweb /
Found xterm-CT
[ian-dotfiles.git] / config
1 @@-
2 chomp($hostname= `uname -n`); $? and die 'uname $?';
3 ($hostname)=(gethostbyname $hostname) or die "hostname $hostname ?";
4
5 chomp($s= `uname`); $? and die 'platform $?';
6 if ($s =~ m/^Linux$/) {
7     chomp($_= `uname -m`); $? and die 'platform $?';
8     if (m/^i\d86/) {
9         $platform= 'linux-i386';
10     } else {
11         die '$_ ?';
12     }
13 }
14
15 $ncipher= $hostname =~ m/\.ncipher\.com$/ 
16     || $hostname =~ m/\.ncipherusa\.com$/;