You are not logged in.
My prompt in urxvt is not looking like the one in gnome-term...
what is wrong?
http://img99.imageshack.us/my.php?image … 356lf0.png
By the way, this is my first post!
Last edited by bakkenbryan (2007-12-04 17:05:13)
Offline
Can you post your "PS1=" line so we can help more efficiently?
Offline
ups.... sorry here it is:
PS1="\n\[\e[30;1m\]\[\016\]l\[\017\](\[\e[34;1m\]\u@\h\[\e[30;1m\])-(\[\e[34;1m\]\j\[\e[30;1m\])-(\[\e[34;1m\]\@ \d\[\e[30;1m\])->\[\e[30;1m\]\n\[\016\]m\[\017\]-(\[\[\e[32;1m\]\w\[\e[30;1m\])-(\[\e[32;1m\]\$(/bin/ls -1 | /usr/bin/wc -l | /bin/sed 's: ::g') files, \$(/bin/ls -lah | /bin/grep -m 1 total | /bin/sed 's/total //')b\[\e[30;1m\])--> \[\e[0m\]"
Offline
First, welcome.
Second, are you sure that gnome-terminal and urxvt use the same font?
To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github
Offline
I have tried with a few different fonts now, and the problem is the same.
just so we a clear: me problem is the beginng of the prompt. in urxvt there is just a l and a m. where in gnome-term there a the line that connects the two lines.
if that makes any sense....??
Offline
So, your problem lies here:
\[\016\]l\[\017\]
\[\016\]m\[\017\]
On Gnome terminal it produces characters connecting the two lines. On urxvt it prints l & m. Now I can see where the l & m come from...
The \[xxx]\ are non-printing terminal characters. What are they supposed to be doing? Maybe, urxvt does not understand it either!
Offline
I cant remember where i stole it from, but im pretty sure i seen something on this forum that looked like it.
So i know it can work, and in urxvt too!
Offline
Changed it to only print (
Last edited by bakkenbryan (2007-12-04 17:07:06)
Offline