You are not logged in.
Pages: 1
I noticed this happening after I switched from xterm to urxvt, and it ONLY happens in urxvt. THIS is what is happening and only happens while scrolling. Any ideas as to what's going on?
Last edited by Squiddles (2012-03-21 07:14:56)
Offline
Looks like either your terminfo is wrong, or you have something else going on. Are you running a compositor or a multiplexer?
Offline
I do have tmux running at the time of that image and running starting ncmpcpp without tmux does remedy the issue. Is there a way around it? Or should I just just launch ncmpcpp without tmux?
Offline
echo $TERM
in tmux and in a plain terminal.
If tmux isn't set to a variant of screen (like screen-256color), you'll get that funky rendering. See the first tmux FAQ.
The one with the big, asterisked box around it
Offline
Both tmux and plain terminal display "xterm-256color"...in urxvt...
To be clear this is the "rxvt-unicode" package.
Offline
Both tmux and plain terminal display "xterm-256color"
That's why it is broken. This time I'll post from the man page:
default-terminal terminal
Set the default terminal for new windows created in this session - the default value of the TERM environment variable. For tmux to work correctly, this must be
set to ‘screen’ or a derivative of it.
Emphasis mine...
Offline
Oh man. I don't even know why, but I had "TERM=xterm-256colors" in my .bashrc. Anyways, now tmux dislpays "screen" and plain displays "rvxt-unicode-256color" and the color fills are no more in ncmpcpp! Thanks!
While I'm here, I might as well ask: Should I be setting TERM manually anywhere at all? And should I be setting $TERM to something to remove any chance of other compatibility breaks? It looks like leaving it this way would prevent that.
Offline
Oh man. I don't even know why, but I had "TERM=xterm-256colors" in my .bashrc. Anyways, now tmux dislpays "screen" and plain displays "rvxt-unicode-256color" and the color fills are no more in ncmpcpp! Thanks!
No problem: please remember to mark the thread as solved. (It might also help to edit the title and stick tmux in there in terms of searchability).
While I'm here, I might as well ask: Should I be setting TERM manually anywhere at all? And should I be setting $TERM to something to remove any chance of other compatibility breaks? It looks like leaving it this way would prevent that.
No. Set it in your tmux.conf as per the man page quoted above. Let your terminal and terminfo handle it outside tmux - that will avoid any "irregularities".
Offline
Alright, set to "screen-256color" in my tmux.conf and thread set to solved with appropriate search terms, thanks a bunch, again!
Offline
Pages: 1