X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;ds=sidebyside;f=config;h=d618ababab8e3ac8cbfd99c17e6bef28217abe82;hb=637096da9d5b229831b2bf3c774f78a477062464;hp=34c9607734cbec74f2cc7a1f666321b8f81d03e6;hpb=b1495f5b6abd64bf253e616a65bbd2221a0eb0f6;p=ian-dotfiles.git diff --git a/config b/config index 34c9607..d618aba 100644 --- a/config +++ b/config @@ -26,10 +26,15 @@ if ($uname =~ m/^Linux$/) { chomp($_= `uname -r`); $? and die "platform $?"; m/^(\d+\.\d+)\-/ or die "$_ ?"; $platform= "FreeBSD-$1"; + $xbindir= '/usr/X11R6/bin'; } elsif ($uname =~ m/^HP\-UX/) { chomp($_= `uname -r`); $? and die "platform $?"; m/^B\.(\d+\.\d+)$/ or die "$_ ?"; $platform= "HP-UX$1"; +} elsif ($uname =~ m/^AIX/) { + chomp($_= `uname -rv`); $? and die "platform $?"; + m/^\d+ (\d+)$/ or die "$_ ?"; + $platform= "AIX$1"; } else { die "$uname ?"; } @@ -38,5 +43,7 @@ $ncipher= $hostname =~ m/\.(ncipher\.com$)/ ? 'cam' : $hostname =~ m/\.(ncipherusa\.com$)/ ? 'bos' : 0; +$chiark= $hostname =~ m/chiark/; + %ncipherdom= ('cam' => 'ncipher.com', 'bos' => 'ncipherusa.com');