From: ian Date: Fri, 20 Jul 2001 20:30:15 +0000 (+0000) Subject: Improvements. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=0c863672d721034d3d63ba62afe8857ea0308cf3;p=ian-dotfiles.git Improvements. --- diff --git a/config b/config index 6c6b6c6..d9d49e6 100644 --- a/config +++ b/config @@ -12,5 +12,6 @@ if ($s =~ m/^Linux$/) { } } -$ncipher= $hostname =~ m/\.ncipher\.com$/ - || $hostname =~ m/\.ncipherusa\.com$/; +$ncipher= $hostname =~ m/\.ncipher\.com$/ ? 'cam' : + $hostname =~ m/\.ncipherusa\.com$/ ? 'bos' : + 0; diff --git a/files/_.configs_setenvir b/files/_.configs_setenvir index a5ce354..2580c22 100755 --- a/files/_.configs_setenvir +++ b/files/_.configs_setenvir @@ -11,7 +11,8 @@ PATH=$PATH:/opt/bin:/usr/bin/X11 export PATH CDPATH=:..:$HOME:$HOME/things -CVSROOT=:ext:iwj@cvs:/ncipher/local-CVS +CVS_RSH=ssh +CVSROOT=:ext:cvs:/ncipher/local-CVS EDITOR=emacs ESHELL=/usr/bin/bash HISTORY=256 @@ -24,8 +25,10 @@ PAGER=less PS1="$ " TRNINIT=$HOME/.trninit WWW_HOME=http://www.chiark.greenend.org.uk/~ijackson/ -export CDPATH CVSROOT EDITOR ESHELL HISTORY HOST LANG LESS + +export CDPATH CVS_RSH CVSROOT EDITOR ESHELL HISTORY HOST LANG LESS export PAGER PERLLIB PS1 TRNINIT WWW_HOME + # NNTPAUTH NC_SITES=cam:bos diff --git a/files/_.configs_xbiffs b/files/_.configs_xbiffs index 9c4b757..d18d6fa 100755 --- a/files/_.configs_xbiffs +++ b/files/_.configs_xbiffs @@ -3,7 +3,10 @@ echo -n @ d="$DISPLAY" -if [ "x$d" = "x:0.0" ]; then d="$HOSTNAME$DISPLAY"; fi +if [ "x$d" = "x:0.0" ]; then d="`hostname -f`$DISPLAY"; fi +@@? $ncipher eq 'bos' ?@@ +rcp .Xauthority dover.ncipher.com:. +@@; rsh dover <