+++ /dev/null
-#!/bin/bash
-
-export EMAIL="person@usyd.edu.au"
-
-# Abandon the Solaris machines
-[ "$(uname)" = "SunOS" ] && return
-
-# Use the compiled software in ~suits/pub
-SUITSDIR="/usr/extern/suits/pub"
-export PYTHONPATH="$PYTHONPATH:$SUITSDIR/lib/python2.4/site-packages"
-export PATH="$SUITSDIR/bin:$PATH"
-export LD_LIBRARY_PATH="$SUITSDIR/lib:$LD_LIBRARY_PATH"
-
-# If there is a ~/.inputrc then we'll use that instead of the system one
-[ -r ~/.inputrc ] && unset INPUTRC
-
-# Make a temp directory for us
-mkdir -p "/tmp/$USER"
-
+++ /dev/null
-#!/bin/bash
-
-# Custom settings for shell on this machine
-
-# Switch to bash 3.2
-if [ \( "$(uname -p)" = "i686" -o "$(uname -p)" = "athlon" \) -a "$BASH_VERSION" = "2.05b.0(1)-release" ]; then
- # Only switch if we're running this specific version
- # (in case the DPs upgrade) and we're on an x86 arch
- shopt -s execfail # We don't want to quit if exec fails
- exec "~suits/pub/bin/bash"
-fi
-
-# Enable gcc4
-function GCC4 {
- export PATH="/local/usr/gcc-4.0.2/bin:$PATH"
- export LD_LIBRARY_PATH="/local/usr/gcc-4.0.2/lib:$LD_LIBRARY_PATH"
-}
-
-# The Solaris machines have a bad ls
-if [ "$(uname)" = "SunOS" ]; then
- unalias ls
- unalias ll
- unalias la
- unalias l
- unalias less
- if [ "$TERM" = "xterm-color" ]; then
- TERM=xterm
- fi
-fi
-
+++ /dev/null
-#!/gnu/usr/bin/bash
-
-cd
-
-if [ "$(uname)" = "SunOS" ]; then
- # Congo ninja power!
- touch ~/.RSHTOCONGO
- rsh "$(/local/mc/bin/pick)" "DISPLAY=$DISPLAY /usr/bin/env bash --login ~/.xsession"
- if [ -e ~/.RSHTOCONGO ]; then
- # If we failed to get to a congo, then fallback to an xterm
- xterm
- rm -f ~/.RSHTOCONGO
- fi
- exit
-fi
-
-xscreensaver &
-~suits/pub/win32/mapaltxwin32 -s
-
-# We're on a congo!
-rm -f ~/.RSHTOCONGO
-
-# Merge resources
-if [ -r ~/.Xresources ]; then
- xrdb -merge ~/.Xresources
-fi
-
-# Set the locale
-export LC_CTYPE=en_AU.UTF-8
-
-# If there's no XRENDER disable transparency
-xdpyinfo | grep -q "RENDER"
-if [ \! $? -eq 0 ]; then
- xrdb -merge <(echo URxvt.inheritPixmap: False)
-fi
-
-# Set a desktop background (use the -a option after -e to scale to
-# the max preserving aspect ratio)
-# It would be better to put these in ~/GNUStep/Library/WindowMaker/autostart
-# which gets run _after_ WindowMaker
-# wmsetbg -b black -S -e -d -u /usr/share/backgrounds/images/default.png
-# ~suits/pub/bin/randombg2 --permanent --quiet /usr/share/backgrounds/images
-
-# If an exec fails, try the next one
-shopt -s execfail
-exec ~suits/pub/bin/wmaker --no-dock || exec icewm || exec rxvt || exec xterm
-