Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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): – whoever Jun 28 '12 at 12:23
There's a bug report for this here (not upstream though): – darkfeline Jan 24 '14 at 18:47
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


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.