You are not logged in.
Here's the problem:
When I use the up/down arrows to scroll through recently used commands, sometimes characters "stick" so that it looks like I have a chunk of a recent command in the line. Backspace does not delete these and they don't do anything if I hit Enter.
They disappear if I resize the window (or do anything that forces the window to refresh itself).
Some files:
.bashrc
alias go='startx'
alias ls='ls --color=auto'
alias pacman='pacman-color'
alias sudo='sudo '
alias cp='cp -ivr'
alias mv='mv -iv'
#PS1='[\u@\h \W]\$ '
PS1='\[\e[0;32m[\]\e[0;37m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[0;32m]\]\[\e[0;37m\]\$ \[\e[m\]\[\e[0;32m\] '
complete -cf sudo
export XTERM='urxvt'
export OOO_FORCE_DESKTOP=gnome
extract () {
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1 ;;
*.7z) 7z x $1 ;;
*) echo "'$1' cannot be extracted via extract()" ;;
esac
else
echo "'$1' is not a valid file"
fi
}
.Xdefaults
Xcursor.theme: Vanilla-DMZ-AA
emacs.font: -*-terminus-*-*-*-*-10-*-*-*-*-*-*-*
urxvt*urlLauncher: firefox
!urxvt*depth: 32
!urxvt*background: rgba:0000/0000/0000/eeee
urxvt*foreground: #1cc600
!urxvt*foreground: #ffffff
urxvt*background: #000000
urxvt*geometry: 100x30
URxvt*scrollBar:true
URxvt*scrollBar_right:true
URxvt*font: xft:Terminus:size=8
!*XTerm*deleteIsDEL: true
xterm*saveLines: 10000
xterm*scrollBar: true
xterm*rightScrollBar: true
xterm*jumpScroll: true
xterm*cursorColor: green
!xterm*colorBD: darkblue
xterm*colorBDMode: true
xterm*highlightColor: darkgray
xterm*activeIcon: false
!xterm*awaitInput: true
xterm*scrollTtyOutput: false
xterm*scrollKey: true
xterm*Background: black
xterm*Foreground: green
in the image you'll see a line "emacs cd ~/.wine/dosdevices/" and all it does is cd to that directory. The emacs is one of these artifacts I'm refering to. It was put there from using the up/down keys to scroll through commands. Same goes for the wine32pacman line.
Last edited by pogeymanz (2008-07-28 20:02:49)
Offline
PS1='\[\e[0;32m[\]\e[0;37m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[0;32m]\]\[\e[0;37m\]\$ \[\e[m\]\[\e[0;32m\] '
See this post for the answer to this problem.
Offline
I think that fixed it. Thanks!
Offline