-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi everyone... I was away having had a surgery et al. Anyways I
reciently synced and saw that my lots of updates the other day. Anyways
it updated then next sync UD of somethings it had just U'd. And now
when I login this is the mess bash gives me after login:
declare -x CC="gcc"
declare -x CHROMIUM_DATA="/usr/share/games/chromium"
declare -x CLASSPATH="/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:."
declare -x COLORFGBG="7;default;0"
declare -x COLORTERM="Eterm"
declare -x COLORTERM_BCE="Eterm"
declare -x CONFIG_PROTECT="/usr/X11R6/lib/X11/xkb
/usr/kde/3.1/share/config /usr
/kde/3.1/share/config /usr/share/config"
declare -x CONFIG_PROTECT_MASK="/etc/gconf"
declare -x CVS_RSH="ssh"
declare -x CXX="g++"
declare -x DISPLAY=":0.0"
declare -x EDITOR="/bin/nano"
declare -x ETERM_THEME_ROOT="/usr/share/Eterm/themes/Eterm"
declare -x ETERM_VERSION="0.9.2"
declare -x HOME="/home/<my user id>"
declare -x HOSTNAME="<my machines name>"
declare -x IFS=" \
"
declare -x INFODIR="/usr/share/info:/usr/X11R6/info"
declare -x
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/i
nfo"
declare -x INPUTRC="/etc/inputrc"
declare -x JAVAC="/opt/blackdown-jdk-1.4.1/bin/javac"
declare -x JAVA_HOME="/opt/blackdown-jdk-1.4.1"
declare -x JDK_HOME="/opt/blackdown-jdk-1.4.1"
declare -x KDEDIR="/usr/kde/3.1"
declare -x KDEDIRS="/usr/kde/3.1:/usr"
declare -x LESS="-R"
declare -x LESSOPEN="|lesspipe.sh %s"
declare -x LOGNAME="<my user id>"
declare -x MAIL="/var/mail/<my user id>"
declare -x
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686
- -pc-linux-gnu/3.2/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1/man"
declare -x MOZILLA_FIVE_HOME="/usr/lib/mozilla"
declare -x OLDPWD
declare -x PAGER="/usr/bin/less"
declare -x
PATH="/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr
/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/b
in:/usr/qt
/3/bin:/usr/kde/3.1/bin:/usr/kde/3.1/bin:/usr/games/bin"
declare -x PS1="\\[\\033[01;[EMAIL PROTECTED] \\[\\033[01;34m\\]\\W \\\$
\\[\\033[00
m\\]"
declare -x PWD="/home/<my user id>"
declare -x QMAKESPEC="linux-g++"
declare -x QTDIR="/usr/qt/3"
declare -x
ROOTPATH="/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:
/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/j
re/bin:/us
r/qt/3/bin:/usr/kde/3.1/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin:/opt/Xn
View"
declare -x SANE_CONFIG_DIR="/etc/sane.d"
declare -x SHELL="/bin/bash"
declare -x SHLVL="5"
declare -x TERM="Eterm"
declare -x USER="<my user id>"
declare -x WINDOWID="39845951"
declare -x XAUTHORITY="/home/<my user id>/.Xauthority"
declare -x XINITRC="/etc/X11/xinit/xinitrc"
I also get the above whenever I launch an Eterm, etc. Here is what my
applicable files say:
~/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/$HOME/rename
export PATH
unset USERNAME
fetchmail
- ----
~/.bashrc
# .bashrc
# User specific aliases and functions
# Source global definitions
#if [ -f /etc/bashrc ]; then
# . /etc/bashrc
#fi
# Source global definitions
if [ -f /etc/skel/.bashrc ]; then
. /etc/skel/.bashrc
fi
alias nano="nano -w"
- ---
notice I changed the above simply to the only default bashrc I could
find. which now seems to be in that directory. There is no /etc/bashrc
there *is* a /etc/skel/.bashrc and even an /etc/skel/.bash_profile
- ----
/etc/profile
# /etc/profile:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/profile,v 1.23
# 2003/04/29 21:23:18 azarah Exp $
if [ -e "/etc/profile.env" ]
then
. /etc/profile.env
fi
# 077 would be more secure, but 022 is generally quite realistic
umask 022
if [ `/usr/bin/whoami` = 'root' ]
then
# Do not set PS1 for dumb terminals
if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ]
then
export PS1='\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]'
fi
export
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/kde/3.1/bin:/usr/opt/bin:/usr
/games/bin:/usr/X11R6/bin:/usr/qt/3/bin:/usr/i686-pc-linux-gnu/bin:${RO
OTPATH}"
else
# Do not set PS1 for dumb terminals
if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ]
then
export PS1='\[\033[01;[EMAIL PROTECTED] \[\033[01;34m\]\W \$ \[\033[00m\]'
fi
export
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/kde/3.1/bin:/usr/opt/bin:/usr
/games/bin:/usr/X11R6/bin:${PATH}"
fi
unset ROOTPATH
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]
then
export INPUTRC="/etc/inputrc"
fi
# Extract the value of EDITOR
[ -z "$EDITOR" ] && EDITOR="`. /etc/rc.conf 2>/dev/null; echo $EDITOR`"
[ -z "$EDITOR" ] && EDITOR="`. /etc/conf.d/basic 2>/dev/null; echo
$EDITOR`"
[ -z "$EDITOR" ] && EDITOR="/bin/nano"
export EDITOR
- ----
the above file just got updated lastnight during an emerge... I was half
asleep so might of missed something. I did add to both path statements
tho as I figured I'd quit getting those errors 'command not found' ie I
wouldn't have to type the full path to some commands like
/sbin/etc-update for example when using sudo.
- ----
$ echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin:/usr/kde/3.1/bin:/usr/opt/bin:/usr/games
/bin:/usr/X11R6/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-
bin/3.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-
1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/bin:/usr/kde/3.1/bin:/usr/game
s/bin:/home/<my user id>/bin:/usr:/opt:/sbin://home/<my user
id>/rename://home/<my user id>/setiathome
- ----
/etc/skel/.bash_profile (this is the system wide file)
# /etc/skel/.bash_profile:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bash_profile,v
# 1.10 2002/11/18 19:39:22 azarah Exp $
#This file is sourced by bash when you log in interactively.
[ -f ~/.bashrc ] && . ~/.bashrc
- ----
/etc/skel/.bashrc (again this is a system wide file)
# /etc/skel/.bashrc:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bashrc,v 1.8
# 2003/02/28 15:45:35 azarah Exp $
# This file is sourced by all *interactive* bash shells on startup. This
#
# file *should generate no output* or it will break the scp and rcp
# commands.
# colors for ls, etc.
eval `dircolors -b /etc/DIR_COLORS`
alias d="ls --color"
alias ls="ls --color=auto"
alias ll="ls --color -l"
# Change the window title of X terminals
case $TERM in
xterm*|rxvt|Eterm|eterm)
PROMPT_COMMAND='echo -ne
"\033]0;[EMAIL PROTECTED]:${PWD/$HOME/~}\007"'
;;
screen)
PROMPT_COMMAND='echo -ne
"[EMAIL PROTECTED]:${PWD/$HOME/~}\033\\"'
;;
esac
##uncomment the following to activate bash-completion:
#[ -f /etc/profile.d/bash-completion ] && source
#/etc/profile.d/bash-completion
Anyways any help on the above would be much appreciated. Thanks
everyone.
- --
Susie
http://arienadean.tripod.com/
Digitally signed
GPG Key ID: E93F0D23
Key fingerprint = 33F8 0E9D 3AD1 23E0 C70F ECC6 7871 D811 E93F 0D23
- -----------------------------------------------------------------------
Dawn is nature's way of telling you to go to bed.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE+9lF1eHHYEek/DSMRAjNTAJ4yDFcbrM2Qjdrs01tXEVwla4hNQQCeJdTO
NaDNS6nQtR+Nid7fQYT+7Qg=
=Z/zx
-----END PGP SIGNATURE-----
--
[EMAIL PROTECTED] mailing list