You are not logged in.

#1 2005-12-23 19:48:32

miniml
Member
From: Zadar, Croatia
Registered: 2005-12-22
Posts: 10

Strange issue with rxvt-unicode and bash

I use rxvt-unicode (urxvt) and bash shell with openbox.

I have the following problem: when I open urxvt I get capital letter "G" right before my "PS1".

Like this:

G(~) puffy $

And then when I enter <CR> or something else then it's fine on the new lines, like this:

G(~) puffy $ <CR>
(~) puffy $

Here's my .bashrc and .Xdefaults (stolen from rezza):

PS1='[33[1;34m]([33[0;31m]w[33[1;34m]) [33[00m]h [33[0;32m]$ [33[00m]'

alias ls='ls --color=auto'

extract () {
    if [ -f $1 ] ; then
        case $1 in
            *.tar.bz2)   tar xjf $1        ;;
            *.tar.gz)    tar xzf $1     ;;
            *.bz2)       bunzip2 $1       ;;
            *.rar)       rar x $1     ;;
            *.gz)        gunzip $1     ;;
            *.tar)       tar xf $1        ;;
            *.tbz2)      tar xjf $1      ;;
            *.tgz)       tar xzf $1       ;;
            *.zip)       unzip $1     ;;
            *.Z)         uncompress $1  ;;
            *)           echo "'$1' cannot be extracted via extract()" ;;
        esac
    else
        echo "'$1' is not a valid file"
    fi
}

export HISTCONTROL=ignoredups
export TERM=rxvt-unicode
export EDITOR=vim
export NNTPSERVER=lalalalalal
export LC_ALL=hr_HR.utf8
*scrollTtyOutput:       false
*scrollKey:             true
*scrollWithBuffer:      false

Xcursor.theme: jaguarx

! colors
*color0:            #222222
*color8:            #222222
*color1:            #803232
*color9:            #982b2b
*color2:            #5b762f
*color10:           #89b83f
*color3:            #aa9943
*color11:           #efef60
*color4:            #324c80
*color12:           #2b4f98
*color5:            #706c9a
*color13:           #826ab1
*color6:            #92b19e
*color14:           #a1cdcd
*color7:            #ffffff
*color15:           #dedede

! Urxvt Settings
urxvt*scrollTtyOutput:  false
urxvt*scrollTtyKeypress:false
urxvt*loginShell:       true
urxvt*font:             xft:Bitstream Vera Sans mono:size=9
urxvt*scrollBar:        false
urxvt*foreground:       #cccccc
urxvt*background:       #191911
urxvt*saveLines:        10000
urxvt*inheritPixmap:    false
urxvt*tintColor:        #ffffff
urxvt*shading:          90
urxvt*geometry:         84x26

Xft.dpi:                96

Any clues?

Offline

Board footer

Powered by FluxBB