You are not logged in.
Pages: 1
Since one of the latest updates, it seems my system is a bit broken. Commands like startx fail, and I recieve masages that xauth, xinit and elf are commands that can't be found. I wanted to have a look at /etc/profile, to check patch declaration, and noticed the whole file is crappy. It now looks like
^?ELF^A^A^A^@^
fffuffffuffff^@^@
uffffd^G^F^H^ufff
fE^L^uffffD$^D^uf
....
Hm, mysterious. I would be glad if someone could post a standard profile set here to give me a template.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
The original /etc/profile from bash package:
#
# /etc/profile
#
export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin"
export MANPATH="/usr/man:/usr/X11R6/man"
export LESSCHARSET="latin1"
export INPUTRC="/etc/inputrc"
export LESS="-R"
# Locale settings (find your locale with 'locale -a')
export LANG="en_US"
export LC_COLLATE="C"
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
If you still have the packages cache, you could also see this file in /var/cache/pacman/pkg/bash-3.0-3.pkg.tar.gz
Offline
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
Pages: 1