You are not logged in.
hey!
i have a little problem with terminals (console is fine!). the best way is to look at the shot:

i'm using terminal (xfce4), but the problem exists also with the gnome-terminal.
here is the relevant line out of my .bashrc:
PS1='[33[1;37m][[33[1;32m[u[33[1;37m]@h W]$ [33[0m]'
i'm using utf-8. i have the same options on my laptop, but there is everything ok!
any ideas?
mfg iggy
sorry for my bad english ![]()
Offline
did you setup the locale on that box, and do the locale gen?
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
that's strange. i get two left parenthesis in place of the diamonds, like this:
[(user(@host] ~]$
it displays correctly in rxvt and aterm, but i can't see the option in terminal that's making it do that. maybe something in the default xterm settings (meaning default X terminal settings, wherever those are)?
Offline
set the locales correct!
locale:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8/etc/locale.gen
en_US.UTF-8 UTF-8
en_US ISO-8859-1 mfg
sorry for my bad english ![]()
Offline
my locale is set right, and i also had already done locale-gen. are you saying setting your locale fixed the problem for you?
Offline
hmm, actually, i'm noticing that the last field is blank:
sero@homer:~ $ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE=C
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=originally i only had UTF-8 specified in /etc/locale.gen, because i thought you were only supposed to use one locale. so i uncommented ISO-8859-1 and ran locale-gen again, but i still get the same result. how do i get the LC_ALL field to have a value?
>> /etc/rc.conf:
LOCALE="en_US.utf8"
Offline
hmm, actually, i'm noticing that the last field is blank
This is normal.
how do i get the LC_ALL field to have a value?
Set it in ~/.bash_profile
to live is to die
Offline
okay, thanks. ![]()
Offline
but how we can eleminate the problem? strange is, that this is also in the gnome-terminal.
mfg iggy
sorry for my bad english ![]()
Offline
Compare by yourself:
PS1='[33[1;37m][[33[1;32m[u[33[1;37m]@h W]$ [33[0m]'correct:
PS1='[e[1;37m][[e[1;32m]u[e[1;37m]@h W]$ [e[0m]'Note that I replaced 33 with e just for better readability.
Your mistake is in 33[1;32m[ - it should be ]
to live is to die
Offline
yeah, that was the error! i love u! ![]()
sorry for my bad english ![]()
Offline