[Virtual-pkg-base-maintainers] Bug#470230: base: Multiple lines on terminal does not works
Carsten Hey
c.hey at web.de
Tue Mar 11 19:21:08 UTC 2008
On Tue, Mar 11, 2008 at 04:00:54PM -0300, Saulo Soares de Toledo wrote:
> Ok, I think this fix my problem, thanks.
Your're welcome!
> But I have a new info about this: first than put colors on bash,
I thought this was intended by whoever did alter your /etc/profile.
If you don't linke colors in your bash prompt, substitute the paragraph
again with the following:
if [ "$PS1" ]; then
if [ "$BASH" ]; then
PS1='\u@\h:\w\$ '
#PS1="\[\033[01;31m\]\u@\h:\w\$ \[\033[0m\]"
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
#PS1="\[\033[01;31m\]# \[\033[0m\]"
else
PS1='$ '
#PS1="\[\033[01;31m\]$ \[\033[0m\]"
fi
fi
fi
> the Debian terminals already have this problem. This was already
> fixed on repositories?
No, there is nothing to fix in the Debian repositories. The changes
that caused this misbehaviour of your bash are local changes on your
computer and done by someone with root access. The color in your bash
prompt was originally intended by whoever did change your /etc/profile,
but this change was defective, so it did not word as intended.
Regards,
Carsten
More information about the Virtual-pkg-base-maintainers
mailing list