oh, isn't this pretty? :-)
Code:
dave@solaris:~$ cat /etc/release
OpenSolaris Developer Preview 2 snv_79b X86
_ _ _ _ _
_ __ _ _ ___ (_)___ __| |_ (_)_ _ __| (_)__ _ _ _ __ _
| '_ \ '_/ _ \| / -_) _| _| | | ' \/ _` | / _` | ' \/ _` |
| .__/_| \___// \___\__|\__| |_|_||_\__,_|_\__,_|_||_\__,_|
|_| |__/
ok, the problem has been found/solved. jlliagre, you were beaten by only a margin.
I admit the answer was found by posting in the opensolaris forums (I joined for this question alone <G>).
The problem is with the gnome terminal, if I use xterm, all the path options are correct (and overflowing with duplicates from the various places I have set it and now need to clean up).
then, using your latest suggestion of looking in .bashrc reveals the problem:
Code:
dave@solaris:~$ cat .bashrc
#
# Simple profile places /usr/gnu/bin at front,
# adds /usr/X11/bin, /usr/sbin and /sbin to the end.
#
# Use less(1) as the default pager for the man(1) command.
#
export PATH=/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin
export MANPATH=/usr/gnu/share/man:/usr/share/man:/usr/X11/share/man
export PAGER="/usr/bin/less -ins"
#
# Define default prompt to <username>@<hostname>:<path><"($|#) ">
# and print '#' for user "root" and '$' for normal users.
#
PS1='${LOGNAME}@$(hostname):$(
[[ "$LOGNAME" = "root" ]] && printf "${PWD/${HOME}/~}# " ||
printf "${PWD/${HOME}/~}\$ ")'
dave@solaris:~$
edit: The OpenSolarus forum where I realised the problem was with terminal
http://www.opensolaris.org/jive/thre...55297&tstart=0