+some Solaris fixes
authorshort <>
Tue, 17 Feb 2004 15:22:19 +0000 (15:22 +0000)
committershort <>
Tue, 17 Feb 2004 15:22:19 +0000 (15:22 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index 52a6b55..618266d 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -39,9 +39,10 @@ _bash_profile_addpath -f PATH            "/usr/local/sbin"
 _bash_profile_addpath -f PATH            "/usr/local/bin"
 [ $EUID -eq 0 ] && _bash_profile_addpath -f PATH "/usr/local/sbin"
 _bash_profile_addpath -f LD_LIBRARY_PATH "/opt/sfw/lib"
+_bash_profile_addpath -f MANPATH         "/usr/X11R6/man"
 _bash_profile_addpath -f MANPATH         "/usr/share/man"
 _bash_profile_addpath -f MANPATH         "/usr/local/man"
-_bash_profile_addpath -f LD_LIBRARY_PATH "$HOME/Netscape/dist/lib"
+[ "`uname`" = "SunOS" ] && _bash_profile_addpath -f LD_LIBRARY_PATH "$HOME/Netscape/dist/lib"
 for arch in "" /`uname -p`;do
        _bash_profile_addpath -f PATH            "$HOME$arch/bin"
        [ $EUID -eq 0 ] && _bash_profile_addpath -f PATH "$HOME$arch/sbin"
@@ -120,6 +121,8 @@ export HISTSIZE=100000
 export HISTFILESIZE="$HISTSIZE"
 export CVS_RSH="ssh"
 grep -w "$TERM" /etc/termcap >/dev/null || export TERM=vt220
+uname_p="`uname -p`"; [ "$TERM" = vt220 -a "${uname_p%86}" != "$uname_p" ] && export TERM=linux
+
 export SOCKS5_SERVER=icsocks.holland.sun.com
 
 # Force strcoll() to sort case-sensitively! (empty/undef doesn't work)