Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using Arch Linux + xmonad + urxvt bundle and trying to resolve the conflict between xmonad and urxvt. Better to explain with shots: Firstly, open the terminal and get some full-length output. Secondly, create another window, which squeezes the first. And, finally, close it to find out that half of the output disappeared.

Sometimes it behaves correctly, sometimes not. Tried to find out why, but failed. Many thx in advance!

share|improve this question
    
The initial state with only one window (su filter didn't allow to post more than 2 links): dl.dropbox.com/u/45184302/2012-06-28-150851_1366x768_scrot.png –  whoever Jun 28 '12 at 12:23
    
There's a bug report for this here (not upstream though): bugs.launchpad.net/ubuntu/+source/rxvt-unicode/+bug/677425 –  darkfeline Jan 24 at 18:47

1 Answer 1

up vote 1 down vote accepted

One solution is to run your commands within screen. Screen wraps lines while resizing, but in this case, running a shell inside a terminal multiplexer may seem a little unaesthetic.

The second solution is to use the following code in your .bashrc:

for (( i=1; i<=$LINES; i++ )); do echo; done; clear

If $LINES is undefined, then set LINES=$(tput lines).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.