Establishing Proper Line Wrapping
Rich Shepard
rshepard at appl-ecosys.com
Mon Oct 24 18:02:23 CEST 2011
On Mon, 24 Oct 2011, Marc Lehmann wrote:
> Sounds like a broken prompt setting - how do you generate your prompt, and
> are you properly using \[ when you need it for example?
Marc,
In ~/.bashrc:
COLOR1="\[\033[1;35m\]"
COLOR2="\[\033[1;36m\]"
COLOR3="\[\033[1;32m\]"
COLOR4="\[\033[0m\]"
PS1="[$COLOR2\u$COLOR4@$COLOR1\h $COLOR3\w$COLOR4]\\$ "
> Are you sure you are setting TERM to rxvt-unicode and not another
> terminal?
Yep:
In /etc/DIR_COLORS
TERM rxvt
TERM rxvt-unicode
In /usr/share/terminfo/r
rxvt rxvt-color
rxvt+pcfkeys rxvt-cygwin
rxvt-16color rxvt-cygwin-native
rxvt-256color rxvt-unicode
rxvt-88color rxvt-unicode-256color
rxvt-basic rxvt-xpm
Rich
More information about the rxvt-unicode
mailing list