Today I finally switched my long-running IRC screen session to tmux. I rarely disconnect so I was simply waiting for a "good" time.
After a few minutes I noticed that my irssi scrollback was misbehaving; only half of my window would redraw when I pressed PgUp of PgDn.
I had manually set "TERM=xterm" in my bashrc; however, tmux advises only using "screen" or "screen-256color" as the term. I have no idea why I had specified term within my bashrc; removing the line and restarting tmux corrected the issue.
Thanks for this!ReplyDelete
Not sure why xterm would be set in your case, but I needed to have xterm-256color set for tmux + vim to play nice with my color scheme. Sadly screen-256color created weird text artifacts (in gnome-terminal at least) so I went another route and created an alias to override TERM just for irssi:
alias irssi='TERM=screen-256color irssi'
right on Chris. Great post, and thanks for sharing. Been driving me nuts. Also fixes broken current line highlighting. AF, nice workaround. I'll have to keep that in mind if I notice any similar negative affects. Interesting how 3 of 4 posts are on November 15. How crazy is that!ReplyDelete
I'm glad you found the post useful drew. It's very odd, and interesting, that most 3 of 4 replies are on Nov. 15th and at least a year apart... thanks for pointing that out.Delete
Thank you for your comment AF. I too have xterm-256color set for my tmux and vim driven workflow and my irssi's broken scrolling was fixed by your alias.ReplyDelete
irssi 0.8.17 (20141011 1044)
os x 10.10.5
More than five years after posting this, it's still helping people like me have a better tmux + irssi experience!ReplyDelete
This also fixes weird scrolling issues with rtorrent as well, thanks!ReplyDelete