You are not logged in.

#1 2004-08-11 22:05:00

jsutnoni
Member
Registered: 2004-02-07
Posts: 105

CLI output - solved

Just wondering if anyone can tell when what this out put is and why it is showing up and time i log into CLI or my term. When ever i open my term i get this:

declare -x CLASSPATH=":/opt/j2re/lib:/opt/j2sdk/lib"
declare -x COLORFGBG="7;default;0"
declare -x COLORTERM="Eterm"
declare -x COLORTERM_BCE="Eterm"
declare -x DISPLAY=":0.0"
declare -x ETERM_THEME_ROOT="/home/jsutnoni/.Eterm/themes/Eterm"
declare -x ETERM_USER_ROOT="/home/jsutnoni/.Eterm/themes/Eterm"
declare -x ETERM_VERSION="0.9.2"
declare -x GNOMEDIR="/opt/gnome"
declare -x HOME="/home/jsutnoni"
declare -x HUSHLOGIN="FALSE"
declare -x HZ="100"
declare -x IFS="        
"
declare -x INPUTRC="/etc/inputrc"
declare -x J2REDIR="/opt/j2re"
declare -x J2SDKDIR="/opt/j2sdk"
declare -x JAVA_HOME="/opt/j2sdk"
declare -x KDEDIR="/opt/kde"
declare -x LESS="-R"
declare -x LESSCHARSET="latin1"
declare -x LIBGLADE_MODULE_PATH=":/opt/gnome/lib/libglade/2.0"
declare -x LOGNAME="jsutnoni"
declare -x MAIL="/var/spool/mail/jsutnoni"
declare -x MANPATH="/usr/man:/usr/X11R6/man:/opt/gnome/man:/opt/j2re/man:/opt/j2     
sdk/man:/opt/kde/man:/opt/qt/man"
declare -x MOZ_PLUGIN_PATH="/opt/mozilla-plugins"
declare -x OLDPWD
declare -x PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/opt/xfce     
4/bin:/usr/local/bin:/opt/gnome/bin:/opt/kde/bin:/usr/local/lib:/opt/gnome/bin:/     
opt/j2re/bin:/opt/j2sdk/bin:/opt/kde/bin:/opt/qt/bin"
declare -x PKG_CONFIG_PATH=":/opt/gnome/lib/pkgconfig"
declare -x PWD="/home/jsutnoni"
declare -x QTDIR="/opt/qt"
declare -x SESSION_MANAGER="local/Otis:/tmp/.ICE-unix/1696,inet6/Otis:32783,inet     
/Otis:32784"
declare -x SHELL="/bin/bash"
declare -x SHLVL="3"
declare -x TERM="Eterm"
declare -x USER="jsutnoni"
declare -x WINDOWID="20971583"
declare -x XAUTHORITY="/home/jsutnoni/.Xauthority"
declare -x XFCE4HOME="/home/jsutnoni/.xfce4"
[jsutnoni@Otis ~]$ 

It also happens when i login that user in CLI.


-=JsutNoni=-

Offline

#2 2004-08-11 22:46:31

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: CLI output - solved

That's the output of the "export" command, do you have it in your ~/.bashrc or something?

Offline

#3 2004-08-12 04:48:52

jsutnoni
Member
Registered: 2004-02-07
Posts: 105

Re: CLI output - solved

  GNU nano 1.2.4                    File: .bashrc                               

alias ls='ls --color=auto'
PS1='[u@h W]$ '

nope. ??? im lost with it.


-=JsutNoni=-

Offline

#4 2004-08-12 11:30:44

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: CLI output - solved

What about /etc/profile?

The new bash is a bit buggy it seems, it is also known to print the environment of programs, but this seems to be something else. Nonetheless, you could try downgrading bash.

Offline

#5 2004-08-12 15:05:37

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: CLI output - solved

That output is generated by an incorrect use of export.

If you just type 'export' all by itself, you get that.  Find where you've done that and fix it.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#6 2004-08-12 22:26:54

jsutnoni
Member
Registered: 2004-02-07
Posts: 105

Re: CLI output - solved

only  place i have ever messed with export of any kind is /etc/profile. Does this look right to you guys?

#
# /etc/profile
#

export
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/opt/xfce4/bin:/usr/local/bin:/opt/gnome/bin:/opt$

export MANPATH="/usr/man:/usr/X11R6/man"
export LESSCHARSET="latin1"
export INPUTRC="/etc/inputrc"
export LESS="-R"

export COLUMNS LINES

export PS1='[u@h W]$ '
export PS2='> '

umask 022

if [ "$TERM" = "xterm" -o "$TERM" = "xterm-color" -o "$TERM" = "rxvt" ]; then
  PROMPT_COMMAND='echo -ne "33]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}07"'
fi

# load profiles from /etc/profile.d
#  (to disable a profile, just remove execute permission on it)
for profile in /etc/profile.d/*.sh; do
  if [ -x $profile ]; then
    . $profile
  fi
done
unset profile

# End of file

-=JsutNoni=-

Offline

#7 2004-08-12 22:28:14

jsutnoni
Member
Registered: 2004-02-07
Posts: 105

Re: CLI output - solved

haha never mind guys i fixed it right after i posted that. I knoticed that my PATH line was not on the same line as export. thanks for your help.


-=JsutNoni=-

Offline

#8 2004-08-12 23:17:59

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: CLI output - solved

Glad it's solved, if /etc/profile would be normal I would really have no clue what else could cause it. :-)

Offline

#9 2004-08-13 05:34:47

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: CLI output - solved

It was probably the word wrap feature of nano that put the cr in if you edited the path line.

Offline

Board footer

Powered by FluxBB