You are not logged in.

#1 2008-08-28 20:10:38

Xiol
Member
Registered: 2008-08-18
Posts: 3

gnome-terminal weird square

Hello,

I'm having a problem with gnome-terminal. I'm getting a weird square where it should just be a directory listing.

http://i36.tinypic.com/aw49k3.jpg - Pictures are better than words.

The character encoding is set to UTF-8, and my PS1="" line is:

PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:(\033[01;34m\]\w\[\033[00m\])\$ "

I don't have this problem in urxvt... Any ideas?

Offline

#2 2008-08-28 23:48:16

somedrew
Member
From: Canada
Registered: 2007-05-14
Posts: 140

Re: gnome-terminal weird square

Looks like an escape was missing. Not sure why urxvt wasn't affected...
Does the following work as desired?

PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:(\[\033[01;34m\]\w\[\033[00m\])\$ "

cheers,

Offline

Board footer

Powered by FluxBB